TrustLedger
Trust, backed by evidence.
TrustLedger checks whether a UK company is safe to do business with, from inside your AI assistant. It looks the company up in Companies House, screens the company, its directors and owners against the OFAC and UN sanctions lists, and checks its website. You get APPROVE, ESCALATE or REJECT, with the evidence behind every flag.
It runs on your machine: the names you screen never leave it.
Decision support, not legal advice. You stay responsible for your compliance decisions.
Install
Needs Python 3.11+ and a free Companies House API key. No Claude or other LLM API key is needed: your assistant is the LLM.
uvx kyb-tool-mcp update-lists # one-off: build the local sanctions index
Claude Code
claude mcp add kyb-tool-mcp -e COMPANIES_HOUSE_API_KEY=your-key -- uvx kyb-tool-mcp
Claude Desktop / Cursor: add to claude_desktop_config.json or .cursor/mcp.json, then restart.
{
"mcpServers": {
"kyb-tool-mcp": {
"command": "uvx",
"args": ["kyb-tool-mcp"],
"env": { "COMPANIES_HOUSE_API_KEY": "your-key" }
}
}
}
pip
pip install kyb-tool-mcp
Without the Companies House key, registry checks report not_configured. Sanctions and website checks still run.
Use it
Ask your assistant in plain English:
- "Run a KYB check on company 09876543, director Sarah Holloway, born June 1979." → decision, flags with evidence, analyst note
- "Is Viktor Bout, born 1967, on a sanctions list?" → match / needs review / cleared, with reasons
- "Does harbourline-logistics.co.uk look real?" → reachable, parked, domain age, industry fit
Also works from the terminal (kyb-tool-mcp review case.json) and from Python (from kyb_tool_mcp import review_case).
Benchmark
| Result | |
|---|---|
| Sanctioned names caught | 99.4% |
| Real UK companies with no false alert | 92.9% |
| Wrongly confirmed as sanctioned | 0.04% |
| Test cases decided correctly | 100% |
Measured on real public UK data the tool was never tuned on (992 sanctioned designations, 5,000 companies) plus 168 test cases.
Coming next (phase 2)
- One-click install for Claude Desktop (desktop extension)
- Add it as a connector by URL (hosted version)
- A web form: check a company in the browser, no install
More
Policy and flags · Data sources · Contributing · Security · Apache-2.0 (data licences)
Metadata
Release files for kyb-tool-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kyb_tool_mcp-0.1.0.tar.gz | 93.1 kB | With provenance | Details for kyb_tool_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kyb_tool_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for kyb_tool_mcp-0.1.0-py3-none-any.whl |
Total release size: 191.5 kB
Release files / kyb_tool_mcp-0.1.0.tar.gz
| Download URL | kyb_tool_mcp-0.1.0.tar.gz |
|---|---|
| Size | 93.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba9e78e8bd8c1fb7fa4b5da12b8c8a66ad0b30743cae541863f64aa459797251
|
|
BLAKE2b-256 checksum How to use checksums |
15bc5aee0e03518b063903dcb0c0a0804d286cea165a986a3b4ead7ccebf6fe2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / kyb_tool_mcp-0.1.0-py3-none-any.whl
| Download URL | kyb_tool_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 98.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
790a8663df90dfcfda7503cb3c9f51ff3efba42e1ce1cfcf3bb7e84e721946e4
|
|
BLAKE2b-256 checksum How to use checksums |
6fd83ebbf14bbbeebb77cd7d96ecfca2834539b37051da2b90ba6d310fda44e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logSecurity for kyb-tool-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for kyb_tool_mcp-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.