Census API MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Census API MCP ServerShow me the median household income for all states in 2022"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Census API MCP Server
Access U.S. Census Bureau data including demographics, population, income, housing, and more.
Data Available
American Community Survey (ACS) - Detailed demographic and socioeconomic data
1-year estimates (
acs/acs1) - Areas with 65,000+ population5-year estimates (
acs/acs5) - All areas, more reliable for small populations
Decennial Census (
dec/pl) - Official population counts every 10 yearsEconomic Census - Business and industry statistics
Population Estimates - Annual population estimates between censuses
Related MCP server: Open Census MCP Server
Setup
Get a free API key at: https://api.census.gov/data/key_signup.html
Add to your MCP config:
{
"census": {
"command": "node",
"args": ["/path/to/census-api/dist/index.js"],
"env": {
"CENSUS_API_KEY": "your-api-key"
}
}
}Tools
query
Fetch Census data with full control over variables and geography.
Parameter | Required | Description |
year | Yes | Data year (e.g., "2022") |
dataset | Yes | Dataset path (e.g., "acs/acs1", "acs/acs5", "dec/pl") |
variables | Yes | Comma-separated variable codes (e.g., "NAME,B19013_001E") |
forClause | Yes | Geography to fetch (e.g., "state:", "county:", "state:06") |
inClause | No | Parent geography for nested queries (e.g., "state:06" when getting counties) |
Example: Get median household income for all states
year: "2022"
dataset: "acs/acs5"
variables: "NAME,B19013_001E"
forClause: "state:*"list_datasets
List available Census datasets for a given year.
Parameter | Required | Description |
year | Yes | Year to list datasets for |
list_variables
Search for variables in a dataset. Useful for finding the right variable codes.
Parameter | Required | Description |
year | Yes | Data year |
dataset | Yes | Dataset path |
search | No | Keyword to filter (e.g., "income", "population") |
limit | No | Max results (default 50) |
Example: Find income-related variables
year: "2022"
dataset: "acs/acs5"
search: "income"list_geographies
List available geographic levels for a dataset.
Parameter | Required | Description |
year | Yes | Data year |
dataset | Yes | Dataset path |
get_fips
Get FIPS codes for states, counties, or other geographies.
Parameter | Required | Description |
year | Yes | Data year |
dataset | Yes | Dataset path |
geography | Yes | Level (e.g., "state", "county") |
inClause | No | Parent geography filter |
Example: Get all county FIPS codes in California
year: "2022"
dataset: "acs/acs5"
geography: "county"
inClause: "state:06"Common Variables
Variable | Description |
B01003_001E | Total Population |
B19013_001E | Median Household Income |
B25077_001E | Median Home Value |
B23025_005E | Unemployed Population |
B15003_022E | Bachelor's Degree holders |
B25064_001E | Median Gross Rent |
Rate Limits
No strict rate limit with API key
Without key: 500 requests/day
Documentation
API Documentation: https://www.census.gov/data/developers/guidance.html
Variable Search: https://api.census.gov/data.html
This server cannot be installed
Maintenance
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-quality-maintenanceEnables 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.
- AlicenseAqualityFmaintenanceEnables 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.320MIT
- Flicense-qualityDmaintenanceProvides 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.
- AlicenseAqualityCmaintenanceNode.js MCP server enabling AI agents to access comprehensive U.S. Census Bureau demographic and economic data, including ACS, decennial census, and business patterns.1712MIT
Related MCP Connectors
Access US federal award, recipient, agency, and spending analytics data from USAspending.gov.
FCC broadband availability, coverage analysis, and digital divide data for US geographies.
Search and query CDC public health data — mortality, vaccinations, surveillance, behavioral risk.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/shawndrake2/mcp-census'
If you have feedback or need assistance with the MCP directory API, please join our Discord server