OpenStreetMap Geospatial
An OpenStreetMap MCP server implementation that enhances LLM capabilities with location-based services and geospatial data.
What is OpenStreetMap Geospatial?
OpenStreetMap Geospatial is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to openstreetmap mcp server implementation that enhances llm capabilities with location-based services and geospatial data.
An OpenStreetMap MCP server implementation that enhances LLM capabilities with location-based services and geospatial data.
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- An OpenStreetMap MCP server implementation that enhances LLM
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx open-streetmapConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use OpenStreetMap Geospatial
The OpenStreetMap MCP server bridges LLMs to free, open geospatial data via the Nominatim geocoding API and OSRM routing engine. It provides twelve location-based tools including address geocoding, reverse geocoding, point-of-interest discovery, route calculation, and neighborhood livability assessment. It is especially useful for applications that need location intelligence without paying for proprietary mapping APIs — letting AI assistants answer questions like "find EV charging stations near me" or "what is the commute time between these two addresses?"
Prerequisites
- Python 3.10+ and the `uv` package manager installed
- No API keys required — the server uses free OpenStreetMap public APIs
- An MCP-compatible client such as Claude Desktop, Cursor, or Windsurf
- Internet access to reach Nominatim (nominatim.openstreetmap.org) and OSRM routing services
Install the server via uvx
The easiest installation is via `uvx`, which downloads and runs the package without a separate install step. Alternatively, install with pip for a persistent setup.
# Option 1: run directly without installing
uvx osm-mcp-server
# Option 2: install persistently
pip install osm-mcp-serverClone for local development (optional)
For development or to inspect the source, clone the repository and install in editable mode.
git clone https://github.com/jagan-shanmugam/open-streetmap-mcp.git
cd open-streetmap-mcp
pip install -e .Configure your MCP client
Add the server to your MCP client configuration. No environment variables are required since the server uses public OSM APIs.
Test the connection with MCP Inspector
Before connecting Claude, verify the server works using the MCP Inspector tool.
npx @modelcontextprotocol/inspector uvx osm-mcp-serverOpenStreetMap Geospatial Examples
Client configuration
MCP configuration for Claude Desktop or any other MCP client. Uses uvx to run the server without a separate installation step.
{
"mcpServers": {
"osm-mcp-server": {
"command": "uvx",
"args": ["osm-mcp-server"]
}
}
}Prompts to try
Example prompts for geospatial queries using the OpenStreetMap MCP server.
- "Geocode the address '1600 Amphitheatre Parkway, Mountain View, CA' and return its coordinates"
- "Find coffee shops within 500 meters of Times Square, New York"
- "What is the driving route from Chicago to Milwaukee, and how long will it take?"
- "Find EV charging stations near the city center of Amsterdam"
- "Reverse geocode coordinates 48.8584, 2.2945 and tell me what landmark is there"Troubleshooting OpenStreetMap Geospatial
Geocoding returns no results for a valid address
Nominatim requires well-formed addresses. Try including the country name and using English place names. Avoid abbreviations — for example, use 'New York City, United States' instead of 'NYC'.
Server fails to start with 'uvx: command not found'
Install the `uv` package manager with `pip install uv` or by following the instructions at https://docs.astral.sh/uv/. Then retry `uvx osm-mcp-server`.
Route calculation returns an error or empty result
The OSRM public API has rate limits. For heavy usage, consider running a local OSRM instance. Also verify both origin and destination addresses geocode successfully before requesting a route.
Frequently Asked Questions about OpenStreetMap Geospatial
What is OpenStreetMap Geospatial?
OpenStreetMap Geospatial is a Model Context Protocol (MCP) server that openstreetmap mcp server implementation that enhances llm capabilities with location-based services and geospatial data. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install OpenStreetMap Geospatial?
Follow the installation instructions on the OpenStreetMap Geospatial GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with OpenStreetMap Geospatial?
OpenStreetMap Geospatial works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is OpenStreetMap Geospatial free to use?
Yes, OpenStreetMap Geospatial is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
OpenStreetMap Geospatial Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to OpenStreetMap Geospatial? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up OpenStreetMap Geospatial in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use OpenStreetMap Geospatial?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.