UK Due Diligence

io.github.paulieb89由 GitHub 账号 paulieb89 发布v1.0.3更新于 Oct 25, 2026

UK due diligence — Companies House, Charity Commission, Land Registry, Gazette, HMRC VAT

已验证Streamable HTTP可网页运行金融安全与监控商业与电商

概览

AI 生成的概览

只读的英国尽职调查服务器,让助手查询公司注册处、慈善委员会、土地登记处、Gazette 及制裁名单。

可以做什么
  • 检索与查看公司:按名称或关键词搜索、完整档案、申报合规与申报历史
  • 查看股权与人员:董事与秘书、重要控制人、跨公司任职历史、担保抵押记录
  • 查询慈善机构:搜索及含受托人、收支与破产标记的完整档案
  • 核查董事与破产:被取消资格董事的搜索与记录、Gazette 破产公告及公告全文
  • 按姓名筛查英国、OFAC、欧盟和联合国制裁名单
  • 跨所有登记库并行搜索,并按 ID 获取完整记录
适用场景
适合助手需要依据官方登记库核实英国公司、董事、慈善机构或破产状态时,例如合作方准入审查、核查实际受益人,或对姓名进行制裁名单筛查。
运行要求
可作为远程 HTTP 端点使用,也可通过 uvx 在本地运行(Python)。公司注册处工具需要 CH_API_KEY,慈善委员会工具需要 CHARITY_API_KEY,均可在各自开发者门户免费获取。土地登记处、Gazette 和制裁工具无需凭据。需要访问这些公共登记库 API 的网络连接。
安装前请注意
查询为只读,但关于公司、董事和个人的查询会发送给第三方公共登记库和制裁名单来源。结果不构成合规审查结论:制裁匹配仅为精确或别名匹配,无结果不代表已排除风险,has_charges 为 null 表示未能确认,land_title_search 返回的是成交价格而非产权归属。官方数据可能不完整或有延迟。

安装

在 SourceWeft 中

  1. 打开 控制台中的 UK Due Diligence,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.paulieb89%2Fuk-due-diligence-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "uk-due-diligence": {
      "type": "http",
      "url": "https://uk-due-diligence-mcp.fly.dev/mcp"
    }
  }
}

README

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.

[PyPI] [SafeSkill] [Glama] [smithery badge] [Install in VS Code] [Install in VS Code Insiders] [Install in Cursor]


Data sources

RegisterAPIAuthCoverage
Companies Houseapi.company-information.service.gov.ukAPI key (free)UK-wide
Charity Commissionapi.charitycommission.gov.ukAPI key (free)England & Wales
HMLR Land Registrylandregistry.data.gov.uk (SPARQL)NoneEngland & Wales
The Gazettethegazette.co.uk (Linked Data)None (read)UK-wide
UK (FCDO) / OFAC / EU / UN sanctionsconsolidated list filesNoneInternational

Quick start

Hosted (no install)

json
{  "mcpServers": {    "uk-due-diligence": {      "type": "http",      "url": "https://uk-due-diligence-mcp.fly.dev/mcp"    }  }}

Local (uvx)

json
{  "mcpServers": {    "uk-due-diligence": {      "type": "stdio",      "command": "uvx",      "args": ["uk-due-diligence-mcp"]    }  }}

See Configuration for the environment variables it needs.


Tools

Companies House

ToolDescription
company_searchSearch by name/keyword, filter by status/type
company_profileStatus, filing compliance, registered address, has_charges summary
company_officersDirectors/secretaries; each carries an officer_id
company_pscBeneficial owners, PSC chain, overseas-corporate-PSC flag
officer_appointmentsFull appointment history for a person by officer_id — including dissolved or insolvent companies not named anywhere else
company_chargesComplete secured-charge history: status, dates, secured parties, what each charge covers
disqualified_searchSearch disqualified directors by name
disqualified_profileFull disqualification record: period, Act, associated companies

Charity Commission

ToolDescription
charity_searchSearch by name, filter by registration status
charity_profileFull record: trustees, income/expenditure, governing document

HMLR Land Registry

