pdf-to-einvoice
Converts invoice PDFs to EN 16931 e-invoices (ZUGFeRD, Factur-X, XRechnung) locally
- Pricing
- Open source
- Platforms
- CLI, API, Web
- Runs
- Locally
- Version
- 0.3.0
- Listing updated
- 3 days ago
About pdf-to-einvoice
pdf-to-einvoice is an open-source MCP server for files and documents. It runs locally on your machine and is started by your AI client.
The original PDF layout stays as it is. The tool attaches the invoice data as factur-x.xml and turns the file into PDF/A-3, so people still read the familiar invoice while software reads the XML. It lists missing required fields, sums that do not add up, and numbers, names, addresses and dates that do not appear on the PDF before anything is created.
As an MCP server it runs over stdio on your own machine, beside a TypeScript library, a command line tool and a browser app. Nothing is uploaded by the tool itself, though an AI assistant that reads the invoice sends its content to wherever that assistant's model runs. It can also produce XRechnung for public bodies from invoice data, as plain XML or inside the PDF.
The README covers domestic invoices with VAT, several rates, small businesses, reverse charge, intra-community supplies, exports, credit notes and corrections, and says CI checks results with veraPDF and the official rule sets. The project warns its own plausibility check is not a complete validation against official rule sets. It is MIT-licensed.
Install
Run in a terminal
claude mcp add pdf-to-einvoice -- npx -y pdf-to-einvoiceAdd to claude_desktop_config.json
{
"mcpServers": {
"pdf-to-einvoice": {
"command": "npx",
"args": [
"-y",
"pdf-to-einvoice"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"pdf-to-einvoice": {
"command": "npx",
"args": [
"-y",
"pdf-to-einvoice"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"pdf-to-einvoice": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pdf-to-einvoice"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"pdf-to-einvoice": {
"command": "npx",
"args": [
"-y",
"pdf-to-einvoice"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"pdf-to-einvoice": {
"command": "npx",
"args": [
"-y",
"pdf-to-einvoice"
]
}
}
}What it does
- Layout-preserving conversion
- Adds XML data without redrawing the PDF pages.
- Pre-flight checks
- Reports missing fields, wrong sums and values absent from the PDF.
- XRechnung output
- Creates XRechnung as plain XML or inside the PDF.
- Local processing
- Library, CLI and MCP server run on your machine.
- Browser app
- Drop a PDF and review marked values before download.
- Several invoice types
- Handles credit notes, reverse charge, exports and more.
Good for
- Make existing invoice PDFs compliant with German or French e-invoicing
- Let an assistant convert invoices without a cloud converter
- Prepare XRechnung files for public-sector buyers
- Check invoice totals before sending
Pricing
Open source
Free, MIT licence
Prices change. Check pdf-to-einvoice.app before you buy.
pdf-to-einvoice FAQ
Is my invoice uploaded?
The tool does not upload it, but an AI assistant reading the invoice sends content to its own model.
What formats does it write?
ZUGFeRD / Factur-X (EN 16931 profile) and XRechnung.
Does it fully validate against official rules?
No; it has its own plausibility check, not a complete check against the official rule sets.
What licence is it under?
MIT.
Is pdf-to-einvoice free?
Yes. pdf-to-einvoice is open source, so you can use and self-host it for free.
How do I add pdf-to-einvoice to Claude Code?
Run this command in your terminal: claude mcp add pdf-to-einvoice -- npx -y pdf-to-einvoice
What are the best alternatives to pdf-to-einvoice?
The closest alternatives to pdf-to-einvoice are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, ASTra and Quantivex Research.
Alternatives to pdf-to-einvoice

Solana MCP by Vybe
MCP serverRemote MCP server exposing the Vybe Solana API to AI clients and code editors
- 44 tools
- Remote
- 2.8K GitHub stars
- Finance and payments

Tapetide - Indian Stock Market MCP
MCP serverIndian NSE and BSE stock market data for AI assistants through 48 MCP tools
- 17 tools
- Remote
- Freemium
- 150 GitHub stars
- Finance and payments
Budget Tracker
MCP serverLocal MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling
- 14 tools
- Remote
- Freemium
- 2 GitHub stars
- Finance and payments

ASTra
MCP serverLet agents read, edit, validate and undo Word .docx files with exact operations
Runs locally- 5 tools
- Freemium
- Files and documents

Quantivex Research
MCP serverStock scores, what a price assumes, earnings quality and quiet profit revisions
- 11 tools
- Remote
- Free
- Finance and payments

Provyan
MCP serverBacktested crypto signal results on 94 coins, with luck odds and sources
- 4 tools
- Remote
- Free
- Finance and payments