# ofac — how to use (mcp.ai)

Checks whether a name is on OFAC (US) sanctions lists, including SDN and Non-SDN, for compliance and AML due diligence. Platform-hosted, no credentials, pay per query with prepaid credit.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_ofac?ms=1787191620000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `ofac_consultar`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/ofac`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/ofac/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/ofac/consultar` — Verifica se um nome consta nas listas de sanções da OFAC (EUA), incluindo SDN e Non-SDN, para diligência de compliance e AML. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito
  - body: { Nome: string, Sobrenome: string, completo?: boolean }

## Example prompts
- "Is the name John Doe on the OFAC list?"
- "Check OFAC SDN for John Doe"

## More
- Page: https://mcp.ai/ofac
- Agent spec (llms.txt): https://mcp.ai/ofac/llms.txt
- Postman collection: https://mcp.ai/ofac/postman.json
