Skip to main content
Glama
nominatim-osm-geocoding-mcp

nominatim-osm-geocoding-mcp

README.md
# nominatim-osm-geocoding-mcp

Live OpenStreetMap Nominatim global forward geocoding, coordinate reverse geocoding, OSM node/way/relation lookups, structured address search, and geographic bounding boxes over Model Context Protocol (MCP). Logistics teams, travel apps, and geospatial analysts can resolve worldwide locations with zero API keys and zero sign-up. It connects right away.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

```text
https://nominatim-osm-geocoding-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `geocode_place` | Forward geocode any global place name, landmark, city, or street address to coordinates and OSM metadata |
| `reverse_geocode` | Resolve global latitude and longitude coordinates to street address, city, postal code, and country |
| `lookup_osm_object` | Look up OpenStreetMap objects by typed IDs (`N`, `W`, or `R` prefix such as `W34633854`) |
| `search_structured_address` | Geocode structured street, city, county, state, postal code, and country fields worldwide |
| `get_place_bounding_box` | Retrieve geographic bounding boxes (`south`, `north`, `west`, `east`) and center points for cities or regions |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "nominatim-osm-geocoding": {
      "url": "https://nominatim-osm-geocoding-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

```bash
npm install
npm run build
npm start
```

## Compliance and reliability

Every upstream request queries `nominatim.openstreetmap.org` with the polite OSM-compliant `User-Agent` contact header (`mcpstamp-osm/1.0 (hello@mcpstamp.com)`) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates protocol version `2026-07-28` down to the SDK version cleanly.

## More MCP Servers and Readiness Check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.nominatim-osm-geocoding-mcp) with hosted commercial servers and priority endpoints.

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation4/5

Each tool has a distinct input mode: free-text search, lat/lon reverse, OSM ID lookup, structured field search, and bounding-box retrieval. Mild overlap exists because geocode_place returns OSM metadata and boxes that get_place_bounding_box also provides, and lookup_osm_object can partially duplicate geocode_place results, but descriptions make the intended use cases clear.

Naming Consistency4/5

All names are snake_case and verb-first (geocode_place, reverse_geocode, lookup_osm_object, search_structured_address, get_place_bounding_box). Minor inconsistency: 'reverse_geocode' omits the noun object that the others carry, and 'geocode_place' uses a domain verb rather than a generic one like search/get.

Tool Count5/5

Five tools is well-scoped for a geocoding service, covering forward, reverse, structured, ID-based, and extent queries without redundancy. Each tool clearly earns its place.

Completeness4/5

Core geocoding lifecycle (forward search, reverse, structured search, OSM object lookup, bounding boxes) is covered with no obvious dead ends. Gaps are minor: no batch/multi-address geocoding, no typeahead/autocomplete, and no option to return full geometry or polygon outlines.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues