Skip to main content
Glama
companies-house-screening-mcp

companies-house-screening-mcp

by kaylum54

companies-house-screening-mcp

Turn a list of UK companies into a register-checking worksheet in your AI assistant: registered details, filing observations, charges, and entries that need human follow-up.

npm CI licence: MIT

Free, MIT-licensed source. Read-only access to Companies House. Your AI client may have its own account requirements or charges.

Try a business workflow

New in 0.5.0: Accountant filing-deadline worksheet and filming guide. Review client accounts and confirmation-statement deadlines in one dated worksheet.

Paste this into your assistant after connecting the server:

Screen companies 04138203 and 00000006. Return one row per input with legal name, registered status, factual signals, sections checked, missing sections and data freshness. Keep unresolved and not-screened entries visible. Do not assign a risk score or call any company safe. Explain which records need human follow-up and why.

The server returns structured facts; your assistant formats the worksheet. The executed supplier example shows the actual response from recorded public-register fixtures. Its data is a dated example, not a current assessment of those companies.

First-video setup and script · Sample list · Business prompts and filming scripts · Setup walkthrough

Two more prompts:

Check company 04138203 against the legal name and registered-office address I supply from an invoice. Show matches, differences and unknowns. Do not treat a match as proof that the invoice or bank details are authentic.

Get the filing history for company 04138203. Summarise filings since the date I give you, fetching further pages as needed. Distinguish filing dates from the period covered. Do not claim to have read the filed documents.

Related MCP server: Companies House MCP Server

Connect

There is no public endpoint advertised by this project. Use a local server with your own free Companies House API key, or connect to an instance you or your organisation operates. A placeholder URL is not a working service.

Local: your own key, no hosting

  1. Install Node.js 22 or newer and an MCP client that supports local stdio servers.

  2. Register at the Companies House developer portal, create a Live application and a REST API key.

  3. Add this configuration to your client's MCP server settings, replace the key, and restart or reconnect the client:

{
  "mcpServers": {
    "companies-house": {
      "command": "npx",
      "args": ["-y", "companies-house-screening-mcp@latest"],
      "env": { "COMPANIES_HOUSE_API_KEY": "your_key" }
    }
  }
}

On Windows, some clients require npx.cmd as the command. See setup and troubleshooting for client configuration, success checks, Docker and Windows details. Keep keys out of screenshots and source control.

Hosted: an operator supplies a URL

An operator can deploy to Cloudflare Workers or a single Node host using the deployment guide. Users then connect to its actual HTTPS MCP URL. For example, in Claude Code:

claude mcp add --transport http companies-house https://YOUR-HOST/mcp

The shared key has a finite budget; a public service is not unlimited. Rate limits explains fair shares, partial batches and bring-your-own-key support. Read operating a public deployment before sharing an endpoint. This repository does not promise hosted availability or free hosting.

Read results correctly

  • Signals are observations, not a credit rating, fraud verdict or onboarding approval.

  • Registered status active does not establish current trading, solvency, invoice authenticity or bank-account ownership.

  • An empty signal list is not a clean bill of health. Check each row's sections_included, sections_unavailable and meta.

  • Snapshots fetch one officer page. officers.pagination describes that page before filtering to active entries; counts describe the whole register. Use get_officers pagination for the remaining records. Screening exposes officers_pagination when requested.

  • Outstanding and partially satisfied charges are separate observations. Registration does not reveal the current debt balance; satisfaction records can lag repayment.

  • Check meta.age_seconds and meta.stale. Profiles, charges and insolvency have a 24-hour cache TTL by default. A hosted caller cannot force a refresh through a tool argument; the operator can disable caching.

  • Company names can be ambiguous. Confirm the intended legal entity. Number validation rejects names but cannot detect every plausible company number invented by an AI.

  • This covers entities on the UK register, not every UK business. No result for a sole trader is not evidence of wrongdoing.

  • Filing history describes filings. This server does not download or analyse account PDFs, submit filings, or schedule company watches.

Tools

Tool

Purpose

find_company

Find candidates and resolve a name to a company number.

find_officer

Search officer identities; a shared name alone does not prove identity.

get_company

Registered profile and filing due dates.

get_officers

Paginated current and resigned officer records.

get_filing_history

Paginated filing metadata, filterable by category.

get_charges

Registered security, holders and satisfaction categories.

get_psc

Registered persons with significant control.

get_insolvency

Recorded insolvency cases and practitioners.

get_officer_appointments

Paginated appointments associated with an officer ID.

company_snapshot

Profile, officer page, charges and insolvency with factual signals.

screen_companies

Up to 50 names or numbers, with coverage and unresolved/skipped entries.

Generated tool reference · Executed recipes · MCP capabilities

Engineering and evidence

The client handles timeouts, retryable failures, caching and request budgets. Projections simplify upstream responses; deterministic rules derive signals. Composite tools fetch the profile first, avoiding extra requests for an invalid company, then fetch the other sections concurrently.

The tradeoff is explicit: an officer summary costs one upstream request, while full officer coverage requires pagination. The output exposes that boundary instead of implying the summary is exhaustive.

Tool references are generated from a running MCP server and recipes execute against recorded fixtures. CI checks those generated files for drift. Handwritten guidance and external service details still require review.

Node tests cover the domain, transports and failure handling; Workers tests execute inside workerd. CI runs Node checks on Linux and Windows. Release workflows verify the package and publish npm/container provenance. Architecture decisions document the choices, including partial results and runtime portability.

The tool-selection eval measures first-call choice, arguments and grounding across 58 cases. It does not establish the accuracy of a complete business report. Historical measurements and their provenance limitations are documented there; new runs record source and execution metadata.

companies-house-mcp by aicayzer is an alternative worth evaluating, particularly for broader API or document access. Check its current documentation for capabilities. This project's focus is batch screening, composite summaries, explicit coverage and tool-selection evaluation.

Configuration

Only one variable is required.

Variable

Default

Notes

COMPANIES_HOUSE_API_KEY

—

Required. Create a REST API key at the developer portal. Not a streaming key.

CH_API_BASE_URL

https://api.company-information.service.gov.uk

Override for a proxy.

CH_RATE_LIMIT

600

Requests per window. Lower it if the key is shared with another process.

CH_RATE_WINDOW_MS

300000

Five minutes.

CH_RATE_SAFETY_MARGIN

0.95

Fraction of the budget this process will use.

CH_CACHE_ENABLED

true

CH_CACHE_DIR

platform cache dir

Respects XDG_CACHE_HOME and LOCALAPPDATA.

CH_TIMEOUT_MS

10000

Per request.

CH_MAX_RETRIES

3

Retries after the first attempt.

CH_LOG_LEVEL

info

error, warn, info or debug. Logs go to stderr.

CH_ENV_FILE

—

Absolute path to a .env for the server to read. Not set by default, deliberately.

Development and verification

npm ci
npm run typecheck
npm run build
npm run docs:check
npm run test:coverage
npm run test:workers
npm run release:check

Build before tests so the compiled stdio entry-point tests run. No API key is required for the offline suites. After changing tool schemas or recipe prose in scripts/generate-recipes.ts, run npm run docs:generate and commit the generated changes.

For live validation, copy .env.example to .env, supply a Companies House REST key and run npm run test:live. Scheduled CI runs this only when its secret is configured. Model evaluations require a separately billed provider key; see eval instructions.

The published server does not automatically read a working-directory .env. Set CH_ENV_FILE to an absolute path if needed. Fixture recording and observability cover maintenance.

Licence and data reuse

Source code: MIT, including commercial use subject to its notice requirements.

Companies House data is separate from the source-code licence. The Open Government Licence v3.0 applies to eligible public-sector information, subject to its exclusions. Personal data is excluded from OGL licensing; public availability does not remove applicable data-protection duties. See the National Archives' exceptions.

When reusing OGL-covered information, include:

Contains public sector information licensed under the Open Government Licence v3.0.

The response label OGL-v3.0 does not grant blanket reuse rights over every returned field. This project is not affiliated with or endorsed by Companies House.

Available Tools

11 tools
company_snapshotCompany snapshotA
Read-onlyIdempotent

Everything worth knowing about one company in a single call: profile, serving officers, outstanding charges and insolvency cases, plus a list of signals read off the register. Use this instead of calling get_company, get_officers, get_charges and get_insolvency separately — it costs one round trip of yours rather than four, and it fills in the sections that Companies House reports as 404 when a company simply has none. The signals are facts, not a rating: this server does not score companies, and an empty signal list means nothing on the list was found rather than that the company is sound. Check sections_included before drawing a conclusion from an absent signal.

Inputs: company_number (required), verbose, include_charges, include_officers, +1 more. Returns: raw, meta, name, status, +15 more

find_companyFind a companyA
Read-onlyIdempotent

Search Companies House for a UK company by name, trading name or number. Start here whenever you have a name rather than a number, because every other tool in this server needs the number. Returns a shortlist with status, type and incorporation date so that companies with similar names can be told apart. When disambiguation_needed is true, ask the user which one they meant instead of taking the first result — dozens of live companies share a name, and picking the wrong one produces a confident answer about the wrong business.

Inputs: query (required), verbose, start_index, items_per_page. Returns: raw, meta, query, companies, +3 more

find_officerFind an officerA
Read-onlyIdempotent

Search Companies House for a company officer — a director, secretary or LLP member — by name. Returns candidate officer IDs with how many appointments each holds. Use it when you have a person and want the companies they are involved in; feed the officer_id to get_officer_appointments. Officer records are per-appointment-identity rather than per-person, so a common name returns many candidates and the appointment count and date of birth are usually what separates them.

Inputs: query (required), verbose, start_index, items_per_page. Returns: raw, meta, query, officers, +1 more

get_chargesGet chargesA
Read-onlyIdempotent

Secured debt registered against a company: who holds each charge, what it covers, when it was created and whether it has been satisfied. outstanding_count is derived here because Companies House reports what has been settled but never what has not, and outstanding charges are the number that matters when screening a supplier or a debtor. A floating charge covering all assets is worth reading closely. Needs a company number.

Inputs: company_number (required), verbose. Returns: raw, meta, charges, total_count, +4 more

get_companyGet a company profileA
Read-onlyIdempotent

The registered profile for one UK company: legal name, status, type, incorporation date, registered office, SIC codes, and the accounts and confirmation statement due dates. Also returns derived flags that Companies House does not provide — whether filings are overdue, whether the company holds charges or has insolvency history, and whether it was incorporated within the last year. Use it to verify a company is real and active before relying on it. Needs a company number; call find_company first if you only have a name.

Inputs: company_number (required), verbose. Returns: raw, meta, name, type, +14 more

get_filing_historyGet filing historyA
Read-onlyIdempotent

What a company has filed and when — accounts, confirmation statements, officer changes, mortgages, address changes. Use it to judge whether a company is filing on time, to see when accounts were last made up, or to watch a competitor's filing cadence. Descriptions come back as Companies House template keys such as accounts-with-accounts-type-small, with their values alongside; the key is readable enough to interpret and is not translated here because a partial translation would render some filings wrongly. Filter with category to cut the volume. Needs a company number.

Inputs: company_number (required), verbose, category, start_index, +1 more. Returns: raw, meta, filings, pagination, +1 more

get_insolvencyGet insolvency historyA
Read-onlyIdempotent

Insolvency cases registered against a company: the type of proceeding, its key dates, and the insolvency practitioners appointed. Call it when get_company reports has_insolvency_history, or as part of a credit or supplier risk check. A company with no insolvency history returns a not-found error rather than an empty list, which is a quirk of the API and means exactly what it sounds like. Needs a company number.

Inputs: company_number (required), verbose. Returns: raw, meta, cases, case_count, +1 more

get_officer_appointmentsGet an officer’s appointmentsA
Read-onlyIdempotent

Every company an officer is or has been appointed to. This is the conflict-of-interest and director-network tool: run it across a board to find the shared directorship nobody declared, or across one person to see whether they have a history of dissolved companies. Needs an officer_id, which comes from get_officers or find_officer and never from a name.

Inputs: officer_id (required), verbose, start_index, items_per_page. Returns: raw, meta, name, officer_id, +4 more

get_officersGet company officersA
Read-onlyIdempotent

The directors, secretaries and members of one company, current and resigned, each with an officer_id you can pass to get_officer_appointments. Use it to see who runs a company, or as the first step in a conflict-of-interest check across a board. Service addresses are withheld unless verbose is set, because they are personal data and are rarely what the question needs. Needs a company number; call find_company first if you only have a name.

Inputs: company_number (required), verbose, start_index, items_per_page. Returns: raw, meta, officers, pagination, +4 more

get_pscGet persons with significant controlA
Read-onlyIdempotent

Who OWNS a company. Use this for any question about ownership, shareholders, beneficial owners or who is ultimately behind a business — the company profile does not carry ownership and get_company will not answer it. Returns each person or entity with significant control: how much they own (shareholding band), how that control is held (voting rights, right to appoint directors), and whether the interest is current or ceased. Ownership is often not the same as the directors, so this is a different question from get_officers. Where a company cannot identify a controller it files a statement instead of a person, and that statement is returned in the name field. Needs a company number.

Inputs: company_number (required), verbose, start_index, items_per_page. Returns: raw, meta, pagination, controllers, +3 more

screen_companiesScreen a list of companiesA
Read-onlyIdempotent

Use this whenever the question is about MORE THAN ONE company — a list, a comparison, "which of these", a batch from procurement, anything with several names or numbers in it. Prefer it over calling company_snapshot repeatedly: it costs a quarter of the requests and returns a table you can read at a glance. Screens up to 50 companies and returns one row each: status, age, and which signals were found. Names that match more than one company are never guessed at; they come back under unresolved with their candidates so you can ask which was meant. Anything skipped for want of rate-limit budget comes back under not_screened with the reason, so the table is never quietly shorter than the list you passed in. Rows carry signal codes only — call company_snapshot on one company number for the detail behind them. Officers are excluded by default because they cost an extra request per company; sections_used says what the signals could see.

Inputs: companies (required), include_charges, include_officers, include_insolvency. Returns: meta, screened, requested, unresolved, +2 more

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 11 tools

    Disambiguation5/5

    Each tool targets a distinct resource/action: company search vs company profile, officer search vs officer list vs officer appointments, and individual getters vs aggregate snapshot/batch screening. The one area of potential overlap, company_snapshot with get_company/get_officers/get_charges/get_insolvency, is explicitly described as a replacement for combined calls, so agents can choose correctly.

    Naming Consistency4/5

    The naming mostly follows a clear find_/get_ pattern, where find_ is for search and get_ is for retrieval by an ID. The pattern is weakened slightly by company_snapshot and screen_companies, which are descriptive but break the verb-prefix convention.

    Tool Count5/5

    11 tools is well within the ideal range and every tool earns its place: seven single-resource lookups, two search entry points, one aggregate snapshot, and one batch screening tool. The count feels deliberately scoped for a Companies House screening domain rather than padded or thin.

    Completeness5/5

    The surface covers the full screening workflow: company identification, company status, officers, ownership/PSC, charges, insolvency, filing history, officer appointment networks, individual deep-dives, and batch comparison. There are no obvious dead ends or missing operations that would prevent an agent from answering typical due-diligence questions.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      A local MCP server that exposes the UK Companies House API as tools for Claude Desktop and Cowork, enabling company search, profile retrieval, officer lookup, and document downloads.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP 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.
      -