Open-source KYB connector for Claude · free
Trust, backed by evidence.
Add TrustLedger to Claude and ask it to vet a UK company. It checks Companies House, the OFAC and UN sanctions lists, and the company website, then returns Approve, Escalate or Reject. Every flag points to the evidence behind it.
Works on claude.ai and Claude Desktop. Needs a free Companies House API key.
review_kyb_case
How it works
- Claudeclaude.ai, Claude Desktop, Claude Code or another AI tool calls a TrustLedger tool
- TrustLedgerruns as a hosted connector or on your own machine; sanctions are screened against its own copy of the lists
- Public sourcesCompanies House, GLEIF, OFAC SDN, UN list, the company website and its domain record
- Decisiona versioned rule policy decides; your assistant explains it but cannot change it
Where you can use it
Start in Claude with no install. Move to pip when you want scripts, batches or your own server.
In Claude
Add the connector URL to claude.ai or Claude Desktop, then ask in plain English. Nothing to install.
With pip
The terminal tool and Python library for batches, scripts, CI and your onboarding flow. It can also run your own connector.
In other AI tools
Claude Code, Cursor, VS Code and other MCP clients, through the hosted URL or a local install.
What you can ask, and what you get back
“Run a KYB check on company 09876543. Director Sarah Holloway, born June 1979.”
A decision (approve, escalate or reject), the risk level, every flag with its evidence, and a short note an analyst can file.
“Is Viktor Bout, born 1967, on a sanctions list?”
Each possible match labelled as a match, needs review or cleared, with the reasons: how close the name is, whether the birth year and nationality agree.
“Who are the directors and owners of company 00445790?”
The Companies House record: status, address, industry codes, directors and people with significant control.
“Does harbourline-logistics.co.uk look like a real logistics business?”
Whether the site is reachable or parked, how old the domain is, what the page says it sells, and whether that fits the declared industry.
“Why was this case escalated?”
The rules behind the decision, in plain words. Your assistant can explain a decision but cannot change it.
What your assistant can call
review_kyb_case- Full review of an onboarding application: registry, owners, sanctions and website, ending in a decision with flags and an analyst note.
registry_lookup- A company's Companies House or GLEIF record: status, address, SIC codes, directors and beneficial owners.
screen_entity- Screen one person or company against OFAC and UN. Hits come labelled as match, needs review or cleared, with the reason.
check_website- Is the site reachable, parked, newly registered, selling prohibited goods, or in a different industry?
explain_policy- The active decision rules, so the assistant can explain why a case was escalated.
Set up
Registry checks need a free Companies House API key. Sanctions and website checks work without it.
x-api-key header | Connector your Companies House key, sent by Claude on each request (Authentication: No sign-in). Used for that request only, never stored or logged. |
|---|---|
COMPANIES_HOUSE_API_KEY | Local registry checks. Without it they report not_configured. |
KYB_DATA_DIR | Optional where the sanctions index and cache live. Default ~/.kyb-tool-mcp. |
KYB_POLICY_FILE | Optional your own decision policy, created with kyb-tool-mcp init. |
Your data
Choose how much leaves your machine.
Hosted connector
Names and company details you check are processed on the TrustLedger server to run the checks, then discarded. No accounts, no case history, no logs of your inputs or your key.
Local install
Everything runs on your computer. Sanctions screening uses a local copy of the lists, so names never leave your machine. Only Companies House, GLEIF and the website being checked are contacted.
Benchmark
Real UK data the tool was never tuned on, plus 168 synthetic cases.
| Test | Result |
|---|---|
| Sanctioned UK designations caught (992, UK spellings vs UN list) | 99.4% |
| Real UK companies with no alert (5,000) | 92.9% |
| Real UK companies wrongly confirmed as sanctioned | 0.04% |
| Synthetic end-to-end cases decided correctly (168 × 3 runs) | 100% |
| Live check on real UK companies (20 cases across 8 types) | 20/20 |
Coming next
The hosted connector is live. Next, making it even easier to reach.
- One-click install for Claude Desktop. A desktop extension file for the local version: no config editing.
- A web form. Fill in a company's details in the browser and get the same decision, no install needed.
- UK sanctions list. Screening against the UK government's own list alongside OFAC and the UN.