Boundary Atlas

io.github.TaltonFiggins由 GitHub 帳號 TaltonFiggins 發布v0.2.0更新於 Nov 7, 2026

US/Canada boundaries: cities, ZIPs, counties, districts, precincts. Lookups, crosswalks, GeoJSON.

發布方自己的服務:Red Atlas Api

已驗證Streamable HTTP可網頁執行位置與生活資料與分析

概覽

AI 產生的概覽

提供美國與加拿大行政邊界的遠端地圖集,讓助理查詢地名、判斷某點所屬選區,並取得 GeoJSON 多邊形。

可以做什麼
  • 依名稱、層級、州或省搜尋並列出地理單元,並讀取含上層鏈與來源的完整紀錄。
  • 透過子層清單逐層走訪階層結構,並在 ZIP、城市、郡縣與選區等非嵌套重疊單元之間交叉查詢人口占比。
  • 定位某點或地址所在的轄區、郡縣、城鎮與立法選區,或找出座標附近最近的地理單元。
  • 以 GeoJSON 取得多邊形邊界用於繪製地圖,並查詢代表某地的官員及聯絡方式。
  • 查看依國家與層級的資料涵蓋情形,以及各資料集最近擷取時間與是否逾期。
適用情境
適合需要把美國或加拿大地名解析為穩定 ID、判斷某地址屬於哪些選區或轄區,或為公民、選舉與地方分析工作產生邊界地圖和代表聯絡方式的場合。
執行需求
遠端 streamable HTTP 端點;未宣告驗證、環境變數或請求標頭。地址查詢需先自行地理編碼,因為服務只接受座標。
安裝前請注意
選區圖層會隨選舉變動,依賴前請先查看資料新鮮度與版本年份。邊界簡化至約 10 公尺,靠近邊界的位置可能判斷不精確,最近地理單元僅為點近似而非包含關係。大型多邊形集合以下載連結形式回傳。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Boundary Atlas,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.TaltonFiggins%2Fboundary-atlas/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "boundary-atlas": {
      "type": "http",
      "url": "https://atlas-production-d344.up.railway.app/mcp"
    }
  }
}

工具

11

search_geographies

Search geographies

Find geographies by name, e.g. 'Essex County', 'Newark ward 5', 'Toronto Centre'. country: 'US' or 'CA'. level: one of the levels from coverage_summary (e.g. 'county', 'precinct', 'congressional_district', 'federal_electoral_district'). region: USPS state or province code ('NJ', 'ON').

輸入參數levellimitquery必填regioncountry

get_geography

Get a geography

Full record for one geography: attributes, parent chain up to the country, child counts by level, and the source it came from (licence, vintage, last fetched).

輸入參數id必填

list_children

List children

Geographies directly under `id` (state -> counties and districts, county -> precincts and towns, province -> ridings). Filter with `level`; page with limit/offset (max 1000).

輸入參數id必填levellimitoffset

list_geographies

List geographies

Every geography at one level, optionally within one state/province, e.g. all congressional districts in 'NJ' or all federal ridings in 'ON'. Page with limit/offset (max 1000).

輸入參數level必填limitoffsetregioncountry必填

nearest_geographies

Nearest geographies

Geographies at `level` whose internal point is closest to (lat, lon). This is a nearest-point approximation, not point-in-polygon. To find the geography containing a point, use locate_point.

輸入參數lat必填lon必填level必填limit

data_freshness

Data sources and freshness

When each upstream dataset was last fetched and checked, what period it describes (vintage), how often it is re-checked, and whether it is overdue. Includes the recent refresh history.

無需輸入參數。

coverage_summary

Coverage summary

What's in the atlas: row counts by country and level, with the vintage of each layer.

無需輸入參數。

get_boundaries

Get boundaries (GeoJSON)

Polygon boundaries as a GeoJSON FeatureCollection (EPSG:4326, RFC 7946 winding), for drawing dashboard maps. id: the geography to draw, e.g. 'us:county:34013'. children_level: draw everything at that level inside it instead, e.g. every 'precinct' in a county or state, every 'county' in a state, every 'polling_division' in a riding, or every 'precinct' overlapping a congressional district (any share; use related_geographies for shares). detail: 'high' (~10 m), 'medium' (~50 m, default) or 'low' (~200 m). Neighbouring shapes from the same source share identical edges at every detail level. clip_to_land: trim open water (ocean, bays, Great Lakes) using the state/province shoreline outline (default true; inland lakes are not trimmed; shorelines are generalized to ~1:500k, widened ~200 m so land isn't cut); false gives legal extents. include_districts: add each feature's congressional / state senate / state house district holding the largest share of its population. Feature properties: id, level, code, name, parent_id, region, population (2020 Census for precincts and towns, latest estimate for counties and states), vintage and source_id (2020 Census VTDs have source_id 'us-census-vtd-2020'; current precincts don't), shape_source. Small results come back inline as `geojson`. Larger ones are not returned inline (they'd flood the conversation): the hosted service returns a short-lived `download_url` (fetch it with curl into your project); a local server writes the file to its own export folder and returns `file` (copy it into your project). Page big selections with offset/limit (max 5000 features).

輸入參數id必填limitdetailoffsetclip_to_landinline_max_kbchildren_levelinclude_districts

locate_point

Locate a point

Which geographies contain a point: precinct, county, town, congressional and state legislative districts in the US; province, census division and subdivision, federal riding, polling divisions and provincial districts in Canada. Point-in-polygon on stored boundaries (simplified to ~10 m, so a point within ~10 m of a line can land on either side). Geocode an address to lat/lon first. levels: restrict to some levels (default: all except 'vtd_2020'). If a point is just outside every shape of a level that its state/province has (a pier, a beach, a gap between precinct files), it is matched to the nearest shape of that level in the same state/province within ~1 km and flagged approximate=true with distance_m. not_found lists levels the state/province has data for but no shape here; no_data lists levels with no boundaries there at all (e.g. Nebraska has no state house; Ontario has no provincial polling divisions here).

輸入參數lat必填lon必填levels

find_officials

Find elected officials

Who represents a place: members of the U.S. House and Senate, state legislators and the mayor, with contacts. Give a geography `id` (a congressional district, state, city 'us:place:...', county, town or ZIP 'us:zcta:...') or a point (`lat`, `lon`; geocode an address first). For a city, county or ZIP that spans several districts, each representative comes with `share` = share of that area's 2020 residents in the district; for an exact answer use a point. Members listed are those serving now (119th Congress, until January 3, 2027); the districts are the 120th Congress maps elected November 3, 2026. In states that redrew for 2026 (AL, CA, FL, LA, NC, OH, TN, TX, UT) a representative's `note` says they were elected under the previous map. A district with no member is vacant. State legislators (state_legislators=True, except for a whole state, where pass it explicitly) come from Open States; members in states that redrew legislative maps for 2026 (MI, MN, MS) carry a similar note. Mayors (local=True) come from Open States (larger cities, while their term runs) or, failing that, Wikidata (one current head of government, in office since 2010; their `note` says to confirm on the city's website). Sources: the @unitedstates congress-legislators dataset (CC0), Open States (public domain), Wikidata (CC0). US only for now.

輸入參數idlatlonlocalstate_legislators

版本歷史

1
  1. v0.2.0最新Nov 7, 2026

評分

已滿足適用檢查項的 83%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。

其他 Atlas 整合