Home / Market / openstreetmap-mcp-server

openstreetmap-mcp-server

Geocode, reverse geocode, and run Overpass spatial queries on OpenStreetMap data.

mcp★ 0515 dlmcp-registryMIT configuration; upstream service license appliesInstall in CosmosUpstream Source

Documentation & Preview

{ "mcpServers": { "mcp-openstreetmap-mcp-server-3e78f21f265c69bc40da": { "command": "npx", "args": [ "-y", "--package", "@cyanheads/openstreetmap-mcp-server@0.7.4", "openstreetmap-mcp-server" ], "env": { "OSM_NOMINATIM_BASE_URL": "${ENV_OSM_NOMINATIM_BASE_URL}", "OSM_USER_AGENT": "${ENV_OSM_USER_AGENT}", "OSM_OVERPASS_BASE_URL": "${ENV_OSM_OVERPASS_BASE_URL}", "OSM_OVERPASS_ENDPOINTS": "${ENV_OSM_OVERPASS_ENDPOINTS}", "OSM_OVERPASS_MAX_CONCURRENCY": "${ENV_OSM_OVERPASS_MAX_CONCURRENCY}", "MCP_LOG_LEVEL": "${ENV_MCP_LOG_LEVEL}" } } }, "setup": { "fields": [ { "id": "ENV_OSM_NOMINATIM_BASE_URL", "label": "OSM_NOMINATIM_BASE_URL", "description": "Nominatim API base URL. Override to use a private or mirror instance.", "required": false, "secret": false, "default": "https://nominatim.openstreetmap.org" }, { "id": "ENV_OSM_USER_AGENT", "label": "OSM_USER_AGENT", "description": "User-Agent sent to Nominatim and Overpass. Required by usage policy.", "required": false, "secret": false, "default": "openstreetmap-mcp-server/0.7.4" }, { "id": "ENV_OSM_OVERPASS_BASE_URL", "label": "OSM_OVERPASS_BASE_URL", "description": "Overpass API endpoint URL. When set, pins every query to this one endpoint and disables mirror failover; OSM_OVERPASS_MAX_CONCURRENCY sizes it and a |N suffix is rejected. Leave unset to use OSM_OVERPASS_ENDPOINTS.", "required": false, "secret": false, "default": "" }, { "id": "ENV_OSM_OVERPASS_ENDPOINTS", "label": "OSM_OVERPASS_ENDPOINTS", "description": "Comma-separated ordered list of Overpass endpoints. A failure advances to the next entry within the same tool call; a single entry means no failover. An entry written url|N gets N slots of its own and adds capacity, for an instance whose operator allows parallel queries, never a public instance such as the FOSSGIS servers, maps.mail.ru, or overpass.private.coffee; an unsuffixed later entry is failover only. Write a | inside a URL as %7C. Verify a mirror's usage policy, data coverage, and freshness before adding it. Ignored when OSM_OVERPASS_BASE_URL is set.", "required": false, "secret": false, "default": "https://overpass-api.de/api/interpreter" }, { "id": "ENV_OSM_OVERPASS_MAX_CONCURRENCY", "label": "OSM_OVERPASS_MAX_CONCURRENCY", "description": "Concurrent Overpass queries per endpoint: OSM_OVERPASS_BASE_URL, and every OSM_OVERPASS_ENDPOINTS entry not sized with |N. With no |N entry it is also the most queries in flight across all endpoints. A query waits at most 30 seconds in total for a slot, then fails with pacer_shed and a retryAfter. The default of 1 follows the public FOSSGIS instances, which allow one query in flight per user; raise it only for an instance whose operator allows parallel queries, such as a private or paid one.", "required": false, "secret": false, "default": "1" }, { "id": "ENV_MCP_LOG_LEVEL", "label": "MCP_LOG_LEVEL", "description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').", "required": false, "secret": false, "default": "info" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.cyanheads/openstreetmap-mcp-server", "registryVersion": "0.7.4", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.cyanheads%2Fopenstreetmap-mcp-server/versions/0.7.4", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "@cyanheads/openstreetmap-mcp-server", "version": "0.7.4", "integrity": "sha512-EvX94kQqmGyaAzIlSwEQI6E/VqOxqiKxj5GO1aeBr6O02jRtslDdvV30b9W2M2/+KaHXZyUrczB29sxtdxBWtQ==", "registryNameMatched": "io.github.cyanheads/openstreetmap-mcp-server", "checkedAt": "2026-11-24T00:21:52.620Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }