OpenStreetMap
Geocoding, walking/driving/cycling distances, route optimization, isochrones and POI search on OSM
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_KEYsecret — Optional OpenRouteService key; switches routing/matrix/isochrones to ORSOSM_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_KEYsecret — Optional OpenRouteService key; switches routing/matrix/isochrones to ORSOSM_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
qgis_mcp
connects QGIS Desktop to Claude AI through the MCP. This integration enables prompt-assisted project creation, layer loading, code…
Google Maps MCP Server
18 Google Maps tools for AI agents — geocode, search, directions, weather, and more.
GeoLens
Read-only access to a self-hosted GeoLens spatial catalog: datasets, features, maps, sandboxed SQL.
open-streetmap-mcp
An OpenStreetMap MCP server with location-based services and geospatial data.
gis-mcp
A Model Context Protocol (MCP) server implementation that connects Large Language Models (LLMs) to GIS operations using GIS libraries,…
cesium-mcp
Control CesiumJS 3D globes via MCP: camera, layers, entities, animation, and interaction.
Listed in punkpeye/awesome-mcp-servers (MIT)
Data from the Official MCP Registry