Overpass

Overpass MCP Connector for Claude

F

Access OpenStreetMap data via Overpass API — execute complex spatial queries, fetch raw map data, and monitor API status.

4 tools Official Updated Jun 28, 2026 Official Vinkius Partner

Connect your AI agent to the Overpass API to query and retrieve OpenStreetMap (OSM) data globally. This server allows for deep geospatial analysis and data extraction through natural language.

What you can do

  • Advanced Spatial Queries — Use execute_query with Overpass QL to find specific points of interest (POIs), ways, or relations (e.g., all pharmacies in a city).
  • Map Data Extraction — Use get_map to fetch raw OSM XML data for a specific bounding box for GIS processing.
  • Legacy Support — Execute queries using the execute_xapi tool for compatibility with legacy XAPI syntax.
  • Rate Limit Management — Use get_status to check your current API slot availability and avoid being throttled during heavy data collection.

How it works

  1. Subscribe to this server
  2. (Optional) Configure your preferred Overpass instance URL
  3. Start asking your AI to find locations, analyze urban infrastructure, or download map segments

Who is this for?

  • Data Scientists & GIS Analysts — automate the extraction of geographic features for research and modeling.
  • Urban Planners — quickly query city infrastructure like bike lanes, parks, or public transport nodes.
  • Developers — integrate real-world map data into applications without manually writing complex API calls.
openstreetmapgisspatial-datamappingoverpass-ql

4 tools expose this connector's capabilities to your AI agent.

execute_query

ALWAYS include [out:json]; at the beginning of your query to ensure JSON output. Execute an Overpass QL query

get_map

Returns raw XML data. Fetch OSM map data for a bounding box

get_status

Check Overpass API rate limit and slot status

execute_xapi

Returns raw XML data. Execute a legacy XAPI query

See how to talk to your AI agent using Overpass.

Use execute_query to find all hospitals within 5km of coordinates 51.5074, -0.1278.

I've executed the Overpass query. I found 12 hospitals in that radius, including St Thomas' Hospital and Guy's Hospital. Would you like the specific coordinates for any of them?

Get the raw OSM map data for the area 13.3,52.5,13.4,52.6 using get_map.

I have retrieved the raw XML map data for that bounding box. It contains all nodes, ways, and relations within those coordinates. How would you like me to process this data?

Check my current Overpass API status and rate limits.

Checking status... You currently have 2 slots available, and no active rate limit cooldowns. You are free to execute more queries.

You can ask the agent to use the `execute_query` tool with an Overpass QL string, for example: `[out:json];area[name='Berlin'];node(area)[amenity=restaurant];out;`. The agent will handle the execution and present the results.

Related Connectors