Facturx Mcp

by SamDreamsMaker

1 stars
283 downloads
Not rated
GitHub Website

About

Open-source MCP server for generating, validating, and parsing Factur-X electronic invoices (EN 16931). Designed to be controlled by AI assistants, with automated tax calculations and compliance-ready workflows.

Details

Author
SamDreamsMaker
GitHub stars
1
Downloads
283
Categories
Other

- Generate valid Factur‑X XML (EN 16931)
- Validate invoice data before generation
- Parse existing Factur‑X XML files
- Create PDF with embedded XML (Pro plan)
- Submit invoices to Chorus Pro (Pro plan)
- Supports EN 16931, ZUGFeRD 2.x, and French B2B reform

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Facturx Mcp
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 -y
    • Argument 2 facturx-mcp
    Environment
    • FACTURX_LICENSE_KEY

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install with npm install -g facturx-mcp, then add the server configuration to Claude Desktop’s JSON config file. Optionally set FACTURX_LICENSE_KEY for Pro features or leave it unset for the free tier (10 generations/day).

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "facturx mcp": {
            "command": "npx",
            "args": [
                "-y",
                "facturx-mcp"
            ],
            "env": {
                "FACTURX_LICENSE_KEY": ""
            }
        }
    }
}

Command

"npx"

Args

[
    "-y",
    "facturx-mcp"
]

Env

{
    "FACTURX_LICENSE_KEY": ""
}

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-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 |
|-------|------|-------------|
| facturx_generate | Gratuit (10/j) | Générer un XML Factur-X valide (EN 16931) |
| facturx_validate | Gratuit | Valider les données avant génération |
| facturx_parse | Gratuit | Parser un XML Factur-X existant |
| facturx_compute_totals | Gratuit | Calculer HT / TVA / TTC |
| facturx_create_pdf | Pro | Créer un PDF avec XML embarqué |
| facturx_extract_from_pdf | Pro | Extraire le XML depuis un PDF |
| chorus_submit | Pro | Soumettre sur Chorus Pro (B2G) |
| chorus_get_status | Pro | Statut d'une facture CPP |
| chorus_list_invoices | 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 |
|----------|------------|-------------|
| FACTURX_LICENSE_KEY | Non | Clé de licence Pro (format FTRX-...) |
| CHORUS_CLIENT_ID | Pro | Client ID PISTE (Chorus Pro) |
| CHORUS_CLIENT_SECRET | Pro | Client Secret PISTE |
| CHORUS_LOGIN | Pro | Login compte technique Chorus Pro |
| CHORUS_PASSWORD | Pro | Mot de passe compte technique |
| CHORUS_SANDBOX | Non | true pour le bac à sable (défaut: true) |

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

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.