[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [OFAC sanctions record changes](https://spiral.ai/integrations/muse-code/ofac-sanctions-record-changes)

# How to Use OFAC sanctions record changes in Muse Code

Returns additions, updates, and removals parsed from an OFAC publication's delta file. Use it to explain which records changed in a particular publication.

|  |  |
| --- | --- |
| Model | OFAC sanctions record changes |
| 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 record changes in Muse Code

- Use OFAC sanctions record changes for the newest available SDN publication and compare its additions, updates, and removals with our change-processing code.
- Use OFAC sanctions record changes to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from OFAC sanctions record changes and tell me what changed since last week.
- Check OFAC sanctions record changes and summarize what you find in three bullet points.
- Pull the newest data from OFAC sanctions record changes and give me the result as a table.

## How to set up OFAC sanctions record changes in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse 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 record changes**: 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/records_changes",
    "input": {
      "publication_id": 1
    }
  }'
```

Then paste one of the prompts above: Muse Code finds OFAC sanctions record changes on Spiral, shows the price and runs it.

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

## OFAC sanctions record changes tools and prices

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

## What can you do with OFAC sanctions record changes in Muse 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.

### 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 Muse Code guides](https://spiral.ai/integrations/muse-code)

## OFAC sanctions record changes in other agents

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

## More Muse Code guides

- [OFAC sanctions publication history](https://spiral.ai/integrations/muse-code/ofac-sanctions-publication-history)
- [OFAC sanctions record details](https://spiral.ai/integrations/muse-code/ofac-sanctions-record-details)
- [OFAC sanctions program and list codes](https://spiral.ai/integrations/muse-code/ofac-sanctions-program-and-list-codes)
- [OFAC sanctions search](https://spiral.ai/integrations/muse-code/ofac-sanctions-search)
- [OFAC sanctions normalized record](https://spiral.ai/integrations/muse-code/ofac-sanctions-normalized-record)
- [OpenSanctions dataset catalog](https://spiral.ai/integrations/muse-code/opensanctions-dataset-catalog)

## Questions about OFAC sanctions record changes in Muse Code

**Can Muse Code use OFAC sanctions record changes?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run OFAC sanctions record changes like any built-in tool.

**How much does OFAC sanctions record changes cost in Muse 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 Muse Code plan is separate.

**Do I need an Alexandria account to use OFAC sanctions record changes in Muse Code?**

No. Spiral runs OFAC sanctions record changes 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 record changes in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while OFAC sanctions record changes runs?**

OFAC sanctions record changes runs in the background. Muse 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.

