# OFAC Sanctions, AML & Crypto Wallet Screening API (MCP) (`desastreger/ofac-sanctions-aml-pep-screener-mcp`) Actor

OFAC sanctions & SDN screening API for individuals, companies, vessels, aliases & crypto wallets against live US Treasury OFAC SDN and Consolidated Non-SDN lists. Deterministic 0-100 fuzzy matching, ID extraction & Standby MCP. Zero API keys. $0.80/1k + MCP.

- **URL**: https://apify.com/desastreger/ofac-sanctions-aml-pep-screener-mcp.md
- **Developed by:** [Ignacio De Saeger](https://apify.com/desastreger) (community)
- **Categories:** Developer tools, Agents, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 ofac sanctions & crypto aml screen records

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### OFAC Sanctions, AML & Crypto Wallet Screening API (MCP)

Screen individuals, companies, vessels, aircraft, aliases, and cryptocurrency wallet addresses in real time against the **official US Treasury OFAC Sanctions List Service (SLS)** (`17 U.S.C. § 105` public domain, zero API key required):

1. **`SDN.CSV`** — Specially Designated Nationals & Blocked Persons List (individuals, entities, vessels, aircraft, programs, and remarks).
2. **`ALT.CSV`** — Known Aliases / AKAs (`aka`, `f.k.a.`, `n.k.a.`) linked by `ent_num`.
3. **`ADD.CSV`** — Registered physical addresses and jurisdictions/countries.
4. **`CONS_PRIM.CSV`** — Consolidated Non-SDN Sanctions (Sectoral SSI, NS-CMIC Chinese Military-Industrial Complex, FSE, NS-PLC, etc.).

Built 100% deterministically (`0` LLM tokens) with an in-memory 6-hour index cache so Standby `/mcp` tool calls screen names and crypto wallets in **<15 ms**. **Zero external API keys or proxies required.**

***

### Use Cases

- **FinTech, Banking & KYB Onboarding:** Batch-screen counterparties, beneficial owners, and corporate names across OFAC SDN + Consolidated Non-SDN + `ALT.CSV` aliases with deterministic `0–100` match scoring (`EXACT_SANCTIONS_HIT`, `STRONG_ALIAS_MATCH`, `POTENTIAL_FUZZY_MATCH`, `CLEAR_NO_HIT`).
- **Crypto Exchange & DeFi Wallet Compliance:** Screen BTC/XBT, ETH, USDT, USDC, TRX, XMR, LTC, and SOL addresses against OFAC-sanctioned `Digital Currency Address` entries extracted directly from SDN `Remarks`, or export sanctioned addresses by chain.
- **Trade Compliance & Maritime/Aviation Screening:** Filter sanctioned vessels, aircraft, IMO/MMSI identifiers, and tail numbers or browse by OFAC program (`SDGT`, `CYBER2`, `RUSSIA-EO14024`, `DPRK`, `IRAN`, `CMIC`, `CUBA`) and country.
- **AI Compliance Copilots (MCP):** Connect Claude Code, Cursor, Windsurf, or VS Code via **1-Click OAuth MCP** or Direct Standby `/mcp` to run live AML/OFAC checks in natural language.

***

### Transparent Pay-Per-Event Launch Pricing

> \[!IMPORTANT]
> **Early-Adopter Launch Rate (`$0.80 / 1,000 screens`):** Promotional launch pricing for Apify Store adopters & MCP integrations.

Pay only per normalized screening dossier or clear disposition returned—no monthly subscriptions:

| Plan Tier | Event (`sanctions-aml-screen`) | Effective Rate |
| :--- | :--- | :--- |
| **Early-Bird Launch / Free** | `$0.00080` per record | **$0.80 per 1,000 records** |
| **Bronze** | `$0.00072` per record | **$0.72 per 1,000 records** |
| **Silver** | `$0.00064` per record | **$0.64 per 1,000 records** |
| **Gold** | `$0.00056` per record | **$0.56 per 1,000 records** |

***

### 1-Click JSON Input Example

```json
{
  "queries": [
    "AEROCARIBBEAN AIRLINES"
  ],
  "cryptoAddresses": [],
  "entityType": "all",
  "minMatchScore": 70,
  "includeClearResults": true,
  "maxResults": 25
}
```

***

### Sample Normalized Output Record

```json
{
  "queryInput": "AEROCARIBBEAN AIRLINES",
  "matchDecision": "EXACT_SANCTIONS_HIT",
  "matchScore": 100,
  "ofacEntNum": "36",
  "listSource": "OFAC_SDN",
  "primaryName": "AEROCARIBBEAN AIRLINES",
  "matchedAlias": null,
  "entityType": "entity",
  "programs": ["CUBA"],
  "countries": ["Cuba"],
  "addresses": [
    {
      "address": null,
      "cityStatePostal": "Havana",
      "country": "Cuba"
    }
  ],
  "aliases": ["AERO-CARIBBEAN"],
  "cryptoWallets": [],
  "idNumbers": [],
  "vesselOrAircraftDetails": null,
  "remarksRaw": null
}
```

***

### Deterministic `matchScore` (0–100) & Decision Tiers

1. **Normalization:** Unicode NFKD diacritic stripping, case folding, punctuation removal, legal suffix normalization (`CO`, `LTD`, `LLC`, `INC`, `CORP`, `SA`, `PJSC`, etc.), and automatic `LAST, FIRST` comma inversion for individual names.
2. **Composite Similarity:** Exact normalized primary/alias lookup (`O(1)`), followed by Token-Jaccard + Jaro-Winkler + Levenshtein scoring across primary names and `ALT.CSV` aliases (with generic corporate stop-word protection to minimize false positives).
3. **Decision Tiers:**
   - `EXACT_SANCTIONS_HIT` (`99–100` exact primary match, direct crypto wallet match, or `>=92` primary hit)
   - `STRONG_ALIAS_MATCH` (`88–98` exact/strong `ALT.CSV` alias or `88–91` primary match)
   - `POTENTIAL_FUZZY_MATCH` (`minMatchScore–87` fuzzy similarity requiring compliance analyst review)
   - `CLEAR_NO_HIT` (`0` when no primary name, alias, or wallet meets `minMatchScore`)

***

### Model Context Protocol (MCP) Integration

#### Option 1: 1-Click OAuth MCP (Zero API Key Setup — Recommended)

Sign in with your Apify account directly in your browser—no manual `APIFY_TOKEN` copy-paste required:

- **1-Click OAuth MCP Endpoint:** `https://mcp.apify.com/?tools=desastreger/ofac-sanctions-aml-pep-screener-mcp`

**Claude Code CLI:**

```bash
claude mcp add --transport http ofac-sanctions-aml-pep-screener-mcp "https://mcp.apify.com/?tools=desastreger/ofac-sanctions-aml-pep-screener-mcp"
```

**Cursor / Windsurf / VS Code (`mcp.json`):**

```json
{
  "mcpServers": {
    "ofac-sanctions-aml-pep-screener-mcp": {
      "url": "https://mcp.apify.com/?tools=desastreger/ofac-sanctions-aml-pep-screener-mcp"
    }
  }
}
```

#### Option 2: Direct Standby MCP (`Bearer $APIFY_TOKEN` for Headless / CI)

- **Direct Standby Streamable HTTP Endpoint:** `https://desastreger--ofac-sanctions-aml-pep-screener-mcp.apify.actor/mcp`

```json
{
  "mcpServers": {
    "ofac-sanctions-aml-pep-screener-mcp": {
      "url": "https://desastreger--ofac-sanctions-aml-pep-screener-mcp.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer <APIFY_TOKEN>"
      }
    }
  }
}
```

#### Exposed Read-Only MCP Tools

| MCP Tool | Purpose | Key Arguments |
| :--- | :--- | :--- |
| `screen_entities_ofac_aml` | Batch-screen entity, person, vessel, or aircraft names across SDN, Consolidated Non-SDN, and `ALT.CSV` aliases. | `query` or `queries`, `entityType` (`"all"`), `minMatchScore` (`70`), `includeClearResults` (`true`), `maxResults` (`25`) |
| `screen_crypto_wallet_sanctions` | Screen crypto wallet addresses or list OFAC-sanctioned wallets by blockchain currency or program. | `address` or `cryptoAddresses`, `currency` (`"XBT"`, `"ETH"`, `"USDT"`, `"TRX"`, `"XMR"`), `programFilter`, `maxResults` (`25`) |
| `search_ofac_sanctions_by_program` | Browse/filter SDN & Consolidated Non-SDN entries by OFAC program, country, entity type, or keyword. | `programFilter`, `countryFilter`, `entityType`, `listSource`, `keyword`, `maxResults` (`25`) |

# Actor input Schema

## `queries` (type: `array`):

Batch list of company, individual, vessel, or aircraft names to screen across OFAC SDN, Consolidated Non-SDN, and ALT.CSV aliases. Leave empty (\[]) when browsing purely by programFilter, countryFilter, or cryptoChain.

## `cryptoAddresses` (type: `array`):

Optional list of cryptocurrency wallet addresses (BTC/XBT, ETH, USDT, USDC, TRX, XMR, LTC, SOL) to screen against OFAC-designated Digital Currency Addresses.

## `entityType` (type: `string`):

Filter matches or browse results by OFAC entity classification.

## `programFilter` (type: `string`):

Optional OFAC sanctions program code filter (e.g., 'SDGT', 'CYBER2', 'RUSSIA-EO14024', 'DPRK', 'IRAN', 'CMIC', 'CUBA').

## `countryFilter` (type: `string`):

Optional case-insensitive country filter across OFAC ADD.CSV addresses (e.g., 'Iran', 'Russia', 'Cuba', 'Venezuela').

## `cryptoChain` (type: `string`):

Optional blockchain currency filter (e.g., 'XBT', 'BTC', 'ETH', 'USDT', 'TRX', 'XMR') to list OFAC-sanctioned entities holding addresses on that chain.

## `minMatchScore` (type: `integer`):

Minimum 0-100 deterministic fuzzy/alias similarity score required to report a match before returning CLEAR_NO_HIT. Default: 70.

## `includeClearResults` (type: `boolean`):

When true, emit an explicit CLEAR_NO_HIT record for screened names or crypto addresses that have no OFAC sanctions hit above minMatchScore.

## `maxResults` (type: `integer`):

Maximum total screening dossier records to return (1 to 500).

## Actor input object example

```json
{
  "queries": [
    "AEROCARIBBEAN AIRLINES"
  ],
  "entityType": "all",
  "minMatchScore": 70,
  "includeClearResults": true,
  "maxResults": 2
}
```

# Actor output Schema

## `screeningResults` (type: `string`):

No description

## `runSummary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "AEROCARIBBEAN AIRLINES"
    ],
    "maxResults": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("desastreger/ofac-sanctions-aml-pep-screener-mcp").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "queries": ["AEROCARIBBEAN AIRLINES"],
    "maxResults": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("desastreger/ofac-sanctions-aml-pep-screener-mcp").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "AEROCARIBBEAN AIRLINES"
  ],
  "maxResults": 2
}' |
apify call desastreger/ofac-sanctions-aml-pep-screener-mcp --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,desastreger/ofac-sanctions-aml-pep-screener-mcp"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/LxwdqBYatSmFkd2EX/builds/90qvAiJooWSosMPId/openapi.json
