Companieswise

io.github.qinisolabs由 GitHub 帳號 qinisolabs 發布v0.2.1更新於 Oct 25, 2026

Verified UK company lookup & validation for AI agents — Companies House data, snapshot or live.

已驗證STDIO僅桌面金融商業與電商

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理以官方 Companies House 資料查詢與驗證英國公司紀錄,可使用每月快照或即時 API 金鑰

可以做什麼
依公司編號查詢官方登記資訊:名稱、狀態、類型、成立日期、登記郵遞區號與主要 SIC 代碼,查無資料時誠實回報未找到。離線驗證英國公司編號格式是否正確及其前綴含義,不含檢查碼。依登記名稱搜尋公司,反查公司編號。在結果中標示資料來源(快照或即時)與快照日期。
適用情境
適合助理需要經過查證的英國公司事實、而非模型猜測的情況,例如查詢公司登記名稱、狀態或編號,或驗證使用者提供的編號。無金鑰的離線快照查詢即可滿足多數需求;若需最新狀態或已解散公司資訊,可設定 Companies House API 金鑰。
執行需求
以 npm 套件形式透過 npx 在本機執行,需要 Node.js。套件僅附少量範例資料,須先執行內建的更新指令,將每月快照(數十 MB)下載到本機快取。快照模式不需帳號或金鑰;即時模式需免費的 Companies House API 金鑰,透過環境變數 COMPANIESWISE_CH_API_KEY 設定(亦可使用 CH_API_KEY)。
安裝前請注意
快照每月更新,並非即時:狀態以資料集日期為準,已解散公司通常不在其中,查無資料不代表公司從未存在。不構成法律、財務、信用或 KYC/AML 建議。設定 API 金鑰後,查詢內容與金鑰會直接傳送至官方 Companies House API;未設定時資料留在本機。更新指令需要連網下載資料。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Companieswise,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[Qiniso]

companieswise

Verified UK company lookup & number validation for AI agents — official Companies House data, not guesses.

Verified, trustworthy data tools for AI agents. "Qiniso" means "truth" in Zulu.

Website · npm · MCP Registry


Ask an LLM "what's the registered name and status of company 00445790?" and it will answer confidently — and usually wrongly: invented names, the wrong status, a fabricated incorporation date. Company records live in the Companies House register, not a model's weights. companieswise looks the number up in the official Companies House snapshot and returns the real registered details — or an honest "not found" instead of a guess.

⚠️ Read this first — what the data is

  • UK-wide (England & Wales, Scotland, Northern Ireland).
  • A monthly snapshot of the live register. Company status is as of the dataset date, not real-time — a company dissolved last week may still read "Active" until the next snapshot, and dissolved companies are generally absent. For current status, check the live register.
  • Not advice. Not legal, financial, credit, or KYC/AML advice, and not a substitute for statutory due diligence.

Install

json
{ "mcpServers": { "companieswise": { "command": "npx", "args": ["-y", "companieswise"] } } }

Then load the real data once (the package ships with only a small sample):

bash
npx -p companieswise companieswise-update

This downloads the latest monthly Companies House snapshot (~tens of MB) to a local cache. Re-run it whenever you want to refresh; a GitHub Action rebuilds the snapshot monthly, so companieswise-update always fetches the current month. Until you run it, validate_company_number works fully and lookup_company/search_company clearly say they're on the sample.

Optional: live mode (BYO key)

By default companieswise serves the monthly snapshot (offline, no key). If you set a free Companies House API key, it switches to live queries against the official Companies House API instead — real-time register status, including dissolved companies, on your own key (no shared rate limit):

json
{  "mcpServers": {    "companieswise": {      "command": "npx",      "args": ["-y", "companieswise"],      "env": { "COMPANIESWISE_CH_API_KEY": "your-companies-house-api-key" }    }  }}

lookup_company and search_company use the live API when the key is set (results tagged "dataset": "live") and fall back to the snapshot when it isn't ("dataset": "snapshot"), so it's always clear which you're getting. validate_company_number is offline either way. The key is sent only to the official Companies House API. CH_API_KEY is accepted as an alias.

Use it as a library

bash
npm i companieswise
ts
import { lookupCompany, validateCompanyNumber, searchCompany } from "companieswise";
validateCompanyNumber("SC123456");   // { valid: true, prefix: "SC", meaning: "Company registered in Scotland" }validateCompanyNumber("6").number;   // "00000006" — normalises/zero-padslookupCompany("00000006");           // official name, status, type, incorporation date, postcode, SIC — or found:falsesearchCompany("greggs");             // companies whose registered name contains your words

A well-formed number that isn't in the snapshot returns found: false with a clear note — it never invents a company.

Tools — 3

ToolWhat it answers
lookup_companyA company's official registered details by number (name, status, type, incorporation date, registered postcode, primary SIC)
validate_company_numberIs this a well-formed UK company number, and what does its prefix denote? (format only — there is no check digit)
search_companyReverse lookup — find a company's number from its name

Data & monthly auto-refresh

The data is the Companies House Free Company Data Product (UK-wide, live register), published under the Open Government Licence v3.0. Because the real dataset is ~5.6M companies — far too large to bundle into an npm package — the design splits code from data:

  • Code ships on npm (tiny).
  • Data is built monthly by a GitHub Action (.github/workflows/refresh-data.yml) that downloads the official snapshot, compiles a compact artifact, and publishes it as a GitHub Release asset.
  • companieswise-update downloads that artifact into a local cache; every response reports its datasetVersion (the snapshot date).

No API key, no rate limit, no per-request cost — lookups run locally against the cached snapshot. See ARCHITECTURE.md for why, and the hosted/real-time path.

What it is not

  • Not real-time. Monthly snapshot of the live register; status is as of the dataset date. For live status use the Companies House API/website.
  • Not the full register. The free snapshot is live companies; dissolved companies are generally absent (absent ≠ "never existed").
  • Not advice, and not a statutory KYC/AML check.
  • Not a guesser — unknown numbers return an honest "not found".

Privacy

This tool runs locally on your machine and is built not to collect, store, or transmit your data — no analytics, no telemetry, no account. By default it uses bundled/cached data offline; only if you set a Companies House API key does it send your lookup and key directly to the official Companies House API (never to Qiniso). Full policy: https://qinisolabs.github.io/privacy.html.

License

Apache-2.0. Company data © Crown copyright, Companies House, Open Government Licence v3.0; see NOTICE.

來源:README.md,提交 5009d1b

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分