query
ActiveTool of mcp-overpass
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).
Parameters schema
{
"type": "object",
"examples": [
{
"qql": "[out:json][timeout:25]; area[\"name\"=\"Paris\"][admin_level=4]->.a; node[\"amenity\"=\"restaurant\"](area.a); out body;"
},
{
"qql": "[out:json][timeout:30]; way[\"building\"=\"yes\"][\"height\">20](bbox:48.8,2.2,48.9,2.4); out body;"
}
],
"required": [
"qql"
],
"properties": {
"qql": {
"type": "string",
"description": "Full Overpass QL query string. Start with `[out:json][timeout:<n>];` and end with `out body;` (or similar output statement)."
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
mcp-overpass
https://github.com/pipeworx-io/mcp-overpass
2/7 registries