overpass.ch

ch.overpass由 overpass.ch 发布官方发布者v1.1.0更新于 Nov 5, 2026

Overpass API on the full planet with history, plus geocoding and elevation. Needs an account.

已验证Streamable HTTP可网页运行数据库位置与生活

概览

AI 生成的概览

托管的 Overpass MCP 服务器,让助手查询全球 OpenStreetMap 数据、进行地理编码并查询海拔。

可以做什么
  • 对全球 OpenStreetMap 数据运行 Overpass QL 或 XML 查询,返回计数、数据日期并支持分页读取
  • 从 99 条查询的示例库中查找经过测试的示例查询
  • 按名称搜索地点、地址和兴趣点,或将坐标反查为地址
  • 获取单点海拔,以及含距离、爬升和下降的路径高程剖面
  • 查看套餐、当月用量和数据日期
适用场景
适合让助手按区域或距离回答现实地物问题,例如药店、街道、建筑、充电桩、山屋,或同时需要地理编码与海拔信息时。免费套餐适用于评估和非商业项目;历史数据查询需要付费套餐。
运行要求
远程 Streamable HTTP 端点,无需安装。可通过托管地址的 OAuth 登录,或使用免费的 overpass.ch 账户与 API 密钥,通过 X-API-Key 请求头(或 Bearer 令牌、URL 路径)传入。列出工具无需密钥,调用工具需要。
安装前请注意
所有工具只读取数据,但调用会消耗套餐额度:Overpass 与地理编码请求计入每月限额,商业用途需付费套餐。请妥善保管 API 密钥,并为每个助手单独创建密钥以便单独吊销。查询最长 120 秒,过大的结果会被截断。

安装

在 SourceWeft 中

  1. 打开 控制台中的 overpass.ch,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ch.overpass%2Foverpass/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "overpass-ch": {
      "type": "http",
      "url": "https://api.overpass.ch/mcp"
    }
  }
}

README

overpass.ch MCP server

[mcptry]

Hosted Overpass API with an MCP server. AI assistants connected to it query OpenStreetMap data for the whole planet, find places by name, look up heights, and answer from current data.

The data covers every street, shop, building and place mapped in OpenStreetMap and is updated every minute. The Medium and Large plans can also query the map at a past date, back to September 2012.

This repository holds the documentation and the registry entry of the hosted server at https://api.overpass.ch/mcp (sign-in) and https://api.overpass.ch/v1/mcp (API key). There is nothing to install.

Setup

In Claude, add overpass.ch from the Claude directory. Claude Code, ChatGPT and other assistants that sign in take https://api.overpass.ch/mcp as a remote MCP server, then open overpass.ch for you to sign in (OAuth). The free plan works too.

Clients that do not sign in send an API key:

  1. Create a free account and an API key at https://overpass.ch/signup.

  2. Add the server to your assistant, either as a URL with the key in it:

    https://api.overpass.ch/v1/YOUR_API_KEY/mcp

    or as https://api.overpass.ch/v1/mcp with the key in the X-API-Key header (or Authorization: Bearer YOUR_API_KEY).

Transport: Streamable HTTP. Protocol versions 2026-07-28 and 2025-03-26 to 2025-11-25. Listing the tools does not need a key. Create a separate key for each assistant, so that you can revoke it on its own.

Claude (web, desktop and mobile apps)

Open overpass.ch in the Claude directory and add it, then sign in to overpass.ch and click Allow. In a Team or Enterprise organisation, an owner first adds it under Organization settings → Connectors.

With a key: Customize → Connectors → + Add → Add custom connector. Name: overpass.ch. URL: the URL with your key. Authentication: No sign in.

ChatGPT

Open https://chatgpt.com/plugins, select + and Add custom MCP server. Enter a name, the URL https://api.overpass.ch/mcp under Connection, and OAuth as authentication. Confirm the warning, select Create as a plugin, then sign in to overpass.ch and click Allow. With a key: the URL with your key and no authentication. Your ChatGPT plan or workspace has to allow custom MCP servers.

Claude Code

sh
claude mcp add --transport http overpass https://api.overpass.ch/mcp

Then type /mcp in Claude Code, select overpass and sign in to overpass.ch in the browser. With a key:

