Get census tract demographics (ACS 5-Year)
get_tract_demographicsLook up 2023 ACS demographics for a census tract via its 11-digit GEOID: population, income, home value, rent, age, households, poverty rate.
Instructions
Return demographic indicators for an 11-digit census tract GEOID from the American Community Survey 5-Year (2023). Requires a free Census API key in the CENSUS_API_KEY environment variable (get one instantly at https://api.census.gov/data/key_signup.html). Available fields: population, median_household_income, median_home_value, median_gross_rent, median_age, households, poverty_rate. Omit 'fields' to get a sensible default set.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tract_geoid": "<tract_geoid>"
},
"name": "get_tract_demographics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Which indicators to return. Defaults to: population, median_household_income, median_home_value, poverty_rate | |
| tract_geoid | Yes | An 11-digit census tract GEOID (state[2] + county[3] + tract[6]) |