Install OpenStreetMap in Claude Code
npm
claude mcp add openstreetmap -- npx -y osm-mcp{
"mcpServers": {
"openstreetmap": {
"command": "npx",
"args": [
"-y",
"osm-mcp"
]
}
}
}Docker
claude mcp add openstreetmap -- docker run -i --rm ghcr.io/ni-c/osm-mcp:0.3.2{
"mcpServers": {
"openstreetmap": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/ni-c/osm-mcp:0.3.2"
]
}
}
}Frequently asked questions
What does the OpenStreetMap MCP server do?
OpenStreetMap travel planning: geocoding, walking, driving and cycling routes, travel-time matrices, route optimization, isochrones and POI search.
Is the OpenStreetMap MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does OpenStreetMap run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add OpenStreetMap to Claude Code?
Run: claude mcp add openstreetmap -- npx -y osm-mcp
More location & travel MCP servers
View allTaiwan TDX transport
amangeldievkuu/tdx-taiwan-mcp
Taiwan transport via TDX: YouBike, buses, rail, flights, ferries, road traffic, parking, EV
maplibre
birkskyum/maplibre-mcp
Render, validate and debug MapLibre map styles, with vector tile inspection, style spec and GL JS API lookups, and a live map that redraws as the agent edits the style.
Alphaportal
chrischall/alphaportal-mcp
AlphaPortal school-bus transportation for Claude — students, stops, live bus location, notifications
Devkit
mapbox/mcp-devkit-server
Provides AI assistants with direct access to Mapbox developer APIs and documentation.
Rozklad
ContentWriterco/rozklad-mcp
Polish train, bus & city transit timetables: journeys, departures, live delays, fares
Weather
isdaniel/mcp_weather_server
Get weather information from the Open-Meteo API.