# MCP Server Erechnung

> MCP Server Erechnung is a freemium MCP server for finance and payments. Generate, validate and parse German XRechnung and ZUGFeRD e-invoices from an agent. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI
- **Repository:** https://github.com/flame-goal-hunter/mcp-server-erechnung
- **MCP Registry name:** io.github.flame-goal-hunter/mcp-server-erechnung
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments), [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-11-18

## About

German businesses now have to handle structured e-invoices, and this server keeps the model out of the arithmetic. The agent supplies structured JSON; line totals, VAT buckets and gross totals are computed in exact decimal arithmetic, and seller IBANs are checked with modulo-97, so the model never writes invoice XML or final amounts. The README says it stores no invoices and logs no personal data.

Five tools cover the workflow: generate a ZUGFeRD 2.5 PDF/A-3b with a DIN 5008 layout and a SEPA GiroCode QR, or a pure XRechnung 3.0.2 file; validate against EN 16931 schemas, KoSIT Schematron and veraPDF; parse incoming invoices, with an XML fast path and math-checked PDF extraction; embed XML into an existing PDF; and convert a flat PDF of up to 5 pages.

Human units such as Stk or Std map to UN/ECE codes, and zero-VAT cases such as reverse charge get the required exemption text. It runs through the RapidAPI German E-Rechnung API, so a RapidAPI key is required, with a free tier mentioned.

## Features

- **Deterministic invoice maths:** Calculates amounts in exact decimals and validates IBANs, leaving nothing to the model.
- **ZUGFeRD and XRechnung output:** Creates PDF/A-3b hybrid invoices or pure XRechnung 3.0.2 XML.
- **Official validation:** Checks EN 16931 schemas, KoSIT business rules and veraPDF.
- **Invoice parsing:** Reads incoming invoices using an XML fast path and guarded PDF extraction.
- **Unit and VAT inference:** Maps German units to codes and adds exemption text for zero-VAT categories.
- **GiroCode QR:** Stamps a scannable SEPA payment code on the PDF.
- **Stateless design:** Does not persist invoices or log personal data.

## Good for

- Create a compliant XRechnung from a chat description
- Validate an incoming ZUGFeRD PDF before booking it
- Convert a legacy PDF invoice into ZUGFeRD
- Extract totals from a received e-invoice and check the maths
- Add a payment QR code to outgoing invoices

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-server-erechnung --env RAPIDAPI_KEY='<RAPIDAPI_KEY>' -- npx -y mcp-server-erechnung
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-server-erechnung": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-erechnung"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp-server-erechnung": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-erechnung"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-server-erechnung": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-erechnung"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-server-erechnung": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-erechnung"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp-server-erechnung": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-erechnung"
      ],
      "env": {
        "RAPIDAPI_KEY": "<RAPIDAPI_KEY>"
      }
    }
  }
}
```

## Tools

- `generate_erechnung`: Generates a ZUGFeRD 2.5 PDF/A-3b or XRechnung 3.0.2 XML from structured JSON
- `validate_erechnung`: Validates a ZUGFeRD PDF or XRechnung XML against official rules
- `parse_erechnung`: Parses incoming e-invoices with math checks
- `embed_zugferd_pdf`: Embeds invoice data into an existing PDF as ZUGFeRD
- `magic_convert_pdf`: Converts a flat PDF of up to 5 pages into ZUGFeRD

## FAQ

### Do I need an API key?

Yes, a RapidAPI key set as ERECHNUNG_RAPIDAPI_KEY; a free tier is mentioned on RapidAPI Hub.

### Can I use it without installing anything?

Yes, via the remote Streamable HTTP URL on RapidAPI with X-RapidAPI-Key headers.

### Does the model generate the invoice XML?

No. The server generates XML and computes amounts deterministically.

### Which standards are covered?

EN 16931, XRechnung 3.0.2 and ZUGFeRD 2.5 with PDF/A-3b.

### Is MCP Server Erechnung free?

MCP Server Erechnung has a free plan, with paid plans for more usage or features.

### How do I add MCP Server Erechnung to Claude Code?

Run this command in your terminal: claude mcp add mcp-server-erechnung --env RAPIDAPI_KEY='<RAPIDAPI_KEY>' -- npx -y mcp-server-erechnung

### What are the best alternatives to MCP Server Erechnung?

The closest alternatives to MCP Server Erechnung are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, SSRS2 and Crypto Feeds.

## Where this comes from

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

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [SSRS2](https://ai-powered.com/mcp/ssrs2): SSRS2 is an MCP server for files and documents.
- [Crypto Feeds](https://ai-powered.com/mcp/crypto-feeds): Crypto Feeds is a freemium MCP server for finance and payments.
- [Csv](https://ai-powered.com/mcp/csv): Csv is a freemium MCP server for files and documents.
- [Crypto Fng](https://ai-powered.com/mcp/crypto-fng): Crypto Fng is a freemium MCP server for finance and payments.
- [Creditcard](https://ai-powered.com/mcp/creditcard): Creditcard is a freemium MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/mcp-server-erechnung
