UK Due Diligence
This server provides read-only, official-source UK due-diligence data for AI agents across Companies House, Charity Commission, HMLR, The Gazette and consolidated sanctions lists.
Search Companies House and fetch company profiles, status, addresses, SIC codes, filing compliance and
has_charges.Retrieve company officers (including resigned), officer appointment histories, PSCs/beneficial ownership and overseas-corporate-PSC flags.
Fetch full charge histories with secured parties, status, satisfaction and filing events.
Page through company filing history and resolve filing document metadata to
company-document://resource links.Search and profile disqualified directors, including disqualification orders and associated companies.
Search and profile charities, including trustees, finances, insolvency flags and classifications.
Search HMLR Price Paid transactions by postcode/address (historic sales, not current ownership).
Search The Gazette corporate insolvency notices by name/date/notice code and fetch full notice records.
Screen names against UK/OFSI, OFAC, EU and UN sanctions lists, with partial/unavailable-list warnings.
Run cross-register
searchandfetchIDs for company, charity, disqualification and Gazette notice records.Use pagination, filtering and partial-result indicators to avoid treating incomplete data as clearance.
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
uk-due-diligence-mcp
Maintained by BOUCH — private hosting, custom tools and setup: paul@bouch.dev · bouch.dev/products/uk-due-diligence-mcp
Official-source UK due-diligence data for AI agents.
Search Companies House, Charity Commission, The Gazette and HMLR price-paid data, plus screen names against the UK (FCDO), OFAC, EU and UN sanctions lists. Exposes atomic MCP tools for company ownership, officers, cross-company appointment history, secured charges, insolvency notices and related registry evidence — the consuming agent decides how to investigate, not the server.
Every data source is a legally-mandated register with a free official API. Zero paywalls.
Data sources
Register | API | Auth | Coverage |
Companies House |
| API key (free) | UK-wide |
Charity Commission |
| API key (free) | England & Wales |
HMLR Land Registry |
| None | England & Wales |
The Gazette |
| None (read) | UK-wide |
UK (FCDO) / OFAC / EU / UN sanctions | consolidated list files | None | International |
Related MCP server: yaml-ai-mcp
Connect
Hosted endpoint — no install, no API key:
https://uk-due-diligence-mcp.fly.dev/mcpClaude (web, desktop and mobile)
Open Customize → Connectors (claude.ai/customize/connectors).
Click Add custom connector.
Name it
uk-due-diligence, paste the URL above and click Add. No sign-in is needed.
That's it — no config file to edit and no restart. Add the connector on web or desktop, and it's then available on your account, including the mobile apps. Turn it on or off per chat from the + menu → Connectors. On Team and Enterprise plans an Owner adds it once under Organization settings → Connectors; Free plans can add one custom connector.
Claude Code
If you've added the connector above, Claude Code lists it under /mcp — but only when Claude Code is signed in with your claude.ai subscription login, not an API key. Otherwise, add it directly:
claude mcp add --transport http --scope user uk-due-diligence https://uk-due-diligence-mcp.fly.dev/mcpOther clients
VS Code and Cursor: use the install badges at the top of this page. For clients configured with mcpServers JSON:
{
"mcpServers": {
"uk-due-diligence": {
"type": "http",
"url": "https://uk-due-diligence-mcp.fly.dev/mcp"
}
}
}Run it locally (stdio)
Local mode needs your own free API keys — see Configuration. Local stdio mode needs version 1.9.0 or later.
Claude Code:
claude mcp add --env CH_API_KEY=your-companies-house-key --env CHARITY_API_KEY=your-charity-commission-key --scope user uk-due-diligence -- uvx uk-due-diligence-mcpClaude Desktop runs local servers either as a packaged desktop extension (.mcpb, installed from Settings → Extensions) or from claude_desktop_config.json. There's no .mcpb for this server yet, so for local mode add this to the config file (Settings → Developer → Edit Config) and restart the app. For everyday use the hosted connector above is simpler.
{
"mcpServers": {
"uk-due-diligence": {
"command": "uvx",
"args": ["uk-due-diligence-mcp"],
"env": {
"CH_API_KEY": "your-companies-house-key",
"CHARITY_API_KEY": "your-charity-commission-key"
}
}
}
}Tools
The authoritative, generated list of tools and resources is docs/tool-reference.md; the tables below are a guide.
Companies House
Tool | Description |
| Search by name/keyword, filter by status/type |
| Status, filing compliance, registered address, |
| Directors/secretaries; each carries an |
| Beneficial owners, PSC chain, overseas-corporate-PSC flag |
| Full appointment history for a person by |
| Complete secured-charge history: status, dates, secured parties, what each charge covers |
| One page of a company's filing chronology (form types, dates); narrow with |
| Resolve a filing's |
| Search disqualified directors by name |
| Full disqualification record: period, Act, associated companies |
Charity Commission
Tool | Description |
| Search by name, filter by registration status |
| Full record: trustees, income/expenditure, governing document |
HMLR Land Registry
Tool | Description |
| Price Paid Index sale transactions by postcode — not title ownership (see Limitations) |
The Gazette
Tool | Description |
| Corporate insolvency notices by company name across the Gazette's notice-code taxonomy (codes 2401-2465). Personal insolvency (bankruptcy, IVAs, sequestrations, trust deeds) is not covered: an empty result says nothing about any individual. The Individual Insolvency Register covers England and Wales only; Scotland (Accountant in Bankruptcy) and Northern Ireland have separate registers |
| Full legal wording of a specific notice |
Sanctions
Tool | Description |
| Screen a name against the UK (FCDO), OFAC, EU and UN consolidated lists |
The UK list is the FCDO UK Sanctions List XML and is reported under the label OFSI (UK). The parser refuses an incomplete export: a file below a minimum designation count, a sharp drop against the previous load in the same process, a duplicate UniqueID, or a missing DateGenerated fails the UK list, which is then reported in lists_unavailable with is_partial true. The floor and drop threshold are constants in sanctions.py.
Cross-register
Tool | Description |
| Fan-out search across all registers — returns IDs (for ChatGPT deep research) |
| Fetch a structured record by ID returned from |
Examples
Resolve "TAS Engineering" to a company number and check whether it has any outstanding charges.→ company_search to find the company number, then company_charges for the full secured-debt picture (not just the has_charges summary).
Has Gareth Davies (director of company 06333469) been connected to any other companies, including ones that no longer exist?→ company_officers to get his officer_id, then officer_appointments to surface every company he's held an appointment at, current or historic.
Is "MEL Precision Limited" in the middle of insolvency proceedings, and what does that actually mean legally?→ gazette_insolvency to find the notices, then gazette_notice to read the full legal wording before drawing conclusions from the notice label alone.
Screen "Acme Trading Ltd" and its officers against sanctions lists.→ company_officers for the officer names, then sanctions_screen against the company name and each officer.
Limitations
Things worth knowing before trusting output:
land_title_searchreturns Price Paid transactions, not ownership. It does not return current proprietor/title data — HMLR's Price Paid Index only records historic sale transactions.Sanctions screening is exact/alias matching, not compliance clearance. A company/entity legal name matches reliably; person names with transliteration variants may not. An empty result is not a guarantee of clearance, and a hit on a common name may need disambiguation.
has_charges: nullmeans the check could not be confidently completed — a charges-endpoint outage, or a charge with an unrecognized status. Treat it as unresolved, not as "no charges."officer_appointmentsreturns historical relationships. Companies House doesn't auto-resign a director when a company enters insolvency — checkcompany_statuson each appointment, not justresigned_on.Official-source data can be incomplete or delayed. These are the same registers a human would check, with the same latency and gaps.
Configuration
Variable | Required for | Where to get it |
| All Companies House tools | |
| Charity Commission tools |
HMLR, The Gazette, and the sanctions lists require no credentials.
Licence
MIT
Available Tools
18 toolscharity_profileGet Charity ProfileARead-onlyIdempotentInspect
Fetch the full Charity Commission profile for a charity number.
Returns trustees, latest income/expenditure, insolvency flags, classifications, and countries of operation. Use charity_search first to find the charity number.
Inputs: charity_number (required). Returns: Full Charity Commission profile for a single charity.
charity_searchSearch Charity Commission RegisterARead-onlyIdempotentInspect
Search the Charity Commission register of England and Wales by name or keyword.
Returns matching charities with registration number, status, and
registration date. Use charity_profile for full details once you
have the charity number. The upstream searchCharityName endpoint
returns the full list in one shot — pagination is applied
client-side via offset/limit. A query that matches nothing is a
successful empty result (charities: []), not an error — the
upstream endpoint signals "no matches" with an HTTP 404, which is
translated back into an empty result here rather than surfaced as
a not-found failure.
Inputs: query (required), limit, offset. Returns: Paginated result of a Charity Commission name search.
company_chargesGet Company ChargesARead-onlyIdempotentInspect
Fetch the complete Companies House charge history for a company.
Returns every registered charge (secured debt) — current and historic — with status, dates, secured parties, and what each charge covers (fixed/floating/negative-pledge flags and any free-text particulars). Satisfaction is represented as satisfied_on plus a charge-satisfaction filing entry, not a separate 'release' record. company_profile.has_charges is a True/False/unknown summary derived from this same data; use this tool when the specific charges matter, not just whether any exist.
Inputs: company_number (required). Returns: Complete charge history for a company.
company_filing_documentGet Companies House Filing DocumentARead-onlyIdempotentInspect
Resolve a filing's document_metadata link to its authoritative source document.
Returns a resource_link (never embedded bytes, never base64) pointing at a company-document:// MCP resource — fetch it via resources/read to get the actual PDF. This tool only reads metadata (category, pages, available content types, byte size); it never downloads the document itself. Use company_filing_history first to find a filing's document_metadata URL.
Requires a resource-capable MCP client to retrieve the actual bytes — a tool-only client can see this result's metadata (company, category, page count, size) but cannot obtain the file through this tool call alone.
Inputs: document_metadata_url (required), mime_type.
company_filing_historyGet Company Filing HistoryARead-onlyIdempotentInspect
Fetch one page of a company's Companies House filing chronology.
Returns the raw source facts for each filing — transaction ID, form type/category, dates, and the description_values CH uses to render its own text — as delivered upstream, not interpreted into DD conclusions. links.document_metadata on each filing is the identifier a future document-retrieval tool would need; no document content is fetched here.
Unlike company_officers/company_psc/company_charges, this does NOT auto-fetch every page — a long-lived company's filing history is unbounded in practice (a decades-old PLC can carry thousands of filings). total_count/returned/has_more are always reported truthfully for whatever page and category filter was requested; nothing is silently truncated. Narrow with category= for a specific slice (e.g. category='mortgage' for charge-related filings, category='insolvency' for administration/liquidation filings) — a note is included when an unfiltered history is large.
A company_number that doesn't resolve to any company returns a structured not_found error, distinct from a genuine zero-filing result — Companies House's filing-history endpoint alone cannot tell these apart, so existence is confirmed separately when the result would otherwise be empty.
Inputs: company_number (required), category, start_index, items_per_page. Returns: One page of Companies House filing-history results for a company. Not an auto-f…
company_officersGet Company OfficersARead-onlyIdempotentInspect
Fetch officers for a Companies House company number.
Returns directors, secretaries, and other officers with appointment dates, nationality, and country of residence. Resigned officers are excluded by default; set include_resigned=true for historical DD. Pagination is handled internally.
Inputs: company_number (required), start_index, items_per_page, include_resigned. Returns: List of officers for a given company.
company_profileGet Company ProfileARead-onlyIdempotentInspect
Fetch the full Companies House profile for a company number.
Returns status, registered address, SIC codes, filing compliance (overdue accounts and confirmation statement flags), and whether the company has outstanding charges. Use company_search first to find the company number.
Inputs: company_number (required). Returns: Full Companies House profile for a single company number.
company_pscGet Persons with Significant ControlARead-onlyIdempotentInspect
Fetch Persons with Significant Control (beneficial ownership) for a company.
Returns PSC entries with natures of control, nationality, and country of residence. Flags overseas corporate PSC entries as a beneficial ownership risk signal. Returns an explanatory note for widely-held PLCs with no registrable PSC.
Inputs: company_number (required). Returns: List of Persons with Significant Control for a company.
company_searchSearch Companies HouseARead-onlyIdempotentInspect
Search the Companies House register by company name or keyword.
Returns a paginated list of matching companies with name, number, status, incorporation date, and registered address. SIC codes are not reliably returned by search; use company_profile for SIC codes. Use company_profile for the full record once you have the company number. Re-call with start_index=next_start_index to fetch the next page.
company_status / company_type are applied by this server: Companies House's search endpoint ignores them. A filtered call scans upstream pages until it has items_per_page matches or has examined 500 upstream results; if it stops at that cap, is_partial is true and fewer items does not mean no more matches exist.
Inputs: query (required), start_index, company_type, company_status, +1 more. Returns: Paginated result of a Companies House company search.
disqualified_profileGet Disqualified Director ProfileARead-onlyIdempotentInspect
Fetch the full disqualification record for a director by officer ID.
Returns all disqualification orders: reason, Act/section cited, disqualification period, and associated company names. Use disqualified_search first to find the officer ID.
Inputs: officer_id (required). Returns: Full disqualification record for a disqualified officer.
disqualified_searchSearch Disqualified DirectorsARead-onlyIdempotentInspect
Check whether a named individual is banned from acting as a UK company director.
Use this tool when asked to check disqualified, banned, or barred directors. Query must be an individual's name (e.g. "Richard Howson") — NOT a company name, which always returns zero results.
Returns names, dates of birth, match snippets (often empty), and officer IDs that can be used with disqualified_profile for full details. The disqualification periods come from disqualified_profile.
Inputs: name, query, start_index, items_per_page. Returns: Paginated disqualified officers search result.
fetchFetch Full Record from UK Due Diligence RegisterARead-onlyIdempotentInspect
Fetch the full record for an ID returned by search.
Routes by prefix to the appropriate register:
company:{number} → Companies House full profile
charity:{number} → Charity Commission full profile
disqualification:{officer_id} → Disqualified director full record
notice:{notice_id} → Gazette notice full legal text
Inputs: id (required). Returns: object
gazette_insolvencySearch Gazette Corporate Insolvency NoticesARead-onlyIdempotentInspect
Search The Gazette's corporate insolvency notices by company name.
Searches The Gazette's corporate-insolvency notice index (category 24) using the authoritative Gazette notice-code taxonomy. Results are sorted by an internal DD severity score; the notice label itself remains a source fact.
Corporate only. Personal insolvency (bankruptcy, IVAs, sequestrations, trust deeds) is not covered, so an empty result says nothing about any individual, such as a director or PSC. The Individual Insolvency Register covers England and Wales only; Scottish sequestrations and trust deeds are on the Accountant in Bankruptcy register, and Northern Ireland has its own register.
One call reads one page of at most 100 feed entries (page, 1-based); it never fetches further pages. upstream_total is the feed's count of matching corporate notices (null when the feed does not say), and is_partial is true when matches remain after this page (the count exceeds the entries on this and earlier pages), or when the count is unknown. The severity sort and max_notices cap apply within the page, so the most severe notices shown are the most severe on this page, not across every match.
skipped_unrecognised counts entries on this page whose notice code is not a known corporate code, and unrecognised_codes lists those codes. They are a diagnostic for codes the taxonomy does not label yet, not a sign of personal insolvency coverage.
Each result includes a notice_numeric_id. Read the full legal wording via the notice://{notice_numeric_id} resource.
The Gazette is the official UK public record. A notice here means the event has been formally published. This tool does not establish its legal effect.
Inputs: name, page, query, end_date, +4 more. Returns: Aggregated Gazette insolvency notice search result.
gazette_noticeGet Gazette Notice Full TextARead-onlyIdempotentInspect
Fetch the full legal wording of a Gazette notice by numeric notice ID.
Returns the JSON-LD linked-data record for the notice: publisher, notice code, publication date, and the party fields the Gazette supplies. Body text and court are not guaranteed; the Gazette web page has the full wording. Use gazette_insolvency first to find notice_numeric_id values.
Inputs: notice_id (required). Returns: object
land_title_searchSearch Price Paid Transactions by PostcodeARead-onlyIdempotentInspect
Search HM Land Registry Price Paid Index by postcode or address.
Returns up to 10 recent sale transactions for the postcode: price, date, address, property type, and tenure (Freehold/Leasehold). Covers England and Wales only. Postcode gives the most reliable results — a full address is also accepted and the postcode is extracted automatically.
Inputs: address_or_postcode (required). Returns: HMLR Price Paid Index search result for a given postcode.
officer_appointmentsGet Officer Appointment HistoryARead-onlyIdempotentInspect
Fetch a person's full company appointment history by officer ID.
Returns every appointment — current and historic — with each company's number, name, status, role, and appointment/resignation dates. Use company_officers first to find an officer_id, then this tool to discover other companies that person has been a director or secretary of, including dissolved or insolvent ones not mentioned anywhere else. Always returns full history; there is no current-only filter, since historical discovery is the point.
Inputs: officer_id (required). Returns: A person's full appointment history across companies, by officer ID.
sanctions_screenScreen a Name Against Sanctions ListsARead-onlyIdempotentInspect
Screen a name against the UK (OFSI), US (OFAC), EU and UN consolidated sanctions lists.
Returns every list entry whose primary name or alias matches, with the regime, source reference and listing date where the source gives one. Use it to check whether a counterparty — or its officers / persons with significant control — appears on a sanctions list.
MATCHING is deterministic: normalised exact + alias match (case-, accent- and punctuation-insensitive). A company/entity legal name matches reliably; PERSON names with transliteration variants may not (e.g. 'Mohammed' vs 'Muhamad'). An empty result is therefore NOT a guarantee of clearance, and a hit on a common name may be a false positive to disambiguate. This is a screening aid, not a compliance determination.
lists_screened reports which of OFSI/OFAC/EU/UN were screened;
lists_unavailable names those that were not. Each list is refreshed on
its own: if a list's latest refresh failed, its previous load is still
screened and the list is named in lists_stale, for up to 7 days after
its last successful load (after that it is dropped and reported
unavailable). list_as_at gives each screened list's own load time, and
as_at is the oldest of them. is_partial is true whenever a list is
unavailable or stale, or a screened list is 24 hours old or more. When
is_partial is true an empty hits is UNRESOLVED, not clearance. If no
list has ever loaded the call raises a retryable error rather than
returning an empty screen.
Inputs: name (required), entity_type. Returns: Result of screening one name against the consolidated sanctions lists.
searchSearch UK Due Diligence RegistersARead-onlyIdempotentInspect
Search across all UK due diligence registers simultaneously.
Searches Companies House, Charity Commission, disqualified directors, and Gazette insolvency notices in parallel. Returns a list of result IDs — use fetch with each ID to retrieve the full record.
registers_searched names the registers that actually answered and
registers_unavailable those that failed; is_partial is true whenever
the latter is non-empty. An empty ids with is_partial true means
UNRESOLVED, not "nothing on record". If no register answers at all the
call raises rather than returning an empty result.
Inputs: query (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
Most tools have sharply distinct scopes: per-register search vs. profile pairs, `gazette_insolvency` vs. `gazette_notice`, `disqualified_search` vs. `disqualified_profile`, and `officer_appointments` vs. `company_officers` are all cleanly separated by descriptions. The exception is the generic `search`/`fetch` pair, which duplicates the capability of the register-specific tools (`company_search`, `company_profile`, `charity_profile`, etc.), leaving a real judgement call about which to use despite the routing notes.
Nearly all tools follow a predictable `<resource>_<action>` pattern (company_search, company_profile, charity_search, charity_profile, disqualified_search, gazette_insolvency, land_title_search), and register prefixes align with the fetch routing scheme. The bare verbs `search` and `fetch` are the only deviations, and `officer_appointments` breaks the resource-first convention slightly.
Eighteen tools is on the heavy side, but the count is justified by covering five distinct registers each with search+detail operations. The only arguably redundant entries are the umbrella `search`/`fetch` pair layered on top of the specific tools.
The surface is unusually complete for UK corporate DD: Companies House (search, profile, officers, PSC, charges, filing history, document retrieval), Charity Commission, disqualified directors, Gazette notices, sanctions screening and land price data all have search+detail paths with no dead ends. Gaps remain for individual insolvency registers (explicitly excluded), company financial/accounts data, and HM Land Registry ownership/title data (only Price Paid is available), which would matter in a full DD workflow.
Maintenance
Related MCP Connectors
Companies House MCP — UK statutory company registry (BYO key)
UK Companies House and KYB: search, officers, owners (PSC), filings, charges, banned directors
UK Companies House due diligence: beneficial owners, directors, ECCTA, accounts. Hosted, no key
AML Onboard case workflows for UK limited companies, as a remote MCP server.
Related MCP Servers
- AlicenseCqualityDmaintenanceAccess UK company data through the Companies House API directly in MCP clients, with 45+ tools for company info, search, officers, filing history, ownership, and charges.3731AGPL 3.0

yaml-ai-mcpofficial
AlicenseAqualityCmaintenanceAn MCP server for anti-money laundering (AML) compliance, including customer due diligence, transaction monitoring, and SAR filing, compliant with 6AMLD, UK MLR 2017, and FinCEN.4MIT- FlicenseNot gradedqualityDmaintenanceMCP server exposing the full UK Companies House Public Data API, enabling natural language queries for company profiles, search, officers, filing history, charges, insolvency, and persons with significant control, as well as downloading and reading PDF documents.-
- AlicenseNot gradedqualityDmaintenanceProduction-grade MCP server for the UK Companies House API, enabling AI assistants to search companies, get profiles, list officers, filings, and PSCs.MIT