OnSanctions
Get started

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-key header. Live keys start with os_live_, test keys with os_test_.
Server details
GET /mcp returns the server name, protocol, transport and tool names as JSON.
Client config
{
  "mcpServers": {
    "onsanctions": {
      "url": "https://onsanctions.com/mcp",
      "headers": { "x-api-key": "os_test_..." }
    }
  }
}

Tools

ToolWhat it doesFields
checkOne-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
screenEnroll 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
withdrawRemove 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

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