/openstreetmap-mcp-server:openstreetmap-guidefrom openstreetmap-mcp-server
Guides use of OpenStreetMap tools for feature surveys, boundary-scoped searches, tag-based discovery, and Overpass QL queries. Helps resolve object references and interpret scope, coverage, and pagination.
Ships in openstreetmap-mcp-server. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use OpenStreetMap to resolve locations and investigate mapped features. Nominatim ranks place/address matches; Overpass selects features by tags and geography. A survey describes mapped objects matching the query, not a complete inventory of real-world facilities.
osm_type and osm_id when available. Combine them as N + node ID, W + way ID, or R + relation ID (N240109189) for openstreetmap_lookup_objects, which also reads node/240109189 and the openstreetmap.org URL; within takes the same forms for ways and relations. One malformed entry fails the whole lookup, and no OSM id exceeds 9223372036854775807. Raw Overpass elements use type and id for the same identity.place_id is internal to its instance; never use it as an OSM object ID or carry it between deployments.extratags describes that object, not all of OpenStreetMap. Discover by attribute with Overpass, then enrich those exact IDs if addresses are needed. A tag missing from a feature under tag_keys says nothing about OpenStreetMap: the page was cut to the listed keys, and effectiveTagKeys names them.amenity is one OSM key, not a generic category. Museums use tourism=museum, parks leisure=park, and supermarkets shop=supermarket. Read a category warning before concluding that a sparse result reflects sparse mapping. Tags match exactly, and primary feature values are lowercase with underscores (amenity=fast_food, not Fast Food), so read a spelling hint in notice before concluding a zero means no features; free-text keys such as name and brand are case-sensitive and never draw the hint. An exact name (or name:*) value that matched nothing gets a name search to run instead: an openstreetmap_query_raw query that matches the value anywhere in the key, in any case, plus an openstreetmap_search_places call when the scope is a box Nominatim's viewbox can carry (never for a box that crosses the antimeridian or has zero width or height). Under within, the raw query comes alone while the boundary's bounds cover at most 12 Overpass index blocks, as Seattle's do; a larger boundary, such as a state, a country, or a large city, gets the openstreetmap_search_places call alone over its bounds, which are its bounding box, so matches just outside the boundary can appear, and one whose bounds cross the antimeridian gets no name search. A box of one square degree or more, height times width in degrees, gets the search call alone, since the raw query would run out its timeout there; a 50 km radius draws a box that large above latitude 36°, and a radius past about 300 m does at a pole. A box that crosses the antimeridian with a side that large gets no name search. Exact equality differs from membership in a semicolon list such as cuisine=pizza;italian.element_types without relation also leaves out the large parks, lakes, and boundaries mapped as relations. Follow nextOffset while more results remain, keeping the query unchanged. openstreetmap_query_bbox pages arrive nodes, then ways, then relations, each by ascending id, so a first page is no likelier than any other to hold the best or largest feature; to find the highest or most populous, pass sort_by and read unrankedCount, since values with units, ranges, or lists and features without the tag follow the ranked ones. Resolve deferred lookup IDs on subsequent calls. Raw elements arrive whole unless the call sets max_element_bytes; with a bound set, read withheldElements and re-call with the budget withheldNotice names before analyzing geometry or relation membership.not_found means no Nominatim record. Use the raw existence query in the response notice when existence matters, and apply the same coverage/freshness checks before interpreting its result.For a named-region survey:
openstreetmap_search_places and select the intended boundary object by its addresstype (state, county, or city) as well as its name, since a state, its counties, and a same-name city all match one query.openstreetmap_query_bbox to survey the polygon. Check that effectiveArea names the intended boundary — a mistyped ref resolves to another one — and inspect any area-resolution notice before interpreting the match set.openstreetmap_lookup_objects only when Nominatim address details add information the task needs.If the geocoder returned only a point, do not invent a boundary ID or silently substitute a radius for an administrative area. Resolve the boundary separately, or state that the chosen scope is a radius or bounding box.
Near an address. Resolve the address, then use openstreetmap_query_nearby around that point. Its feature distances are not travel distances. Nodes use their own coordinates; way/relation output coordinates are bounding-box centers. An area containing the point, such as the park or city it lies in, reads 0 m whatever the radius. Read a center-distance warning before treating the ranking as distance to the feature itself, and a notice that areas containing the point were not checked before concluding the point lies in no such area: that endpoint lists one only where its outline falls within the radius.
Investigate a named feature's attributes. Resolve the location to constrain the search, then use Overpass to find objects carrying the requested tag. Compare their names and identities before associating a tag-bearing path, building, or relation with the named place. Do not post-filter Nominatim's top matches and call an empty result evidence of no tagged feature.
Queries beyond the convenience tools. Use openstreetmap_query_raw for unions, regex, relation membership, history, or geometry. Read the Overpass QL reference before composing these queries; it covers boundary mapping, coordinate order, list matching, and output modes. A [date:], [diff:], or [adiff:] query needs an endpoint holding attic data, and out meta needs metadata; overpass-api.de holds both, and a query_unsupported error means no configured endpoint does.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
openstreetmap, overpass-ql, nominatim, geocoding, spatial-queries
Other plugins' skills for the same job
openstreetmap-mcp-server@cyanheads is listed by cyanheads/cyanheads — review the source before installing
npx claudepluginhub cyanheads/cyanheads --plugin openstreetmap-mcp-server