OpenStreetMap Tools
A comprehensive MCP server providing 30 tools for geocoding, routing, and OpenStreetMap data analysis. It enables AI assistants to search for locations, calculate travel routes, and perform quality assurance checks on map data.
What is OpenStreetMap Tools?
OpenStreetMap Tools is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to comprehensive mcp server providing 30 tools for geocoding, routing, and openstreetmap data analysis. it enables ai assistants to search for locations, calculate travel routes, and perform quality assu...
A comprehensive MCP server providing 30 tools for geocoding, routing, and OpenStreetMap data analysis. It enables AI assistants to search for locations, calculate travel routes, and perform quality assurance checks on map data.
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A comprehensive MCP server providing 30 tools for geocoding,
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx openstreetmap-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use OpenStreetMap Tools
The OpenStreetMap MCP server provides AI assistants with 30 comprehensive geospatial tools powered by free, open OpenStreetMap data. It covers geocoding, reverse geocoding, route calculation, point-of-interest search, neighborhood analysis, meeting point optimization, EV charging station lookup, and map data quality assurance checks. Built on the Nominatim API and OSRM routing engine, it requires no paid API subscription, making it an accessible choice for location-aware AI applications.
Prerequisites
- Python 3.10+ and the `uv` package manager installed
- No API keys required — all tools use free public OpenStreetMap APIs
- An MCP-compatible client such as Claude Desktop, Cursor, or Windsurf
- Internet access to reach nominatim.openstreetmap.org and OSRM public routing services
Install the server
Install via uvx for a zero-install experience, or use pip for a persistent installation.
# Run directly via uvx (recommended)
uvx osm-mcp-server
# Or install with pip
pip install osm-mcp-serverClone for local development (optional)
To inspect or modify the source, clone the repository and install in development 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 entry to your MCP client configuration file. No API keys or environment variables are required.
Validate with MCP Inspector
Use the MCP Inspector to see all 30 available tools and confirm the server starts correctly before connecting your AI client.
npx @modelcontextprotocol/inspector uvx osm-mcp-serverStart using location tools
With the server connected, you can issue geospatial queries in natural language. The server handles tool selection and API calls automatically.
OpenStreetMap Tools Examples
Client configuration
MCP configuration using uvx, which fetches and runs the server without a separate installation.
{
"mcpServers": {
"osm-mcp-server": {
"command": "uvx",
"args": ["osm-mcp-server"]
}
}
}Prompts to try
Example prompts that exercise the 30 geospatial tools available through this MCP server.
- "Geocode '10 Downing Street, London' and return its latitude and longitude"
- "Find the best meeting point between users located in Boston and Providence, Rhode Island"
- "Calculate the walking and cycling routes from the Eiffel Tower to the Louvre Museum"
- "Search for hospitals within 2 kilometers of central Tokyo"
- "Assess the livability of the neighborhood around Notting Hill, London — consider parks, transit, and amenities"Troubleshooting OpenStreetMap Tools
Nominatim returns rate limit errors (429 Too Many Requests)
The public Nominatim API enforces a limit of roughly 1 request per second per IP. For high-volume use, set up a self-hosted Nominatim instance and point the server's base URL at it.
uvx command not found
Install the uv toolchain with `pip install uv` or via the official installer at https://docs.astral.sh/uv/. Once installed, `uvx` should be available in your PATH.
Route calculation fails between two valid addresses
Verify both addresses geocode successfully first. Some remote or unpaved locations may not be in the OSRM public routing dataset. Try specifying a travel mode (driving, walking, or cycling) explicitly.
Frequently Asked Questions about OpenStreetMap Tools
What is OpenStreetMap Tools?
OpenStreetMap Tools is a Model Context Protocol (MCP) server that comprehensive mcp server providing 30 tools for geocoding, routing, and openstreetmap data analysis. it enables ai assistants to search for locations, calculate travel routes, and perform quality assurance checks on map data. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install OpenStreetMap Tools?
Follow the installation instructions on the OpenStreetMap Tools GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with OpenStreetMap Tools?
OpenStreetMap Tools works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is OpenStreetMap Tools free to use?
Yes, OpenStreetMap Tools is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
OpenStreetMap Tools Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to OpenStreetMap Tools? 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 Tools 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 Tools?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.