Skip to main content
MCP server CX Codex

FacturX API — Claude Code MCP server: features and setup

The FacturX API MCP server for Claude Code, Codex, and Cursor checks invoice readiness, converts files to Factur-X, and validates output. It can also explain EN16931 rules.

MIT updated 2026-11-15

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env FACTURX_API_KEY=<FACTURX_API_KEY> --env FACTURX_BASE_URL=<FACTURX_BASE_URL> --transport stdio mcp -- uvx facturx-mcp
Open on GitHub

What FacturX API does

The server gives an agent tools for working with invoices through the FacturX API. It checks whether invoice data is ready, generates Factur-X PDF/A-3 files, validates files, and explains EN16931 rules from a code, BT field, or JSON path. It uses the facturx-api SDK.

Set FACTURX_API_KEY and launch the server with uvx facturx-mcp. Conversion costs one processed invoice; rule explanations are free and need no key. API errors are returned with their details, and the server does not retry failed requests.

What it helps with

  • check whether invoice data is ready for generation
  • convert invoice data into Factur-X PDF/A-3
  • validate a file and get a summary report
  • trace an EN16931 rule to its related fields

Example prompts for the agent

  • Check whether this invoice is ready for Factur-X generation.
  • Convert this invoice to Factur-X and validate the result.
  • Explain EN16931 rule BR-CO-15 and identify its related fields.

How to install FacturX API

Platform CLI

claude mcp add --env FACTURX_API_KEY=<FACTURX_API_KEY> --env FACTURX_BASE_URL=<FACTURX_BASE_URL> --transport stdio mcp -- uvx facturx-mcp

Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from facturx-mcp <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about FacturX API

How do I install FacturX API in Claude Code?

Run claude mcp add mcp -e FACTURX_API_KEY=<FACTURX_API_KEY> -- uvx facturx-mcp. Replace the placeholder with a FacturX API key.

What does FacturX API do?

It lets an agent check invoice readiness, create Factur-X PDF/A-3 files, validate files, and explain EN16931 rules.

What does FacturX API need to run?

It needs a FACTURX_API_KEY and access to the FacturX API. Start it with uvx facturx-mcp.

Similar MCP servers

All MCP servers for Backend and APIs →
prisma-client-api prisma Complete Prisma Client API reference for database queries, CRUD operations, and filtering. Triggers on findMany, create, update, delete, and $transaction. CX Codex +1 441,400installs Multi-Carrier Shipping API — powered by Secureship secureship Multi-Carrier Shipping API — powered by Secureship is a Claude Code MCP server connecting assistants to live Secureship API docs for rates, tracking, and labels across FedEx, UPS, Purolator, and Canpar. CX Codex +1 6,130installs NEXUS Intelligence API rileycraig14 The NEXUS Intelligence API MCP server for Claude Code provides tools for web research, domain and wallet checks, market signals, and AI visibility analysis. Some calls use paid x402 on Base. CX Codex +1 4,735installs Weather API — Current & 7-Day Forecast Worldwide axel-belfort Weather API — Current & 7-Day Forecast Worldwide is an MCP server that returns current conditions and a 7-day forecast worldwide. Agents can use the data for trip planning and event logistics. CX Codex +1 4,044installs Shirabe Calendar API r-yoshikawa Shirabe Calendar API connects Japanese calendar logic to coding assistants. It helps agents assess dates for weddings, moves, or business openings using Rokuyo and Rekichu cycles. CX Codex +1 2,944installs middleBrick | API-Security middlebrick middleBrick | API-Security is an MCP server for Claude Code that checks APIs for OWASP Top 10 flaws and returns a risk score. Run it before a release or while auditing an endpoint you did not write. CX Codex +1 2,930installs

Project sponsors

Companies that keep this analytics open