census.data.demographics
Get demographic composition for any US geography — median age, race (white/Black/Asian), Hispanic/Latino population, and bachelor's degree attainment. Source: ACS 5-year estimates (US Census Bureau). Useful for market research, policy analysis, and neighborhood profiling.
This record as markdown: /tools/io-github-whiteknightonhorse-apibase/census.data.demographics.md
What census.data.demographics does on Apibase
AI agents call census.data.demographics to retrieve information from Apibase without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
year | integer | — | Survey year (default 2022). ACS 5-year estimates available 2010-2022. |
state_fips | string | Yes | US state FIPS code (e.g. 06 for California, 36 for New York, * for all states) |
county_fips | string | — | County FIPS code within the state (e.g. 037 for Los Angeles, * for all counties). Omit for state-level data. |
Parameters from the server's own tool schema.
Why census.data.demographics is rated Low
Reads public census demographics data with no side effects, enabling analysis but not modifying or creating data.
From the tool's definition Get demographic composition for any US geography; retrieves Census data without modification.
Attacks that exploit this kind of access
The rule that runs census.data.demographics safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Apibase, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For census.data.demographics, this is the rule to start with:
census.data.demographics is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Apibase, apply this rule, and every census.data.demographics call is checked against it from then on.
Questions about census.data.demographics
Get demographic composition for any US geography — median age, race (white/Black/Asian), Hispanic/Latino population, and bachelor's degree attainment. Source: ACS 5-year estimates (US Census Bureau). Useful for market research, policy analysis, and neighborhood profiling. It is categorised as a Read tool in the Apibase MCP Server, which means it retrieves data without modifying state.
census.data.demographics accepts 3 parameters: year, state_fips, county_fips. Required: state_fips. The full parameter table on this page comes from the server's own tool schema.
Register the Apibase MCP server in PolicyLayer and add a rule for census.data.demographics: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Apibase. Nothing to install.
census.data.demographics is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the census.data.demographics rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for census.data.demographics. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
census.data.demographics is provided by the Apibase MCP server (apibase-mcp-client). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Apibase, and thousands of servers like it.
This server
Across the catalogue