OpenStreetMap Tools

v1.0.0Search & Data Extractionstable

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.

anthropic-claudellmmcpmcp-serveropenstreetmap
Share:
193
Stars
0
Downloads
0
Weekly
0/5

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

Geocoding and location search
Calculate travel routes
Map data quality assurance
jagan-shanmugam

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx openstreetmap-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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-server
2

Clone 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 .
3

Configure your MCP client

Add the server entry to your MCP client configuration file. No API keys or environment variables are required.

4

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-server
5

Start 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.

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.

Quick Config Preview

{ "mcpServers": { "openstreetmap-mcp-server": { "command": "npx", "args": ["-y", "openstreetmap-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides