companies-house-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@companies-house-mcpGet company profile for 01234567"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
companies-house-mcp
A STDIO-based MCP server that exposes the UK Companies House public data API as tools for MCP clients (Claude Desktop, Claude Code, etc.).
Setup
Get an API key. Register at https://developer.company-information.service.gov.uk/, create an application, and generate a key of type REST.
Install dependencies (using uv, already configured for this project):
uv sync(Or with plain
pipin a virtualenv:pip install -e .)Set the API key in your environment:
export COMPANIES_HOUSE_API_KEY=your-key-hereSee
.env.examplefor reference — this project does not auto-load.envfiles; set the variable in your shell or in your MCP client's server config.
Related MCP server: Companies House MCP Server
Running
Directly over stdio:
uv run companies-house-mcpWith the MCP Inspector for interactive testing:
uv run mcp dev src/companies_house_mcp/server.pyRegistering with Claude Code / Claude Desktop
Claude Code:
claude mcp add companies-house \
-e COMPANIES_HOUSE_API_KEY=your-key-here \
-- uv --directory /Users/michaelhughes/companies-house-mcp run companies-house-mcpClaude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"companies-house": {
"command": "uv",
"args": [
"--directory",
"/Users/michaelhughes/companies-house-mcp",
"run",
"companies-house-mcp"
],
"env": {
"COMPANIES_HOUSE_API_KEY": "your-companies-house-rest-api-key"
}
}
}
}Tools
Tool | Description |
| Search for companies by name or company number |
| Search for officers (directors, secretaries, etc.) by name |
| Full profile of a company (status, SIC codes, incorporation date, etc.) |
| A company's registered office address |
| Officers of a company, current and past |
| A company's filing history |
| Detail of a single filing history item |
| Persons with significant control (PSCs) over a company |
| Charges (mortgages) registered against a company |
| Detail of a single charge |
| Insolvency practice information, if any |
| UK establishments linked to a company (overseas companies) |
Company numbers may be passed with or without leading zeros (e.g. 123456 is
normalized to 00123456); alphanumeric-prefixed numbers (e.g. SC123456) are
left as-is (upper-cased). Company numbers, charge IDs, and filing transaction
IDs are all validated to contain only letters and digits before being used in
a request — anything else (e.g. stray /, .., ?) is rejected with a clear
error rather than silently altering the request.
get_insolvency, list_charges, list_persons_with_significant_control, and
list_uk_establishments return a clear empty result (e.g.
{"cases": [], "message": "No insolvency data for this company"}) rather than
an error when a company simply has none of that data — Companies House 404s
these endpoints both for "no data" and for a nonexistent company, so this
distinction is made by double-checking the company profile before treating a
404 as "empty."
Companies House rate-limits API keys to 600 requests per 5 minutes; a 429
response is surfaced as a clear tool error including the Retry-After value.
Testing
uv run pytestMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikeyhu/companies-house-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server