Skip to main content
Glama

openstreetmap-mcp-server

Server Details

Geocode, reverse geocode, and run Overpass spatial queries on OpenStreetMap data.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
cyanheads/openstreetmap-mcp-server
GitHub Stars
9
Server Listing
@cyanheads/openstreetmap-mcp-server
ChatGPT
–
Claude
–

TDQS

A4.3/5.0

Scored across 6 tools

Disambiguation4/5

Each tool has a clearly stated niche, and descriptions explicitly contrast the risky pairs: bbox vs nearby vs raw, and search_places vs reverse_geocode vs lookup_objects. The only residual overlap is among the three Overpass-backed queries, where an agent could plausibly pick bbox instead of nearby for a small radius, but the prose steers selection well.

Naming Consistency5/5

All six tools share the openstreetmap_ prefix and a consistent snake_case verb_noun pattern (lookup_objects, query_bbox, query_nearby, query_raw, reverse_geocode, search_places). The query_* family makes the related Overpass operations group visibly.

Tool Count5/5

Six tools is tight and well-scoped for an OSM data-access server: three query modes, one raw escape hatch, one forward geocoder, one reverse geocoder. No tool appears redundant, and nothing feels missing at the count level.

Completeness4/5

The surface covers the full read lifecycle: discover (nearby/bbox/raw), resolve by ID (lookup_objects), and both geocoding directions, with pagination and truncation handled in raw queries. Minor gaps exist for routing/directions and any write/edit operations, but those are arguably outside the stated data-lookup purpose.

Available Tools

6 tools
openstreetmap_lookup_objectsLook up address details for OSM objects by IDA
Read-onlyIdempotent
Inspect

Fetch the Nominatim address record for known OSM objects by ID, 50 per call with any more returned under deferred_ids, each N (node), W (way), or R (relation) plus the id, e.g. "N240109189", or the object's openstreetmap.org path or URL. Use it for IDs already in hand from openstreetmap_query_nearby or openstreetmap_query_bbox; it returns only objects named in osm_ids and lists those with no Nominatim record under not_found (Nominatim skips unnamed and non-place objects, so such an ID may still exist). It cannot select by tag, so discover objects with those tools or openstreetmap_query_raw first.

Inputs: osm_ids (required), language, extratags. Returns: error, total, notice, results, +4 more

openstreetmap_query_bboxFind OSM features inside a bounding box or an OSM boundaryA
Read-onlyIdempotent
Inspect

Find OSM features inside an area via the Overpass API, for surveys of everything in a region (openstreetmap_query_nearby covers proximity to a point). Scope with the four corner fields south, west, north, east, or with within and a single OSM boundary ref such as a city relation or a park way, which searches the boundary polygon itself instead of an overcovering box; never both. Filter with amenity, or with tag_key plus an optional tag_value, ANDing up to five more filters; every feature returns with its full OSM tag set (no extratags flag here) or the keys tag_keys lists.

Inputs: east, west, limit, north, +12 more. Returns: error, notice, elements, truncated, +11 more

openstreetmap_query_nearbyFind OSM features near a pointA
Read-onlyIdempotent
Inspect

Find OSM features within a radius of a point via the Overpass API, the tool for "what is near X?" questions. Filter with amenity, or with tag_key plus an optional tag_value, ANDing up to five more filters; every feature returns with its full OSM tag set (no extratags flag here) or the keys tag_keys lists, sorted nearest-first by distance_meters. An area containing the point, such as the park or city it lies in, matches at 0 m whatever the radius.

Inputs: lat (required), lon (required), limit, offset, +9 more. Returns: error, notice, elements, truncated, +9 more

openstreetmap_query_rawExecute a raw Overpass QL queryA
Read-onlyIdempotent
Inspect

Run an arbitrary Overpass QL query for anything the convenience tools cannot express: multi-type or union queries, relation membership, historical queries, regex tag matching. The query must include [out:json], e.g. "[out:json][timeout:15];node"natural"="peak";out body;"; scope to an OSM boundary with rel();map_to_area->.a; or way();map_to_area->.a; then (area.a) on each statement (the 2400000000 way-area offset is gone since Overpass 0.7.57; openstreetmap_query_bbox takes the same scope as within, without QL). The response is one page: page with limit and offset, and read totalFound and truncated for the whole match. Every element arrives whole unless max_element_bytes is set; an element over it then has its members, nodes or geometry withheld whole, and withheldNotice says how to fetch it back. For plain "near X" or "in this area" questions use openstreetmap_query_nearby or openstreetmap_query_bbox.

Inputs: query (required), limit, offset, timeout_seconds, +1 more. Returns: error, notice, elements, truncated, +10 more

openstreetmap_reverse_geocodeReverse geocode coordinates to an addressA
Read-onlyIdempotent
Inspect

Convert a latitude/longitude pair to the nearest address or named place via Nominatim. The result is the closest indexed OSM object at the requested zoom (18 building, 10 city), which in dense areas can be a neighbouring feature rather than the one containing the coordinate; proximity and layer pick it, never an OSM attribute tag, so find features by tag with openstreetmap_query_nearby, openstreetmap_query_bbox, or openstreetmap_query_raw.

Inputs: lat (required), lon (required), zoom, layer, +2 more. Returns: error, result, attribution, tagSelectionCaveat

openstreetmap_search_placesGeocode a place name or addressA
Read-onlyIdempotent
Inspect

Geocode a place name or address to coordinates and structured place data via Nominatim. Send either a free-form query or the structured address fields (street, city, county, state, country, postalcode), never both; results are the best-ranked matches, not every matching object, and matching never uses an OSM attribute tag, so filter or enumerate by tag with openstreetmap_query_nearby, openstreetmap_query_bbox, or openstreetmap_query_raw.

Inputs: city, layer, limit, query, +12 more. Returns: cap, error, shown, total, +10 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Provides forward/reverse geocoding, bounding box extraction, nearby places discovery, batch geocoding, route waypoints, and administrative boundary lookup using OpenStreetMap data.
      10
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Find places and points of interest from OpenStreetMap via Overpass and Nominatim: shops, restaurants, services by category and area, plus geocoding and reverse geocoding.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables geocoding, reverse geocoding, place search, OpenStreetMap object lookup, nearby category search, and local great-circle distance calculations through public OpenStreetMap APIs.
      48 npm
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.