How to Use Census local population history in Factory Droid
Returns the annual population estimates available for one county or place in a selected publication vintage. Use it to explain a locality's population trend without collecting an entire state's records.
Prompts to try with Census local population history in Factory Droid
Copy an example into Factory Droid, or ask in your own words.
Use Census local population history to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Census local population history and tell me what changed since last week.
Check Census local population history and summarize what you find in three bullet points.
Pull the newest data from Census local population history and give me the result as a table.
Check Census local population history every morning and tell me only when something changed.
How to set up Census local population history in Factory Droid
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Droid saves it to your user config, ~/.factory/mcp.json, so it works in every project.
droid mcp add spiral https://api.spiral.ai/mcp --type http
- Sign in
Start droid, type /mcp, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.
- Check it
Spiral shows as connected. needs authentication means the sign-in did not finish: run /mcp again.
droid mcp list
Use the Spiral skill
- Send Factory Droid this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Census local population history
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "census-gov/census/popest_get", "input": { "file": "counties", "state": "<state>" } }'
Then paste one of the prompts above: Factory Droid finds Census local population history on Spiral, shows the price and runs it.
Census local population history providers and prices
Spiral runs Census local population history through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Factory Droid for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| File | counties or subcounty | counties: counties/totals/co-est<YYYY>-alldata.csv (states and counties). subcounty: cities/totals/sub-est<YYYY>.csv (national, ~7.5 MB) or, with state, sub-est<YYYY>_<state>.csv. | |
| Vintage | 2021 to 2035 | Vintage year YYYY of the 2020-YYYY directory. Default: the newest directory listed under popest/datasets/. |
Every API field of US Census Bureau · Popest get is on its tool page: open its card above.
What can you do with Census local population history in Factory Droid?
Build a county comparison view with Census population, income, poverty, and ACS statistics. Use geographic identifiers, variable definitions, and publication metadata to keep the project's measures tied to the correct areas and periods.
Maintain a county community report
Build a report for Travis County, Texas, with ACS characteristics, population history, and poverty estimates. Find the datasets and variable definitions, resolve county identifiers, check publication status, compare statewide collections, and retrieve the county details for the narrative.
Prepare a grant needs assessment
Document population change, poverty, income, and housing conditions for a proposed county service area. Use statewide collections as benchmarks, local records as evidence, dataset and variable documentation to define measures, and publication checks to keep the assessment current.
Compare counties for business expansion
Compare North Carolina counties using population trends, household income, poverty, and ACS housing characteristics. Identify the appropriate datasets, measures, and county codes; check publication changes; rank the county collections; then examine shortlisted counties in detail.
Plan regional library outreach
Compare Montana counties for outreach planning using population change, poverty, and ACS characteristics. Resolve service-area counties, find and define the measures, check publication status, compare the statewide collections, and add local population and income detail to each county brief.
Rank population growth
Rank Texas counties by population change within one vintage, then inspect the annual history of the fastest-growing counties. Resolve county identifiers and check the population publication before refreshing the ranking.
More on Census local population history and Factory Droid
Census local population history in other agents
Questions about Census local population history in Factory Droid
Can Factory Droid use Census local population history?
Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Census local population history like any built-in tool.
How much does Census local population history cost in Factory Droid?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Factory Droid plan is separate.
Do I need an Alexandria account to use Census local population history in Factory Droid?
No. Spiral runs Census local population history on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Census local population history in Factory Droid?
About two minutes: add the server, then sign in, then check it.
Does Factory Droid wait while Census local population history runs?
Census local population history runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.
How small an area can Census statistics describe?
Coverage depends on the program and table. ACS five-year Detailed Tables reach block groups, while Subject Tables and Data Profiles reach census tracts; the SAIPE state and county files describe those larger jurisdictions.
How current are Census estimates?
Population estimates and SAIPE estimates are produced annually. An ACS five-year estimate combines 60 months of collected data, so its ending year does not make it a snapshot of that year alone.
Why can an older population estimate change?
Each new population estimates vintage revises the series back to the most recent census. The newest vintage supersedes previously published estimates for those dates, so a growth calculation should use one vintage throughout.
Are poverty estimates exact counts?
SAIPE uses statistical models to estimate income and poverty. Each state and county estimate is published with a 90% confidence interval, which matters when comparing counties with similar results.
Why might an ACS one-year table omit a small community?
Standard ACS one-year estimates cover areas with at least 65,000 residents. ACS five-year estimates cover all areas and are the appropriate product to investigate for smaller communities.
Start using Census local population history in Factory Droid
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Factory Droid:
set up https://spiral.ai/SKILL.md


