Extract, create, convert & validate invoices (UBL, CII, XRechnung, ZUGFeRD, PDF, Excel)
MCP server for the Invapi E-Invoicing API — convert, validate, and extract invoices in UBL, CII, ZUGFeRD, Excel, and more.
npm install -g @invapi/mcp-server
Set your API key (get one at invapi.org):
export INVAPI_API_KEY=your-api-key
Add to claude_desktop_config.json:
{
"mcpServers": {
"invapi": {
"command": "npx",
"args": ["-y", "@invapi/mcp-server"],
"env": {
"INVAPI_API_KEY": "your-api-key"
}
}
}
}
claude mcp add -e INVAPI_API_KEY=xxx invapi -- npx @invapi/mcp-server
| 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 |
| 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 |
| Tool | Description |
|---|---|
invapi_extract_invoice | Extract structured invoice data from PDF or image |
invapi_extract_qr | Extract QR code data from image |
| Tool | Description |
|---|---|
invapi_get_user | Get account info and remaining API credits |
| Tool | Description |
|---|---|
invapi_batch_convert | Run up to 100 conversion operations in a single request |
git clone https://github.com/invapi/invapi-mcp.git
cd invapi-mcp
npm install
npm run dev
MIT
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y @invapi/mcp-serverMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-invapi-org-invapi-mcp": {
"command": "npx",
"args": [
"-y",
"@invapi/mcp-server"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup reference@invapi/mcp-servernpmio.github.invapi-org/invapi-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.