What is the OpenStreetMap MCP server?
Geocoding, walking/driving/cycling distances, route optimization, isochrones and POI search on OSM
How to install OpenStreetMap
Copy-paste configuration for popular MCP clients.
OSM_USER_AGENTIdentifying User-Agent sent to all OSM services (Nominatim requires one)
ORS_API_KEYsecretOptional OpenRouteService key; switches routing/matrix/isochrones to ORS
{
"mcpServers": {
"osm-mcp": {
"command": "npx",
"args": [
"-y",
"osm-mcp"
],
"env": {
"OSM_USER_AGENT": "<YOUR_OSM_USER_AGENT>",
"ORS_API_KEY": "<YOUR_ORS_API_KEY>"
}
}
}
}{
"mcpServers": {
"osm-mcp": {
"command": "npx",
"args": [
"-y",
"osm-mcp"
],
"env": {
"OSM_USER_AGENT": "<YOUR_OSM_USER_AGENT>",
"ORS_API_KEY": "<YOUR_ORS_API_KEY>"
}
}
}
}{
"mcpServers": {
"osm-mcp": {
"command": "npx",
"args": [
"-y",
"osm-mcp"
],
"env": {
"OSM_USER_AGENT": "<YOUR_OSM_USER_AGENT>",
"ORS_API_KEY": "<YOUR_ORS_API_KEY>"
}
}
}
}{
"servers": {
"osm-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"osm-mcp"
],
"env": {
"OSM_USER_AGENT": "<YOUR_OSM_USER_AGENT>",
"ORS_API_KEY": "<YOUR_ORS_API_KEY>"
}
}
}
}claude mcp add osm-mcp --env OSM_USER_AGENT=<YOUR_OSM_USER_AGENT> --env ORS_API_KEY=<YOUR_ORS_API_KEY> -- npx -y osm-mcpRelated MCP servers
Audiobookshelf
Browse your Audiobookshelf libraries and keep listening progress, bookmarks and playlists in sync
Calibre-Web
Read-only MCP server for Calibre-Web: library search, browsing and covers via the OPDS feed
FreshRSS
MCP server for FreshRSS, the self-hosted RSS feed aggregator
Hetzner DNS
Manage DNS zones and records (zonefiles, RRSets, TTL, protection) via the Hetzner Cloud API
Linkwarden
MCP server for Linkwarden, the self-hosted bookmark manager with page preservation
mcp-hub
Serve many stdio MCP servers from one container, for ChatGPT, Claude and other MCP clients