HomeOther › OpenStreetMap

OpenStreetMap

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

TypeScript Cloud macOSWindowsLinux
★ 1 stars Last pushed 2026-09-22 License: MIT

Topics: Location Services

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Package (npm 0.3.1)

npx -y osm-mcp@0.3.1

Or add to your MCP client config:

{
  "mcpServers": {
    "osm-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "osm-mcp@0.3.1"
      ],
      "env": {
        "OSM_USER_AGENT": "<YOUR_VALUE>",
        "ORS_API_KEY": "<YOUR_VALUE>",
        "OSM_ALLOW_TOOLS": "<YOUR_VALUE>",
        "OSM_DENY_TOOLS": "<YOUR_VALUE>"
      }
    }
  }
}
  • OSM_USER_AGENT — Identifying User-Agent sent to all OSM services (Nominatim requires one)
  • ORS_API_KEY secret — 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

Package (oci)

docker run -i --rm ghcr.io/ni-c/osm-mcp:0.3.1

Or add to your MCP client config:

{
  "mcpServers": {
    "osm-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/ni-c/osm-mcp:0.3.1"
      ],
      "env": {
        "OSM_USER_AGENT": "<YOUR_VALUE>",
        "ORS_API_KEY": "<YOUR_VALUE>",
        "OSM_ALLOW_TOOLS": "<YOUR_VALUE>",
        "OSM_DENY_TOOLS": "<YOUR_VALUE>"
      }
    }
  }
}
  • OSM_USER_AGENT — Identifying User-Agent sent to all OSM services (Nominatim requires one)
  • ORS_API_KEY secret — 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

Related servers

Listed in punkpeye/awesome-mcp-servers (MIT)

Data from the Official MCP Registry