MCP directory

registry-mcp — national company registries

by github.com/foretak · v0.4.2 · updated Sep 10, 2026

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

RemotePyPInpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://api.foretak.dev/mcp

Claude Code

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

Run it locally

Install the package and point your AI client at it.

PyPI

uvx registry-mcp==0.4.2

Environment variables

  • REGISTRY_MCP_CONTACT_EMAIL

    Contact 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_PATH

    Path to the local SQLite response cache (24 h TTL). Defaults to ./data/cache.sqlite3.

  • COMPANIES_HOUSE_API_KEYsecret

    Companies 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; every other country still answers.

  • BOLAGSVERKET_CLIENT_IDsecret

    Bolagsverket 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 an upstream_error naming both variables; every other country still answers.

  • BOLAGSVERKET_CLIENT_SECRETsecret

    Bolagsverket OAuth 2 client secret, the other half of BOLAGSVERKET_CLIENT_ID. Both are needed before Sweden (SE) can answer.

  • BOLAGSVERKET_ENVIRONMENT

    Which 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.

Environment variables

  • REGISTRY_MCP_CONTACT_EMAIL

    Contact 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_KEYsecret

    Companies 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; every other country still answers.

  • BOLAGSVERKET_CLIENT_IDsecret

    Bolagsverket 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 an upstream_error naming both variables; every other country still answers.

  • BOLAGSVERKET_CLIENT_SECRETsecret

    Bolagsverket OAuth 2 client secret, the other half of BOLAGSVERKET_CLIENT_ID. Both are needed before Sweden (SE) can answer.

  • BOLAGSVERKET_ENVIRONMENT

    Which 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 MCP servers