Sanctions screening MCP server
The OnSanctions MCP server lets AI assistants and agents screen identified people and companies against 124 sanctions, PEP, crime and regulatory sources. It speaks the Model Context Protocol, takes the same API key as the REST API and returns the same results.
Connect
- Endpoint
- https://onsanctions.com/mcp
- Transport
- Streamable HTTP (JSON-RPC 2.0 over POST)
- Protocol version
- 2025-03-26
- Authentication
- Your API key in the
x-api-keyheader. Live keys start withos_live_, test keys withos_test_. - Server details
GET /mcpreturns the server name, protocol, transport and tool names as JSON.
{
"mcpServers": {
"onsanctions": {
"url": "https://onsanctions.com/mcp",
"headers": { "x-api-key": "os_test_..." }
}
}
}Tools
| Tool | What it does | Fields |
|---|---|---|
| check | One-off check of a name. Nothing is enrolled and the name is not stored. Uses your plan's included quick checks, then quick check packs. | name, entity, an optional country, and an optional idempotencyKey |
| screen | Enroll or rescreen one identified person or company. The first accepted call enrolls; the same subject later is a rescreen. | name, entity, country, dataset, identifierType, identifierValue, identifierCountry, and an optional idempotencyKey |
| withdraw | Remove an enrolled subject from your active population when the relationship ends. | entity, identifierType, identifierValue, identifierCountry, and an optional idempotencyKey |
The fields match the REST endpoints. Entity is 0 for a person, 1 for a company, 2 for an organization and 3 for a legal entity. Dataset is all, sanctions, peps or crime. The full reference is in the API docs.
What a screen returns
- A person enrolls with a passport of 5 to 20 letters or digits and a 2-letter ISO country.
- A company, organization, or legal entity enrolls with a 20-character LEI and a 2-letter ISO country.
- The first enrollment uses AML/PEP credits. Subsequent same-subject screens use zero extra credits within the active license’s population and request limits.
- A clear result means no possible match in the categories and dataset version on that response.
- UN, OFAC, UK, and EU lists are scheduled every 60 minutes. A check lands when the publisher responds. Most other configured sources are scheduled every six hours. Publisher availability and backoff decide whether a cycle lands.
What we keep
A screen through MCP is handled like any API call. We store a keyed fingerprint of the identifier and a numeric reference, never the name or the passport number or LEI. The passport number or LEI is not sent to the screening engine. The details are on the security page and in the DPA.
Questions
- Does the MCP server need its own plan?
- No. It uses the same API key, plan, credits and limits as the REST API. A screen through MCP is the same as a call to POST /v1/screen, and a check is the same as POST /v1/check.
- Which MCP clients can connect?
- Any MCP client that can connect to a remote server over Streamable HTTP and send a custom header. Put your API key in the x-api-key header.
- Can I try it without screening real people?
- Yes. Test keys start with os_test_ and use a mock engine, so they never reach live screening or billing. Use synthetic sample subjects while you build.
- Can an assistant check a name with no passport or LEI?
- Yes, with the check tool. It runs a one-off quick check of the name, the same as POST /v1/check: nothing is enrolled and nothing is rescreened later. Ongoing screening with screen needs a passport for a person or an LEI for a company.
Create an accountMCP in the API docsPricingQuick check for one name