query

Pack: overpass · Endpoint: https://gateway.pipeworx.io/overpass/mcp

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

NameTypeRequiredDescription
qqlstringyesFull Overpass QL query string. Start with [out:json][timeout:<n>]; and end with out body; (or similar output statement).

Example call

curl -X POST https://gateway.pipeworx.io/overpass/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "overpass": {
      "url": "https://gateway.pipeworx.io/overpass/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 12, 2026