io.github.cyanheads/openstreetmap-mcp-server MCP Server
io.github.cyanheads/openstreetmap-mcp-server
What this kind of tool is for
- Let your agent search the web or a document set and cite what it found.
- Pull structured facts out of pages instead of copy-pasting by hand.
- Track changes on a topic over days without re-reading everything.
How to compare servers like this
- Source coverage:
- Check which engines, sites, or document types the tool can actually reach.
- Citation behavior:
- Prefer tools that return links you can open, not just summarized claims.
- Terms of service:
- Some sources forbid automated access; make sure the tool stays inside them.
- Maintenance signal:
- Scrapers break silently when pages change; recent commits are the best proxy.
This page carries your copy-paste config: pick your MCP client in the install section on this page and use the copy button.
What is the io.github.cyanheads/openstreetmap-mcp-server MCP server?
Geocode, reverse geocode, and run Overpass spatial queries on OpenStreetMap data.
How to install io.github.cyanheads/openstreetmap-mcp-server
Copy-paste configuration for popular MCP clients.
OSM_NOMINATIM_BASE_URLNominatim API base URL. Override to use a private or mirror instance.
OSM_USER_AGENTUser-Agent sent to Nominatim and Overpass. Required by usage policy.
OSM_OVERPASS_BASE_URLOverpass API endpoint URL. When set, pins every query to this one endpoint and disables mirror failover. Leave unset to use OSM_OVERPASS_ENDPOINTS.
OSM_OVERPASS_ENDPOINTSComma-separated ordered list of Overpass endpoints. A transient failure advances to the next entry within the same tool call; a single entry means no failover. Verify a mirror's usage policy, data coverage, and freshness before adding it. Ignored when OSM_OVERPASS_BASE_URL is set.
OSM_OVERPASS_MAX_CONCURRENCYMaximum Overpass queries submitted at once. Match the slot budget the endpoint advertises at /api/status.
MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
MCP_HTTP_HOSTThe hostname for the HTTP server.
MCP_HTTP_PORTThe port to run the HTTP server on.
MCP_HTTP_ENDPOINT_PATHThe endpoint path for the MCP server.
MCP_PUBLIC_URLPublic origin override for deployments behind a TLS-terminating reverse proxy (e.g. https://mcp.example.com).
MCP_AUTH_MODEAuthentication mode to use: 'none', 'jwt', or 'oauth'.
{
"mcpServers": {
"openstreetmap-mcp-server": {
"command": "bun",
"args": [
"-y",
"@cyanheads/openstreetmap-mcp-server",
"run",
"start:stdio"
],
"env": {
"OSM_NOMINATIM_BASE_URL": "<YOUR_OSM_NOMINATIM_BASE_URL>",
"OSM_USER_AGENT": "<YOUR_OSM_USER_AGENT>",
"OSM_OVERPASS_BASE_URL": "<YOUR_OSM_OVERPASS_BASE_URL>",
"OSM_OVERPASS_ENDPOINTS": "<YOUR_OSM_OVERPASS_ENDPOINTS>",
"OSM_OVERPASS_MAX_CONCURRENCY": "<YOUR_OSM_OVERPASS_MAX_CONCURRENCY>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>",
"MCP_HTTP_HOST": "<YOUR_MCP_HTTP_HOST>",
"MCP_HTTP_PORT": "<YOUR_MCP_HTTP_PORT>",
"MCP_HTTP_ENDPOINT_PATH": "<YOUR_MCP_HTTP_ENDPOINT_PATH>",
"MCP_PUBLIC_URL": "<YOUR_MCP_PUBLIC_URL>",
"MCP_AUTH_MODE": "<YOUR_MCP_AUTH_MODE>"
}
}
}
}Related MCP servers
Researcher profiles, works, affiliations, funding, and peer reviews from the ORCID registry.
Query OSV.dev for package vulnerabilities and batch-audit dependency lists via MCP.
Offline global aviation reference — airports, runways, navaids, frequencies from OurAirports.
Search fossil occurrences, taxon ranges, diversity through deep time, and the geologic time scale.
Offline methodology engine for authorized penetration testing, CTF, and security research.
Render and push styled pixel art, text, dashboards, and animations to Divoom Pixoo LED displays.
