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 集成