Skip to main content
Glama
lzinga

US Government Open Data MCP

census_query

Query U.S. Census Bureau data to access demographic, economic, and housing statistics for specific geographic areas using official government datasets.

Instructions

Query the U.S. Census Bureau Data API. Supports ACS, Decennial Census, Population Estimates, Economic Census, and more. Returns data for specified variables and geography.

Common datasets: '2023/acs/acs1' (1yr), '2023/acs/acs5' (5yr), '2020/dec/pl' (Decennial), '2023/pep/population' Common variables: NAME, B01001_001E (population), B19013_001E (median income), B25077_001E (home value), B01002_001E (median age)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
datasetYesCensus dataset path, e.g. '2023/acs/acs1', '2023/acs/acs5', '2020/dec/pl'
variablesYesComma-separated variable names. Always include NAME. Example: 'NAME,B01001_001E,B19013_001E'
for_geoYesGeography level and filter. Examples: 'state:*' (all states), 'state:06' (CA), 'county:*'
in_geoNoParent geography for nested queries. Example: 'state:06' to get counties in CA
Install Server

Other Tools

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/lzinga/us-government-open-data-mcp'

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