Skip to main content
Glama

Census — 美国人口普查局

美国人口普查局官方数据:十年一次的人口普查、美国社区调查(ACS)、经济普查、人口估计、住房特征、地理边界。覆盖国家、州、县、地方、普查区、街区组和ZCTA层级。免费,公共数据集无需密钥。

属于 Pipeworx 的一部分——一个将AI代理连接到1476+个实时数据源的MCP网关。

为什么这对AI代理很重要

人口统计、住房特征、经济活动、地理标识符——人口普查局是权威来源。如果代理需要计算人均比率、比较都会区、查询人口或处理FIPS代码,就应该来这里。

常见流程:

  • 某地区的人口。 按州/县/地方划分的ACS 1年或5年估计值。

  • 住房特征。 房价中位数、入住率、单元数、房龄——都在ACS中。

  • 地理ID查询。 地名 → FIPS代码 → 边界几何。

  • 经济普查 每5年一次,提供行业级经济活动数据。

FRED 搭配获取宏观时间序列,与 BLS 搭配获取劳动力数据。

Related MCP server: Open Census MCP Server

认证

大多数人口普查API是免费且无需认证的,速率限制较宽松(每个IP每天约500次调用)。如需更高配额,可在 https://api.census.gov/data/key_signup.html 获取密钥,并通过 _apiKey 传递。

值得了解的数据集

数据集

更新频率

地理层级

十年一次的人口普查(PL、DHC)

每10年

街区级及以上

ACS 5年

每年滚动

普查区/街区组(5年平滑)

ACS 1年

每年

人口≥6.5万的地方

人口估计计划(PEP)

每年

县级

经济普查

每5年

行业 × 地理

ACS 5年数据通常是获取当前人口统计的首选——它比1年数据覆盖更细的地理层级,并每年以滚动5年平滑方式更新。

常见陷阱

  • 覆盖年份与发布年份。 ACS 5年2018-2022数据于2023年发布。不要混淆。

  • 误差范围。 ACS为每项估计都包含MOE。在较小的地理层级(街区组、小普查区),MOE可能大于估计值本身。务必把MOE一并呈现给用户。

  • 地理层级。 州(01)→ 县(01001)→ 普查区(01001020100)→ 街区组。11位普查区代码由州(2位)+ 县(3位)+ 普查区(6位)组成。

  • 地方 vs 都会统计区。 "Denver" 可能指丹佛市县,也可能指丹佛-奥罗拉-莱克伍德都会统计区(边界和人口差异很大)。请根据具体使用场景加以区分。

  • 人口估计滞后于十年普查。 在两次普查之间,PEP估计值会被外推和修订。人口普查局每年都会根据出生、死亡和迁移数据对之前的PEP进行修订。

快速开始

添加到你的MCP客户端(Claude Desktop、Cursor、Windsurf等):

{
  "mcpServers": {
    "census": {
      "url": "https://gateway.pipeworx.io/census/mcp"
    }
  }
}

这个端点实际提供什么

tools/listhttps://gateway.pipeworx.io/census/mcp 返回上表中的工具,外加共享的Pipeworx元工具——ask_pipeworxdiscover_toolssearch_withinremember/recall 以及其余网关级工具集。因此你看到的工具数量比这张表更大:单个包端点目前会列出约30个共享工具以及该包自身的工具。连接的 initialize 响应会说明其确切范围,是某一天最权威的答案。

这是有意为之,并非偶然的多路复用。元工具让一个限定范围的连接能够回答该包未覆盖的问题——通过 ask_pipeworx 在整个目录中路由——而无需你添加第二个MCP服务器。目前无法在不包含这些元工具的情况下挂载包端点;如果额外的schema消耗的上下文比路由带来的价值更多,建议直接连接完整网关,而不是连接多个包端点。

或者连接到完整的Pipeworx网关,直接列出所有包的工具,而不仅仅是这一个的:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://gateway.pipeworx.io/mcp"
    }
  }
}

两个URL都通向同一个网关和同样的1476+个数据源。唯一的区别是哪个包的工具被直接列出;ask_pipeworx 从任何一个都能访问全部工具。

与 ask_pipeworx 配合使用

无需直接调用工具,你可以用自然语言提问——这在上面的包端点和完整网关上都可以使用:

ask_pipeworx({ question: "your question about Census data" })

网关会自动选择正确的工具并填充参数。

更多

许可证

MIT

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables AI agents to query and retrieve public statistical data from Data Commons through search and observation tools. Provides access to demographic, economic, and other statistical indicators for analysis and research.
  • A
    license
    A
    quality
    F
    maintenance
    Enables natural language queries of U.S. Census Bureau data, translating plain English questions into proper API calls and returning demographic, economic, and housing statistics with proper statistical interpretation and context.
    3
    20
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables access to U.S. Census Bureau data including demographics, population, income, and housing statistics. Users can query specific variables, search datasets, and retrieve geographic FIPS codes across various surveys like the American Community Survey and Decennial Census.
    1
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides access to the US Census Bureau API, allowing AI agents to retrieve demographic data and population statistics across thousands of datasets. It enables users to search for datasets, discover variable codes, and query specific geographic data like states and counties.

View all related MCP servers

Related MCP Connectors

  • FCC broadband availability, coverage analysis, and digital divide data for US geographies.

  • Access US federal award, recipient, agency, and spending analytics data from USAspending.gov.

  • Housing Intel MCP — Meta-pack that chains FRED, BLS, ATTOM, and HUD APIs

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pipeworx-io/mcp-census'

If you have feedback or need assistance with the MCP directory API, please join our Discord server