MCP Hub
Back to servers

US Census Bureau Data

Query US Census Bureau data: demographics, economics, and housing statistics.

Updated
Mar 1, 2026

US Census Bureau MCP Server

MCP (Model Context Protocol) server providing AI agents with direct access to US Census Bureau data — population, income, housing, education, poverty, and more across all US geographies. Query 1,700+ datasets including the American Community Survey and Decennial Census.

Connect any MCP-compatible client (Claude Desktop, Cursor, Cline, etc.) to retrieve demographic and economic statistics.

Tools

ToolDescription
get_census_dataRetrieve data with variable aliases (population, median_income, etc.)
search_datasetsSearch available Census datasets by keyword
get_variablesExplore variables available in a specific dataset
get_geographiesList available geography levels for a dataset

Connect via MCP

Claude Desktop / Cursor

{
  "mcpServers": {
    "us-census": {
      "url": "https://aligned-kettledrum--us-census-mcp-server.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}

Using mcp-remote (npx)

npx mcp-remote https://aligned-kettledrum--us-census-mcp-server.apify.actor/mcp \
  --header "Authorization: Bearer YOUR_APIFY_TOKEN"

Example Queries

Once connected, ask your AI assistant:

  • "What is the population of each US state?"
  • "Compare median household income across California counties"
  • "Show poverty rates by state from the ACS 2022"
  • "What Census datasets are available about housing?"

Variable Aliases

Common variables have simple aliases — no need to memorize Census codes:

AliasCensus VariableDescription
populationB01001_001ETotal population
median_incomeB19013_001EMedian household income
median_ageB01002_001EMedian age
total_housingB25001_001ETotal housing units
median_home_valueB25077_001EMedian home value
poverty_totalB17001_001EPopulation for poverty status
bachelor_degreeB15003_022EBachelor's degree holders

Data Source

All data comes from the official US Census Bureau Data API. Supports ACS 5-Year, ACS 1-Year, Decennial Census, and 1,700+ other datasets. State abbreviations (CA, NY) are automatically converted to FIPS codes.

No API key required. Free access.

FAQ

Q: What datasets are available? A: Over 1,700 datasets including ACS 5-Year (most popular), ACS 1-Year, Decennial Census 2020/2010, Population Estimates, Business Patterns, and more.

Q: How do I know what variables to request? A: Use get_variables to search within a dataset, or use the built-in aliases (population, median_income, etc.).

Q: What geographies can I query? A: States, counties, census tracts, zip codes, congressional districts, metropolitan areas, and 80+ other geography levels. Use get_geographies to explore.

Q: Can I use state abbreviations? A: Yes. "CA" is automatically converted to FIPS code "06", "NY" to "36", etc.

Batch Processing

For large-scale data extraction, use the US Census Data Actor which supports bulk downloads with pagination.

Reviews

No reviews yet

Sign in to write a review