[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [OFAC sanctions entity data](https://spiral.ai/integrations/claude-code/ofac-sanctions-entity-data)

# How to Use OFAC sanctions entity data in Claude Code

Returns one OFAC entry from its Enhanced XML, including names, identifiers, addresses, and sanctions details. Use it to inspect the source's detailed record structure.

|  |  |
| --- | --- |
| Model | OFAC sanctions entity data |
| 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 entity data in Claude Code

- Use OFAC sanctions entity data for Gazprom, record 17250, and compare its names, identifiers, and addresses with the sanctions types in this project.
- Use OFAC sanctions entity data to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from OFAC sanctions entity data and tell me what changed since last week.
- Check OFAC sanctions entity data and summarize what you find in three bullet points.
- Pull the newest data from OFAC sanctions entity data and give me the result as a table.

## How to set up OFAC sanctions entity data 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 OFAC sanctions entity data**: 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/entity",
    "input": {
      "entity_id": "<entity_id>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds OFAC sanctions entity data on Spiral, shows the price and runs it.

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

## OFAC sanctions entity data tools and prices

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

## What can you do with OFAC sanctions entity data in Claude Code?

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.

### Prepare a company sanctions review

Find potential company matches, compare identifiers and addresses, and assemble the complete OFAC entry with its program labels for a reviewer.

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

### Investigate a possible false positive

Compare a business's legal name, registration identifiers, and address with the complete OFAC record. Include the list and program labels in the review.

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

### Review listed vessels

Assemble OFAC vessel entries for a shipping review, then compare names, identifiers, addresses, and program labels with the available shipping documentation.

## Overview

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

## OFAC sanctions entity data in other agents

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

## More Claude Code guides

- [New Jersey license search](https://spiral.ai/integrations/claude-code/new-jersey-license-search)
- [OFAC sanctions list records](https://spiral.ai/integrations/claude-code/ofac-sanctions-list-records)
- [New Jersey license professions](https://spiral.ai/integrations/claude-code/new-jersey-license-professions)
- [OFAC sanctions list status](https://spiral.ai/integrations/claude-code/ofac-sanctions-list-status)
- [New Jersey license details](https://spiral.ai/integrations/claude-code/new-jersey-license-details)
- [OFAC sanctions normalized record](https://spiral.ai/integrations/claude-code/ofac-sanctions-normalized-record)

## Questions about OFAC sanctions entity data in Claude Code

**Can Claude Code use OFAC sanctions entity data?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run OFAC sanctions entity data like any built-in tool.

**How much does OFAC sanctions entity data 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 OFAC sanctions entity data in Claude Code?**

No. Spiral runs OFAC sanctions entity data 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 entity data in Claude Code?**

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

**Does Claude Code wait while OFAC sanctions entity data runs?**

OFAC sanctions entity data runs in the background. Claude Code 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.

