overpass.ch MCP
Provides AI assistants with tools to query OpenStreetMap data via Overpass QL, perform geocoding (Photon and Nominatim APIs), retrieve elevation data, and check account status. It supports both OAuth authentication for signed-in apps and API key authentication for other clients.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://api.overpass.ch/v1/mcpWhat its tools do
9 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to overpass.ch ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
What you can do with it
- Run Overpass QL queries on OpenStreetMap data
- Search and reverse geocode addresses
- Get elevation for points or profiles
- Check API account status and limits
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- overpass.ch 1.3.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 9 advertised
- Resources
- 1 advertised
- Resource templates
- 0 advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
},
"resources": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
9 advertised
overpass_query — Run an Overpass query
Runs an Overpass QL query on the full OpenStreetMap planet at overpass.ch (minutely updates) and returns the matching nodes, ways and relations with their tags. Start the query with a settings line such as [out:json][timeout:25]; JSON is used when the query does not set [out:]. [timeout:N] stops the query after N s: at most 120 s through this tool, and the plan may allow less. Patterns: - Box (south,west,north,east): nwr["amenity"="cafe"](47.36,8.53,47.38,8.55); out center; - Radius in metres around lat,lon: nwr["amenity"="pharmacy"](around:1000,47.3769,8.5417); out center; - In a place: overpass_area_id from geocode_search, then area(id:3600051701)->.a; nwr["tourism"="hotel"](area.a); out center; - By name (exact, local language): area["name"="Wien"]["admin_level"="4"]->.a; - Count: out count; Tags only: out tags; At most 50: out center 50; Lines with coordinates: out geom; (large) - Regex, any case: ["name"~"^Bahnhof",i] - By id: node(3470507586); out; way(id:1,2,3); out tags; - The map at a past date (Pro and Business plans): [date:"2015-01-01T00:00:00Z"] in the settings line. The answer starts with counts and the date of the data, then one JSON object per element and line, up to max_chars characters. When it is cut, call again with offset, or narrow the query. Each call counts as one request of the plan, a cut one too. Data © OpenStreetMap contributors, ODbL.
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "the Overpass QL (or XML) query"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "the element (or CSV row) to start at, for the next part of a cut answer"
},
"max_chars": {
"type": "integer",
"default": 30000,
"maximum": 200000,
"minimum": 2000,
"description": "most characters of the answer to show; larger answers are cut, and offset shows the next part"
},
"add_elevation": {
"type": "boolean",
"default": false,
"description": "add the height in metres to every point of a JSON answer; one elevation lookup per point"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"format",
"total",
"complete",
"offset",
"shown",
"cut"
],
"properties": {
"cut": {
"type": "boolean",
"description": "true when elements after the part shown were left out; next_offset gives the next part"
},
"shown": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "elements (or rows) shown in this part"
},
"total": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "elements (json), data rows (csv) or lines (xml) in the answer"
},
"counts": {
"type": "object",
"description": "elements by type",
"additionalProperties": {
"type": "integer"
}
},
"format": {
"enum": [
"json",
"csv",
"xml",
"text"
],
"type": "string",
"description": "format of the answer"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "the first element (or row) shown"
},
"remark": {
"type": "string",
"description": "remark of Overpass"
},
"complete": {
"type": "boolean",
"description": "false when the answer was larger than what was read; total then counts only the part read"
},
"attribution": {
"type": "string",
"description": "licence of the data"
},
"next_offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "offset of the next part"
},
"data_timestamp": {
"type": "string",
"description": "date of the data (timestamp_osm_base)"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}overpass_examples — Find example Overpass queries
Searches the cookbook of overpass.ch: Overpass queries that were tested on the full planet, with explanations. Give a topic in a few words, such as "bakeries in a city", "hiking routes", "count buildings" or "changes since a date", and get the 5 closest examples with their query and a link. It does not count as a request.
{
"type": "object",
"required": [
"topic"
],
"properties": {
"topic": {
"type": "string",
"description": "what the query should find, in a few English words"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}overpass_tags — Look up map tags
Checks OpenStreetMap tags before a query: how often a key or tag is used in the world (nodes, ways, relations), the most used values of a key, and the keys and tags most often found on the same objects. Give a key ("cuisine"), a tag ("amenity=charging_station") or a few English words ("charging station", "drinking water"); words are matched to the presets of the iD editor. When overpass_query finds nothing, the tag may be rare or written another way: check it here. Counts from taginfo, updated weekly. It does not count as a request.
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "a key, a key=value tag, or a few English words"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}overpass_translate — Turn a sentence into an Overpass query
Turns a sentence in English, German, French or Italian, such as "cafés with outdoor seating in Zürich" or "hotels between Bern and Thun", into an Overpass QL query, with the translator of overpass.ch. It does not run the query. The answer says how the sentence was read, gives the query, notes when the query finds more than the sentence asks for (opening hours, for example, are not part of Overpass QL), and other readings of the thing and the place. Write places as on an envelope, with their region or country ("huts above 2500 m in Wallis, Switzerland", "cafés in Springfield, Illinois"): the geocoder looks up place names around the world, and a name alone can be a village elsewhere. Check how the answer read the place; when it is not the place meant, call again with the region or country in the sentence, or with within. within keeps the places to a box (a canton, a country), and a sentence without a place, such as "cafés nearby", searches in it; near is the position of the user. One call counts as one request.
{
"type": "object",
"required": [
"sentence"
],
"properties": {
"near": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "latitude, -90 to 90"
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "longitude, -180 to 180"
}
},
"description": "the position of the user, for sentences such as \"near me\" or \"the nearest pharmacy\"",
"additionalProperties": false
},
"within": {
"type": "object",
"required": [
"south",
"west",
"north",
"east"
],
"properties": {
"east": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "longitude"
},
"west": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "longitude"
},
"north": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "latitude"
},
"south": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "latitude"
}
},
"description": "only places in this box count, and a sentence without a place searches in it",
"additionalProperties": false
},
"language": {
"enum": [
"en",
"de",
"fr"
],
"type": "string",
"description": "language of the names and addresses; the local names when not set"
},
"sentence": {
"type": "string",
"description": "what to find and where, in words, up to 500 characters"
}
},
"additionalProperties": false
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}geocode_search — Find a place by name
Finds places, addresses and points of interest by name (geocoding). Partial text works, as for autocomplete. Each result has the name, the address, lat and lon, a bounding box (south, west, north, east), the OpenStreetMap element (osm), and for ways and relations an overpass_area_id to use in overpass_query as area(id:N). Languages: en, de, fr. One call counts as one geocoding request.
{
"type": "object",
"required": [
"query"
],
"properties": {
"kind": {
"enum": [
"country",
"state",
"city",
"settlement"
],
"type": "string",
"description": "only places of this kind; settlement is a city, town, village or district"
},
"near": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "latitude, -90 to 90"
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "longitude, -180 to 180"
}
},
"description": "prefer results near this point, such as a place named in the conversation",
"additionalProperties": false
},
"limit": {
"type": "integer",
"default": 5,
"maximum": 20,
"minimum": 1,
"description": "most results"
},
"query": {
"type": "string",
"description": "what to find, such as \"Bundesplatz 3, Bern\", \"Zermatt\" or \"Louvre\""
},
"within": {
"type": "object",
"required": [
"south",
"west",
"north",
"east"
],
"properties": {
"east": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "longitude"
},
"west": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "longitude"
},
"north": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "latitude"
},
"south": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "latitude"
}
},
"additionalProperties": false
},
"language": {
"enum": [
"en",
"de",
"fr"
],
"type": "string",
"description": "language of the names and addresses; the local names when not set"
},
"country_codes": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2,
"minLength": 2
},
"description": "only results in these countries, ISO 3166-1 alpha-2 codes such as CH or DE"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"display_name",
"lat",
"lon",
"osm"
],
"properties": {
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"osm": {
"type": "string",
"description": "the OpenStreetMap element, such as relation/1682378"
},
"bbox": {
"type": "object",
"required": [
"south",
"west",
"north",
"east"
],
"properties": {
"east": {
"type": "number"
},
"west": {
"type": "number"
},
"north": {
"type": "number"
},
"south": {
"type": "number"
}
}
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"address": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"category": {
"type": "string"
},
"addresstype": {
"type": "string"
},
"display_name": {
"type": "string"
},
"overpass_area_id": {
"type": "integer",
"description": "for area(id:N) in overpass_query; ways and relations only"
}
}
}
},
"attribution": {
"type": "string"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}geocode_reverse — Find the address at a point
Finds the address or place at a point (reverse geocoding). detail chooses what to return: the nearest address or object (address, the default), the street, the district, the city, the county, the state or the country that contains the point. The result has the same fields as those of geocode_search. One call counts as one geocoding request.
{
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "latitude, -90 to 90"
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "longitude, -180 to 180"
},
"detail": {
"enum": [
"address",
"street",
"district",
"city",
"county",
"state",
"country"
],
"type": "string",
"description": "what to return"
},
"language": {
"enum": [
"en",
"de",
"fr"
],
"type": "string",
"description": "language of the names and addresses; the local names when not set"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"display_name",
"lat",
"lon",
"osm"
],
"properties": {
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"osm": {
"type": "string",
"description": "the OpenStreetMap element, such as relation/1682378"
},
"bbox": {
"type": "object",
"required": [
"south",
"west",
"north",
"east"
],
"properties": {
"east": {
"type": "number"
},
"west": {
"type": "number"
},
"north": {
"type": "number"
},
"south": {
"type": "number"
}
}
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"address": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"category": {
"type": "string"
},
"addresstype": {
"type": "string"
},
"display_name": {
"type": "string"
},
"overpass_area_id": {
"type": "integer",
"description": "for area(id:N) in overpass_query; ways and relations only"
}
}
},
"maxItems": 1
},
"attribution": {
"type": "string"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}elevation_points — Heights of points
Heights above sea level in metres for a list of points, negative at sea. Switzerland and Liechtenstein: swissALTI3D, a 2 m grid of the ground (credit "© swisstopo"). Elsewhere on land: Copernicus GLO-30, a 30 m grid of the surface that includes buildings and trees. At sea: GEBCO. Each point counts as one lookup; account_status shows the plan maximum per call.
{
"type": "object",
"required": [
"points"
],
"properties": {
"points": {
"type": "array",
"items": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "latitude, -90 to 90"
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "longitude, -180 to 180"
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "the points, each with lat and lon"
},
"max_chars": {
"type": "integer",
"default": 30000,
"maximum": 200000,
"minimum": 2000,
"description": "most characters of the answer to show; larger answers are cut, and offset shows the next part"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"total",
"lookups",
"points"
],
"properties": {
"total": {
"type": "integer"
},
"points": {
"type": "array",
"items": {
"type": "object",
"required": [
"lat",
"lon",
"elevation_m",
"surface",
"dataset",
"resolution_m"
],
"properties": {
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"dataset": {
"type": "string"
},
"surface": {
"type": "string"
},
"elevation_m": {
"type": [
"number",
"null"
]
},
"resolution_m": {
"type": "integer"
}
}
},
"description": "the points shown, in the order of the request"
},
"lookups": {
"type": "integer"
},
"attribution": {
"type": "string"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}elevation_profile — Elevation profile of a path
Elevation profile along a path of two or more points: distance, ascent, descent, the lowest and the highest point, and up to 100 points along the way (distance from the start, height, lat, lon). The path is sampled every 90 m unless samples or interval_m is set. Each sample counts as one lookup, up to the plan maximum per call.
{
"type": "object",
"required": [
"path"
],
"properties": {
"path": {
"type": "array",
"items": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "latitude, -90 to 90"
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "longitude, -180 to 180"
}
},
"additionalProperties": false
},
"minItems": 2,
"description": "the points of the path in order, each with lat and lon"
},
"samples": {
"type": "integer",
"default": 0,
"minimum": 2,
"description": "number of samples along the path"
},
"interval_m": {
"type": "number",
"minimum": 10,
"description": "metres between samples, at least 10"
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"distance_m",
"ascent_m",
"descent_m",
"samples",
"interval_m",
"lookups",
"points"
],
"properties": {
"max_m": {
"type": [
"number",
"null"
]
},
"min_m": {
"type": [
"number",
"null"
]
},
"points": {
"type": "array",
"items": {
"type": "object",
"required": [
"distance_m",
"elevation_m",
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"distance_m": {
"type": "number"
},
"elevation_m": {
"type": [
"number",
"null"
]
}
}
},
"description": "up to 100 samples, evenly spread"
},
"lookups": {
"type": "integer"
},
"samples": {
"type": "integer"
},
"ascent_m": {
"type": "number"
},
"descent_m": {
"type": "number"
},
"distance_m": {
"type": "number"
},
"interval_m": {
"type": "number"
},
"attribution": {
"type": "string"
}
}
}{
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}account_status — Plan and usage of this key
The plan of the API key of this connection and its use this month: Overpass requests used and left, when the allowance starts again, running queries, elevation lookups, geocoding requests, and the date of the data. It names the products on a free plan, which is not for commercial use. It does not count as a request.
{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"type": "object",
"required": [],
"properties": {
"overpass": {
"type": "object",
"description": "plan, usage this month (Overpass requests, elevation lookups) and the date of the data"
},
"geocoding": {
"type": "object",
"description": "geocoding plan and usage this month"
},
"free_plans": {
"type": "array",
"items": {
"type": "string"
},
"description": "products of this key on a free plan"
},
"signed_in_key": {
"type": "string",
"description": "name of the key that the calls of this connection count under"
},
"overpass_error": {
"type": "string"
},
"free_plans_terms": {
"type": "string"
}
}
}{
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
1 advertised
overpass_map — Map of Overpass results
Draws the elements of an overpass_query answer on a map of overpass.ch.
ui://overpass/map90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-07: 1 of 1 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1631 ms
- 95th percentile latency
- 2341 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 2420 ms · metadata changed · 9 tool(s), 1 resource(s), 0 resource template(s)
- · probe · passed · 842 ms · metadata changed · 7 tool(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http overpass-ch-mcp https://api.overpass.ch/v1/mcpCodex
codex mcp add overpass-ch-mcp --url https://api.overpass.ch/v1/mcpCursor
{
"mcpServers": {
"overpass-ch-mcp": {
"url": "https://api.overpass.ch/v1/mcp"
}
}
}Cline
{
"mcpServers": {
"overpass-ch-mcp": {
"type": "streamableHttp",
"url": "https://api.overpass.ch/v1/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"overpass-ch-mcp": {
"type": "http",
"url": "https://api.overpass.ch/v1/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http overpass-ch-mcp https://api.overpass.ch/v1/mcpClaude Desktop
https://api.overpass.ch/v1/mcpWindsurf
{
"mcpServers": {
"overpass-ch-mcp": {
"serverUrl": "https://api.overpass.ch/v1/mcp"
}
}
}Let your agent find its tools
Find servers like overpass.ch MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other data and analytics servers
Do you run overpass.ch MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.