L'Atlas / Serveurs MCP / openstreetmap-mcp-server
Serveur MCP

openstreetmap-mcp-server

io.github.cyanheads/openstreetmap-mcp-server

Serveur MCP OK 6 outils

Faire examiner Voir les tarifs

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

MarkdownREADME.md
[![Statut sur L’Atlas](https://latlas.dev/badge/statut/mcp/io.github.cyanheads/openstreetmap-mcp-server.svg)](https://latlas.dev/mcp/io.github.cyanheads/openstreetmap-mcp-server)
HTML
<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

Référencé sur L’Atlas

Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.

MarkdownREADME.md
[![Référencé sur L’Atlas](https://latlas.dev/badge/fiche/io.github.cyanheads/openstreetmap-mcp-server.svg)](https://latlas.dev/mcp/io.github.cyanheads/openstreetmap-mcp-server)
HTML
<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

DateRésultatRéponseOutils
28 nov. 2026, 10:24OK1 456 ms6

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ètreTypeRequisDescription
querystringnonFree-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…
streetstringnonHouse number and street name (structured query). Use with city/state/country fields. Cannot be combined with query.
citystringnonCity name (structured query).
countystringnonCounty or district (structured query).
statestringnonState or province (structured query).
countrystringnonCountry name or ISO 3166-1 alpha-2 code (structured query).
postalcodestringnonPostal or ZIP code (structured query).
limitintegernonMaximum 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.
countrycodesstring | stringnonRestrict 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…
viewboxobjectnonRectangular 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…
boundedbooleannonRestrict 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.
layerstring | stringnonFilter 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.
featureTypeenum: "country" | "state" | "city" | "settlement"nonRestrict results to a geographic feature type. Automatically implies the address layer.
extratagsbooleannonInclude 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.
languagestring | stringnonLanguage for names. Default: the local OSM language.
exclude_place_idsarray<string | string>nonOSM 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ètreTypeRequisDescription
latnumberouiLatitude in WGS84 decimal degrees.
lonnumberouiLongitude in WGS84 decimal degrees.
zoomintegernonAddress detail level, roughly corresponding to map zoom. 18=building, 16=street, 14=neighbourhood, 12=town, 10=city, 8=county, 5=state, 3=country.
layerstring | stringnonRestrict 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.
extratagsbooleannonInclude 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.
languagestring | stringnonLanguage 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ètreTypeRequisDescription
osm_idsarray<string>ouiOSM 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…
extratagsbooleannonInclude 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.
languagestring | stringnonLanguage 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ètreTypeRequisDescription
latnumberouiCenter latitude in WGS84 decimal degrees.
lonnumberouiCenter longitude in WGS84 decimal degrees.
radius_metersnumbernonSearch radius in meters. Max 50,000m (50km). Keep under 5,000m for dense urban POI queries to avoid slow responses.
amenitystringnonOSM 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_keystringnonPrimary 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_valuestringnonLiteral 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_matchenum: "exact" | "list_item"nonHow 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.
filtersarray<object>nonUp 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_typesarray<enum: "node" | "way" | "relation">nonOSM 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_keysarray<string>nonReturn 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.
limitintegernonMaximum 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.
offsetintegernonNumber 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_secondsintegernonOverpass 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ètreTypeRequisDescription
withinstring | stringnonOSM 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…
southnumbernonSouthern boundary latitude (minimum latitude). One of four corner fields: supply all four, or use within instead.
westnumbernonWestern 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.
northnumbernonNorthern boundary latitude (maximum latitude).
eastnumbernonEastern boundary longitude (maximum longitude). A value below west describes an antimeridian crossing rather than an inverted box.
amenitystringnonOSM 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_keystringnonPrimary 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_valuestringnonLiteral 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_matchenum: "exact" | "list_item"nonHow 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.
filtersarray<object>nonUp 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_typesarray<enum: "node" | "way" | "relation">nonOSM 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_keysarray<string>nonReturn 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_byobjectnonRank 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…
limitintegernonMaximum 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.
offsetintegernonNumber 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_secondsintegernonOverpass 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ètreTypeRequisDescription
querystringouiOverpass 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…
limitintegernonMaximum 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.
offsetintegernonElements 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_bytesintegernonSerialized-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_secondsintegernonHow 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.

ClientTransports documentésCe serveurSource
Claude Codestdio Streamable HTTP SSEtransport acceptédoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport acceptédoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport acceptédoc
Cursorstdio Streamable HTTP SSEtransport acceptédoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport acceptédoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport acceptédoc
Gemini CLIstdio Streamable HTTP SSEtransport acceptédoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport acceptédoc

Configs prêtes à copier

Adresse distante utilisée : https://openstreetmap.caseyjhand.com/mcp. Formats repris de la documentation de chaque client.

Claude Code
claude mcp add --transport http openstreetmap-mcp-server https://openstreetmap.caseyjhand.com/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : openstreetmap-mcp-server ; URL : https://openstreetmap.caseyjhand.com/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : openstreetmap-mcp-server ; Server URL : https://openstreetmap.caseyjhand.com/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "openstreetmap-mcp-server": {
      "url": "https://openstreetmap.caseyjhand.com/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "openstreetmap-mcp-server": {
      "type": "http",
      "url": "https://openstreetmap.caseyjhand.com/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "openstreetmap-mcp-server": {
      "url": "https://openstreetmap.caseyjhand.com/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "openstreetmap-mcp-server": {
      "httpUrl": "https://openstreetmap.caseyjhand.com/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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

Markdown
[openstreetmap-mcp-server — L’Atlas](https://latlas.dev/mcp/io.github.cyanheads/openstreetmap-mcp-server)
Méthode et limites des tests

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.