# EU E-Invoice API

> EU E-Invoice API is a freemium MCP server for finance and payments. Validate, parse and generate European e-invoices: XRechnung, ZUGFeRD, Peppol, KSeF. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI
- **Website:** https://einvoice-api.eu
- **Repository:** https://github.com/einvoiceapi/einvoice-api/tree/HEAD/mcp-server
- **MCP Registry name:** eu.einvoice-api/mcp
- **Categories:** finance and payments, developer tools
- **Listing updated:** 2026-11-15

## About

Behind the server is a REST API for e-invoices with four jobs: validate, parse to normalised EN 16931 JSON, generate from that JSON, and preview against the next published ruleset. It reports each finding with a rule ID, severity, message and XPath, and generated invoices are validated before they are returned.

Formats include XRechnung (UBL and CII), ZUGFeRD and Factur-X, Peppol BIS Billing 3.0, FatturaPA, CIUS-RO, HR-CIUS and Poland's KSeF FA(3). Rules come from the official publishers such as KoSIT, CEN, FeRD, FNFE-MPE and OpenPeppol, with PDF/A-3 checked by veraPDF. The site says processing happens in memory on servers in Germany and nothing is stored. It validates only; sending through Peppol, SDI or KSeF is left to your provider. The MCP package runs locally over stdio and needs an API key.

## Features

- **Rule-level validation:** Each finding carries a rule ID, severity, message and XPath.
- **Parse to JSON:** Returns invoices as normalised EN 16931 JSON with recalculated totals.
- **Generate from JSON:** Produces XRechnung, ZUGFeRD, Peppol BIS, FatturaPA or KSeF output that is validated first.
- **Ruleset preview:** Checks invoices against an upcoming ruleset before it becomes binding.
- **No storage:** Invoices are processed in memory and not written to disk or logged.

## Good for

- Check a received XRechnung before booking it
- Convert incoming invoices from several countries to one JSON model
- Generate a ZUGFeRD PDF from billing data
- Test invoices against next year's rules

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp --env EINVOICE_API_BASE_URL='<EINVOICE_API_BASE_URL>' --env EINVOICE_API_KEY='<EINVOICE_API_KEY>' -- npx -y @einvoiceapi/mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@einvoiceapi/mcp"
      ],
      "env": {
        "EINVOICE_API_BASE_URL": "<EINVOICE_API_BASE_URL>",
        "EINVOICE_API_KEY": "<EINVOICE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@einvoiceapi/mcp"
      ],
      "env": {
        "EINVOICE_API_BASE_URL": "<EINVOICE_API_BASE_URL>",
        "EINVOICE_API_KEY": "<EINVOICE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@einvoiceapi/mcp"
      ],
      "env": {
        "EINVOICE_API_BASE_URL": "<EINVOICE_API_BASE_URL>",
        "EINVOICE_API_KEY": "<EINVOICE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@einvoiceapi/mcp"
      ],
      "env": {
        "EINVOICE_API_BASE_URL": "<EINVOICE_API_BASE_URL>",
        "EINVOICE_API_KEY": "<EINVOICE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@einvoiceapi/mcp"
      ],
      "env": {
        "EINVOICE_API_BASE_URL": "<EINVOICE_API_BASE_URL>",
        "EINVOICE_API_KEY": "<EINVOICE_API_KEY>"
      }
    }
  }
}
```

## FAQ

### Is there a free plan?

Yes, 100 documents a month, and the site also offers a free browser check of 5 files per day.

### Does it send invoices?

No. It validates, reads and generates only; delivery via Peppol, SDI, KSeF or a French platform is up to your provider.

### What do I need to run the MCP server?

An API key from the developer portal and the API base URL, run as an npm package over stdio.

### Where is data processed?

On servers in Germany, in memory only, according to the site.

### Is EU E-Invoice API free?

EU E-Invoice API has a free plan, with paid plans for more usage or features.

### How do I add EU E-Invoice API to Claude Code?

Run this command in your terminal: claude mcp add mcp --env EINVOICE_API_BASE_URL='<EINVOICE_API_BASE_URL>' --env EINVOICE_API_KEY='<EINVOICE_API_KEY>' -- npx -y @einvoiceapi/mcp

### What are the best alternatives to EU E-Invoice API?

The closest alternatives to EU E-Invoice API are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/eu-e-invoice-api
