# eRechio – German e-invoice validator (XRechnung, ZUGFeRD)

> eRechio – German e-invoice validator (XRechnung, ZUGFeRD) is a freemium MCP server for finance and payments. Remote MCP server that validates German XRechnung and ZUGFeRD e-invoices for AI agents. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, Web
- **Website:** https://erechio.de/en/api/mcp.html
- **MCP Registry name:** de.erechio/erechio
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [accounting and tax](https://ai-powered.com/categories/accounting-and-tax), [compliance and regulation](https://ai-powered.com/categories/compliance-and-regulation)
- **Listing updated:** 2026-11-23

## About

The server lets an AI assistant submit the XML of an XRechnung (UBL or CII) or a ZUGFeRD/Factur-X invoice and receive the same result as the eRechio REST API: a schema check, a rule check against the KoSIT rules, and an explanation attached to every message. It runs as a remote Streamable HTTP endpoint at api.erechio.de/mcp, is stateless, and answers with JSON.

Three tools are exposed. validate_invoice needs an API key and takes the invoice XML (up to 2 MB) plus an optional idempotency key. explain_rule gives a German explanation of a rule code such as BR-DE-15, including what it requires and how to fix it. get_status returns the API status. The last two work without a key and are not counted against quota.

Field names and explanations in the results are in German, while tool names and descriptions are in English. Invoices are validated in memory and discarded, though your AI client or its provider will still see the invoice. The server checks format and rules only, not tax or content correctness, and does not create invoices or accept PDFs.

## Features

- **XRechnung and ZUGFeRD checks:** Validates XRechnung in UBL or CII syntax and the embedded XML of ZUGFeRD/Factur-X invoices.
- **KoSIT rule validation:** Runs a schema check and a rule check, returning every message with an explanation.
- **Rule explanations:** explain_rule describes what a rule code requires and how to fix it, with UBL and CII paths.
- **Keyless discovery tools:** initialize, tools/list, explain_rule and get_status work without an API key.
- **Shared REST quota:** MCP and REST calls share one quota, with up to 60 validations per minute and 2 MB per invoice.
- **Idempotency support:** An optional idempotency key can be passed to validate_invoice, following the same rules as the REST API.

## Good for

- Let an AI agent check an XRechnung before sending it to a customer
- Debug failing e-invoices by asking an assistant to explain rule codes
- Validate the XML extracted from a ZUGFeRD invoice in an automated workflow
- Add e-invoice validation to Claude Code or Cursor sessions

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http erechio https://api.erechio.de/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "erechio": {
      "type": "http",
      "url": "https://api.erechio.de/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://api.erechio.de/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "erechio": {
      "url": "https://api.erechio.de/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "erechio": {
      "type": "http",
      "url": "https://api.erechio.de/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://api.erechio.de/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add erechio --url https://api.erechio.de/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.erechio]
url = "https://api.erechio.de/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "erechio": {
      "httpUrl": "https://api.erechio.de/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http erechio https://api.erechio.de/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "erechio": {
      "serverUrl": "https://api.erechio.de/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "erechio": {
      "url": "https://api.erechio.de/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "erechio": {
      "type": "streamableHttp",
      "url": "https://api.erechio.de/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "erechio": {
      "url": "https://api.erechio.de/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "erechio": {
      "url": "https://api.erechio.de/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "erechio": {
      "url": "https://api.erechio.de/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "erechio": {
      "url": "https://api.erechio.de/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://api.erechio.de/mcp
```

Enter a Name (for example "eRechio – German e-invoice validator (XRechnung, ZUGFeRD)"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "erechio": {
      "type": "http",
      "url": "https://api.erechio.de/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 3 tools only read data. From the server's own tool labels and tool names; not verified by us.

- `validate_invoice` (name suggests: reads): Validates an XRechnung or ZUGFeRD/Factur-X invoice XML (max 2 MB) and returns schema and KoSIT rule results with explanations.
- `explain_rule` (name suggests: reads): Gives a German explanation of a rule code, including what it requires and how to fix it.
- `get_status` (name suggests: reads): Returns the API status.

## FAQ

### How do I authenticate?

Send your API key (pk_…) as an Authorization: Bearer header or as X-API-Key. There is no OAuth.

### Which tools need a key?

Only validate_invoice requires a key. explain_rule and get_status work without one.

### What are the limits?

Each successful validation counts one document against the monthly quota, with a maximum of 60 validations per minute and 2 MB per invoice.

### Can I upload a PDF?

No. Send the XML; for ZUGFeRD, send the embedded XML.

### Is the invoice stored?

No. It is validated in memory and discarded; only time, key identifier, syntax, result, error count and duration are logged.

### Is eRechio – German e-invoice validator (XRechnung, ZUGFeRD) free?

eRechio – German e-invoice validator (XRechnung, ZUGFeRD) has a free plan, with paid plans for more usage or features.

### How do I add eRechio – German e-invoice validator (XRechnung, ZUGFeRD) to Claude Code?

Run this command in your terminal: claude mcp add --transport http erechio https://api.erechio.de/mcp

### What are the best alternatives to eRechio – German e-invoice validator (XRechnung, ZUGFeRD)?

The closest alternatives to eRechio – German e-invoice validator (XRechnung, ZUGFeRD) are Kontor MCP, MCP Server Erechnung, XRechnung Validator, MCP Einvoicing De and Invoiceer e-invoicing tools.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Kontor MCP](https://ai-powered.com/mcp/kontor-mcp): Kontor MCP is an open-source MCP server for finance and payments.
- [MCP Server Erechnung](https://ai-powered.com/mcp/mcp-server-erechnung): MCP Server Erechnung is a freemium MCP server for finance and payments.
- [XRechnung Validator](https://ai-powered.com/mcp/xrechnung-validator): XRechnung Validator is a freemium MCP server for finance and payments.
- [MCP Einvoicing De](https://ai-powered.com/mcp/mcp-einvoicing-de): MCP Einvoicing De is an open-source MCP server for accounting and tax.
- [Invoiceer e-invoicing tools](https://ai-powered.com/mcp/invoiceer-e-invoicing-tools): Invoiceer e-invoicing tools is a free MCP server for finance and payments.
- [invowerk](https://ai-powered.com/mcp/invowerk): invowerk is a freemium MCP server for finance and payments.
- [Einvoice](https://ai-powered.com/mcp/einvoice): Einvoice is an open-source MCP server for accounting and tax.
- [Electronic Invoice API](https://ai-powered.com/mcp/electronic-invoice-api): Electronic Invoice API is a freemium MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/erechio-german-e-invoice-validator-xrechnung-zugferd
