Skip to main content

AI-powered statistical consultant for U.S. Census data via Model Context Protocol

Project description

Open Census MCP Server

Unofficial Project

Disclaimer

This is an independent, open-source experiment. It is not affiliated with, endorsed by, or sponsored by the U.S. Census Bureau or the Department of Commerce.

Data retrieved through this project remains subject to the terms of the original data providers (e.g., Census API Terms of Service).

What Is This?

An AI-powered statistical consultant for U.S. Census data. Ask questions in plain English, get accurate demographic data with proper statistical context, methodology guidance, and fitness-for-use caveats.

The insight: Census data has a pragmatics problem, not a search problem. Knowing WHICH data to use and HOW to interpret it matters more than finding it. This system encodes statistical consulting expertise into the AI interaction layer.

Status

🔬 Active Research & Rebuild — v3 architecture in progress. See docs/lessons_learned/ for the v1/v2 journey.

Vision

Census data influences billions in policy decisions, but accessing it effectively requires specialized knowledge. This project aims to make America's most valuable public dataset as easy to use as asking a question — with the statistical rigor of a professional consultant.

The opportunity: Every city council member, journalist, nonprofit director, and curious citizen should be able to fact-check claims and understand their communities with the same ease an eighth-grader uses a search engine. The data is public. The expertise to use it properly shouldn't be gatekept by technical complexity.

Architecture (v3)

Pure Python MCP server with pragmatic rules engine. No R dependency.

  • Pragmatic Rules Layer: Fitness-for-use constraints (MOE thresholds, coverage bias, temporal validity, source selection)
  • Census API Integration: Direct Python calls to Census Bureau APIs
  • Knowledge Base: Methodology documentation for RAG-enhanced guidance

Details: docs/architecture/ (coming soon)

Project Structure

docs/                  # Systems engineering documentation
  requirements/        # ConOps, SRS
  architecture/        # System architecture
  decisions/           # ADRs, trade studies
  design/              # Detailed design
  verification/        # V&V, evaluation results
  lessons_learned/     # Project narrative & lessons
knowledge-base/        # Source docs & pragmatic rules
  source-docs/         # Census methodology PDFs (gitignored)
  rules/               # Extracted pragmatic rules
  methodology/         # Processed methodology content
src/                   # MCP server source code
tests/                 # Evaluation harness & unit tests
scripts/               # Build & utility scripts

Acknowledgments

  • U.S. Census Bureau — for collecting and maintaining vital public data
  • Kyle WalkerAnalyzing US Census Data textbook as knowledge base source
  • Anthropic — Model Context Protocol enabling AI tool integration

Contributing

Contributions welcome, especially:

  • Domain expertise from Census data veterans
  • Statistical methodology review
  • Evaluation test cases (real-world query scenarios)

License

MIT License - see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_brockwebb_census_mcp_server-3.0.0.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_brockwebb_census_mcp_server-3.0.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_brockwebb_census_mcp_server-3.0.0.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_brockwebb_census_mcp_server-3.0.0.tar.gz
Algorithm Hash digest
SHA256 8ae20a43b0ab9109bd8dec523d0dbc8ec9e30bc4369745a49ece90605f1406c2
MD5 046c2cb0a2fffc7f62c3c92d6a8b80d2
BLAKE2b-256 cf91ce862f5feb191d2b645695d649d735d262b23dad4582b956b00df75c1cbb

See more details on using hashes here.

File details

Details for the file iflow_mcp_brockwebb_census_mcp_server-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_brockwebb_census_mcp_server-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_brockwebb_census_mcp_server-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66023b75eb08c984601122573614764579e5d961b58761dace79cbf6d772c823
MD5 5314cf6ea6d2703874af0080819b7487
BLAKE2b-256 133eeeb5a6dfcb75e2dc3a6708afd0c0202bbaf1a5914ceccf4d7c6e3a5fdbb3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page