Invapi Mcp

io.github.invapi-orgPublished by GitHub account invapi-orgv1.0.1Updated Oct 24, 2026

Extract, create, convert & validate invoices (UBL, CII, XRechnung, ZUGFeRD, PDF, Excel)

VerifiedSTDIODesktop onlyData & AnalyticsBusiness & Commerce

Overview

AI-generated overview

Local MCP server that lets an assistant convert, validate and extract e-invoices (UBL, CII, XRechnung, ZUGFeRD, PDF, Excel) through the Invapi API.

What you can do
Convert invoices between JSON, UBL XML, CII XML, Excel and ZUGFeRD PDF in either direction, including creating ZUGFeRD PDFs from a PDF plus JSON invoice and batch conversion of up to 100 operations per request. Validate UBL or CII XML against XRechnung 3.0.2 (EN 16931), or validate XML with auto-detected format. Extract structured invoice data from PDFs or images and read QR code data from images. Look up account information and remaining API credits.
When to use it
Useful when working with European e-invoicing formats and you want an assistant to turn invoice data into UBL, CII or ZUGFeRD, check XML against XRechnung rules, or pull structured fields out of invoice PDFs and images.
Requirements
Runs locally over stdio, typically via npx from the npm package @invapi/mcp-server, so Node.js is needed. Requires an Invapi account and an API key supplied in the INVAPI_API_KEY environment variable. Network access to the Invapi service is required.
Before you install
The API key in INVAPI_API_KEY is a secret; keep it out of shared configuration files. Operations are billed against Invapi API credits, and batch conversion can run up to 100 operations in one request, so usage consumes credits. Invoice documents and images are sent to the third-party Invapi service for conversion, validation and extraction.

Installation

In SourceWeft

  1. Open Invapi Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

@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

bash
npm install -g @invapi/mcp-server

Set your API key (get one at invapi.org):

bash
export INVAPI_API_KEY=your-api-key

Usage

Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "invapi": {      "command": "npx",      "args": ["-y", "@invapi/mcp-server"],      "env": {        "INVAPI_API_KEY": "your-api-key"      }    }  }}

Claude Code

bash
claude mcp add -e INVAPI_API_KEY=xxx invapi -- npx @invapi/mcp-server

Tools

Conversion

ToolDescription
invapi_convert_json_to_ublJSON Invoice → UBL XML
invapi_convert_json_to_ciiJSON Invoice → CII XML
invapi_convert_ubl_to_jsonUBL XML → JSON Invoice
invapi_convert_cii_to_jsonCII XML → JSON Invoice
invapi_convert_json_to_xlsxJSON Invoices → Excel file
invapi_create_zugferd_pdfPDF + JSON Invoice → ZUGFeRD PDF
invapi_convert_zugferd_to_jsonZUGFeRD PDF → JSON Invoice

Validation

ToolDescription
invapi_validate_ublValidate UBL XML against XRechnung 3.0.2 (EN 16931)
invapi_validate_ciiValidate CII XML against XRechnung 3.0.2 (EN 16931)
invapi_validate_xmlValidate XML with auto-detected format

Extraction

ToolDescription
invapi_extract_invoiceExtract structured invoice data from PDF or image
invapi_extract_qrExtract QR code data from image

User

ToolDescription
invapi_get_userGet account info and remaining API credits

Batch

ToolDescription
invapi_batch_convertRun up to 100 conversion operations in a single request

Development

bash
git clone https://github.com/invapi/invapi-mcp.gitcd invapi-mcpnpm installnpm run dev

License

MIT

Source: README.md at commit 6daebe6

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.1LatestSep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.