[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [OFAC sanctions search](https://spiral.ai/integrations/windsurf/ofac-sanctions-search)

# How to Use OFAC sanctions search in Windsurf

Returns potential OFAC matches with names, addresses, programs, list labels, and record identifiers. Use it to find candidates before reviewing a complete entry.

|  |  |
| --- | --- |
| Model | OFAC sanctions search |
| 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 search in Windsurf

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

## How to set up OFAC sanctions search in Windsurf

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

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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 search**: 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/search",
    "input": {
      "city": "<city>"
    }
  }'
```

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

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

## OFAC sanctions search tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| city |  | — | city |
| list | SDN, Non-SDN | — | list |
| name |  | — | Name (fuzzy, scored against the min_score threshold). |
| type | Aircraft, Entity, Individual, Vessel | — | type |
| state |  | — | State or province; U.S. states as the two-letter USPS abbreviation (the site's own rule). |
| address |  | — | address |

## What can you do with OFAC sanctions search in Windsurf?

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.

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

## OFAC sanctions search in other agents

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

## More Windsurf guides

- [OFAC sanctions record details](https://spiral.ai/integrations/windsurf/ofac-sanctions-record-details)
- [OpenSanctions dataset catalog](https://spiral.ai/integrations/windsurf/opensanctions-dataset-catalog)
- [OFAC sanctions record changes](https://spiral.ai/integrations/windsurf/ofac-sanctions-record-changes)
- [OpenSanctions dataset details](https://spiral.ai/integrations/windsurf/opensanctions-dataset-details)
- [OFAC sanctions publication history](https://spiral.ai/integrations/windsurf/ofac-sanctions-publication-history)
- [OpenSanctions entity profile](https://spiral.ai/integrations/windsurf/opensanctions-entity-profile)

## Questions about OFAC sanctions search in Windsurf

**Can Windsurf use OFAC sanctions search?**

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

**How much does OFAC sanctions search cost in Windsurf?**

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

**Do I need an Alexandria account to use OFAC sanctions search in Windsurf?**

No. Spiral runs OFAC sanctions search 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 search in Windsurf?**

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

**Does Windsurf wait while OFAC sanctions search runs?**

OFAC sanctions search runs in the background. Windsurf 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.

