io.github.invapi-org/invapi-mcp
Extract, create, convert & validate invoices (UBL, CII, XRechnung, ZUGFeRD, PDF, Excel)
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
@invapi/mcp-serverclaude mcp add invapi-mcp -e 'INVAPI_API_KEY=<your invapi_api_key>' -- npx -y @invapi/mcp-server@1.0.5
{
"mcpServers": {
"invapi-mcp": {
"command": "npx",
"args": [
"-y",
"@invapi/mcp-server@1.0.5"
],
"env": {
"INVAPI_API_KEY": "<your invapi_api_key>"
}
}
}
}
Variables d'environnement
INVAPI_API_KEYobligatoire secret Your API key for Invapi
Documentation
Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.
@invapi/mcp-server
MCP server for the Invapi E-Invoicing API — convert, validate, and extract invoices in UBL, CII, ZUGFeRD, Excel, and more.
Quick Start
npm install -g @invapi/mcp-server
Set your API key (get one at invapi.org):
export INVAPI_API_KEY=your-api-key
Usage
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"invapi": {
"command": "npx",
"args": ["-y", "@invapi/mcp-server"],
"env": {
"INVAPI_API_KEY": "your-api-key"
}
}
}
}
Claude Code
claude mcp add -e INVAPI_API_KEY=xxx invapi -- npx @invapi/mcp-server
Tools
Conversion
| Tool | Description |
|---|---|
invapi_convert_json_to_ubl | JSON Invoice → UBL XML |
invapi_convert_json_to_cii | JSON Invoice → CII XML |
invapi_convert_ubl_to_json | UBL XML → JSON Invoice |
invapi_convert_cii_to_json | CII XML → JSON Invoice |
invapi_convert_json_to_xlsx | JSON Invoices → Excel file |
invapi_create_zugferd_pdf | PDF + JSON Invoice → ZUGFeRD PDF |
invapi_convert_zugferd_to_json | ZUGFeRD PDF → JSON Invoice |
Validation
| Tool | Description |
|---|---|
invapi_validate_ubl | Validate UBL XML against XRechnung 3.0.2 (EN 16931) |
invapi_validate_cii | Validate CII XML against XRechnung 3.0.2 (EN 16931) |
invapi_validate_xml | Validate XML with auto-detected format |
Extraction
| Tool | Description |
|---|---|
invapi_extract_invoice | Extract structured invoice data from PDF or image |
invapi_extract_qr | Extract QR code data from image |
User
| Tool | Description |
|---|---|
invapi_get_user | Get account info and remaining API credits |
Batch
| Tool | Description |
|---|---|
invapi_batch_convert | Run up to 100 conversion operations in a single request |
Development
git clone https://github.com/invapi/invapi-mcp.git
cd invapi-mcp
npm install
npm run dev
License
MIT
Questions fréquentes
Qu'est-ce que io.github.invapi-org/invapi-mcp ?
Extract, create, convert & validate invoices (UBL, CII, XRechnung, ZUGFeRD, PDF, Excel)
Comment installer io.github.invapi-org/invapi-mcp ?
Il s'exécute sur votre machine. Dans Claude Code : claude mcp add invapi-mcp -e 'INVAPI_API_KEY=<your invapi_api_key>' -- npx -y @invapi/mcp-server@1.0.5. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour io.github.invapi-org/invapi-mcp ?
Oui. Il attend INVAPI_API_KEY, à renseigner dans sa configuration.
io.github.invapi-org/invapi-mcp est-il open source ?
Son code est public sur GitHub, mais le dépôt ne déclare pas de licence standard.
Qui maintient io.github.invapi-org/invapi-mcp ?
Il est publié par invapi-org. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.