City Atlas MCP 城市圖譜

Taiwan city data for Claude · 給 AI 用的台灣城市資料

City Atlas aligns Taiwan government open data and OpenStreetMap — traffic crashes, bus service, schools, flood risk, population and more — onto one 125 m grid covering 18 districts of Greater Hsinchu: 82 datasets in 11 categories, down to 161 indicators (141 on the grid plus 20 at neighbourhood / district / county level), plus 47 elections. This public MCP server leaves out 2 datasets (4 indicators) that are derived from Google Street View, which Google's terms do not let us republish, so here you can query 80 datasets and 157 indicators. It lets Claude query that grid and returns every number with its source, data date and caveats. The numbers are computed by the same code as the City Atlas website, not generated by the model.

城市圖譜把政府開放資料與 OpenStreetMap 資料疊到同一張 125 公尺的格網(大新竹 18 個鄉鎮市區):11 大類 82 項資料, 細到 161 條指標(141 條格網 + 20 條里 / 鄉鎮 / 縣市),加上 47 屆選舉。公開的 MCP 少了 2 項 4 條 Google 街景判讀的資料(Google 平台條款不讓我們轉發), 所以這裡查得到 80 項、157 條指標。接上這個 MCP,Claude 就能直接查,回答都附出處、資料日與但書;數字是跟網站同一套程式算的,不是模型猜的。

Connect · 怎麼接

Server URL · 網址:

https://mcp.cityatlas.tw/mcp
  1. Claude (web or desktop) → Customize → Connectors → Add custom connector.
    claude.ai 網頁版或桌面版 → 左邊 Customize → Connectors → Add custom connector。
  2. Paste the URL above. Authentication: none.
    貼上面的網址,不用登入。
  3. In a chat, open + → Connectors and turn on City Atlas.
    對話左下 + → Connectors → 打開城市圖譜。

Claude Code: claude mcp add --transport http cityatlas https://mcp.cityatlas.tw/mcp

Other AIs · 在其他 AI 裡用

Same URL, no login, read-only. Any AI that can add a remote MCP server (Streamable HTTP) can use it. Claude draws the interactive map inside the chat (tested); ChatGPT, VS Code and Cursor say they support the same map view (not tested by us). Where the chat cannot draw it, the answer carries a link that opens the same map in a browser (phones too).
同一個網址、不用登入、只能讀。只要那個 AI 能加「遠端 MCP 伺服器」就能用。Claude 會把互動地圖直接畫在對話裡(實測過);ChatGPT、VS Code、Cursor 官方說支援同樣的地圖畫面(我們沒測)。 畫不出來的 AI,回答會附一個網址,點開就是同一張地圖(手機也行)。

AIHow to add · 怎麼加Status · 狀態
ChatGPT
web 網頁版
chatgpt.com → Plugins → + → Add custom MCP server → paste the URL, authentication No authentication.
貼上面的網址,驗證選 No authentication。 Per OpenAI: Pro, Business, Enterprise, Edu; Free / Plus not confirmed. The mobile app cannot add custom servers (a server added on the web shows up there). 官方寫 Pro、Business、Enterprise、Edu 可加;Free、Plus 沒寫。手機 App 不能自己加。
Not tested yet. From OpenAI's docs, whose menus change often. 沒實測,照官方文件寫,選單常改。
Codex
CLI · IDE · app
codex mcp add cityatlas --url https://mcp.cityatlas.tw/mcp Tested 2026-10-11 (CLI): it called the catalog, rank and describe tools. 實測過(CLI)。
Claude Codeclaude mcp add --transport http cityatlas https://mcp.cityatlas.tw/mcpTested 實測過
CursorAdd to Cursor · 一鍵加入, or paste into ~/.cursor/mcp.json (below). 或貼下面的設定。One-click link not clicked yet; the JSON works the same. 一鍵連結還沒實點,貼設定一樣能用。
VS Code + GitHub CopilotAdd to VS Code · 一鍵加入, or paste into .vscode/mcp.json (below). Company accounts: an admin must allow MCP. 公司帳號要管理員開 MCP。One-click link not clicked yet; the JSON works the same. 一鍵連結還沒實點,貼設定一樣能用。
Mistral Le ChatConnectors → Add Connector → Custom MCP Connector → paste the URL.Not tested 沒實測
PerplexitySettings → Connectors → add custom → Remote → authentication None (Pro and above 官方寫 Pro 以上).Not tested 沒實測
GeminiGemini app custom connectors are limited to paid, English-language users in the US, so they are not available in Taiwan yet. The personal Gemini CLI was retired in favour of Antigravity CLI.
Gemini App 的自訂連接器目前限美國英文付費用戶,台灣一般使用者還用不到;個人版 Gemini CLI 已停,改 Antigravity。
Not tested 沒實測

Config snippets · 設定片段 (field names as in each vendor's docs · 欄位名照各家官方)

VS Code .vscode/mcp.json

{ "servers": { "cityatlas": { "type": "http", "url": "https://mcp.cityatlas.tw/mcp" } } }

Cursor ~/.cursor/mcp.json

{ "mcpServers": { "cityatlas": { "url": "https://mcp.cityatlas.tw/mcp" } } }

Antigravity CLI ~/.gemini/config/mcp_config.json · Gemini CLI (company accounts, 公司付費帳號) uses httpUrl instead of serverUrl

{ "mcpServers": { "cityatlas": { "serverUrl": "https://mcp.cityatlas.tw/mcp" } } }

Snippets for VS Code, Cursor and Antigravity follow the vendors' docs and were not run by us. 這三段照官方文件組,我們沒實際跑過。

Try asking · 範例問句

Map preview without Claude · 不用 Claude 先看地圖:https://mcp.cityatlas.tw/map?k=crash_ped4…

Tools · 工具(all read-only · 全部只能讀)

Tool中文What it does
search_catalog查資料目錄Find indicators by keyword (crashes, buses, sidewalks, flooding, trees…; neighbourhood-level age, income and 47 elections, referendums and recalls)
describe_metric看資料說明Full provenance of one indicator: agency, dataset, URL, date, coverage, caveats
rank排名Rank neighbourhoods (里) or districts by an indicator, optionally per 1,000 residents or per km of road
lookup_place查某個地方Numbers for an address, neighbourhood or district, and where it ranks in Greater Hsinchu
need_ranking需要度Where most people lose time on public transport compared with driving
overlay_metrics兩樣疊Which places are high on two indicators at once (3×3 classes)
compare_groups分組比Cells with vs without B, compared within 25 strata of residents × road length
filter_cells篩條件125 m cells that meet up to four conditions, and how many people live there
compare_change看變化Which neighbourhoods grew or shrank most between two years: population, crashes, income, election turnout (same as the website's change view)
show_map畫地圖Interactive choropleth map inside the conversation (MCP App): drag, zoom, hover for values; always returns a link that opens the map in a browser

Data · 資料

Contact · 聯絡

hello@cityatlas.tw · cityatlas.tw · Privacy · 隱私