e-rechnung-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@e-rechnung-mcpErstelle eine XRechnung für 2 Stunden Beratung à 150€ mit 19% USt."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
e-rechnung-mcp
MCP server for German e-invoicing. Two tools, fully local — no network calls, no accounts:
generate_xrechnung — create a valid XRechnung (EN 16931, CII XML) from structured input. Supports German VAT rates (19/7), § 19 UStG small businesses (Kleinunternehmer) and Leitweg-ID for B2G invoices. Input is validated (§ 14 UStG mandatory fields) before generation.
validate_einvoice — check an XRechnung / ZUGFeRD CII XML: mandatory fields, EN 16931 basics and total calculations. Findings are returned in plain German.
The invoice core is the same one that powers e-rechnungsbuch.de and is tested against the official KoSIT/Mustang validator.
Usage
Claude Desktop / Claude Code / any MCP client (stdio):
{
"mcpServers": {
"e-rechnung": {
"command": "npx",
"args": ["-y", "e-rechnung-mcp"]
}
}
}Example prompts once connected:
"Erstelle eine XRechnung: Rechnung RE-2026-042 von Testfirma GmbH an Kunde AG, 2 Stunden Beratung je 150 Euro, 19 % USt."
"Validate this e-invoice XML and explain the findings." (paste XML)
Related MCP server: einvoice-mcp
Notes
Dates are ISO (
YYYY-MM-DD); amounts are net EUR with max 2 decimals.For Kleinunternehmer set
kleinunternehmer: true— the invoice carries the § 19 UStG exemption note instead of VAT.Validation covers CII syntax (XRechnung and the XML part of ZUGFeRD); it complements but does not replace the official KoSIT schema validation.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
XRechnung and ZUGFeRD e-invoicing (EN 16931): create, validate, check Leitweg-IDs, German VAT.
German e-invoicing: generate XRechnung 3.0, pre-check and extract (incl. ZUGFeRD PDF). Paid.
KoSIT-verified German e-invoices: generate & validate ZUGFeRD, Factur-X, XRechnung, EN 16931.
Generate & validate EN 16931 e-invoices (Factur-X, ZUGFeRD, XRechnung); verification certificates
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server for electronic invoicing that enables generating, validating, and parsing Factur-X and ZUGFeRD compliant XML invoices. It supports the French 2026 B2B reform and provides integration with Chorus Pro for automated invoice submission and status tracking.925 npm1MIT
- AlicenseAqualityDmaintenanceMCP server for DACH e-invoicing. Create XRechnung (UBL) and ZUGFeRD 2.3 (Factur-X CII) invoices, validate against EN 16931 rules, extract data from XML, and convert between UBL, CII and JSON formats.630 npm2MIT
- AlicenseAqualityAmaintenanceModel Context Protocol (MCP) server for German Electronic Invoicing (ZUGFeRD 2.x / XRechnung 3.x). Provides tools to validate, generate, parse, and convert invoices compliant with EN 16931 and KoSIT.50218 PyPI2Apache 2.0
- AlicenseAqualityAmaintenanceModel Context Protocol (MCP) server for Spanish Electronic Invoicing. Provides tools to generate, validate, and submit invoices across VERI\*FACTU, Facturae/FACe, SII, TicketBAI, and Crea y Crece B2B.202Apache 2.0