# Factwire MCP: the German company register for AI agents

Factwire's MCP server gives an agent the German company register (Handelsregister): companies, the people who run them, and the links between them. It has read-only tools for the register, its financial statements, BaFin and the web, and one tool that reports problems with them to the Factwire team, behind one URL:

```
https://api.factwire.dev/mcp
```

- Transport: Streamable HTTP. Stateless, with JSON responses.
- Auth: a Factwire account, which is free. Every tool call needs one: there is no trial without an account. `initialize` and `tools/list` need none.
- A Factwire account starts with 100 free credits, 1 per call. Sign-up is email and a 6-digit code at https://api.factwire.dev/account.
- MCP clients sign the user in with OAuth: claude.ai, Claude Desktop and Claude Code show a sign-in card on the first tool call, ChatGPT and other clients get an answer that says where to sign in, and `https://api.factwire.dev/mcp?login` signs in when connecting. Other clients send an API key, which the team issues on request (hello@factwire.dev): [With a key](#with-a-key). Details: [auth.md](https://factwire.dev/auth.md).
- Coverage today: companies at every German register court. `german_register_dataset_info` states the current coverage and freshness.

## When to use these tools

Use them for questions about German companies and the people who run them, even if the user does not mention the Handelsregister:

- "Who are the managing directors of X GmbH?", "Wer ist Geschäftsführer der X?"
- "What is the HRB number, address or founding date of X?"
- "Is there a company called …?", "Is this company name taken?"
- "Which companies sit at this address?"
- "What else does this person run?"
- "What were the revenue and equity of X GmbH last year?", "Bilanzsumme der X?"
- "Which companies name supply-chain risks in their management report?", "Wer nennt bestandsgefährdende Risiken?"
- "How is company A connected to person B?"
- "How many fintechs were founded in 2025?", "New GmbH vs UG per month", "How many companies were registered in the last 24 hours?"
- "Any recent news about X GmbH?", "What does this company sell, and who funded it?" (web search)

Not in the register data: GmbH shareholders (with an account, `german_register_fetch_documents` fetches a company's shareholder list from the register's document folder), news, contact details, and companies outside Germany. Insolvency is there as the register entries of a company's print state it, not from the insolvency portal. For news and what the web says about a company, use `company_web_search`. Financial statements: the annual and group statements published at the Unternehmensregister since 24 November 2025, of all register courts. Figures for most statements, and a statement without figures can usually be read in full; `german_register_dataset_info` counts them.

## Tools

| Tool | Use it for |
|---|---|
| `german_register_search_companies` | Find companies by name (fuzzy), by what they do, or by address. Returns the `register_key` that the other tools accept |
| `german_register_get_company` | The full record of one company: officers, address, purpose, share capital, founding date, status, insolvency as the register entries state it, roles in other companies, group parents, LEI and GLEIF accounting parents |
| `german_register_get_financials` | The annual and group financial statements of one company: figures and the rows of the balance sheet and income statement. Account or API key only (1 credit per call) |
| `german_register_search_statements` | Full-text search in the text of the financial statements: which companies write about a topic, a risk or their outlook. Snippets with the offset to read the passage. Account or API key only (1 credit per call) |
| `german_register_fetch_documents` | Fetches one company's documents from the official register portal: the register prints and the document folder with every filing (shareholder lists, articles of association), and on request its financial statements. Takes from half a minute to several minutes. Account or API key only (1 credit per call) |
| `german_register_document_status` | The status of a fetch that `german_register_fetch_documents` started, and the files fetched so far, with their paths. Starts no fetch. Account or API key only |
| `german_register_read_document` | The text of one fetched document or of a financial statement, in parts. A scan has no readable text. Account or API key only |
| `german_register_get_document_file` | A download link to the original file of one document, for the user: it works for 15 minutes. Account or API key only |
| `german_register_find_people` | A person's current roles and the companies they run |
| `german_register_connections` | The shortest path between two companies or people, through roles and shared addresses |
| `german_register_count_companies` | Counts, rankings and trends, grouped by day, month, year, legal form, district, postcode, address, tag, status or insolvency state |
| `german_register_dataset_info` | What the data covers and does not cover, and how fresh it is |
| `company_web_search` | Web pages about a company, for what the register does not hold: news, website, products, funding, acquisitions. From a search index, with the URL of each page. Account or API key only (1 credit per search) |
| `german_register_search_bafin` | Find institutions and financial authorisations by name or exact source ID in a dated BaFin snapshot. |
| `uk_register_search_companies` | Find UK companies (Companies House) by name (fuzzy), postcode or town, industry (SIC), incorporation date, or whether they have a person with significant control. Returns the company number. |
| `uk_register_get_company` | One UK company: status, type, registered office, SIC codes, accounts dates, previous names, its persons with significant control, and the companies it controls. |
| `uk_register_count_companies` | How many UK companies match the search filters, grouped by up to two of incorporation year, month or day, status, type, SIC section or code, postcode area or district, town. |
| `uk_register_get_company_accounts` | A UK company's filed accounts by year (iXBRL filings): balance sheet, profit and loss where disclosed, average employees. |
| `uk_register_search_people` | UK officers and persons with significant control by name (exact surname, forename prefix), grouped by Companies House's ids. |
| `uk_register_get_person` | One UK person's appointments and significant-control entries across companies; matches at other companies marked as not proven. |
| `uk_register_connections` | The shortest link (at most 8 steps) between two UK companies or people, through officers, PSCs and corporate PSCs. |
| `uk_register_find_industry_codes` | SIC 2007 codes for an industry, to filter the UK search. |
| `uk_register_dataset_info` | What the UK data covers and how current it is. UK officers and accounts figures are not in it yet. |
| `uk_register_list_filings` | What a UK company has filed, live from Companies House, newest first: accounts, confirmation statements, officer changes, charges. Account or API key only (1 credit per call) |
| `uk_register_read_filing` | The PDF of one UK filing, fetched live from Companies House and not stored, with Companies House's own link to it. Account or API key only |
| `submit_feedback` | Reports a problem with a Factwire tool to the Factwire team: an error, a confusing or wrong result, a missing capability. Generic words, no user data |

The register tools take their own arguments and nothing about the conversation: no tool asks why it is called.

### Feedback

`submit_feedback` is the one tool that writes. It takes `feedback` (at most 2000 characters: the expected behavior, the actual behavior and any workaround) and, optionally, `category` (`tool_error`, `wrong_result`, `confusing_output`, `missing_capability`, `documentation`, `other`), `severity` (`low`, `medium`, `high`), `tool_name` (the tool concerned), `register_key` (the company concerned) and `use_case` (what the user was using Factwire for: `due_diligence`, `sales_prospecting`, `kyc_compliance`, `research` or `other`; Factwire reads it to improve the tools, and the agent leaves it out when it is not clear), and no other field. No lookup tool asks for a use case.

- The agent reports on its own, once per distinct problem, before its final answer: when a tool fails, ignores an argument, gives confusing, incomplete or wrong results, or cannot do what the user asked; also when the user corrects an answer because a result was wrong, or asks to send feedback.
- The report is generic, with placeholders such as `<company>` and `<person>`. Never the user's question or task, the conversation, names of people, addresses, register data or secrets.
- Factwire refuses a report that holds what looks like an e-mail address, a register number, a date, a long number or a key, and says which kind. It cannot detect names: that rests on the agent.
- The answer is `status: queued`: Factwire accepted the report for delivery to its team. There are no replies. If it fails, the agent does not retry.
- It changes nothing in the register and costs no credits. Like every tool call, it needs an account.

Full descriptions and arguments: [llms-full.txt](https://factwire.dev/llms-full.txt). How to read the results: [SKILL.md](https://factwire.dev/SKILL.md), and for the UK tools [uk/SKILL.md](https://factwire.dev/uk/SKILL.md).

## Setup prompt to paste into an agent

```text
Set up the Factwire MCP server so that you, the agent I'm talking to now, can look up German companies in the Handelsregister.

About Factwire
- Server: https://api.factwire.dev/mcp (Streamable HTTP). It needs no API key, but tool calls need a free Factwire account: I sign in with my email and a 6-digit code. In claude.ai and Claude Desktop, use https://api.factwire.dev/mcp?login instead: it signs me in when it connects.
- Setup per client: https://factwire.dev/mcp.md

Steps
1. Check with your app's MCP list command whether a server named factwire exists already. If it does and it connects, go to step 3.
2. Install the server at user (global) scope, named factwire, with your app's own MCP command and the URL alone. Use the setup for your app from https://factwire.dev/mcp.md. Do not ask me for a key.
3. Check that the server connects. Then call german_register_dataset_info and tell me in one line what the data covers and how fresh it is. If the call asks for sign-in, show me the sign-in card or the link, and call again when I have signed in.
```

## Setup by client

No client needs a key. Tool calls need a Factwire account, so the first one asks you to sign in: Claude shows a sign-in card; another client prints where to sign in, and you then connect again with `https://api.factwire.dev/mcp?login`.

### Claude Code

```bash
claude mcp add --scope user --transport http factwire https://api.factwire.dev/mcp
```

### Codex

```bash
codex mcp add factwire --url https://api.factwire.dev/mcp
```

### Cursor

`~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "factwire": { "url": "https://api.factwire.dev/mcp" }
  }
}
```

### VS Code

`.vscode/mcp.json`:

```json
{
  "servers": {
    "factwire": { "type": "http", "url": "https://api.factwire.dev/mcp" }
  }
}
```

### Windsurf

`~/.codeium/windsurf/mcp_config.json`:

```json
{
  "mcpServers": {
    "factwire": { "serverUrl": "https://api.factwire.dev/mcp" }
  }
}
```

### Gemini CLI

`~/.gemini/settings.json`:

```json
{
  "mcpServers": {
    "factwire": { "httpUrl": "https://api.factwire.dev/mcp" }
  }
}
```

### claude.ai and Claude Desktop

Settings → Connectors → Add custom connector. Enter the URL `https://api.factwire.dev/mcp?login` and leave the OAuth fields empty: Claude signs you in to your Factwire account when it connects (your email and a 6-digit code; a new account starts with 100 free credits). Or use the "Add to Claude" button on your account page, https://api.factwire.dev/account. A connector added with the plain URL asks for sign-in on its first tool call.

### ChatGPT

Settings → Apps & Connectors → Create (needs developer mode). Enter the MCP server URL `https://api.factwire.dev/mcp?login` and choose OAuth: ChatGPT signs you in to your Factwire account when it connects.

### Grok Bot

Use the "Add to Grok Bot" button on your account page, https://api.factwire.dev/account: Grok Bot opens with a message that adds Factwire, and shows a Connect card to sign in. Or add it yourself in the desktop app, Connect apps → Add a custom connector, and sign in when Grok Bot asks:

```text
Name:          Factwire
Type:          Remote HTTPS
Server URL:    https://api.factwire.dev/mcp?login
```

You can also ask your Bot: "Add the MCP server https://api.factwire.dev/mcp?login as a custom connector called Factwire."

Grok on grok.com: https://grok.com/connectors → New Connector → Custom, with the same URL.

### Any other MCP client

Use the remote URL `https://api.factwire.dev/mcp` with transport `streamable-http`. Machine-readable versions: the [Server Card](https://api.factwire.dev/mcp/server-card) and [/.well-known/mcp.json](https://factwire.dev/.well-known/mcp.json).

### From your own code

```bash
curl https://api.factwire.dev/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Authorization: Bearer $FACTWIRE_API_KEY" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"german_register_search_companies","arguments":{"filters":{"name":"Zalando"},"limit":3}}}'
```

The server is stateless, so `tools/call` works without an `initialize` first. MCP SDKs do the handshake for you. The key is a key of your account: see [With a key](#with-a-key).

## With a key

A key of an account works in every client, without sign-in; each call uses 1 of the account's credits. Add one header to the setup of your client: `Authorization: Bearer factwire_v1_…`. Keep the key in an environment variable, not in a project file:

```bash
export FACTWIRE_API_KEY=factwire_v1_…
claude mcp add --scope user --transport http factwire https://api.factwire.dev/mcp \
  --header "Authorization: Bearer $FACTWIRE_API_KEY"
codex mcp add factwire --url https://api.factwire.dev/mcp --bearer-token-env-var FACTWIRE_API_KEY
```

In a JSON config, add `"headers": { "Authorization": "Bearer ${env:FACTWIRE_API_KEY}" }` next to the URL. Create a key at https://api.factwire.dev/account/keys (sign in first); revoke it there if it leaks. claude.ai and ChatGPT connectors cannot send a header: they sign in instead (OAuth). Grok Bot can, but signing in is simpler.
