MCP Census server for U.S. Census Bureau data

MCP Census server for U.S. Census Bureau data

mcp-census•byaaronbrezel

An MCP server that uses U.S. Census Bureau tooling to answer demographic questions and produce Census data extracts for LLM clients.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Serves Census Bureau data to MCP clients, either via a hosted Hugging Face deployment or run locally.
  • •Requires a U.S. Census Bureau API key to request data from Census servers.
  • •Can return CSV data for Decennial Census queries, such as county-level housing, population, and median age figures.

BEST FOR

  • •Answering demographic questions about counties, such as age and racial/ethnic breakdowns.
  • •Generating Census data extracts as CSV for geographic areas like all counties in a state.
  • •Pairing with MCP clients such as Claude Desktop or Cursor running a strong foundation model.

ABOUT MCP-CENSUS

MCP Census server for U.S. Census Bureau data is cataloged as an MCP server attributed to aaronbrezel. An MCP server that uses U.S. Census Bureau tooling to answer demographic questions and produce Census data extracts for LLM clients. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP Census server for U.S. Census Bureau data are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server require an API key?

Yes, an API key is required to request data from U.S. Census Bureau servers; a Hugging Face token is not required by the MCP server itself.

Can it be used remotely instead of installed locally?

Yes, a deployed census MCP server is available on Hugging Face even though local installation is recommended.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 5ae46d98d64e · 采集于 2026-11-13 11:29:01 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。


title: 🏘️ Mcp Census emoji: 🏘️ colorFrom: yellow colorTo: indigo sdk: gradio sdk_version: 5.34.0 python_version: 3.13 app_file: gradio_app.py pinned: false short_description: MCP server leveraging U.S. Census Bureau tooling

mcp-census

A work-in-progress MCP server leveraging U.S. Census Bureau tooling for LLM interoperability.

Though we recommend installing this server locally, a deployed census MCP server is available at https://abrezey-mcp-census.hf.space/gradio_api/mcp/sse. Pushes to the main branch of this repo will trigger a redeployment of this resource via GitHub Actions.

This repo was originally built for the Gradio/Hugging Face Agents MCP Hackathon.

Quickstart

Right now, we recommend using mcp-census in conjunction with an MCP Client running a strong foundation model like Claude Desktop or Cursor.

Remote

To connect Claude Desktop to the mcp-census server hosted on Hugging Face (requires Claude Pro tier and above): Remote MCP Census installation

Local

To locally run mcp-census directly in Claude Desktop (you'll need uv), modify your claude_desktop_config.json:

{
  "mcpServers": {
    "mcp-census": {
      "command": "uvx",
      "args": [
        "--env-file",
        "/path/to/mcp-census/.env",
        "/path/to/mcp-census",
        "mcp-census"
      ]
    }
  }
}

If you prefer to run your own client application and LLM, check out Local Agent Quickstart.

Example usage

What is the population of Hennepin County, MN for those who are 65 and older?

https://github.com/user-attachments/assets/73f53b8a-be57-4bdd-a105-3676f84730de

What is the racial/ethnic breakdown of Yolo County?

https://github.com/user-attachments/assets/23c2c9c9-ce79-4fb1-a393-6cd10bdf1eff

Lookup data from the US 2020 Decennial Census and provide a CSV containing data about the number of housing units, total population, and median age for all counties in New York State. For the column containing the county identifier, please provide a complete FIPS containing the state and county as a joined value.

https://github.com/user-attachments/assets/8c9fac39-0beb-4f27-97b2-430cb4b20465

Local MCP server local development

We suggest using uv to manage dependencies, but you can install the required packages directly from the pyproject.toml file

Linting and formatting provided by ruff and pre-commit

uv run pre-commit install

The mcp package provides a handy dev server where you can test functions via UI.

npx @modelcontextprotocol/inspector uv run mcp-census

API Keys

mcp-census requires an API key in order to request data from U.S. Census Bureau servers.

cp .env.example .env

Then fill out your API keys

To request a census API key, visit https://api.census.gov/data/key_signup.html. To request a Hugging Face token, visit https://huggingface.co/docs/hub/security-tokens.

The MCP server does not require a Hugging Face token, though it becomes useful during agent development.

Gradio MCP server local development

uv run --group gradio-deployment python gradio_app.py

Assuming you have no other Gradio applications running, this will serve your MCP server at http://localhost:7860/gradio_api/mcp/sse

To update dependencies for the Gradio deployment

uv export --group gradio-deployment > requirements.txt

Note: for now you have to remove the -e . that the above command generates.

Local Agent Quickstart

You need to start all three applications (MCP server, Agent, Phoenix) for the system to work at the moment.

Agent (and MCP client)

uv run --group agent python agent.py

Observability

When debugging Agents, observability is key. The agent is currently configured to send logs to a phoenix server.

uv run python -m phoenix.server.main serve

The agent will not work without this server running.

MCP architecture

MCP Census

Feature roadmap

Evaluation

  • Create a benchmark with which to evaluate MCP server utilization by host application
  • Improve MCP feature reliability via Unit Testing

MCP Server

  • The Census Bureau publishes myriad documentation. Enabling semantic retrieval via RAG should provide agents with information to better respond to user queries.
  • Experiment with MCP "Prompts" to better guide LLM question answering
    • This should include strong citation of process
  • Experiment with MCP "Ellicitation" to make question answering process more interactive/guided.

MCP Distribution

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP Census server for U.S. Census Bureau data from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-census)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research