mcpbeat Sign in

OpenStreetMap MCP Server

local only

OpenStreetMap runs on your own machine — the client starts it, so there is no endpoint to ping. 498 installs a week from npm. Last commit 15 Oct 2026.

Geocoding, walking/driving/cycling distances, route optimization, isochrones and POI search on OSM

Installs per day peak 44 · avg 21 · +82% w/w
a month agotoday
498
Installs / week
npm · osm-mcp
2
Stars
0 open issues
15 Oct 2026
Last commit
6 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 19 h ago · rules ccca72095570

Evidence

Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.

Reaches cloud metadata service src/hosts.ts:16
  'metadata.google.internal',

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

We found things in this code

Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch OpenStreetMap and you get told the day something new turns up.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add osm-mcp -- npx -y osm-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "osm-mcp": {
      "args": [
        "-y",
        "osm-mcp"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.osm-mcp]
command = "npx"
args = ["-y", "osm-mcp"]
.cursor/mcp.json
{
  "mcpServers": {
    "osm-mcp": {
      "args": [
        "-y",
        "osm-mcp"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "osm-mcp": {
      "args": [
        "-y",
        "osm-mcp"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: OSM_USER_AGENT (Identifying User-Agent sent to all OSM services (Nominatim requires one)), ORS_API_KEY (Optional OpenRouteService key; switches routing/matrix/isochrones to ORS), OSM_ALLOW_TOOLS (Comma-separated tool names or list_* prefixes to register; 'essential' selects a curated preset (default: all tools)), OSM_DENY_TOOLS (Comma-separated tool names or list_* prefixes to remove from whatever OSM_ALLOW_TOOLS left). The author declared them in the registry entry; get the values from the project itself.

Alternatives to OpenStreetMap

same job, measured the same way
Geocoding
by danishashko

Forward and reverse geocoding, place search, and distance via OpenStreetMap Nominatim. No key.

50 installs/wk local only
Mapsi MCP
by algolayertechnologies

Geocoding, routing, isochrone, H3, elevation and 13 more geospatial tools via OpenStreetMap.

22 installs/wk local only
Mapbox
by mapbox

Geospatial intelligence with Mapbox APIs like geocoding, POI search, directions, isochrones, etc.

2 570 installs/wk answering
G
Geo
by thinair

Geocoding, routing, isochrones, traffic, weather, and place search for AI agents. 19 MCP tools.

answering
Nominatim MCP
by mrfentmen

OpenStreetMap Nominatim geocoding and reverse geocoding (merged).

29 installs/wk local only
Google Maps
by mcparmory

Geocode addresses, calculate directions, and search places with maps and routing

240 installs/wk local only
Mapsource OpenStreetMap & Geospatial APIs
by robit-man

OpenStreetMap queries, maps/styles, search, routing, terrain, analysis, pipelines, and rendering.

13 tools answering
JustRouting MCP Server
by justrouting

Road routing, travel-time matrices, geocoding, and fleet optimization for Southeast Asia.

local only

OpenStreetMap — questions

Answers built from our own checks of this server.

Why is there no uptime for OpenStreetMap?
OpenStreetMap runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package osm-mcp was installed 498 times last week.
How do I connect OpenStreetMap?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls osm-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use OpenStreetMap?
The npm package osm-mcp was installed 498 times in the last week. Week over week that is +82%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is OpenStreetMap open source?
Yes — it is published under the MIT licence, written in TypeScript and 2 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.