[Integrations](https://spiral.ai/integrations) › [Muse](https://spiral.ai/integrations/muse) › [Census local population history](https://spiral.ai/integrations/muse/census-local-population-history)

# How to Use Census local population history in Muse

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.

|  |  |
| --- | --- |
| Model | Census local population history |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with Census local population history in Muse

- Use Census local population history to show Gallatin County, Montana's annual population estimates from the newest available vintage and calculate its growth over the available period.
- Use Census local population history to look this up and give me the result as a table.
- 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.

## How to set up Census local population history in Muse

Pick the way that suits you. Each takes about two minutes.

### Use the Muse connector

1. **Create an API key**: Create one under API keys in the Spiral console.

2. **Send Muse this message**: Muse reads Spiral's skill and asks for an API key.

```text
set up https://spiral.ai/SKILL.md
```

3. **Give Muse the key**: Paste the key when Muse asks for it, never in the chat itself.

### Use the Spiral skill

1. **Send Muse this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Census local population history**: One request; the result comes back by polling or a webhook.

```bash
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: Muse finds Census local population history on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse

## Census local population history tools and prices

- [US Census Bureau · Popest get](https://spiral.ai/tools/alexandria/census-gov/census/popest_get) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| place |  | — | 5-digit place FIPS (subcounty). Pattern: ^[0-9]{5}$. |
| concit |  | — | 5-digit consolidated city FIPS (subcounty). Pattern: ^[0-9]{5}$. |
| county |  | — | 3-digit county FIPS. Pattern: ^[0-9]{3}$. |
| cousub |  | — | 5-digit county subdivision FIPS (subcounty; needs county). Pattern: ^[0-9]{5}$. |
| sumlev |  | — | Summary level when the codes alone are ambiguous (e.g. 157 vs 162). Pattern: ^[0-9]{3}$. |
| vintage | 2021 to 2035 | — | Vintage year YYYY of the 2020-YYYY directory. Default: the newest directory listed under popest/datasets/. |

## What can you do with Census local population history in Muse?

Turn Census statistics into a county briefing with population trends and income or poverty comparisons. The assistant can identify the relevant datasets, places, and measures before explaining the estimates and their uncertainty.

### 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse guides](https://spiral.ai/integrations/muse)

## Census local population history in other agents

- [Amp](https://spiral.ai/integrations/amp/census-local-population-history)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/census-local-population-history)
- [Claude](https://spiral.ai/integrations/claude-desktop/census-local-population-history)
- [Claude Code](https://spiral.ai/integrations/claude-code/census-local-population-history)
- [Cline](https://spiral.ai/integrations/cline/census-local-population-history)
- [Codex](https://spiral.ai/integrations/codex/census-local-population-history)
- [Cursor](https://spiral.ai/integrations/cursor/census-local-population-history)
- [Devin](https://spiral.ai/integrations/devin/census-local-population-history)
- [dots](https://spiral.ai/integrations/dots/census-local-population-history)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/census-local-population-history)
- [Gemini](https://spiral.ai/integrations/gemini/census-local-population-history)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/census-local-population-history)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/census-local-population-history)
- [goose](https://spiral.ai/integrations/goose/census-local-population-history)
- [Grok](https://spiral.ai/integrations/grok/census-local-population-history)
- [Grok Build](https://spiral.ai/integrations/grok-build/census-local-population-history)
- [Hermes](https://spiral.ai/integrations/hermes/census-local-population-history)
- [Instinct](https://spiral.ai/integrations/instinct/census-local-population-history)
- [Manus](https://spiral.ai/integrations/manus/census-local-population-history)
- [Muse Code](https://spiral.ai/integrations/muse-code/census-local-population-history)
- [n8n](https://spiral.ai/integrations/n8n/census-local-population-history)
- [Notion](https://spiral.ai/integrations/notion/census-local-population-history)
- [OpenClaw](https://spiral.ai/integrations/openclaw/census-local-population-history)
- [opencode](https://spiral.ai/integrations/opencode/census-local-population-history)
- [Perplexity](https://spiral.ai/integrations/perplexity/census-local-population-history)
- [Raycast](https://spiral.ai/integrations/raycast/census-local-population-history)
- [VS Code](https://spiral.ai/integrations/vscode/census-local-population-history)
- [Windsurf](https://spiral.ai/integrations/windsurf/census-local-population-history)
- [Zapier](https://spiral.ai/integrations/zapier/census-local-population-history)

## More Muse guides

- [Census geography lookup](https://spiral.ai/integrations/muse/census-geography-lookup)
- [Census population estimates collection](https://spiral.ai/integrations/muse/census-population-estimates-collection)
- [Census dataset search](https://spiral.ai/integrations/muse/census-dataset-search)
- [Census population publication status](https://spiral.ai/integrations/muse/census-population-publication-status)
- [Census county poverty and income](https://spiral.ai/integrations/muse/census-county-poverty-and-income)
- [Census poverty and income collection](https://spiral.ai/integrations/muse/census-poverty-and-income-collection)

## Questions about Census local population history in Muse

**Can Muse use Census local population history?**

Yes. Add Spiral to Muse as an MCP server, and Muse can find and run Census local population history like any built-in tool.

**How much does Census local population history cost in Muse?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse plan is separate.

**Do I need an Alexandria account to use Census local population history in Muse?**

You need no Alexandria account. Muse uses one Spiral API key for every tool, and Spiral runs Census local population history on its own Alexandria account.

**How long does it take to set up Census local population history in Muse?**

About two minutes: create an API key, then send Muse this message, then give Muse the key.

**Does Muse wait while Census local population history runs?**

Census local population history runs in the background. Muse 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.

