[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [OpenAddresses source status](https://spiral.ai/integrations/opencode/openaddresses-source-status)

# How to Use OpenAddresses source status in opencode

Returns publication details for a geographic source, including its processing job and output metadata. Use it to check the available publication before collecting address rows.

|  |  |
| --- | --- |
| Model | OpenAddresses source status |
| Available through | Alexandria |
| Category | Listings |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with OpenAddresses source status in opencode

- Use OpenAddresses source status for us/me/statewide and summarize the available publication metadata for our next address import.
- Use OpenAddresses source status to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from OpenAddresses source status and tell me what changed since last week.
- Check OpenAddresses source status and summarize what you find in three bullet points.
- Pull the newest data from OpenAddresses source status and give me the result as a table.

## How to set up OpenAddresses source status 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 OpenAddresses source status**: 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": "batch-openaddresses-io/addresses/source_status",
    "input": {
      "source": "<source>"
    }
  }'
```

Then paste one of the prompts above: opencode finds OpenAddresses source status on Spiral, shows the price and runs it.

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

## OpenAddresses source status tools and prices

- [OpenAddresses per-source runs · Source status](https://spiral.ai/tools/alexandria/batch-openaddresses-io/addresses/source_status) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| name |  | — | Coverage name when a source has more than one data entry per layer (rare). |
| layer | addresses, buildings, parcels, centerlines | addresses | OpenAddresses layer of the source. This program shapes `addresses` rows; other layers are listed and status-checked but their records are not decoded. |

## What can you do with OpenAddresses source status in opencode?

Build a local address index with a defined OpenAddresses publication behind each import. A coding agent can inspect geographic sources, compare processing history, and examine address rows while adapting the project's geocoding code.

### Build a local geocoding index

Find a geographic source, check its publication, and collect its address points. Inspect selected rows before importing street numbers, street names, and coordinates into a local search index.

### Monitor address publication changes

Compare source publication details on a schedule and consult processing history when a new output appears. Report changes in processing outcomes and address counts.

### Assess coverage for a municipal map

Discover county and statewide sources, inspect their available publications, and collect points for the map area. Reread sample rows to check the address components your map needs.

### Investigate an address count drop

Use job history to locate a count change, then inspect the current publication and its address rows. Reread examples from the collected output to help distinguish processing problems from changes in the available data.

### Prepare an address extract for reuse

Find a source and review its license classification before selecting a publication. Collect the address extract and inspect sample records alongside the original source's reuse terms.

### Create a reproducible geocoding benchmark

Choose an available processing job and collect its address rows as a benchmark dataset. Reread selected records from that publication when investigating changes in a geocoder's results.

### Compare address sources for a region

List geographic sources, compare their publication details and processing histories, and examine address samples. Use the results to choose which source to evaluate for a regional mapping project.

### Review source availability

Inventory the sources serving a region and compare their current publications with their processing histories. Identify sources that need investigation before the next address import.

## Overview

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

## OpenAddresses source status in other agents

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

## More opencode guides

- [OpenAddresses source history](https://spiral.ai/integrations/opencode/openaddresses-source-history)
- [Oregon contractor license details](https://spiral.ai/integrations/opencode/oregon-contractor-license-details)
- [OpenAddresses source catalog](https://spiral.ai/integrations/opencode/openaddresses-source-catalog)
- [Oregon contractor search](https://spiral.ai/integrations/opencode/oregon-contractor-search)
- [OpenAddresses address record](https://spiral.ai/integrations/opencode/openaddresses-address-record)
- [Pittsburgh code violations](https://spiral.ai/integrations/opencode/pittsburgh-code-violations)

## Questions about OpenAddresses source status in opencode

**Can opencode use OpenAddresses source status?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run OpenAddresses source status like any built-in tool.

**How much does OpenAddresses source status 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 OpenAddresses source status in opencode?**

No. Spiral runs OpenAddresses source status on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up OpenAddresses source status in opencode?**

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

**Does opencode wait while OpenAddresses source status runs?**

OpenAddresses source status runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Where does OpenAddresses get its data?**

OpenAddresses collects authoritative geographic data from existing publishers. It does not create its own address data.

**Is OpenAddresses limited to US addresses?**

No. OpenAddresses includes geographic sources from around the world, so research can extend beyond US counties and states.

**How often is OpenAddresses refreshed?**

Its processing library runs the dataset weekly and on demand. That schedule describes OpenAddresses processing, not how often an original publisher edits its address records.

**Are all address coordinates equally precise?**

OpenAddresses defines accuracy categories that include interpolation, coded 4, and unknown accuracy, coded 5. Those categories make a blanket rooftop-accuracy assumption inappropriate.

**Does one license cover every OpenAddresses dataset?**

Each source retains its own license. For example, the San Francisco address source specifies PDDL 1.0, so reuse terms need to be checked for the geographic source you select.

