Companies House Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Companies House Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
A Model Context Protocol (MCP) server that provides AI assistants with access to UK Companies House data. This server enables AI tools to search for companies, retrieve detailed company profiles, officer information, and filing history through the official Companies House API.
git clone <repository-url>
cd companies-house-mcpnpm installcp .env.example .env
# Edit .env and add your Companies House API keynpm run buildCreate a .env file in the project root:
COMPANIES_HOUSE_API_KEY=your_api_key_here
COMPANIES_HOUSE_BASE_URL=https://api.company-information.service.gov.uk.env fileStart the development server with hot reload:
npm run devBuild and start the production server:
npm run build
npm startRun using Docker:
docker build -t companies-house-mcp .
docker run -e COMPANIES_HOUSE_API_KEY=your_api_key_here companies-house-mcpOr use Docker Compose:
docker-compose upFor local development or direct MCP client usage:
{
"mcpServers": {
"companies-house": {
"command": "node",
"args": ["/absolute/path/to/companies-house-mcp/dist/index.js"],
"env": {
"COMPANIES_HOUSE_API_KEY": "your_api_key_here"
}
}
}
}For cloud deployment where the HTTP server runs remotely:
npm run start:http{
"mcpServers": {
"companies-house-http": {
"command": "node",
"args": ["/absolute/path/to/companies-house-mcp/simple-http-bridge.js"],
"env": {
"COMPANIES_HOUSE_API_KEY": "your_api_key_here",
"MCP_HTTP_SERVER_URL": "http://your-server:3000"
}
}
}
}Note: For cloud deployment, see README-HTTP.md for detailed HTTP bridge configuration.
The server provides the following tools for AI assistants:
Search for UK companies by name or keyword.
Parameters:
query (string, required): Search query for company name or keyworditems_per_page (number, optional): Number of results to return (default: 20)Example:
{
"name": "search_companies",
"arguments": {
"query": "Apple",
"items_per_page": 10
}
}Get detailed company profile information.
Parameters:
company_number (string, required): Company number (e.g., "12345678")Example:
{
"name": "get_company_profile",
"arguments": {
"company_number": "12345678"
}
}Get list of company officers (directors, secretaries, etc.).
Parameters:
company_number (string, required): Company number (e.g., "12345678")Example:
{
"name": "get_company_officers",
"arguments": {
"company_number": "12345678"
}
}Get company filing history.
Parameters:
company_number (string, required): Company number (e.g., "12345678")items_per_page (number, optional): Number of filings to return (default: 25)Example:
{
"name": "get_company_filings",
"arguments": {
"company_number": "12345678",
"items_per_page": 50
}
}Core MCP Server (Stdio):
npm run dev - Start development server with hot reloadnpm run build - Compile TypeScript to JavaScriptnpm run start - Start production stdio servernpm run type-check - Run TypeScript type checkingHTTP Bridge (Cloud Deployment):
npm run start:http - Start HTTP server for cloud deploymentnpm run dev:http - Start HTTP server in development modenpm run bridge - Start HTTP bridge clientcompanies-house-mcp/
├── src/
│ ├── index.ts # Stdio MCP server entry point
│ ├── server.ts # Core MCP server implementation
│ ├── http-index.ts # HTTP server entry point
│ ├── http-server.ts # HTTP server implementation
│ ├── types.ts # TypeScript type definitions
│ └── services/
│ └── companies-house.ts # Companies House API client
├── simple-http-bridge.js # HTTP bridge client
├── dist/ # Compiled JavaScript files
├── .env # Environment variables
├── package.json # Dependencies and scripts
├── tsconfig.json # TypeScript configuration
├── Dockerfile # Docker configuration
├── docker-compose.yml # Docker Compose configuration
├── README.md # Main documentation
└── README-HTTP.md # HTTP bridge documentationThe Companies House API has rate limits. Please refer to the official documentation for current limits and best practices.
The server includes comprehensive error handling:
This project is licensed under the ISC License.
For issues related to:
This is an unofficial client for the Companies House API. Please ensure you comply with the Companies House API terms of service and data usage policies.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.