Census MCP Server
Query U.S. Census Bureau data, variables, and geography via MCP.
Connect it
Settings → Connectors → Add custom connector
URL: https://census.caseyjhand.com/mcpSettings → Apps & Connectors → Advanced → Developer mode
Create connector with URL: https://census.caseyjhand.com/mcp{
"mcpServers": {
"census-mcp-server": {
"url": "https://census.caseyjhand.com/mcp"
}
}
}claude mcp add --transport http census-mcp-server https://census.caseyjhand.com/mcp{
"servers": {
"census-mcp-server": {
"type": "http",
"url": "https://census.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"census-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/census-mcp-server@0.6.2"
]
}
}
}claude mcp add census-mcp-server -- npx -y @cyanheads/census-mcp-server@0.6.28 tools, verified live
census_list_datasetsread-onlyBrowse available Census Bureau datasets with their supported vintage years. Use as the starting point when the right dataset is unknown â ACS5, ACS1, and their profile, subject, and comparison tables, population estimates, the decennial census files, and the business datasets (County Business Patterns, Economic Census, Nonemployer Statistics) serve different use cases. Pass the dataset_id value
census_list_geographiesread-onlyList the geography levels available for a given Census dataset and year, along with the parent geographies each level requires. Use before querying to confirm that the target geography level exists â ACS1 omits many sub-state levels, and not all datasets support tracts or block groups. The geography_level values returned here are the valid inputs to the geography_level parameter in census_query_
census_search_variablesread-onlySearch Census variables by keyword across variable labels and concept groups, or look one up by its code. Returns variable codes with human-readable labels â use this to go from a concept like "median household income" to the variable code B19013_001E needed for data queries. A query that is one variable or table code, such as B19013_001E or B19013, returns that variable or the table's variables
census_get_variableread-onlyFetch full metadata for one or more Census variable codes â label, concept group, predicate type, the table's universe, and margin-of-error sibling references. Use to confirm a variable code before building a query, or to look up what a known code means. On ACS datasets it returns estimate_code and moe_code sibling references so you can request both without a separate search, and a margin-of-err
census_list_predicate_valuesread-onlyList the codes a Census filter dimension accepts, so a predicates map can be written without guessing. Answers the question left open when census_query_data or census_compare_geographies reports that a dimension was left unset. Which route a dimension takes depends on the vintage: NAICS and POPGROUP always publish a value list in the dataset dictionary, and on the current vintages EMPSZES, LFO, RC
census_resolve_geographyread-onlyResolve a place name, ZIP code, or street address to Census FIPS identifiers. Converts names like "King County, WA", "Seattle, WA", or "Seattle-Tacoma-Bellevue, WA", and ZIPs like "98109", to the codes required by census_query_data and census_compare_geographies. Use before querying when you have a place name rather than raw FIPS codes â state_fips maps to parent_fips and fips_summary maps to ge
census_query_dataread-onlyQuery a Census dataset for one or more variables at a specific geography. Accepts FIPS codes for the target geography â use census_resolve_geography to convert place names to FIPS when needed. On ACS datasets, labeled estimates and margin-of-error values are returned together (the comparison profiles publish no margins), and the negative sentinel values the Census writes for an estimate or margi
census_compare_geographiesread-onlyCompare one or more variables across multiple geographies at the same level â all counties in a state, all states nationally, or a named set of specific geographies â ranked on the value of one of them. Covers queries like "compare median income across WA counties" or "which states have the most people below the poverty line." A count ranks geographies by size, not by rate, so to rank a rate,
Alternatives in Developer Tools
Compare →MAMakeOfficialA
Build, run and debug Make automation scenarios.
SMSentry MCPOfficialA
MCP server for Sentry - error monitoring, issue tracking, and debugging for AI assistants
Compiler ExplorerA
Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links
MIMiroOfficialA
Official Miro MCP server - Supports context to code and creating diagrams, docs, and data tables.
Context7A
Up-to-date code docs for any prompt
NENetdataA
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.