ToolDescription
land_title_searchPrice Paid Index sale transactions by postcode — not title ownership (see Limitations)

The Gazette

ToolDescription
gazette_insolvencyCorporate insolvency notices across the Gazette's notice-code taxonomy (codes 2401-2465)
gazette_noticeFull legal wording of a specific notice

Sanctions

ToolDescription
sanctions_screenScreen 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 with fewer than 5,000 designations, a drop of more than 10% 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

ToolDescription
searchFan-out search across all registers — returns IDs (for ChatGPT deep research)
fetchFetch a structured record by ID returned from search

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_search returns 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: null means 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_appointments returns historical relationships. Companies House doesn't auto-resign a director when a company enters insolvency — check company_status on each appointment, not just resigned_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

VariableRequired forWhere to get it
CH_API_KEYAll Companies House toolsdeveloper.company-information.service.gov.uk — free
CHARITY_API_KEYCharity Commission toolsapi-portal.charitycommission.gov.uk — free

HMLR, The Gazette, and the sanctions lists require no credentials.


Project structure

uk-due-diligence-mcp/├── server.py           # FastMCP init, tool/resource registration, transport config├── companies_house.py  # company_search/profile/officers/psc, officer_appointments, company_charges├── disqualified.py     # disqualified_search, disqualified_profile├── charity.py          # charity_search, charity_profile├── land_registry.py    # land_title_search (SPARQL Price Paid Index)├── gazette.py          # gazette_insolvency, gazette_notice├── sanctions.py        # sanctions_screen (UK/OFAC/EU/UN consolidated lists)├── search_fetch.py     # search, fetch (cross-register fan-out)├── models.py           # Pydantic v2 output models├── http_client.py      # Shared httpx clients, retry backoff, error formatting├── fly.toml├── Dockerfile├── pyproject.toml└── .env.example

Licence

MIT

来源:README.md,提交 4c2698f

工具

18

company_profile

Get Company Profile

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.

输入参数company_number必填

company_officers

Get Company Officers

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.

输入参数start_indexcompany_number必填items_per_pageinclude_resigned

company_psc

Get Persons with Significant Control

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.

输入参数company_number必填

officer_appointments

Get Officer Appointment History

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.

输入参数officer_id必填

company_charges

Get Company Charges

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.

输入参数company_number必填

company_filing_history

Get Company Filing History

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.

输入参数categorystart_indexcompany_number必填items_per_page

company_filing_document

Get Companies House Filing Document

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.

输入参数mime_typedocument_metadata_url必填

charity_profile

Get Charity Profile

Fetch the full Charity Commission profile for a charity number. Returns trustees, latest income/expenditure, insolvency flags, governing document type, classifications, and countries of operation. Use charity_search first to find the charity number.

输入参数charity_number必填

disqualified_profile

Get Disqualified Director Profile

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.

输入参数officer_id必填

gazette_notice

Get Gazette Notice Full Text

Fetch the full legal wording of a Gazette notice by numeric notice ID. Returns the complete JSON-LD linked-data record for the notice: parties, legal basis, court, and full text. Use gazette_insolvency first to find notice_numeric_id values.

输入参数notice_id必填

gazette_insolvency

Search Gazette Corporate Insolvency Notices

Search The Gazette's insolvency notice index by entity name. Searches The Gazette's corporate-insolvency notice index using the authoritative Gazette notice-code taxonomy. Results are sorted by an internal DD severity score; the notice label itself remains a source fact. 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 and is legally effective.

输入参数namequeryend_datestart_dateentity_namemax_noticesnotice_type

sanctions_screen

Screen a Name Against Sanctions Lists

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. 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 actually loaded; `lists_unavailable` names those that were not, and `is_partial` is true whenever it is non-empty. When `is_partial` is true an empty `hits` is UNRESOLVED, not clearance. If no list could be loaded at all the call raises a retryable error rather than returning an empty screen. `as_at` is when the lists were last refreshed on this server.

输入参数name必填entity_type

fetch

Fetch Full Record from UK Due Diligence Register

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

输入参数id必填

版本历史

1
  1. v1.0.3最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分