OSM Overpass MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OVERPASS_ENDPOINT | No | Overpass API endpoint to query. Point this at a mirror or your own instance if the public one is rate-limiting you. | https://overpass-api.de/api/interpreter |
| OVERPASS_MCP_HOST | No | HTTP transport bind address. Namespaced to avoid the common HOST env var. | 127.0.0.1 |
| OVERPASS_MCP_PORT | No | HTTP transport port. | 3000 |
| OVERPASS_TIMEOUT_MS | No | Per-request timeout in milliseconds. Must be a positive integer. | 30000 |
| OVERPASS_USER_AGENT | No | User-Agent sent on every request. | osm-overpass-mcp/<version> (+https://github.com/gander-mcp/osm-overpass-mcp) |
| OVERPASS_MAX_RETRIES | No | Retries after the first attempt on rate limit / timeout. Must be a non-negative integer. | 3 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| overpass_queryA | Run an Overpass QL query against the OpenStreetMap Overpass API and return the result. Set format to 'geojson' to get a GeoJSON FeatureCollection instead of the raw Overpass response. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 1 tool
With a single tool there is no possibility of misselection; every request maps unambiguously to overpass_query.
The lone tool uses a clear snake_case verb_noun name (overpass_query) that matches the server's domain, so there is no convention mixing.
A single parameterized tool is defensible because Overpass QL is a general-purpose query language covering the whole API, though the thin surface means agents get no higher-level helpers.
The general query tool plus optional geojson output covers essentially the entire Overpass API, leaving only niceties like query validation, presets, or result pagination absent.