[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [OFAC sanctions list status](https://spiral.ai/integrations/opencode/ofac-sanctions-list-status)

# How to Use OFAC sanctions list status in opencode

Returns per-list status and OFAC's posted file hashes. Use it to check whether the SDN or Consolidated list has changed before collecting records.

|  |  |
| --- | --- |
| Model | OFAC sanctions list status |
| Available through | Alexandria |
| Category | Lead Gen |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with OFAC sanctions list status in opencode

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

## How to set up OFAC sanctions list 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 OFAC sanctions list 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": "sanctionssearch-ofac-treas-gov/sanctions/source_status",
    "input": {
      "list": "sdn"
    }
  }'
```

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

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

## OFAC sanctions list status tools and prices

- [OFAC Sanctions List Search · Source status](https://spiral.ai/tools/alexandria/sanctionssearch-ofac-treas-gov/sanctions/source_status) (Alexandria): $0.00873 per call.

## What can you do with OFAC sanctions list status in opencode?

Build a company review table that connects OFAC entries to their program labels and published changes. Use detailed and normalized records to check how your project stores names, identifiers, addresses, and list information.

### Maintain a local sanctions dataset

Check list status, collect complete published records, inspect intervening publications and changes, and retrieve individual entries for reconciliation.

### Explain a sanctions list update

Turn a new publication into a briefing on affected businesses, their current entries, and the sanctions programs attached to them.

### Audit a sanctions data import

Compare the stored list with its publication, hashes, and published changes. Inspect individual entries and perform an on-demand company search to investigate discrepancies.

### Research Russia-related business listings

Build a program-specific report from published records, explain changes across publications, and inspect company entries such as Gazprom with their list labels and directives.

### Recover after missed list updates

Identify publications missed during an outage, review their changes, and reconcile the stored dataset against a fresh complete list.

## Overview

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

## OFAC sanctions list status in other agents

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

## More opencode guides

- [OFAC sanctions list records](https://spiral.ai/integrations/opencode/ofac-sanctions-list-records)
- [OFAC sanctions normalized record](https://spiral.ai/integrations/opencode/ofac-sanctions-normalized-record)
- [OFAC sanctions entity data](https://spiral.ai/integrations/opencode/ofac-sanctions-entity-data)
- [OFAC sanctions program and list codes](https://spiral.ai/integrations/opencode/ofac-sanctions-program-and-list-codes)
- [New Jersey license search](https://spiral.ai/integrations/opencode/new-jersey-license-search)
- [OFAC sanctions publication history](https://spiral.ai/integrations/opencode/ofac-sanctions-publication-history)

## Questions about OFAC sanctions list status in opencode

**Can opencode use OFAC sanctions list status?**

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

**How much does OFAC sanctions list 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 OFAC sanctions list status in opencode?**

No. Spiral runs OFAC sanctions list 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 OFAC sanctions list status in opencode?**

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

**Does opencode wait while OFAC sanctions list status runs?**

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

**Which sanctions lists does OFAC cover?**

OFAC publishes the SDN list and a separate Consolidated non-SDN list. The SDN list includes designated organizations and blocked vessels and aircraft; this source covers OFAC lists rather than a worldwide collection of sanctions authorities.

**How fresh is OFAC's published data?**

OFAC says its XML files contain live list data and are updated at the same time as its other list products. Updates follow list changes rather than a stated daily release schedule.

**Can I find entries that OFAC removed?**

Current Sanctions List Search results exclude removed names and show only the latest information for updated entries. OFAC provides separate archives, including XML sanctions lists dating back to 2022.

**Are OFAC's full list files complete snapshots?**

Yes. OFAC describes both its SDN and non-SDN Consolidated files as comprehensive, so a full refresh does not require a separate supplement.

**Does an absent company name mean there are no OFAC restrictions?**

No. Under OFAC's 50 Percent Rule, an entity owned 50 percent or more in aggregate by blocked persons can itself be blocked, and OFAC's guidance explicitly addresses unlisted entities blocked by law.

