Skip to main content
Glama

mcp-census

Query the US Census Bureau API for demographic, economic, and geographic data.

Free API — No API key required.

Tools

Tool

Description

search_datasets

Search available US Census Bureau datasets by keyword (e.g. 'acs', 'decennial', 'business patterns')

get_variables

List variables available in a Census dataset. Use to discover variable codes before querying data.

get_geographies

List supported geography levels for a Census dataset (state, county, tract, etc.)

query_data

Query Census Bureau data. Returns tabular data for specified variables and geography. Requires CENSUS_API_KEY.

get_population

Convenience tool: get total population (B01001_001E) for a geography. Defaults to ACS 5-year 2022.

Installation

git clone https://github.com/PetrefiedThunder/mcp-census.git
cd mcp-census
npm install
npm run build

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "census": {
      "command": "node",
      "args": ["/path/to/mcp-census/dist/index.js"]
    }
  }
}

Usage with npx

npx mcp-census

License

MIT

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/PetrefiedThunder/mcp-census'

If you have feedback or need assistance with the MCP directory API, please join our Discord server