mcp-census
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-census
Query the US Census Bureau API for demographic, economic, and geographic data.
Free API — A free Census API key is required for data retrieval (
query_data,get_population).
Tools
Tool | Description |
| Search available US Census Bureau datasets by keyword (e.g. 'acs', 'decennial', 'business patterns') |
| List variables available in a Census dataset. Use to discover variable codes before querying data. |
| List supported geography levels for a Census dataset (state, county, tract, etc.) |
| Query Census Bureau data. Returns tabular data for specified variables and geography. Requires CENSUS_API_KEY. |
| Convenience tool: get total population (B01001_001E) for a geography. Defaults to ACS 5-year 2022. Requires CENSUS_API_KEY. |
Related MCP server: U.S. Census Bureau Data API MCP
Installation
Node.js 20 or newer is required to run the server. To install and build this checkout, use Node.js 20.19+ on the 20.x line or Node.js 22.12+ for the development dependencies.
git clone https://github.com/PetrefiedThunder/mcp-census.git
cd mcp-census
npm install
npm run buildAPI Key Setup
query_data and get_population require a free Census API key. Request one at
https://api.census.gov/data/key_signup.html, then export it:
export CENSUS_API_KEY=your_key_hereUsage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"census": {
"command": "node",
"args": ["/path/to/mcp-census/dist/index.js"],
"env": {
"CENSUS_API_KEY": "your_key_here"
}
}
}
}Usage with npx
CENSUS_API_KEY=your_key_here npx mcp-censusLicense
Apache-2.0
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Query US Census Bureau data: demographics, economics, and housing statistics.
Query U.S. Census Bureau data, variables, and geography via MCP.
Census MCP — U.S. Census Bureau housing-relevant APIs.
SEC filings, Wikipedia, arXiv, US Census and more for AI agents, with every answer source-linked.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to access official Census Bureau statistics through the Census Data API and other official sources, supporting dataset discovery, geography resolution, FIPS lookup, and aggregate data retrieval.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to discover Census datasets, resolve geographic areas to FIPS codes, and fetch official aggregate statistics from the Census Data API and other Census Bureau sources.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to discover Census datasets, resolve geographies to FIPS codes, fetch aggregate statistics, and retrieve population data from official Census Bureau sources.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to discover official datasets, resolve geographic identifiers, and retrieve demographic and statistical data from official U.S. census sources.-