facturx-mcp
Provides tools for generating, validating, and parsing Factur-X compliant XML documents to ensure adherence to EN 16931 electronic invoicing standards.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@facturx-mcp Generate a Factur-X invoice for 10 hours of dev at 150€/h for ACME SAS"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
facturx-mcp
Serveur MCP pour la facturation électronique Factur-X — générez, validez et soumettez des factures conformes à la norme EN 16931 et à la réforme française B2B 2026 directement depuis Claude.
Installation
npm install -g facturx-mcpRelated MCP server: einvoice-mcp
Configuration Claude Desktop
Ajoutez dans ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) ou %APPDATA%\Claude\claude_desktop_config.json (Windows) :
{
"mcpServers": {
"facturx": {
"command": "facturx-mcp",
"env": {
"FACTURX_LICENSE_KEY": "FTRX-..."
}
}
}
}Sans clé de licence, le mode gratuit est actif (10 générations/jour).
Outils disponibles
Outil | Plan | Description |
| Gratuit (10/j) | Générer un XML Factur-X valide (EN 16931) |
| Gratuit | Valider les données avant génération |
| Gratuit | Parser un XML Factur-X existant |
| Gratuit | Calculer HT / TVA / TTC |
| Pro | Créer un PDF avec XML embarqué |
| Pro | Extraire le XML depuis un PDF |
| Pro | Soumettre sur Chorus Pro (B2G) |
| Pro | Statut d'une facture CPP |
| Pro | Lister les factures Chorus Pro |
Tarifs
Gratuit — 10 générations/jour, outils Factur-X de base
Pro — 9.99 €/mois — Outils illimités + Chorus Pro → Acheter maintenant
Enterprise — 49.99 €/mois — Multi-comptes Chorus Pro + support prioritaire
Variables d'environnement
Variable | Obligatoire | Description |
| Non | Clé de licence Pro (format |
| Pro | Client ID PISTE (Chorus Pro) |
| Pro | Client Secret PISTE |
| Pro | Login compte technique Chorus Pro |
| Pro | Mot de passe compte technique |
| Non |
|
Exemple
Génère une facture pour ma prestation du mois :
- Vendeur : ACME SAS, TVA FR12345678901, 10 rue de la Paix 75001 Paris
- Acheteur : CLIENT SA, 5 av. des Champs 69001 Lyon
- 10h de développement à 150€/h HT, TVA 20%
- Paiement à 30 jours, IBAN FR76...Claude utilise automatiquement facturx_generate et retourne le XML Factur-X prêt à l'emploi.
Conformité
Norme EN 16931 (directive européenne 2014/55/UE)
Compatible Factur-X profils : MINIMUM, BASIC, EN_16931, EXTENDED
Compatible ZUGFeRD 2.x (Allemagne)
Prêt pour la réforme française e-facturation B2B (septembre 2026)
Intégration Chorus Pro (facturation B2G)
Licence
MIT — © 2026 facturx-mcp
Available Tools
9 toolschorus_get_statusA
Récupère le statut de traitement d'une facture soumise sur Chorus Pro (identifiant CPP retourné lors du dépôt). Statuts possibles : DEPOSEE, EN_COURS_TRAITEMENT, VALIDEE, REJETEE.
Inputs: invoiceId (required).
chorus_list_invoicesB
Liste les factures présentes sur Chorus Pro avec filtres optionnels par date, statut et pagination.
Inputs: page, statut, dateFin, dateDebut, +1 more.
chorus_submitA
Soumet une facture Factur-X sur la plateforme Chorus Pro (obligatoire pour facturer l'État français). Requiert les variables d'environnement CHORUS_CLIENT_ID, CHORUS_CLIENT_SECRET, CHORUS_LOGIN, CHORUS_PASSWORD.
Inputs: filename (required), xmlContent (required), syntax.
facturx_compute_totalsA
Calcule les totaux d'une facture (HT par ligne, sous-total HT, TVA ventilée par taux, TTC, montant à payer). Utile pour vérifier les montants avant génération.
Inputs: lines (required), currency (required).
facturx_create_pdfA
Crée un PDF avec le XML Factur-X embarqué en pièce jointe (format requis par la norme). Optionnellement, peut intégrer le XML dans un PDF existant. Sauvegarde le résultat sur disque.
Inputs: outputPath (required), xmlContent (required), sourcePdfPath.
facturx_extract_from_pdfA
Extrait le XML Factur-X embarqué dans un PDF. Retourne le contenu XML.
Inputs: pdfPath (required).
facturx_generateA
Génère un fichier XML Factur-X valide (norme EN 16931 / UE) à partir des données de facturation. Calcule automatiquement les totaux HT, TVA et TTC. Retourne le XML et un résumé des montants.
Inputs: date (required), buyer (required), lines (required), number (required), +11 more.
facturx_parseA
Parse un fichier XML Factur-X et extrait toutes les données de facturation sous forme JSON structuré. Compatible avec les profils MINIMUM, BASIC, EN 16931 et EXTENDED.
Inputs: xmlContent (required).
facturx_validateA
Valide les données d'une facture avant génération : vérifie les champs obligatoires, les formats (dates, codes pays, TVA), la cohérence des montants lignes. Retourne les erreurs bloquantes et les avertissements.
Inputs: date (required), buyer (required), lines (required), number (required), +11 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool has a clearly distinct purpose: generation, validation, parsing, totals computation, PDF creation, XML extraction, and separate Chorus Pro operations for submission, status, and listing. The overlap between compute_totals and generate is minimal because generate also creates the full XML document.
All tool names follow a consistent pattern using the domain prefixes 'facturx_' and 'chorus_' followed by a verb (generate, validate, parse, compute_totals, create_pdf, extract_from_pdf, submit, get_status, list_invoices). The naming is uniform with snake_case and action-first ordering, making it predictable.
With 9 tools, the server is well-scoped for the Factur-X lifecycle and Chorus Pro integration. Each tool serves a distinct step in the workflow without being overwhelming or redundant.
The toolset covers the main workflow from data validation, generation, PDF creation, XML extraction, to Chorus Pro submission and tracking. A minor gap is the lack of a dedicated tool to fetch a single facture detail from Chorus Pro beyond the list, but the existing surface is sufficient for core e-invoicing tasks.
Maintenance
Related MCP Connectors
Create, validate, convert & extract compliant e-invoices (UBL, Factur-X, ZUGFeRD, XRechnung)
Generate & validate EN 16931 e-invoices (Factur-X, ZUGFeRD, XRechnung); verification certificates
E-invoice checker for ZUGFeRD, Factur-X, XRechnung and Peppol BIS. Free web tool, API and MCP.
Brazilian fiscal MCP server - issue NF-e, NFC-e, NFS-e, CT-e, MDF-e and DC-e via SEFAZ.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for DACH e-invoicing. Create XRechnung (UBL) and ZUGFeRD 2.3 (Factur-X CII) invoices, validate against EN 16931 rules, extract data from XML, and convert between UBL, CII and JSON formats.650 npm2MIT
- AlicenseAqualityDmaintenanceMCP server for German e-invoice compliance (XRechnung 3.0 & ZUGFeRD 2.x) enabling AI agents to validate, generate, parse, and check compliance of electronic invoices per EN 16931.61MIT
- AlicenseAqualityDmaintenanceMCP server for Italian electronic invoicing via the Invoicetronic API, enabling management of invoices through SDI with 20 tools for sending, receiving, exporting, and more.18MIT
- FlicenseNot gradedqualityCmaintenanceMCP server for German e-invoicing with tools to generate and validate XRechnung CII XML locally, supporting German VAT rates and § 19 UStG.-