Skip to content
Claude Code

OpenStreetMap for Claude Code

io.github.ni-c/osm-mcp

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

client:Claude Code transport:stdio runtime:npm

Install OpenStreetMap in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add osm-mcp -e OSM_USER_AGENT=<OSM_USER_AGENT> -e ORS_API_KEY=<ORS_API_KEY> -e OSM_ALLOW_TOOLS=<OSM_ALLOW_TOOLS> -e OSM_DENY_TOOLS=<OSM_DENY_TOOLS> -- npx -y osm-mcp

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

OpenStreetMap in other clients