einvoicewiz MCP server — e-invoices for AI agents

A remote Model Context Protocol server that gives any agent the ability to produce and check legally compliant EN 16931 e-invoices (Factur-X / ZUGFeRD / XRechnung). Streamable HTTP, no install. Same engine, same pricing and same verification certificates as the REST API.

Connect

Endpoint: https://einvoicewiz.com/mcp  ·  transport: streamable HTTP  ·  auth: header X-API-Key (optional — agents can call signup to get a key with 20 free credits).

// Claude Desktop / Claude Code (claude mcp add)
claude mcp add einvoicewiz https://einvoicewiz.com/mcp -t http --header "X-API-Key: eiw_..."

// Generic JSON config
{"mcpServers": {"einvoicewiz": {"url": "https://einvoicewiz.com/mcp",
                                  "headers": {"X-API-Key": "eiw_..."}}}}

Tools

ToolWhat it doesCost
which_format_do_i_needrecipient country + public-authority flag → which format applies, whether a plain PDF is still acceptable, which mandate datefree
signupemail → API key with 20 free creditsfree
check_creditsbalance and calls usedfree
generate_einvoice_xmlinvoice JSON → validated EN 16931 CII XML (or XRechnung 3.0 with profile="xrechnung") + certificate1 credit
create_facturx_pdfyour PDF (base64) + invoice JSON → Factur-X / ZUGFeRD PDF/A-3 (base64) + certificate1 credit
validate_einvoicePDF or XML (base64) → rule-level EN 16931 / KOSIT / PDF/A report; certificate when it passes1 credit
lookup_certificateEIW-… id → what passed, when, which hashesfree

Failed validations are never charged. The invoice JSON schema is in /openapi.json. Files are processed transiently and deleted; the pipeline is deterministic (no AI touches invoice data).

When an agent should call this

REST alternative: /developers. Questions: support@einvoicewiz.com.