Analytics
cityatlas.tw
An MCP server for querying and ranking city and neighborhood indicators, including demographics, public transit delays, elections, and data provenance, primarily for the Hsinchu area.
ENDPOINT 1
https://mcp.cityatlas.tw/mcp
MCP server metadata
- Name
- cityatlas
- Version
- 0.3.1
City Atlas (城市圖譜):大新竹 18 個鄉鎮市區的城市資料,125 公尺格 / 里 / 鄉鎮。Taiwan public data for Greater Hsinchu.每個結果都帶資料日、出處、但書(推估、沒蒐到的區、往平均拉);沒蒐到不是 0。排名的意思是「值得優先評估」。也有只到里的資料(里人口、65 歲以上與 14 歲以下、里所得)和中選會的選舉紀錄(投票率、得票率):照原文、不分藍綠、不推論個人。不知道資料代號就先用 search_catalog。
Known tools 10
search_catalog用關鍵字找城市圖譜的資料:11 大類 80 項資料,細到 159 條指標(139 條格網:事故、公車、人行道、淹水、樹…;20 條里 / 鄉鎮 / 縣市:里人口、長者與兒童、里所得…),加上 47 屆選舉與公投(投票率、得票率);公開版少 Google 街景判讀的 2 項 4 條,實際查得到 78 項、155 條:回代號、名稱、單位、年份、出處機關、是不是推估、涵蓋幾區。Search the indicator catalog by keyword (80 datasets in 11 categories, 159 indicators: 139 grid + 20 neighbourhood/district/county, plus 47 elections; this public server omits 4 Street-View-derived indicators, so 155 are searchable).
Inferred read-onlydescribe_metric一條資料的完整出處(機關、資料集、網址、取得日、檔案、對帳)、涵蓋哪些鄉鎮、統計、以及「可能在講別的事」的但書。Full provenance and caveats of one indicator.
Inferred read-onlyrank某條資料在里或鄉鎮排前幾名(跟網站 07 同一套算法:先加總再除、人少的地方往平均拉)。可換算每千居民 / 每公里道路 / 路 + 人 + 店(只有事故)/ 任何能當分母的代號;可只看某個鄉鎮、可加篩條件。只回前 N 名。里層資料(長者占比、里所得、選舉投票率…)一個里一個數,不能換算、單位只能是里(人數可加到鄉鎮)。沒編里的範圍不進排名。Rank neighbourhoods or districts by an indicator, optionally normalised.
Inferred read-onlylookup_place給地址(例:竹北市光明六路 10 號)、里名(例:竹北市東平里)或鄉鎮名 → 那裡各項數字,以及在大新竹排第幾;查里名時另附里人口、所得、65 歲以上與 14 歲以下。地址只定位到 125 公尺的格(用我們自己的門牌檔比對,不送外部服務、不記錄)。Numbers for an address, neighbourhood or district.
Inferred read-onlyneed_ranking哪裡最多人被公車耽誤(被耽誤的人·分鐘、工作地、學校、公設的百分位加權);權重可帶,不帶用預設 60/20/10/10。Where the most people lose time on public transport compared with driving.
Inferred read-onlyoverlay_metrics兩條資料疊起來看:A(可換算)與 B 各切三等分成九宮格,回各格有幾個里 / 鄉鎮,並列出「兩樣都高」的。例:事故(每千居民)高、人行道少的里。Which places are high on two indicators at once.
Inferred read-onlycompare_groups有 B 的格 vs 沒有 B 的格,A 差多少 —— 在居民 × 道路長度切成的 25 層裡各比一次(避免被市中心拉著走)。只描述,不做因果。Compare cells with vs without B, within strata of residents and road length.
Inferred read-onlyfilter_cells找出同時符合最多四個條件的 125 公尺格,回符合幾格、住了多少人,並照里 / 鄉鎮加總。例:離公車站超過 500 公尺、又住超過 100 人。Find grid cells that meet up to four conditions.
Inferred read-onlycompare_change兩個年份比,哪些里增加最多、減少最多(跟網站 07「看變化」同一套):里人口(107–114 年底,戶籍)、事故場數(111–114)、里所得中位數(111→112)、投票率(總統 / 立委不分區政黨票 / 立委區域 / 縣市長,年份照選舉目錄)。門檻自己填(增加幾人 / 件 / 萬元 / 個百分點以上才算增加很多);里界調整過、兩屆不是同一塊地的里不比、列出原因。只描述差多少,不做因果。Which neighbourhoods grew or shrank most between two years (population, crashes, income, turnout).
Inferred read-onlyshow_map把一條資料(或「需要度」)畫成里 / 鄉鎮的五級地圖,在對話裡直接顯示,可拖曳縮放、滑過看數字;換算同「排名」。畫不出來的 AI 會拿到一個能點開的網址(請轉給使用者)。Draw an indicator as an interactive choropleth map of neighbourhoods; chats that cannot render it get a link that opens the map in a browser (pass it on to the user).
Inferred read-onlyCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.cityatlas]
url = "https://mcp.cityatlas.tw/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"cityatlas": {
"type": "http",
"url": "https://mcp.cityatlas.tw/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: cityatlas
Remote MCP URL: https://mcp.cityatlas.tw/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"cityatlas": {
"url": "https://mcp.cityatlas.tw/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"cityatlas": {
"type": "http",
"url": "https://mcp.cityatlas.tw/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "cityatlas",
"transport": "streamable-http",
"url": "https://mcp.cityatlas.tw/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Loading Trust v2 evidence…
Checking the associated registrable domain. The BuiltWith key remains server-side.
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.