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.

Connector URL

Works on claude.ai and Claude Desktop. Needs a free Companies House API key.

Example output · review_kyb_case

    Illustrative output. Flag names, rules and evidence-id format are the tool's real ones.

    How it works

    1. Claudeclaude.ai, Claude Desktop, Claude Code or another AI tool calls a TrustLedger tool
    2. TrustLedgerruns as a hosted connector or on your own machine; sanctions are screened against its own copy of the lists
    3. Public sourcesCompanies House, GLEIF, OFAC SDN, UN list, the company website and its domain record
    4. 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.

    Keys and settings
    x-api-key headerConnector 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_KEYLocal registry checks. Without it they report not_configured.
    KYB_DATA_DIROptional where the sanctions index and cache live. Default ~/.kyb-tool-mcp.
    KYB_POLICY_FILEOptional 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.

    TestResult
    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 sanctioned0.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.

    Open source, Apache-2.0