Repository avatar
Other Tools
v1.0.0
active

ofac-sdn-delta-screener-mcp-api

io.github.deepakshe/ofac-sdn-delta-screener-mcp-api

Screen US Treasury OFAC SDN sanctions lists and status deltas into JSON & CSV.

Documentation

OFAC SDN Sanctions Delta Screener MCP Server & Python API

Apify Store deepakshe/ofac-sdn-delta-screener-mcp-api MCP server MCP Server License: MIT Hub

Automated OFAC SDN sanctions list screener with delta updates and Jaro-Winkler fuzzy name matching. MCP Server & Python SDK.


⚡ Instant Normalized Output (Sample JSON)

[
  {
    "query": "VTB Bank",
    "match_found": true,
    "match_score": 1.0,
    "sdn_name": "VTB BANK PUBLIC JOINT STOCK COMPANY",
    "program": "RUSSIA-EO14024"
  }
]

🤖 1-Click MCP Config (Claude Desktop, Cursor, Windsurf)

{
  "mcpServers": {
    "ofac-sdn-delta-screener": {
      "command": "npx",
      "args": ["-y", "@apify/actors-mcp-server", "--actors", "deepaksheoran172/ofac-sdn-delta-screener"],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"
      }
    }
  }
}
  • Remote Streamable HTTP MCP: https://mcp.apify.com/?tools=deepaksheoran172/ofac-sdn-delta-screener
  • AI Crawler Spec (llms.txt): llms.txt

⚡ The Problem vs. The Solution

Missing newly added sanctions entities can cause massive financial penalties. This screener downloads and caches the latest US Treasury OFAC Specially Designated Nationals (SDN) database, providing real-time fuzzy name matching and delta alerts.

  • Zero-Proxy Architecture: Pure asynchronous execution designed for extreme speed (<50MB RAM).
  • Multi-Interface Support: Run via pure Python SDK, cURL, Node.js fetch, n8n / Make.com workflow, or Claude / Cursor MCP Agent.
  • Production Reliable: Backed by Apify's serverless infrastructure with 99.9% uptime SLA.

🚀 Quickstart: 1-Line cURL (Test in 2 Seconds)

curl -X POST "https://api.apify.com/v2/acts/deepaksheoran172~ofac-sdn-delta-screener/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{\"query\": \"VTB Bank\", \"threshold\": 0.8}'

🚀 Quickstart: Pure Python (Zero-Dependency)

No third-party SDKs required. Run directly with Python standard library:

import json
import os
import urllib.request

APIFY_TOKEN = os.getenv("APIFY_TOKEN", "YOUR_APIFY_TOKEN")
ACTOR_URL = "https://api.apify.com/v2/acts/deepaksheoran172~ofac-sdn-delta-screener/run-sync-get-dataset-items?token=" + APIFY_TOKEN

payload = {
  "query": "VTB Bank",
  "threshold": 0.8
}

req = urllib.request.Request(
    ACTOR_URL,
    data=json.dumps(payload).encode("utf-8"),
    headers={"Content-Type": "application/json"},
    method="POST"
)

with urllib.request.urlopen(req, timeout=120) as resp:
    results = json.loads(resp.read().decode("utf-8"))
    print(f"Retrieved {len(results)} items:")
    print(json.dumps(results[:2], indent=2))

🌐 Quickstart: Node.js / TypeScript

const APIFY_TOKEN = process.env.APIFY_TOKEN || 'YOUR_APIFY_TOKEN';
const ACTOR_URL = `https://api.apify.com/v2/acts/deepaksheoran172~ofac-sdn-delta-screener/run-sync-get-dataset-items?token=${APIFY_TOKEN}`;

const payload = {
  "query": "VTB Bank",
  "threshold": 0.8
};

async function run() {
  const res = await fetch(ACTOR_URL, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify(payload)
  });
  const items = await res.json();
  console.log(`Received ${items.length} records:`, items.slice(0, 2));
}

run().catch(console.error);

🤖 Claude Desktop & Cursor MCP Server Setup

Add this actor to your claude_desktop_config.json to allow Claude / Cursor AI agents to execute it autonomously:

{
  "mcpServers": {
    "ofac-sdn-delta-screener": {
      "command": "npx",
      "args": ["-y", "@apify/actors-mcp-server"],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN",
        "ACTOR_NAME": "deepaksheoran172/ofac-sdn-delta-screener"
      }
    }
  }
}

🔄 n8n & Make.com Automation

A fully configured production n8n workflow template is bundled in this repository as workflow.json.

  1. In n8n, click Workflow -> Import from File... and select workflow.json.
  2. Provide your APIFY_TOKEN in the environment variables or HTTP Request node.
  3. Schedule it to run daily or trigger on demand from webhooks.

📊 Output Schema Highlights

Each returned item includes normalized, RFC-compliant fields:

  • query
  • match_found
  • match_score
  • sdn_name
  • program
  • id_numbers

🏷️ Pricing & 60% Launch Discount

  • Apify Store: Available under pay-per-result pricing with a 60% Launch Discount.
  • Run Online: Test it instantly on the Apify Store Console.
  • Fleet Hub: Explore all 62 enterprise scrapers and MCP servers at b2b-mcp-apify-scrapers-hub.

🛡️ 100% Automated Self-Service & Zero-DM Guarantee

  • Pure Self-Service: Runs autonomously via Apify Cloud API. No sales calls, manual configuration, or onboarding tickets needed.
  • Pay-Per-Result: Only successful output items are billed. Zero-charge on failed executions.
  • API Documentation: For key creation, webhooks, and concurrency settings, see Apify Docs.

📄 License

MIT License. Free for personal, commercial, and enterprise integration.