openstreetmap-mcp-server MCP Server
Geocode, reverse geocode, and run Overpass spatial queries on OpenStreetMap data.
openstreetmap-mcp-server scores 45 (Fair), licensed Apache-2.0 and written in TypeScript. It can be reached as a remote MCP endpoint. It declares 7 tools. Filed under Maps and location. GitHub shows 9 stars. Package registries report about 1,800 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Fair trust
45 of 100 from six public signals. Nobody can buy a point.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade D
50/100 for listing completeness. Lost points: no README, 7 of 7 tools barely described, short summary.
How quality is graded
Where the 45 comes from
0 + 20 + 8 + 10 + 4 + 3 = 45. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 0 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 8 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 3 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "cyanheads-openstreetmap-mcp-server": { "command": "npx", "args": [ "-y", "@cyanheads/openstreetmap-mcp-server@0.7.4" ], "env": { "OSM_NOMINATIM_BASE_URL": "https://nominatim.openstreetmap.org", "OSM_USER_AGENT": "openstreetmap-mcp-server/0.7.4", "OSM_OVERPASS_BASE_URL": "", "OSM_OVERPASS_ENDPOINTS": "https://overpass-api.de/api/interpreter", "OSM_OVERPASS_MAX_CONCURRENCY": "1", "MCP_LOG_LEVEL": "info" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
OSM_NOMINATIM_BASE_URL | Optional | Nominatim API base URL. Override to use a private or mirror instance. |
OSM_USER_AGENT | Optional | User-Agent sent to Nominatim and Overpass. Required by usage policy. |
OSM_OVERPASS_BASE_URL | Optional | 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. |
OSM_OVERPASS_ENDPOINTS | Optional | 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. |
OSM_OVERPASS_MAX_CONCURRENCY | Optional | 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. |
MCP_LOG_LEVEL | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
MCP_TRANSPORT_TYPE | Optional | Selects the HTTP transport. |
MCP_HTTP_HOST | Optional | The hostname for the HTTP server. |
MCP_HTTP_PORT | Optional | The port to run the HTTP server on. |
MCP_HTTP_ENDPOINT_PATH | Optional | The endpoint path for the MCP server. |
MCP_PUBLIC_URL | Optional | Public origin override for deployments behind a TLS-terminating reverse proxy (e.g. https://mcp.example.com). |
MCP_AUTH_MODE | Optional | Authentication mode to use: 'none', 'jwt', or 'oauth'. |
OSM_NOMINATIM_BASE_URL | Optional | Nominatim API base URL. Override to use a private or mirror instance. |
OSM_USER_AGENT | Optional | User-Agent sent to Nominatim and Overpass. Required by usage policy. |
OSM_OVERPASS_BASE_URL | Optional | 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. |
OSM_OVERPASS_ENDPOINTS | Optional | 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. |
OSM_OVERPASS_MAX_CONCURRENCY | Optional | 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. |
MCP_LOG_LEVEL | Optional | Sets the minimum log level for output (e.g., 'debug', 'info', 'warn'). |
Tools7Tool docs quality grade F
All capabilitiesctx.logtoollogging, ctx.state for storage
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
<sub>tool</sub>
About
Geocode, reverse geocode, and run Overpass spatial queries on OpenStreetMap data via MCP. STDIO or Streamable HTTP.
Frequently asked questions
What is openstreetmap-mcp-server MCP Server?
Geocode, reverse geocode, and run Overpass spatial queries on OpenStreetMap data.
How do I install openstreetmap-mcp-server MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. openstreetmap-mcp-server MCP Server runs locally from the npm package @cyanheads/openstreetmap-mcp-server with the command npx -y @cyanheads/openstreetmap-mcp-server@0.7.4.
Is openstreetmap-mcp-server MCP Server free and open source?
Yes. openstreetmap-mcp-server MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does openstreetmap-mcp-server MCP Server support remote (HTTP) connections?
Yes. openstreetmap-mcp-server MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does openstreetmap-mcp-server MCP Server provide?
openstreetmap-mcp-server MCP Server provides 7 tools, including ctx.log, openstreetmap_lookup_objects, openstreetmap_query_bbox, and openstreetmap_query_nearby. See the full tool list for descriptions and parameters.
How is openstreetmap-mcp-server MCP Server's trust score calculated?
openstreetmap-mcp-server MCP Server scores 45 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.