MCP Server Studio

registry-mcp — national company registries MCP server

The company registry MCP: brreg orgnr, Companies House, Bolagsverket organisationsnummer.

Registry name: io.github.foretak/registry-mcp

Publisher
foretak
Runs
Local or hosted
Package
PyPI, npm
Version
0.4.2
Category
Other
Updated
2026-09-10

Source code on GitHub

Set up registry-mcp — national company registries (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "registry-mcp": {
      "command": "uvx",
      "args": [
        "registry-mcp==0.4.2"
      ],
      "env": {
        "REGISTRY_MCP_CONTACT_EMAIL": "<REGISTRY_MCP_CONTACT_EMAIL>",
        "REGISTRY_MCP_CACHE_PATH": "<REGISTRY_MCP_CACHE_PATH>",
        "COMPANIES_HOUSE_API_KEY": "<COMPANIES_HOUSE_API_KEY>",
        "BOLAGSVERKET_CLIENT_ID": "<BOLAGSVERKET_CLIENT_ID>",
        "BOLAGSVERKET_CLIENT_SECRET": "<BOLAGSVERKET_CLIENT_SECRET>",
        "BOLAGSVERKET_ENVIRONMENT": "<BOLAGSVERKET_ENVIRONMENT>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add registry-mcp -e REGISTRY_MCP_CONTACT_EMAIL='<REGISTRY_MCP_CONTACT_EMAIL>' -e REGISTRY_MCP_CACHE_PATH='<REGISTRY_MCP_CACHE_PATH>' -e COMPANIES_HOUSE_API_KEY='<COMPANIES_HOUSE_API_KEY>' -e BOLAGSVERKET_CLIENT_ID='<BOLAGSVERKET_CLIENT_ID>' -e BOLAGSVERKET_CLIENT_SECRET='<BOLAGSVERKET_CLIENT_SECRET>' -e BOLAGSVERKET_ENVIRONMENT='<BOLAGSVERKET_ENVIRONMENT>' -- uvx registry-mcp==0.4.2

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "registry-mcp": {
      "command": "uvx",
      "args": [
        "registry-mcp==0.4.2"
      ],
      "env": {
        "REGISTRY_MCP_CONTACT_EMAIL": "<REGISTRY_MCP_CONTACT_EMAIL>",
        "REGISTRY_MCP_CACHE_PATH": "<REGISTRY_MCP_CACHE_PATH>",
        "COMPANIES_HOUSE_API_KEY": "<COMPANIES_HOUSE_API_KEY>",
        "BOLAGSVERKET_CLIENT_ID": "<BOLAGSVERKET_CLIENT_ID>",
        "BOLAGSVERKET_CLIENT_SECRET": "<BOLAGSVERKET_CLIENT_SECRET>",
        "BOLAGSVERKET_ENVIRONMENT": "<BOLAGSVERKET_ENVIRONMENT>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "registry-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "registry-mcp==0.4.2"
      ],
      "env": {
        "REGISTRY_MCP_CONTACT_EMAIL": "<REGISTRY_MCP_CONTACT_EMAIL>",
        "REGISTRY_MCP_CACHE_PATH": "<REGISTRY_MCP_CACHE_PATH>",
        "COMPANIES_HOUSE_API_KEY": "<COMPANIES_HOUSE_API_KEY>",
        "BOLAGSVERKET_CLIENT_ID": "<BOLAGSVERKET_CLIENT_ID>",
        "BOLAGSVERKET_CLIENT_SECRET": "<BOLAGSVERKET_CLIENT_SECRET>",
        "BOLAGSVERKET_ENVIRONMENT": "<BOLAGSVERKET_ENVIRONMENT>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "registry-mcp": {
      "command": "uvx",
      "args": [
        "registry-mcp==0.4.2"
      ],
      "env": {
        "REGISTRY_MCP_CONTACT_EMAIL": "<REGISTRY_MCP_CONTACT_EMAIL>",
        "REGISTRY_MCP_CACHE_PATH": "<REGISTRY_MCP_CACHE_PATH>",
        "COMPANIES_HOUSE_API_KEY": "<COMPANIES_HOUSE_API_KEY>",
        "BOLAGSVERKET_CLIENT_ID": "<BOLAGSVERKET_CLIENT_ID>",
        "BOLAGSVERKET_CLIENT_SECRET": "<BOLAGSVERKET_CLIENT_SECRET>",
        "BOLAGSVERKET_ENVIRONMENT": "<BOLAGSVERKET_ENVIRONMENT>"
      }
    }
  }
}

Set up registry-mcp — national company registries (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "registry-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.foretak.dev/mcp"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http registry-mcp https://api.foretak.dev/mcp

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "registry-mcp": {
      "url": "https://api.foretak.dev/mcp"
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "registry-mcp": {
      "type": "http",
      "url": "https://api.foretak.dev/mcp"
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "registry-mcp": {
      "serverUrl": "https://api.foretak.dev/mcp"
    }
  }
}

Settings

NameRequiredWhat it is
REGISTRY_MCP_CONTACT_EMAILNoContact address sent in the User-Agent to the national registry, as Brønnøysundregistrene asks of API clients. Unset means an anonymous client, which may be blocked upstream.
REGISTRY_MCP_CACHE_PATHNoPath to the local SQLite response cache (24 h TTL). Defaults to ./data/cache.sqlite3.
COMPANIES_HOUSE_API_KEYNoCompanies House REST API key, required for the United Kingdom (GB). Free from developer.company-information.service.gov.uk. Unset means GB lookups return an upstream_error naming this variable…
BOLAGSVERKET_CLIENT_IDNoBolagsverket OAuth 2 client id, required for Sweden (SE) together with BOLAGSVERKET_CLIENT_SECRET. Free, no contract: request both from Bolagsverket's kundanmälan form. Unset means SE lookups return…
BOLAGSVERKET_CLIENT_SECRETNoBolagsverket OAuth 2 client secret, the other half of BOLAGSVERKET_CLIENT_ID. Both are needed before Sweden (SE) can answer.
BOLAGSVERKET_ENVIRONMENTNoWhich Bolagsverket environment the Swedish credentials belong to: 'production' (default) or 'test'. It selects the data host and the token host as a pair, so the two can never be mixed.
REGISTRY_MCP_CONTACT_EMAILNoContact address sent in the User-Agent to the national registry, as Brønnøysundregistrene asks of API clients. Unset means an anonymous client, which may be blocked upstream.
COMPANIES_HOUSE_API_KEYNoCompanies House REST API key, required for the United Kingdom (GB). Free from developer.company-information.service.gov.uk. Unset means GB lookups return an upstream_error naming this variable…
BOLAGSVERKET_CLIENT_IDNoBolagsverket OAuth 2 client id, required for Sweden (SE) together with BOLAGSVERKET_CLIENT_SECRET. Free, no contract: request both from Bolagsverket's kundanmälan form. Unset means SE lookups return…
BOLAGSVERKET_CLIENT_SECRETNoBolagsverket OAuth 2 client secret, the other half of BOLAGSVERKET_CLIENT_ID. Both are needed before Sweden (SE) can answer.
BOLAGSVERKET_ENVIRONMENTNoWhich Bolagsverket environment the Swedish credentials belong to: 'production' (default) or 'test'. It selects the data host and the token host as a pair, so the two can never be mixed.

More other MCP servers