[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Census poverty and income collection](https://spiral.ai/integrations/claude-code/census-poverty-and-income-collection)

# How to Use Census poverty and income collection in Claude Code

Returns SAIPE poverty and median household income estimates across counties for one year, optionally within a state. Use it to compare economic need across jurisdictions or populate a county map.

|  |  |
| --- | --- |
| Model | Census poverty and income collection |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Census poverty and income collection in Claude Code

- Use Census poverty and income collection to retrieve 2024 Ohio county poverty and median household income estimates, then add a map with confidence intervals to this project.
- Use Census poverty and income collection to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Census poverty and income collection and tell me what changed since last week.
- Check Census poverty and income collection and summarize what you find in three bullet points.
- Pull the newest data from Census poverty and income collection and give me the result as a table.

## How to set up Census poverty and income collection in Claude Code

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

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code 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 poverty and income collection**: 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/saipe_list",
    "input": {
      "year": 2010
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Census poverty and income collection on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Census poverty and income collection tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| year | 2010 to 2035 | — | SAIPE estimate year (directory saipe/datasets/<year>/<year>-state-and-county/). Default: the newest year directory. Positions verified against the 2019 and 2024 layout READMEs; lines that do not fit the layout are rejected. |
| page_size | 1 to 5000 | — | Records per page; default 500. |
| continuation |  | — | Opaque cursor from the previous page's next_cursor. It pins the vintage, file, Last-Modified and size; when the source has moved on the call fails with invalid_input at /continuation (issue code publication_changed) instead of mixing versions. |

## What can you do with Census poverty and income collection in Claude Code?

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.

### Build a county poverty map

Map poverty rates and median household income across Ohio counties for one estimate year. Resolve the county identifiers, inspect selected counties with their confidence intervals, and check the poverty publication before updating the map.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Census poverty and income collection in other agents

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

## More Claude Code guides

- [Census population publication status](https://spiral.ai/integrations/claude-code/census-population-publication-status)
- [Census poverty publication status](https://spiral.ai/integrations/claude-code/census-poverty-publication-status)
- [Census population estimates collection](https://spiral.ai/integrations/claude-code/census-population-estimates-collection)
- [Census statistical data](https://spiral.ai/integrations/claude-code/census-statistical-data)
- [Census local population history](https://spiral.ai/integrations/claude-code/census-local-population-history)
- [Census variable lookup](https://spiral.ai/integrations/claude-code/census-variable-lookup)

## Questions about Census poverty and income collection in Claude Code

**Can Claude Code use Census poverty and income collection?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Census poverty and income collection like any built-in tool.

**How much does Census poverty and income collection cost in Claude Code?**

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

**Do I need an Alexandria account to use Census poverty and income collection in Claude Code?**

No. Spiral runs Census poverty and income collection 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 poverty and income collection in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while Census poverty and income collection runs?**

Census poverty and income collection runs in the background. Claude Code 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.

