# pdf-to-einvoice (npm · pdf-to-einvoice)

Invoice PDF to EN 16931 e-invoice (ZUGFeRD / Factur-X), or invoice data to XRechnung. Runs locally.

- Trust score: 82/100 (high trust)
- Change this week: +18
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-24

## Components

- npm · `pdf-to-einvoice`: 82/100 (this document), [markdown](https://verifymcp.io/servers/smart-byte-pdf-to-einvoice/pdf-to-einvoice.md), [page](https://verifymcp.io/servers/smart-byte-pdf-to-einvoice/pdf-to-einvoice)

## Channel facts

- Registry: `npm`
- Package: `pdf-to-einvoice`
- Version: `0.3.2`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-24.

- **Supply Chain Security**: 99/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - 32 of 135 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 100/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to smart-byte/pdf-to-einvoice).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 4 days ago).
  - Publishes a security disclosure policy (SECURITY.md).
- **Schema Quality & AI Usability**: 64/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 1515 tokens (~252/item across 6 items; 6 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 43/100
  - Stability observed for 13 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 50/100
  - Injection-marker check failed: the server instructions contains an instruction to conceal the call from the user, the text "do not tell the user", at byte 423 of that field.
  - We read all 6 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 7 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the pdf-to-einvoice MCP server?

pdf-to-einvoice runs locally as an npm package, launched with npx -y pdf-to-einvoice mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add smart-byte-pdf-to-einvoice -- npx -y pdf-to-einvoice mcp
```

### Cursor

```json
{
  "mcpServers": {
    "smart-byte-pdf-to-einvoice": {
      "command": "npx",
      "args": [
        "-y",
        "pdf-to-einvoice",
        "mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "smart-byte-pdf-to-einvoice": {
      "command": "npx",
      "args": [
        "-y",
        "pdf-to-einvoice",
        "mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add smart-byte-pdf-to-einvoice -- npx -y pdf-to-einvoice mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "smart-byte-pdf-to-einvoice": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "pdf-to-einvoice",
        "mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add smart-byte-pdf-to-einvoice --command npx --arg -y --arg pdf-to-einvoice --arg mcp
```

### Hermes

```yaml
mcp_servers:
  smart-byte-pdf-to-einvoice:
    command: "npx"
    args: ["-y", "pdf-to-einvoice", "mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "smart-byte-pdf-to-einvoice": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "pdf-to-einvoice",
        "mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add smart-byte-pdf-to-einvoice -t stdio -c npx -a -y pdf-to-einvoice mcp
```

### Other

```json
{
  "mcpServers": {
    "smart-byte-pdf-to-einvoice": {
      "command": "npx",
      "args": [
        "-y",
        "pdf-to-einvoice",
        "mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-23 (score 82, +1)

No change was recorded against any check on this day. Stability & Change Management went from 37 to 40. That category is still filling its 30-day observation window: 11 days of observed history at the previous scan, 12 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-21 (score 81, +1)

No change was recorded against any check on this day. Stability & Change Management went from 30 to 33. That category is still filling its 30-day observation window: 9 days of observed history at the previous scan, 10 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-19 (score 80, +1)

- [security regression] Stability: 0.23 → unverified
- [security regression] Tool safety: fail → unverified
- [functional regression] Capabilities: pass → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified
- [functional] Package version: 0.3.1 → 0.3.2

### 2026-11-18 (score 79, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-17 (score 64, −15)

- [security regression] Malware scan: pass → unverified
- [functional] Package version: 0.3.0 → 0.3.1

### 2026-11-16 (score 79, +1)

- [security regression] Stability: 0.13 → unverified
- [security regression] Tool safety: fail → unverified
- [functional regression] Capabilities: pass → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified
- [functional] Package version: 0.2.0 → 0.3.0

### 2026-11-14 (score 78, +16)

- [security improvement] Malware scan: unverified → pass

### 2026-11-13 (score 62, −14)

- [security regression] Malware scan: pass → unverified
- [functional improvement] Stability: unverified → 0.07
- [functional] Package version: 0.1.0 → 0.2.0

## MCP tools (6)

### `read_invoice_pdf` (~95 tokens)

Read an invoice PDF

Reads an invoice PDF from disk. Returns its text row by row, values found by pattern (number, dates, parties, line items, totals, payment terms, bank details, tax IDs; a starting point, not a result) and facts about the PDF: page count, fonts that are not embedded, and whether it is already an e-invoice.

Input parameters:

- `pdf_path` (string, required): The invoice PDF. Absolute path.

### `check_invoice` (~204 tokens)

Check invoice data

Checks invoice data against the main EN 16931 rules (required fields, formats, arithmetic, VAT categories) and the particulars German VAT law asks for. It is not a full validator. Returns { ok, findings, totals }: errors block the e-invoice, warnings need a second look, totals are calculated from the lines. The data may be incomplete; what is missing is reported. With pdf_path, values that do not occur in the text of the PDF are reported too. With rules "xrechnung", what XRechnung 3.0 asks for beyond EN 16931 is reported too, under codes that start with "xrechnung-".

Input parameters:

- `invoice` (object, required): Invoice data as printed on the PDF. Copy values exactly; leave out anything the document does not state.
- `pdf_path` (string): The invoice PDF to compare the data with. Optional. Absolute path.
- `rules` (string): Further rules to check the data against. Optional.

### `create_einvoice` (~250 tokens)

Create the e-invoice

Writes the e-invoice: a copy of the PDF as PDF/A-3 with the invoice attached as factur-x.xml (Factur-X / ZUGFeRD, profile EN 16931). The input PDF is never changed. Call it only after check_invoice reports no errors and the user has confirmed the data. Returns { output_path, findings, totals }; with errors in the data nothing is written and the findings say what to fix. With profile "xrechnung" the data has to meet the XRechnung rules as well (check_invoice with rules "xrechnung"), and the attached XML is xrechnung.xml, which declares XRechnung 3.0.

Input parameters:

- `invoice` (object, required): Invoice data as printed on the PDF. Copy values exactly; leave out anything the document does not state.
- `output_path` (string): Where to write the e-invoice. Default: <name>.einvoice.pdf next to the input. Absolute path.
- `overwrite` (boolean): Replace output_path if it exists. Default false.
- `pdf_path` (string, required): The invoice PDF. Absolute path.
- `profile` (string): The profile of the XML. Default en16931.

### `create_xrechnung` (~180 tokens)

Create an XRechnung

Writes the invoice data as an XRechnung 3.0, the XML German public bodies ask for: one XML file, without a PDF. Call it only after check_invoice with rules "xrechnung" reports no errors and the user has confirmed the data. Returns { output_path, findings, totals }; with errors in the data nothing is written and the findings say what to fix.

Input parameters:

- `invoice` (object, required): Invoice data as printed on the PDF. Copy values exactly; leave out anything the document does not state.
- `output_path` (string, required): Where to write the XML file. Absolute path.
- `overwrite` (boolean): Replace output_path if it exists. Default false.
- `syntax` (string): The XML syntax: ubl (default) or cii, UN/CEFACT Cross Industry Invoice. XRechnung allows both.

### `read_einvoice_xml` (~51 tokens)

Read the XML of an e-invoice

Returns the invoice XML embedded in a ZUGFeRD / Factur-X PDF. Fails if the PDF carries none.

Input parameters:

- `pdf_path` (string, required): The e-invoice PDF. Absolute path.

### `validate_einvoice` (~140 tokens)

Check an existing e-invoice

Checks an existing e-invoice PDF (ZUGFeRD / Factur-X), issued or received. Returns { isEInvoice, profile, invoice, totals, findings }: whether the PDF carries invoice XML in an EN 16931 profile, the data read from that XML, the totals calculated from its lines, and findings on missing data, arithmetic, PDF/A-3 and values of the XML that the text of the PDF does not show ("not-in-pdf"). A plausibility check, not a full EN 16931 Schematron or PDF/A validation.

Input parameters:

- `pdf_path` (string, required): The e-invoice PDF. Absolute path.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/smart-byte-pdf-to-einvoice/pdf-to-einvoice#diagnostics

## Score history

- 2026-11-24: 82
- 2026-11-23: 82
- 2026-11-22: 81
- 2026-11-21: 81
- 2026-11-20: 80
- 2026-11-19: 80
- 2026-11-18: 79
- 2026-11-17: 64
- 2026-11-16: 79
- 2026-11-15: 78
- 2026-11-14: 78
- 2026-11-13: 62
- 2026-11-12: 76
- 2026-11-11: 61

## Common questions

### What is the pdf-to-einvoice MCP server?

pdf-to-einvoice is an MCP server listed in the public MCP registry as io.github.smart-byte/pdf-to-einvoice. Invoice PDF to EN 16931 e-invoice (ZUGFeRD / Factur-X), or invoice data to XRechnung. Runs locally. This page covers its npm package (pdf-to-einvoice).

### Is the pdf-to-einvoice MCP server safe to use?

pdf-to-einvoice scores 82 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 24 November 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the pdf-to-einvoice MCP server expose?

pdf-to-einvoice exposes 6 tools: read_invoice_pdf, check_invoice, create_einvoice, create_xrechnung, read_einvoice_xml, validate_einvoice. Their descriptions and schemas cost roughly 920 tokens of context every time the server is loaded.

### Is the pdf-to-einvoice MCP server still maintained?

pdf-to-einvoice is still listed as active in the MCP registry. We last reached this channel on 24 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the pdf-to-einvoice MCP server under?

pdf-to-einvoice declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the pdf-to-einvoice MCP server?

VerifyMCP ran 16 checks on pdf-to-einvoice, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- npm package: https://www.npmjs.com/package/pdf-to-einvoice
- Socket report: https://socket.dev/npm/package/pdf-to-einvoice
- Repository: https://github.com/smart-byte/pdf-to-einvoice
- Website: https://pdf-to-einvoice.app/
- Changelog RSS feed: https://verifymcp.io/servers/smart-byte-pdf-to-einvoice/pdf-to-einvoice.xml
- Changelog JSON feed: https://verifymcp.io/servers/smart-byte-pdf-to-einvoice/pdf-to-einvoice/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/smart-byte-pdf-to-einvoice/pdf-to-einvoice.json
- HTML version of this page: https://verifymcp.io/servers/smart-byte-pdf-to-einvoice/pdf-to-einvoice
