Geocoding, reverse geocoding, and spatial queries via OpenStreetMap Nominatim and Overpass
Geocoding, reverse geocoding, and spatial queries via OpenStreetMap Nominatim and Overpass. That is what the nominatim mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
The server publishes 8 tools. What each one is for:
openstreetmap_search_places — Convert a place name or address to geographic coordinates and structured place dataopenstreetmap_reverse_geocode — Convert latitude/longitude coordinates to the nearest address or place nameopenstreetmap_lookup_objects — Fetch address details for one or more known OSM objects by their IDsopenstreetmap_query_nearby — Find OSM features within a radius around a geographic pointopenstreetmap_query_bbox — Find OSM features within a rectangular bounding boxopenstreetmap_query_raw — Execute a raw Overpass QL query for advanced spatial operationsPrerequisites — The Prerequisites tool exposed by this serverInstallation — The Installation tool exposed by this serverConfiguration is passed through the environment: MCP_TRANSPORT_TYPE, MCP_LOG_LEVEL, OSM_NOMINATIM_BASE_URL, OSM_OVERPASS_BASE_URL, MCP_HTTP_ENDPOINT_PATH, MCP_PUBLIC_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
OSM_NOMINATIM_BASE_URL and OSM_OVERPASS_BASE_URL at self-hosted or mirror instances.Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.
Among the cloud and infrastructure options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Nominatim's toolset — openstreetmap_search_places, openstreetmap_reverse_geocode, openstreetmap_lookup_objects and 5 more — is a fair guide to whether it matches your workflow. It is maintained by cyanheads; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Nominatim's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| openstreetmap_search_places | Convert a place name or address to geographic coordinates and structured place data |
| openstreetmap_reverse_geocode | Convert latitude/longitude coordinates to the nearest address or place name |
| openstreetmap_lookup_objects | Fetch address details for one or more known OSM objects by their IDs |
| openstreetmap_query_nearby | Find OSM features within a radius around a geographic point |
| openstreetmap_query_bbox | Find OSM features within a rectangular bounding box |
| openstreetmap_query_raw | Execute a raw Overpass QL query for advanced spatial operations |
| Prerequisites | The Prerequisites tool exposed by this server. |
| Installation | The Installation tool exposed by this server. |
{
"mcpServers": {
"openstreetmap-mcp-server": {
"type": "stdio",
"command": "bunx",
"args": ["@cyanheads/openstreetmap-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
OSM_NOMINATIM_BASE_URL and OSM_OVERPASS_BASE_URL at self-hosted or mirror instances.| Variable | Description | Required |
|---|---|---|
| MCP_TRANSPORT_TYPE | Configuration value read at startup. | Optional |
| MCP_LOG_LEVEL | Configuration value read at startup. | Optional |
| OSM_NOMINATIM_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| OSM_OVERPASS_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| MCP_HTTP_ENDPOINT_PATH | Filesystem location the server is allowed to use. | Optional |
| MCP_PUBLIC_URL | Endpoint or connection string the server talks to. | Yes |
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Stop letting your assistant hallucinate n8n node parameters — this server hands it the real schemas, templates and validation.
AWS Labs' official server suite — current AWS docs, CDK guidance, cost analysis and service tools.
Cloud browsers for AI agents — automation sessions that run in Browserbase's fleet, not on your machine.
Workers, KV, R2 and D1 by conversation — Cloudflare's official remote servers for building and observability.
Dashboards, Prometheus and Loki queries, incidents and alerts — observability by conversation.