[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Census county poverty and income](https://spiral.ai/integrations/opencode/census-county-poverty-and-income)

# How to Use Census county poverty and income in opencode

Returns SAIPE poverty and median household income estimates for one county or state and estimate year. Use it for a local funding brief or a closer look at a county identified in a statewide comparison.

|  |  |
| --- | --- |
| Model | Census county poverty and income |
| 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 county poverty and income in opencode

- Use Census county poverty and income to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Census county poverty and income and tell me what changed since last week.
- Check Census county poverty and income and summarize what you find in three bullet points.
- Pull the newest data from Census county poverty and income and give me the result as a table.
- Check Census county poverty and income every morning and tell me only when something changed.

## How to set up Census county poverty and income in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 county poverty and income**: 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_get",
    "input": {
      "state": "<state>"
    }
  }'
```

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

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

## Census county poverty and income tools and prices

- [US Census Bureau · Saipe get](https://spiral.ai/tools/alexandria/census-gov/census/saipe_get) (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. |
| county |  | — | 3-digit county FIPS; omitted or 000 = the state row. Pattern: ^[0-9]{3}$. |

## What can you do with Census county poverty and income in opencode?

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 opencode guides](https://spiral.ai/integrations/opencode)

## Census county poverty and income in other agents

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

## More opencode guides

- [CelesTrak satellite orbit search](https://spiral.ai/integrations/opencode/celestrak-satellite-orbit-search)
- [Census dataset search](https://spiral.ai/integrations/opencode/census-dataset-search)
- [CelesTrak satellite orbit by catalog number](https://spiral.ai/integrations/opencode/celestrak-satellite-orbit-by-catalog-number)
- [Census geography lookup](https://spiral.ai/integrations/opencode/census-geography-lookup)
- [CelesTrak satellite group orbits](https://spiral.ai/integrations/opencode/celestrak-satellite-group-orbits)
- [Census local population history](https://spiral.ai/integrations/opencode/census-local-population-history)

## Questions about Census county poverty and income in opencode

**Can opencode use Census county poverty and income?**

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

**How much does Census county poverty and income cost in opencode?**

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

**Do I need an Alexandria account to use Census county poverty and income in opencode?**

No. Spiral runs Census county poverty and income 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 county poverty and income in opencode?**

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

**Does opencode wait while Census county poverty and income runs?**

Census county poverty and income runs in the background. opencode 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.