sh
claude mcp add --transport http overpass https://api.overpass.ch/v1/mcp \  --header "X-API-Key: YOUR_API_KEY"

Cursor

~/.cursor/mcp.json, with the key in the environment variable OVERPASS_KEY:

json
{  "mcpServers": {    "overpass": {      "url": "https://api.overpass.ch/v1/mcp",      "headers": { "X-API-Key": "${env:OVERPASS_KEY}" }    }  }}

VS Code

.vscode/mcp.json. VS Code asks for the key the first time and stores it:

json
{  "inputs": [    { "type": "promptString", "id": "overpass-key", "description": "overpass.ch API key", "password": true }  ],  "servers": {    "overpass": {      "type": "http",      "url": "https://api.overpass.ch/v1/mcp",      "headers": { "X-API-Key": "${input:overpass-key}" }    }  }}

Other clients

Other clients that speak MCP over Streamable HTTP take the URL with the key, or the URL without it and the X-API-Key header.

As an Agent Plugin

This repository is also an Agent Plugin: plugin.json and mcp.json add the server overpass at https://api.overpass.ch/mcp. On first use the client opens overpass.ch for you to sign in. A client that does not sign in can use https://api.overpass.ch/v1/mcp with the header X-API-Key instead.

Tools

ToolWhat it doesCounts as
overpass_queryRuns an Overpass QL or XML query on the full planet. The answer starts with counts and the date of the data, then one element per line. Answers over 30,000 characters are cut and can be read in parts with offset.1 request
overpass_examplesFinds tested example queries for a topic, from a cookbook of 99 queries.free
geocode_searchPlaces, addresses and points of interest by name, in English, German or French, with an overpass_area_id for searching inside that place.1 geocoding request
geocode_reverseThe address, street, city or country at a point.1 geocoding request
elevation_pointsHeights of points: a 2 m grid in Switzerland and Liechtenstein (swissALTI3D), a 30 m grid elsewhere on land (Copernicus), depths at sea (GEBCO).1 lookup per point
elevation_profileDistance, ascent, descent and heights along a path.1 lookup per sample
account_statusPlan, use this month and the date of the data.free

All tools only read data. Overpass queries through MCP stop after 120 s at most.

Example questions

  • How many pharmacies in Zürich are within 200 m of a tram stop?
  • Which mountain huts in Valais lie above 2,500 m?
  • List every EV charger in the canton of Bern with operator and power, as a table.
  • How many cafés did Lausanne have in 2015, and how many today? (Medium and Large plans)

Plans

Tool calls count like the same calls of the REST API.

PlanPrice a monthOverpass requests a monthQueries at a timeHistory
Free010,000 (30 a minute)1no
SmallCHF/EUR 19 or USD 25100,0002no
MediumCHF/EUR 59 or USD 791 million6yes
LargeCHF/EUR 149 or USD 1993 million10yes

The free plan is for evaluation and development, and for personal, educational and non-profit projects; commercial use needs a paid plan. Every plan includes 100,000 geocoding requests a month. Prices exclude VAT, and a year costs ten months. Details: https://overpass.ch/pricing

FAQ

Do I need an API key? Yes, for tool calls. The free plan works. Listing the tools works without a key.

What happens when a result is very large? The answer says how many elements there were. The assistant can read the next part with offset, raise max_chars up to 200,000, or narrow the query (out count;, out center 50;, a smaller area).

How is this different from MCP servers that use overpass-api.de? The public server overpass-api.de allows about 100 queries a day for anything that runs regularly, refuses scripts without their own User-Agent and bans addresses after repeated 429 errors. overpass.ch identifies you by your API key, publishes its limits and tells the assistant how long to wait when it reaches one.

What is logged? Tool calls are logged like API requests: the id of the key, never the key, and queries only as a hash.

Data and licence

Data © OpenStreetMap contributors, available under the Open Database Licence (https://www.openstreetmap.org/copyright). Heights in Switzerland and Liechtenstein © swisstopo. overpass.ch is operated from Switzerland, with servers in Finland (EU). Contact: https://overpass.ch/contact

来源:README.md,提交 996f78f

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

2
  1. v1.1.0最新Nov 5, 2026
  2. v1.0.2Nov 4, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式必需10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 Overpass 集成