Skip to content
MCP server
RegistryRemote

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.

by cyanheadsApache-2.0TypeScript9 stars
Trust score
45Fair
Trust score 45 of 100, Fair

Fair trust

45 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 45 comes from

0 + 20 + 8 + 10 + 4 + 3 = 45. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity8 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 8 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs3 / 10

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.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "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

NameRequiredNotes
OSM_NOMINATIM_BASE_URLOptionalNominatim API base URL. Override to use a private or mirror instance.
OSM_USER_AGENTOptionalUser-Agent sent to Nominatim and Overpass. Required by usage policy.
OSM_OVERPASS_BASE_URLOptionalOverpass 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_ENDPOINTSOptionalComma-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_CONCURRENCYOptionalConcurrent 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_LEVELOptionalSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
MCP_TRANSPORT_TYPEOptionalSelects the HTTP transport.
MCP_HTTP_HOSTOptionalThe hostname for the HTTP server.
MCP_HTTP_PORTOptionalThe port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATHOptionalThe endpoint path for the MCP server.
MCP_PUBLIC_URLOptionalPublic origin override for deployments behind a TLS-terminating reverse proxy (e.g. https://mcp.example.com).
MCP_AUTH_MODEOptionalAuthentication mode to use: 'none', 'jwt', or 'oauth'.
OSM_NOMINATIM_BASE_URLOptionalNominatim API base URL. Override to use a private or mirror instance.
OSM_USER_AGENTOptionalUser-Agent sent to Nominatim and Overpass. Required by usage policy.
OSM_OVERPASS_BASE_URLOptionalOverpass 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_ENDPOINTSOptionalComma-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_CONCURRENCYOptionalConcurrent 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_LEVELOptionalSets the minimum log level for output (e.g., 'debug', 'info', 'warn').

Tools7Tool docs quality grade F

All capabilities

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

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server