Overpass
v0.2.1OpenStreetMap Overpass MCP — programmatic queries against the OSM database
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
query
Run a raw Overpass QL query against OpenStreetMap. Use for complex spatial queries the helper tools can't express. Example: `[out:json][timeout:25]; area["name"="Berlin"][admin_level=4]->.a; node["amenity"="library"](area.a); out body;`. Returns the raw Overpass JSON (elements array with node/way/relation).
| Parameter | Type | Description |
|---|---|---|
qql * | string | Full Overpass QL query string. Start with `[out:json][timeout:<n>];` and end with `out body;` (or similar output statement). |
pois_near
Find OpenStreetMap points of interest (shops, amenities, businesses) near a location. Give a location either as latitude+longitude OR as a place name via "place" (e.g. place: "Göttingen, Germany" — auto-geocoded). For the category, pass a plain-English term ("bike rental", "pharmacy", "restaurant", "gas station", "ev charger", "hotel", "atm") or an exact OSM tag ("amenity=cafe", "shop=bakery"). Answers "find bike rental shops in <city>", "pharmacies near me", "restaurants around this point". Returns matching places with names, tags, and coordinates.
| Parameter | Type | Description |
|---|---|---|
tag * | string | Category: a plain term like "bike rental", "pharmacy", "restaurant", "ev charger", or an exact OSM tag like "amenity=cafe", "shop=bakery", "tourism=museum". |
latitude | number | Center latitude (provide with longitude, OR use place) |
limit | number | Max results (1-500, default 100) |
longitude | number | Center longitude (provide with latitude, OR use place) |
place | string | Place name to search near, e.g. "Göttingen, Germany" or "downtown Portland OR". Auto-geocoded to coordinates. Provide this OR latitude+longitude. |
radius_m | number | Search radius in metres (1-10000, default 1000) |
places_in_bbox
Find OSM POIs inside a bounding box. Use for "every park in this area" or "all restaurants in this neighborhood". Bounding box is (south, west, north, east) in degrees.
| Parameter | Type | Description |
|---|---|---|
east * | number | Maximum longitude |
north * | number | Maximum latitude |
south * | number | Minimum latitude |
tag * | string | OSM tag filter (e.g., "leisure=park", "amenity=hospital") |
west * | number | Minimum longitude |
limit | number | Max results (1-1000, default 200) |