Skip to content

Installation

Prerequisites

Install via npm

npm install -g companies-house-mcp

Install from source

git clone https://github.com/aicayzer/companies-house-mcp.git
cd companies-house-mcp
npm install
npm run build
npm link

Configuration

Environment Variables

Create a .env file or set environment variables:

COMPANIES_HOUSE_API_KEY=your_api_key_here
DEBUG=false

MCP Client Setup

Add to your MCP client configuration:

{
  "mcpServers": {
    "companies-house": {
      "command": "companies-house-mcp",
      "args": ["--api-key", "your_api_key_here"]
    }
  }
}

Verification

Test the installation:

companies-house-mcp --help

The server should start and register 7 tools for Companies House data access.