openstreetmap-mcp-server
io.github.cyanheads/openstreetmap-mcp-server
Serveur MCP OK 6 outils
Geocode, reverse geocode, and run Overpass spatial queries on OpenStreetMap data.
Fiche technique
- Auteur
- cyanheads (espace de noms du registre)
- Dépôt
- github.com/cyanheads/openstreetmap-mcp-server
- Site
- —
- Version
- 0.7.4
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://openstreetmap.caseyjhand.com/mcp Streamable HTTP
- Paquets
- @cyanheads/openstreetmap-mcp-server 0.7.4 npm stdio
@cyanheads/openstreetmap-mcp-server 0.7.4 npm Streamable HTTP - Outils
- 6
- Catégories
- Cartes, lieux et météo
- Comparatifs
- Serveurs MCP pour cartes et lieux
- Dernière mise à jour
- 24 nov. 2026
- Publication
- 24 nov. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 3 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/io.github.cyanheads/openstreetmap-mcp-server)<a href="https://latlas.dev/mcp/io.github.cyanheads/openstreetmap-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/openstreetmap-mcp-server.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.cyanheads/openstreetmap-mcp-server)<a href="https://latlas.dev/mcp/io.github.cyanheads/openstreetmap-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/openstreetmap-mcp-server.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://openstreetmap.caseyjhand.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 10:24
- Temps de réponse
- 1 456 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- openstreetmap-mcp-server 0.7.4
- Outils
- 6
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 10:24 | OK | 1 456 ms | 6 |
Outils exposés (6, réponse à tools/list, 28 nov. 2026)
openstreetmap_search_places
Geocode a place name or address
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Free-form search string, e.g. "Space Needle Seattle" or "1600 Pennsylvania Ave NW, Washington DC". Not combinable with the structured address fields. Nominatim reads commas as an address hierarchy, so give the name plus its city or region and nothing in between: "Beinecke Library, New Haven" matche… |
| street | string | non | House number and street name (structured query). Use with city/state/country fields. Cannot be combined with query. |
| city | string | non | City name (structured query). |
| county | string | non | County or district (structured query). |
| state | string | non | State or province (structured query). |
| country | string | non | Country name or ISO 3166-1 alpha-2 code (structured query). |
| postalcode | string | non | Postal or ZIP code (structured query). |
| limit | integer | non | Maximum results to return, up to 40 (Nominatim's own ceiling); a larger value is served as 40 and limitNotice says so. Nominatim may return fewer at its relevance cutoff; nextExcludeIds pages past it. |
| countrycodes | string | string | non | Restrict results to one or more countries: comma-separated ISO 3166-1 alpha-2 codes (e.g. "us,ca"), any casing, optional spaces around the commas. Any other form — alpha-3, a semicolon list, a country name — is rejected rather than silently dropped upstream. A well-formed code for a country that do… |
| viewbox | object | non | Rectangular area to bias results toward, disambiguating a name that repeats worldwide (a creek in one watershed, a street in one municipality). Narrower than countrycodes. Bias only by default: a better match outside the box is still returned. Set bounded for a hard restriction. Unlike openstreetma… |
| bounded | boolean | non | Restrict results to the viewbox instead of merely biasing toward it. Requires viewbox — setting it alone is rejected rather than ignored. With it, a match outside the box is dropped even when it scores higher. |
| layer | string | string | non | Filter by data layer: one of address, poi, railway, natural, manmade, or a comma-separated list of them, in any casing. Any other name is rejected here, not upstream; an empty value counts as omitted. Default: no restriction. |
| featureType | enum: "country" | "state" | "city" | "settlement" | non | Restrict results to a geographic feature type. Automatically implies the address layer. |
| extratags | boolean | non | Include the matched object's extra OSM tags — contact and metadata (phone, website, opening_hours, wikidata) and physical attributes (surface, tracktype, sac_scale, ele, access). An absent tag describes that object, not OpenStreetMap. Increases response size. |
| language | string | string | non | Language for names. Default: the local OSM language. |
| exclude_place_ids | array<string | string> | non | OSM refs (N/W/R + id) or Nominatim place_ids to drop from results; any other token form is rejected here rather than by Nominatim. Entries are trimmed, lowercase ref prefixes uppercased, a blank entry treated as absent. Page toward further matches by passing back the previous page's nextExcludeIds,… |
openstreetmap_reverse_geocode
Reverse geocode coordinates to an address
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| lat | number | oui | Latitude in WGS84 decimal degrees. |
| lon | number | oui | Longitude in WGS84 decimal degrees. |
| zoom | integer | non | Address detail level, roughly corresponding to map zoom. 18=building, 16=street, 14=neighbourhood, 12=town, 10=city, 8=county, 5=state, 3=country. |
| layer | string | string | non | Restrict which OSM layer is matched: one of address, poi, railway, natural, manmade, or a comma-separated list of them, in any casing. Any other name is rejected here, not upstream; an empty value counts as omitted. Default: address,poi. |
| extratags | boolean | non | Include the matched object's extra OSM tags — contact and metadata (phone, website, opening_hours, wikidata) and physical attributes (surface, tracktype, sac_scale, ele, access). An absent tag describes that object, not OpenStreetMap. |
| language | string | string | non | Language for names. Default: the local OSM language. |
openstreetmap_lookup_objects
Look up address details for OSM objects by ID
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| osm_ids | array<string> | oui | OSM IDs to look up: N (node), W (way), or R (relation) plus the id ("N240109189"), the object path ("node/240109189"), or its openstreetmap.org URL. Always an array, including for a single ID: ["N240109189"], ["W50637691", "R146656"]. Up to 500 entries; duplicates are dropped and the first 50 uniqu… |
| extratags | boolean | non | Include each looked-up object's extra OSM tags — contact and metadata (phone, website, opening_hours, wikidata) and physical attributes (surface, tracktype, sac_scale, ele, access). An absent tag describes that object, not OpenStreetMap. |
| language | string | string | non | Language for names. Default: the local OSM language. |
openstreetmap_query_nearby
Find OSM features near a point
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| lat | number | oui | Center latitude in WGS84 decimal degrees. |
| lon | number | oui | Center longitude in WGS84 decimal degrees. |
| radius_meters | number | non | Search radius in meters. Max 50,000m (50km). Keep under 5,000m for dense urban POI queries to avoid slow responses. |
| amenity | string | non | OSM amenity tag value (e.g. "hospital", "pharmacy", "restaurant", "atm"), shortcut for tag_key="amenity". Exactly one primary mode is required: this or tag_key, never both. Many categories live under other keys — tourism (museums, hotels, viewpoints), leisure (parks, pitches, playgrounds), shop (su… |
| tag_key | string | non | Primary OSM tag key (e.g. "leisure", "shop", "highway"); omit tag_value to match any feature carrying the key, or supply it for exact equality. The alternative to amenity, never both. Additional filters are ANDed with this tag. |
| tag_value | string | non | Literal value paired with tag_key for exact equality (e.g., "park", "supermarket"); omit for key existence. Exact equality misses semicolon-list values (cuisine=pizza;italian); tag_value_match "list_item" catches them. Explicit empty or whitespace-only values are invalid. Keys and values are trimme… |
| tag_value_match | enum: "exact" | "list_item" | non | How tag_value matches: "exact" (default) compares the whole value; "list_item" matches one item of a semicolon list, so "pizza" finds cuisine=pizza;italian. Needs tag_value; not available with amenity. |
| filters | array<object> | non | Up to five additional filters, ANDed with the required primary amenity or tag_key filter in input order. Omitted or [] adds no conditions. Exact values miss semicolon-list values; set match "list_item" on the entry. Keys must be unique after trimming; keys and values must not contain Overpass QL me… |
| element_types | array<enum: "node" | "way" | "relation"> | non | OSM element types to search, at least one. Nodes cover most standalone POIs, ways most buildings and areas, relations large parks, lakes, campuses, and boundaries. Omit the field to search all three; pass ["node", "way"] to leave relations out. An empty array is rejected because it can only match n… |
| tag_keys | array<string> | non | Return only these tag keys in each feature's tags, matched exactly; list name:en to get it, no wildcards. Shrinks responses on heavily tagged features such as boundary relations. Matching, ranking, and paging still read every tag. Omitted or [] returns the full tag set. |
| limit | integer | non | Maximum results to return, up to 500 per call; a larger value is served as 500 and limitNotice says so. Applied after the Overpass query — if the area has more features, they are truncated. |
| offset | integer | non | Number of matching features to skip before applying limit, for paging through a large result set. Features are distance-sorted before paging, so higher offsets return progressively farther matches; the full set is cached ~10 minutes so re-paging costs no extra upstream request; a result over 100000… |
| timeout_seconds | integer | non | Overpass query timeout in seconds. Increase for large radius or dense areas. |
openstreetmap_query_bbox
Find OSM features inside a bounding box or an OSM boundary
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| within | string | string | non | OSM boundary to search inside, as one ref: R plus a relation id ("R237385", Seattle) or W plus a closed-way id ("W13800188", a park), case-insensitive, or the object path ("relation/237385") or its openstreetmap.org URL. Take it from osm_type plus osm_id on openstreetmap_search_places, openstreetma… |
| south | number | non | Southern boundary latitude (minimum latitude). One of four corner fields: supply all four, or use within instead. |
| west | number | non | Western boundary longitude (minimum longitude). A west greater than east is valid, not an error: Overpass reads it as an antimeridian-crossing box and returns the union of west..180 and -180..east. |
| north | number | non | Northern boundary latitude (maximum latitude). |
| east | number | non | Eastern boundary longitude (maximum longitude). A value below west describes an antimeridian crossing rather than an inverted box. |
| amenity | string | non | OSM amenity tag value shortcut (e.g. "cafe", "bench", "hospital"). Exactly one primary mode is required: this or tag_key, never both. Many categories live under other keys — tourism (museums, hotels, viewpoints), leisure (parks, pitches, playgrounds), shop (supermarkets), historic (castles, memoria… |
| tag_key | string | non | Primary OSM tag key (e.g. "leisure", "shop", "natural"); omit tag_value to match any feature carrying the key, or supply it for exact equality. The alternative to amenity, never both. Additional filters are ANDed with this tag. |
| tag_value | string | non | Literal value paired with tag_key for exact equality (e.g., "park", "supermarket"); omit for key existence. Exact equality misses semicolon-list values (cuisine=pizza;italian); tag_value_match "list_item" catches them. Explicit empty or whitespace-only values are invalid. Keys and values are trimme… |
| tag_value_match | enum: "exact" | "list_item" | non | How tag_value matches: "exact" (default) compares the whole value; "list_item" matches one item of a semicolon list, so "pizza" finds cuisine=pizza;italian. Needs tag_value; not available with amenity. |
| filters | array<object> | non | Up to five additional filters, ANDed with the required primary amenity or tag_key filter in input order. Omitted or [] adds no conditions. Exact values miss semicolon-list values; set match "list_item" on the entry. Keys must be unique after trimming; keys and values must not contain Overpass QL me… |
| element_types | array<enum: "node" | "way" | "relation"> | non | OSM element types to search, at least one. Nodes cover most standalone POIs, ways most buildings and areas, relations large parks, lakes, campuses, and boundaries. Omit the field to search all three; pass ["node", "way"] to leave relations out. An empty array is rejected because it can only match n… |
| tag_keys | array<string> | non | Return only these tag keys in each feature's tags, matched exactly; list name:en to get it, no wildcards. Shrinks responses on heavily tagged features such as boundary relations. Matching, ranking, and paging still read every tag. Omitted or [] returns the full tag set. |
| sort_by | object | non | Rank the whole match set by a tag's numeric value before offset and limit apply. A value ranks when it is a plain decimal such as 4392 or -12.5; one with a unit, comma, range, or list (8280ft, 2,5, 100-200, 849;871) is not converted. Those and features lacking the tag follow the ranked ones in defa… |
| limit | integer | non | Maximum results to return, up to 500 per call; a larger value is served as 500 and limitNotice says so. Applied after the Overpass query — if the area has more features, they are truncated. |
| offset | integer | non | Number of matching features to skip before applying limit, for paging through a large result set; sort_by ranks the whole set before the page is cut. The full match set is fetched and cached ~10 minutes keyed by the query, so re-paging at a new offset is deterministic and costs no extra upstream re… |
| timeout_seconds | integer | non | Overpass query timeout in seconds. Increase for large bounding boxes or dense areas. |
openstreetmap_query_raw
Execute a raw Overpass QL query
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\"](47.5,-122.5,47.7,-122.2);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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Overpass QL query string. Must include [out:json]. The server sets the endpoint and User-Agent; do not include those. With no [maxsize:N] it adds [maxsize:268435456] (256 MiB), which a busy endpoint admits sooner than its 512 MiB default; write your own to change it. Example: "[out:json][timeout:15… |
| limit | integer | non | Maximum elements to return, up to 500 per call; a larger value is served as 500 and limitNotice says so. Applied after the Overpass query — if the query matched more, they are truncated. |
| offset | integer | non | Elements to skip before applying limit, for paging a large result set. The full match set is cached ~10 minutes keyed by the query, so re-paging at a new offset is deterministic and costs no extra request; a result over 100000 elements or 25 MiB is served uncached, so paging it re-queries and depen… |
| max_element_bytes | integer | non | Serialized-byte budget for one element, in UTF-8 bytes, applied per element after limit and offset — the dimension limit cannot bound, a single relation or geometry-heavy way. Omitted, every element arrives whole. An over-budget element keeps every scalar and its tags but has its members, nodes and… |
| timeout_seconds | integer | non | How long Overpass may spend on the query. A [timeout:N] directive in the query string wins over this. The client waits the full value rather than cutting a long query off early, but the endpoint enforces its own budget and may answer HTTP 504 first. |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://openstreetmap.caseyjhand.com/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http openstreetmap-mcp-server https://openstreetmap.caseyjhand.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : openstreetmap-mcp-server ; URL : https://openstreetmap.caseyjhand.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : openstreetmap-mcp-server ; Server URL : https://openstreetmap.caseyjhand.com/mcp ; Create as a plugin{
"mcpServers": {
"openstreetmap-mcp-server": {
"url": "https://openstreetmap.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"openstreetmap-mcp-server": {
"type": "http",
"url": "https://openstreetmap.caseyjhand.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"openstreetmap-mcp-server": {
"url": "https://openstreetmap.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"openstreetmap-mcp-server": {
"httpUrl": "https://openstreetmap.caseyjhand.com/mcp"
}
}
}[mcp_servers.openstreetmap-mcp-server]
url = "https://openstreetmap.caseyjhand.com/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
openstreetmap-mcp-server · L’Atlas · Test du
[openstreetmap-mcp-server — L’Atlas](https://latlas.dev/mcp/io.github.cyanheads/openstreetmap-mcp-server)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.