OFAC sanctions screening for AI agents: screen names, wallets, entities against the SDN list.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Your agent is about to send USDC to a stranger. Is that stranger sanctioned? 782 OFAC crypto wallets Β· 19,086 sanctioned names Β· 16 embargoed jurisdictions. No API key. No signup. 30-second setup. Free & open source.
agentmail gives any AI agent three capabilities it can't provide itself:
| Layer | What | Status |
|---|---|---|
| π‘οΈ Compliance | OFAC sanctions screen, KYA, transaction risk score, disputes | β Live β real OFAC data |
| π§ Email | Disposable verification inbox (receive OTP/magic links) | β Live |
| π± SMS | Rentable phone numbers (receive SMS/OTP) | β Live (mock free, 5sim/Twilio paid) |
It exposes all of these through three surfaces β MCP tools (for Claude Code / Cursor / Hermes), an HTTP API (for any agent), and a CLI (for you). Same core, same data.
Agents are starting to pay for things (x402, AP2, ACP, Coinbase AgentKit). But every payment rail assumes a human is watching. If your agent autonomously pays a wallet that's on the OFAC Specially Designated Nationals list, that's your legal problem β and the big payment infra players (OpenAI, Stripe, Coinbase) explicitly do not handle per-jurisdiction sanctions screening, Know-Your-Agent, or agent-transaction fraud signals. That's the gap this fills.
Now your agent can call sanctions_check, risk_score, kya_verify, dispute_open, create_inbox, fetch_code, create_number, fetch_sms, release_number, list_inboxes.
Note: the PyPI package is
sanctions-mcp(the nameagentmailwas taken). The Python import name is stillagentmail.
Four tools, called before an agent trusts or pays a counterparty:
| Tool | When to call | Returns |
|---|---|---|
sanctions_check(name, wallet, country) | Cheapest check. Call first. | {matches, clean} |
risk_score(counterparty, amount, ...) | Right before authorizing payment | {score 0-100, recommendation: allow/review/decline} |
kya_verify(agent_id, evidence) | Before trusting another agent | {trust_score, verified, flags} |
dispute_open(transaction_id, reason) | When a paid transaction went bad | {dispute_id, escalation_at} |
| Source | What | Refresh |
|---|---|---|
| vile/ofac-sdn-list (GitHub releases) | 782 multi-chain crypto addresses (ETH/USDT/TRX/XBT/...) | daily |
US Treasury OFAC sdn.csv | 19,086 sanctioned individuals & entities | as published |
| Embargoed jurisdictions set | 16 ISO-2 codes under comprehensive OFAC/UN/EU sanctions | tracked manually |
Lists are cached locally (~/.agentmail/cache/, 24h TTL) and refresh from source. If the network is down, a stale cache is used and status() reports degraded: true so you know screening is against older data rather than failing silently.
The osint provider does exact + token-subset name matching, exact case-insensitive wallet matching, and ISO-2 country matching. Every match carries a confidence so you can decide how hard to block.
Email β a disposable inbox an agent can use to sign up and receive OTP/magic-link verifications (backed by Mail.tm). create_inbox() β address β fetch_code() β OTP.
SMS β a rentable phone number an agent can use for phone/SMS verification. Mock provider works with no key (for dev); AGENTMAIL_SMS_PROVIDER=fivesim AGENTMAIL_FIVESIM_KEY=... goes live with real numbers.
Both share an otp.py extraction brain (regex for codes + magic links) so email and SMS produce the same {code, link} shape.
Self-host is fully functional and free β that's what this repo is. Run the MCP server locally or the HTTP API on your own box, screen against real OFAC data, never pay a cent.
Hosted API is live at https://agentmail-api.fly.dev β a managed endpoint with API-key auth, rate limits, and an audit log of every screen (the thing regulators/investors ask for). Free tier: 50 checks/day, no signup (by IP). For higher volume, get an API key β (Dev $19/mo, Team $99/mo β self-serve checkout).
The agentmail Sanctions Exposure Index (SEI) is a 5-factor proprietary framework for quantifying an AI agent's OFAC sanctions exposure:
| Factor | Weight | What it measures |
|---|---|---|
| V β Velocity | 30% | Transactions/day the agent can execute unattended |
| J β Jurisdiction overlap | 25% | Fraction of counterparties in/near embargoed regions |
| A β Asset class | 20% | Crypto (highest SDN coverage), fiat, mixed |
| S β Screening posture | 15% | No screen β batch β pre-payment inline β inline + audit |
| D β Disclosure readiness | 10% | Can operator produce a VSD within 5 days? |
Score 10 (min exposure) β 1000 (max). S and D are the two factors you can change today β collapse both from 1β10 with a single inline screening call and a timestamped audit trail. Full report + interactive calculator at sanctionsai.dev.
Cite as: "agentmail Sanctions Exposure Index (SEI), 2026 Agent-Payment Sanctions Exposure Report, sanctionsai.dev" β licensed CC BY 4.0.
MIT β see LICENSE.
Issues and PRs welcome. If you're using agentmail in production, I'd love to hear what for.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/sanctionsai)<a href="https://allmcps.com/mcp/sanctionsai"><img src="https://allmcps.com/api/badge/sanctionsai?style=directory" alt="SanctionsAI on AllMCPs" /></a>