# ZUGFeRD & XRechnung Validator

> ZUGFeRD & XRechnung Validator is a freemium MCP server for accounting and tax. Checks ZUGFeRD, Factur-X and XRechnung e-invoices against EN 16931 rules. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** Web, API
- **Website:** https://zugferdpruefer.de
- **MCP Registry name:** de.zugferdpruefer/zugferd-validator
- **Categories:** [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-27

## About

German public bodies and B2B suppliers must issue and accept electronic invoices in structured formats, and a file that is well-formed XML can still fail the business rules. This validator tests ZUGFeRD PDF/A-3 files and XRechnung XML documents against the EN 16931 core rules and the German BR-DE rules, returning errors tied to specific invoice fields.

Beyond schema and profile checks, it covers the details that commonly cause rejections: buyer references and Leitweg-IDs, IBAN check digits, VAT numbers and tax registration on the seller side, and arithmetic between line totals, tax base and gross amount. Results are reported per field and rule code so a developer or bookkeeper can see exactly what to fix.

It is exposed as a remote MCP server over streamable HTTP, so AI assistants and developer tools can run invoice validation as a tool call inside a workflow. It suits ERP teams, accounting software builders and tax advisers who need repeatable checks rather than one-off manual review.

## Features

- **EN 16931 rule validation:** Checks invoice XML against the European core invoice standard and its business rules.
- **BR-DE and XRechnung checks:** Applies German national rules and XRechnung requirements for public-sector invoices.
- **Leitweg-ID verification:** Validates the buyer routing identifier using the ISO/IEC 7064 Mod 97-10 check.
- **IBAN and amount reconciliation:** Verifies IBAN check digits and confirms line totals, tax and gross amounts agree.
- **Format extraction:** Reads embedded XML from PDF/A-3 files as well as standalone CII and UBL documents.
- **Field-level error reporting:** Returns findings mapped to invoice business terms and rule codes.

## Good for

- Check outgoing invoices for EN 16931 and XRechnung compliance before sending them to a public buyer
- Add invoice validation to an ERP or accounting pipeline as an automated step
- Let an AI assistant verify a Leitweg-ID or invoice file during a bookkeeping session
- Find rounding and tax-total mismatches in batches of supplier invoices

## Install

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

```sh
claude mcp add --transport http zugferd-validator https://zugferdpruefer.de/api/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": {
    "zugferd-validator": {
      "type": "http",
      "url": "https://zugferdpruefer.de/api/mcp"
    }
  }
}
```

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

```text
https://zugferdpruefer.de/api/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": {
    "zugferd-validator": {
      "url": "https://zugferdpruefer.de/api/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "zugferd-validator": {
      "type": "http",
      "url": "https://zugferdpruefer.de/api/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://zugferdpruefer.de/api/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 zugferd-validator --url https://zugferdpruefer.de/api/mcp
```

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

```toml
[mcp_servers.zugferd-validator]
url = "https://zugferdpruefer.de/api/mcp"
```

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

```json
{
  "mcpServers": {
    "zugferd-validator": {
      "httpUrl": "https://zugferdpruefer.de/api/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "zugferd-validator": {
      "serverUrl": "https://zugferdpruefer.de/api/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "zugferd-validator": {
      "url": "https://zugferdpruefer.de/api/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": {
    "zugferd-validator": {
      "type": "streamableHttp",
      "url": "https://zugferdpruefer.de/api/mcp"
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "zugferd-validator": {
      "url": "https://zugferdpruefer.de/api/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": {
    "zugferd-validator": {
      "url": "https://zugferdpruefer.de/api/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "zugferd-validator": {
      "url": "https://zugferdpruefer.de/api/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "zugferd-validator": {
      "url": "https://zugferdpruefer.de/api/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://zugferdpruefer.de/api/mcp
```

Enter a Name (for example "ZUGFeRD & XRechnung Validator"), 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": {
    "zugferd-validator": {
      "type": "http",
      "url": "https://zugferdpruefer.de/api/mcp"
    }
  }
}
```

## Tools

The server marks all 2 tools read-only. From the server's own tool labels and tool names; not verified by us.

- `validate_einvoice_xml` (says read-only): Validate a ZUGFeRD 2.3, Factur-X, or XRechnung (UN/CEFACT CII or OASIS UBL 2.1) invoice XML document against EN 16931 and German BR-DE rules, including profile detection, mandatory BT fields, IBAN Mod-97, Leitweg-ID ISO 7064 Mod 97-10, line-item math, and net/tax/gross reconciliation.
- `validate_leitweg_id` (says read-only): Validate a German public-sector Leitweg-ID per ISO/IEC 7064 Mod 97-10 and identify the federal or state submission portal, or compute valid 2-digit check digits from grob and optional fein segments.

## FAQ

### Which invoice formats and versions are supported?

ZUGFeRD 2.0 to 2.3, Factur-X 1.0 in its profiles, and XRechnung 2.x and 3.0 in CII and UBL syntax are covered.

### Can ZUGFeRD & XRechnung Validator detect rounding differences?

Yes. It adds up the line items, compares them with the tax base and checks the tax plus net total against the gross amount to the cent.

### Is single-file checking free?

Individual file checks, including the JSON report, are free to use without registration. The paid Pro plan adds folder-level batch checks and printable compliance certificates.

### How do I add ZUGFeRD & XRechnung Validator to Claude Code?

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

### What are the best alternatives to ZUGFeRD & XRechnung Validator?

The closest alternatives to ZUGFeRD & XRechnung Validator are ZUGFeRD Validator, XRechnung & ZUGFeRD validator (e-Rechnung Inbox), E-Invoice Space, EU EN-16931 & XRechnung Deterministic Validator and XRechnung Validator.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 29 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [ZUGFeRD Validator](https://ai-powered.com/mcp/zugferd-validator): ZUGFeRD Validator is a freemium MCP server for finance and payments.
- [XRechnung & ZUGFeRD validator (e-Rechnung Inbox)](https://ai-powered.com/mcp/xrechnung-and-zugferd-validator-e-rechnung-inbox): XRechnung & ZUGFeRD validator (e-Rechnung Inbox) is a freemium MCP server for accounting and tax.
- [E-Invoice Space](https://ai-powered.com/mcp/e-invoice-space): E-Invoice Space is an MCP server for finance and payments.
- [EU EN-16931 & XRechnung Deterministic Validator](https://ai-powered.com/mcp/eu-en-16931-and-xrechnung-deterministic-validator): EU EN-16931 & XRechnung Deterministic Validator is an MCP server for compliance and regulation.
- [XRechnung Validator](https://ai-powered.com/mcp/xrechnung-validator): XRechnung Validator is a freemium MCP server for finance and payments.
- [eRechio – German e-invoice validator (XRechnung, ZUGFeRD)](https://ai-powered.com/mcp/erechio-german-e-invoice-validator-xrechnung-zugferd): eRechio – German e-invoice validator (XRechnung, ZUGFeRD) 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.
- [Rechnungslotse: deutsche E-Rechnung](https://ai-powered.com/mcp/rechnungslotse-deutsche-e-rechnung): Rechnungslotse: deutsche E-Rechnung is a freemium MCP server for accounting and tax.

---
Source: https://ai-powered.com/mcp/zugferd-and-xrechnung-validator
