Sanctions screening and PEP checks via OpenSanctions API for AI agents
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.
MCP server for sanctions screening and PEP checks via the OpenSanctions API.
Lets AI agents (Claude, Cursor, Windsurf, GPT) screen persons and companies against 320+ sanctions and PEP lists from OFAC, EU, UN, UK HMT, and more.
Disclaimer: This tool provides informational data only. It is not legal or compliance advice. Always verify matches with official sources before taking action.
Add to your MCP client config:
Get a free API key at opensanctions.org/api.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)~/.windsurf/config.jsonSearch the OpenSanctions database by name or keyword.
Screen a person or company against sanctions and PEP lists using structured properties. This is the primary screening tool.
Fetch complete details for a specific entity, including relationships to other entities (companies, associates, family members).
List available sanctions and PEP datasets. No API key required.
Get details about a specific dataset (publisher, entity count, last updated). No API key required.
Run a full compliance investigation in one call: match, fetch details, map relationships, and return structured data.
| Environment Variable | Required | Default | Description |
|---|---|---|---|
OPENSANCTIONS_API_KEY | Yes* | โ | API key for the hosted OpenSanctions API. Get one at opensanctions.org/api. |
OPENSANCTIONS_API_URL | No | https://api.opensanctions.org | API URL. Set to your self-hosted yente instance. |
OPENSANCTIONS_DATASET | No | default | Dataset to screen against. default includes all 320+ sources. |
OPENSANCTIONS_MAX_RETRIES | No | 3 | Max retries for failed API calls. |
DEBUG | No | โ | Set to any value to enable debug logging. |
*Not required for list_datasets, get_dataset, or when using a self-hosted yente instance without auth.
If you run your own yente instance, point the server at it:
No API key needed for self-hosted yente.
MIT
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/opensanctions-mcp)<a href="https://allmcps.com/mcp/opensanctions-mcp"><img src="https://allmcps.com/api/badge/opensanctions-mcp?style=directory" alt="Opensanctions MCP on AllMCPs" /></a>