The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Opensanctions MCP listing page.
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