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.
概覽
託管的 Overpass MCP 伺服器,讓助理查詢全球 OpenStreetMap 資料、進行地理編碼並查詢海拔。
- 可以做什麼
- 對全球 OpenStreetMap 資料執行 Overpass QL 或 XML 查詢,回傳計數、資料日期並支援分頁讀取
- 從 99 條查詢的範例庫中尋找經過測試的範例查詢
- 依名稱搜尋地點、地址和興趣點,或將座標反查為地址
- 取得單點海拔,以及含距離、爬升與下降的路徑高程剖面
- 查看方案、當月用量和資料日期
- 適用情境
- 適合讓助理依區域或距離回答現實地物問題,例如藥局、街道、建築、充電樁、山屋,或同時需要地理編碼與海拔資訊時。免費方案適用於評估與非商業專案;歷史資料查詢需要付費方案。
- 執行需求
- 遠端 Streamable HTTP 端點,無需安裝。可透過託管網址的 OAuth 登入,或使用免費的 overpass.ch 帳號與 API 金鑰,以 X-API-Key 標頭(或 Bearer 權杖、URL 路徑)傳入。列出工具不需金鑰,呼叫工具則需要。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 overpass.ch,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
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
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.
- Website: https://overpass.ch
- Claude directory: https://claude.ai/directory/overpass-ch
- Setup guide: https://overpass.ch/guides/overpass-mcp-server
- Docs: https://overpass.ch/docs#mcp
- Official MCP Registry:
ch.overpass/overpass
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:
-
Create a free account and an API key at https://overpass.ch/signup.
-
Add the server to your assistant, either as a URL with the key in it:
or as
https://api.overpass.ch/v1/mcpwith the key in theX-API-Keyheader (orAuthorization: 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
Then type /mcp in Claude Code, select overpass and sign in to overpass.ch in the browser. With a key:
Cursor
~/.cursor/mcp.json, with the key in the environment variable OVERPASS_KEY:
VS Code
.vscode/mcp.json. VS Code asks for the key the first time and stores it:
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
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.
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版本歷史
2- v1.1.0最新Nov 5, 2026
- v1.0.2Nov 4, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式必需10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。

