Skip to main content

A Model Context Protocol server for accessing the OpenRegister API

Project description

OpenRegister MCP Server

A unofficial Model Context Protocol (MCP) server for accessing the OpenRegister API, providing tools to search and retrieve company information from the German company register.

Features

  • Search for companies based on various criteria (name, register number, type, etc.)
  • Get detailed company information including history, financials, and documents
  • Retrieve company shareholders information

Requirements

  • Python 3.9+
  • uv
  • OpenRegister API key (which you can get from https://openregister.de after you have created an account)
  • Claude Desktop (or another MCP client that understands MCP)

Installation

  1. Clone the repository:

    git clone https://github.com/Syndicats/openregister-mcp.git
    cd openregister-mcp
    
  2. Create a virtual environment and install dependencies:

    uv venv
    source .venv/bin/activate
    uv pip install "mcp[cli]" httpx dotenv
    
  3. Create a .env file based on the example:

    cp env.example .env
    
  4. Add your OpenRegister API key to the .env file:

    OPENREGISTER_API_KEY=your_api_key_here
    OPENREGISTER_API_URL=https://api.openregister.de/v0
    

Usage as MCP Server

Run the server within Claude Desktop, e.g. by editing the claude_desktop_config.json from Claude Desktop

{
    "mcpServers": {
        "openregister": {
            "command": "uv",
            "args": [
                "--directory",
                "<Absolute Path to openregister-mcp>/openregister-mcp",
                "run",
                "server.py"
            ]
        }
    }
}

Restart Claude Desktop so that the changes take effect.

Caution

Sometimes it is necessary to use the absolute path for uv. Then the JSON needs to be changed accordingly.

Available Tools

The server provides the following MCP tools:

  1. search_companies - Search for companies based on various criteria

    • Parameters:
      • query: Text search query to find companies by name
      • register_number: Company register number for exact matching
      • register_type: Type of register to filter results (e.g., "HRB", "HRA", "PR", "GnR", "VR")
      • register_court: Court where the company is registered
      • active: Filter for active or inactive companies (default: true)
      • legal_form: Legal form of the company (e.g., "gmbh", "ag", "ug")
  2. get_company_info - Get detailed information about a company using its unique ID

    • Parameters:
      • company_id: Unique company identifier (e.g., "DE-HRB-F1103-267645")
      • history: Include historical company data (default: true)
      • financials: Include financial data (default: true)
      • documents: Include document metadata (default: true)
  3. get_company_shareholders - Retrieve the shareholders of a company

    • Parameters:
      • company_id: Unique company identifier (e.g., "DE-HRB-F1103-267645")
    • Note: Currently only supports companies with the legal form GmbH

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_syndicats_openregister_mcp-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_syndicats_openregister_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: iflow_mcp_syndicats_openregister_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_syndicats_openregister_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1ef7dfde7ce26f3e4201f76440eec60d307b6d1046106a11855a10385e05ec15
MD5 0245b851d98c413bf78237552f0e6ee7
BLAKE2b-256 7d7b13c5bee74781e0e4b0a487088dc1ce5e9c0b749f30a931a70542828a0c22

See more details on using hashes here.

File details

Details for the file iflow_mcp_syndicats_openregister_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_syndicats_openregister_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_syndicats_openregister_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6d0092f9c7fb4f3c0e4844280d50439715cbfa3ff2b36e8a4410970282ca2f9
MD5 3be5c308feeddbb5c6226fd6dabe2fd5
BLAKE2b-256 64e4675a9ec28d7720d4b7f1e8e4c2b98c879dbc0b78ce91f4b372dc6cb1f0b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page