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 分