# Kontor MCP (npm · @kontor-mcp/server)

Offline e-invoice tools for AI agents: validate, audit, convert and generate XRechnung/ZUGFeRD.

- Trust score: 95/100 (high trust)
- Change this week: +4
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-09-20

## Components

- npm · `@kontor-mcp/server`: 95/100 (this document), [markdown](https://verifymcp.io/servers/dashankanadeeshandesilva-kontor-mcp/kontor-mcp-server.md), [page](https://verifymcp.io/servers/dashankanadeeshandesilva-kontor-mcp/kontor-mcp-server)
- oci · `ghcr.io/dashankanadeeshandesilva/kontor-mcp:1.0.4`: 10/100, [markdown](https://verifymcp.io/servers/dashankanadeeshandesilva-kontor-mcp/ghcr-io-dashankanadeeshandesilva-kontor-mcp-1-0-4.md), [page](https://verifymcp.io/servers/dashankanadeeshandesilva-kontor-mcp/ghcr-io-dashankanadeeshandesilva-kontor-mcp-1-0-4)

## Channel facts

- Registry: `npm`
- Package: `@kontor-mcp/server`
- Version: `1.0.4`
- 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-09-20.

- **Supply Chain Security**: 98/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.
  - 40 of 123 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 100/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to DashankaNadeeshanDeSilva/kontor-mcp).
  - Clear OSI-approved license (Apache-2.0).
  - Actively maintained (last published 24 days ago).
  - Publishes a security disclosure policy (SECURITY.md).
- **Schema Quality & AI Usability**: 87/100
  - 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).
  - AI-judged instruction clarity (excellent).
  - Tool/resource definitions use about 2851 tokens (~101/item across 28 items; 8 tools + 20 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 83/100
  - Stability observed for 25 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 99/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 95% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 8 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 10 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 Kontor MCP server?

Kontor MCP runs locally as an npm package, launched with npx -y @kontor-mcp/server. 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 dashankanadeeshandesilva-kontor-mcp -- npx -y @kontor-mcp/server
```

### Cursor

```json
{
  "mcpServers": {
    "dashankanadeeshandesilva-kontor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kontor-mcp/server"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "dashankanadeeshandesilva-kontor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kontor-mcp/server"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add dashankanadeeshandesilva-kontor-mcp -- npx -y @kontor-mcp/server
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "dashankanadeeshandesilva-kontor-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@kontor-mcp/server"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add dashankanadeeshandesilva-kontor-mcp --command npx --arg -y --arg @kontor-mcp/server
```

### Hermes

```yaml
mcp_servers:
  dashankanadeeshandesilva-kontor-mcp:
    command: "npx"
    args: ["-y", "@kontor-mcp/server"]
```

### Netclaw

```json
{
  "McpServers": {
    "dashankanadeeshandesilva-kontor-mcp": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@kontor-mcp/server"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add dashankanadeeshandesilva-kontor-mcp -t stdio -c npx -a -y @kontor-mcp/server
```

### Other

```json
{
  "mcpServers": {
    "dashankanadeeshandesilva-kontor-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@kontor-mcp/server"
      ]
    }
  }
}
```

## 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-09-20 (score 95, +1)

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

### 2026-09-18 (score 94, +1)

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

### 2026-09-16 (score 93, +1)

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

### 2026-09-14 (score 92, +1)

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

### 2026-09-12 (score 91, +1)

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

### 2026-09-09 (score 90, +1)

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

### 2026-09-07 (score 89, +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-09-05 (score 88, +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.

## MCP tools (8)

### `parse_invoice` (~210 tokens)

Parse e-invoice

Detect the format (UBL/CII, EN 16931, XRechnung version, ZUGFeRD/Factur-X profile) of an XML or ZUGFeRD PDF invoice and return its EN 16931 semantic model (BT-annotated). Fully offline. Input: `file_path` (absolute, local filesystem only) or `content_base64` (required for chat attachments / sandboxed uploads).

Input parameters:

- `content_base64` (string): Base64-encoded document content (alternative to file_path)
- `content_type` (string): MIME type of content_base64; auto-detected when omitted
- `file_path` (string): Absolute path on the machine running this server to an XML (UBL/CII) or ZUGFeRD/Factur-X PDF file. For chat attachments or sandboxed uploads (e.g. /mnt/user-data/...) the server cannot see that files…
- `lang` (string): Language of explanations and summaries

Output parameters:

- `format` (object)
- `invoice` (object)
- `invoiceAnnotated` (object)
- `pdf` (object)
- `warnings` (array)

### `validate_invoice` (~239 tokens)

Validate e-invoice

Validate an XML or ZUGFeRD PDF invoice against XML Schema and the official EN 16931 / XRechnung Schematron rules (KoSIT-equivalent verdict) plus Kontor plausibility checks, with plain-language explanations and fix hints. Fully offline. Input: `file_path` (absolute, local filesystem only) or `content_base64` (required for chat attachments / sandboxed uploads).

Input parameters:

- `content_base64` (string): Base64-encoded document content (alternative to file_path)
- `content_type` (string): MIME type of content_base64; auto-detected when omitted
- `file_path` (string): Absolute path on the machine running this server to an XML (UBL/CII) or ZUGFeRD/Factur-X PDF file. For chat attachments or sandboxed uploads (e.g. /mnt/user-data/...) the server cannot see that files…
- `lang` (string): Language of explanations and summaries
- `profile_override` (string): Force a rule set by CustomizationID / guideline identifier
- `skip_layers` (array): Validation layers to skip

Output parameters:

- `disclaimer` (string)
- `findings` (array)
- `format` (object)
- `layers` (object)
- `ruleSets` (array)
- `scenario`
- `stats` (object)
- `timingsMs` (object)
- `verdict` (string)

### `audit_invoice` (~293 tokens)

Audit e-invoice

One-call audit for accounts payable: parse + validate (XSD, official EN 16931 / XRechnung rules, Kontor plausibility: totals recomputed, VAT rates, IBAN, Leitweg-ID check digits, dates, duplicates) and return header facts, VAT breakdown, verdict, grouped findings with fix hints and an accept / review / reject recommendation with rationale. Fully offline. Input: `file_path` (absolute, local filesystem only) or `content_base64` (required for chat attachments / sandboxed uploads).

Input parameters:

- `content_base64` (string): Base64-encoded document content (alternative to file_path)
- `content_type` (string): MIME type of content_base64; auto-detected when omitted
- `file_path` (string): Absolute path on the machine running this server to an XML (UBL/CII) or ZUGFeRD/Factur-X PDF file. For chat attachments or sandboxed uploads (e.g. /mnt/user-data/...) the server cannot see that files…
- `known_invoice_numbers` (array): Invoice numbers already booked/known to the caller; a match yields KONTOR-PLAUS-DUPLICATE and recommendation 'review'. The server stores nothing.
- `lang` (string): Language of explanations and summaries
- `profile_override` (string): Force a rule set by CustomizationID / guideline identifier

Output parameters:

- `disclaimer` (string)
- `findings` (object)
- `header` (object)
- `layers` (object)
- `rationale` (object)
- `recommendation` (string)
- `stats` (object)
- `timingsMs` (object)
- `verdict` (string)

### `generate_invoice` (~409 tokens)

Generate XRechnung / ZUGFeRD

Create a compliant e-invoice from structured data: XRechnung 3.0 (UBL 2.1, default) or a ZUGFeRD 2.3 / Factur-X PDF/A-3 with embedded factur-x.xml (`target: zugferd-pdf`, profiles EN16931 / BASIC / EXTENDED). Amounts, VAT breakdown and totals are derived decimal-safe; the result is validated internally — for PDFs the XML is read back out of the generated file first (fail-honest: `valid` reports the real verdict, findings tell what is missing). Optional `output_path` writes the .xml / .pdf to the server's local filesystem (no overwrite unless `overwrite=true`). Fully offline.

Input parameters:

- `invoice` (object, required): Invoice data. Amounts are derived server-side (decimal-safe): line nets, VAT breakdown per category/rate, totals.
- `lang` (string): Language of explanations and summaries
- `output_path` (string): Optional absolute path on the server's local filesystem to write the result to (.xml for xrechnung-ubl, .pdf for zugferd-pdf). Existing files are not overwritten unless overwrite=true. For zugferd-pd…
- `overwrite` (boolean)
- `target` (string): Output format: `xrechnung-ubl` (XRechnung 3.0 UBL XML, default — required for German public-sector buyers) or `zugferd-pdf` (ZUGFeRD 2.3 / Factur-X PDF/A-3 with embedded factur-x.xml — the hybrid for…
- `zugferd_profile` (string): ZUGFeRD/Factur-X profile for target zugferd-pdf: EN16931 (default, full EN 16931 content), BASIC (subset — terms outside BASIC are dropped from the XML and reported), EXTENDED.

Output parameters:

- `autoFixes` (array)
- `disclaimer` (string)
- `findings` (array)
- `format` (string): xrechnung-3.0-ubl | zugferd-2.3-<profile>
- `pdf_base64` (string): The PDF/A-3 (base64) for target zugferd-pdf when no output_path was given
- `plausible` (boolean): No error-level KONTOR-PLAUS-* findings
- `profile` (string)
- `taxBreakdown` (array)
- `totals` (object)
- `valid` (boolean): Official verdict of the internal validation (XSD + EN 16931 + XRechnung) — never assumed
- `writtenTo` (string)
- `xml` (string): XRechnung UBL, or the CII XML embedded in the ZUGFeRD PDF

### `convert_invoice` (~355 tokens)

Convert e-invoice

Convert an invoice: extract the XML from a ZUGFeRD/Factur-X PDF, convert UBL ↔ CII via the EN 16931 semantic model (post-validated, with an honest loss report of anything that did not survive), or render a self-contained HTML preview to show the invoice to a human. Optional `output_path` writes the artifact (no overwrite unless `overwrite=true`). Fully offline. Input: `file_path` (absolute, local filesystem only) or `content_base64` (required for chat attachments / sandboxed uploads).

Input parameters:

- `content_base64` (string): Base64-encoded document content (alternative to file_path)
- `content_type` (string): MIME type of content_base64; auto-detected when omitted
- `file_path` (string): Absolute path on the machine running this server to an XML (UBL/CII) or ZUGFeRD/Factur-X PDF file. For chat attachments or sandboxed uploads (e.g. /mnt/user-data/...) the server cannot see that files…
- `lang` (string): Language of explanations and summaries
- `output_path` (string): Optional absolute path to write the artifact to (.xml for XML targets, .html for the preview); never overwrites unless overwrite=true.
- `overwrite` (boolean)
- `target` (string, required): extract-xml: bare XML out of a ZUGFeRD/Factur-X PDF · xrechnung-ubl: XRechnung 3.0 UBL via the semantic model · cii: UN/CEFACT CII (keeps the source's EN 16931 identifier) · html-preview: self-contai…

Output parameters:

- `artifact` (string)
- `disclaimer` (string)
- `filenameHint` (string)
- `findings` (array)
- `lossReport` (array)
- `mimeType` (string)
- `sourceFormat` (object)
- `target` (string)
- `valid` (boolean): Post-conversion validation verdict (XML targets)
- `writtenTo` (string)

### `check_obligations` (~408 tokens)

Check e-invoicing obligations (Germany)

Offline decision tree over the German e-invoicing mandate (§ 14 / § 27 Abs. 38 UStG, UStDV §§ 33/34/34a, E-RechV): what applies to an issuer or receiver (B2B / B2G / B2C), from when, transition rules (2026, 2027 with the €800,000 prior-year turnover threshold, 2028), exemptions (small business, small-amount invoices, exempt supplies, cross-border), accepted formats and whether a Leitweg-ID is needed. Every answer carries the primary sources, the date the legal parameters were last verified, and a non-advice disclaimer.

Input parameters:

- `annual_revenue_eur` (number): Issuer's total turnover (§ 19 Abs. 2 UStG) of the PRIOR calendar year in EUR
- `counterparty` (string, required): b2b: both parties are businesses · b2g: a German public-sector buyer is involved · b2c: a consumer is involved
- `cross_border` (boolean): The other party is not established in Germany
- `date` (string): Date of supply / reference date (default: today)
- `direct_order_net_eur` (number): B2G only: net value of a federal direct order (Direktauftrag)
- `exempt_supply_4_8_29` (boolean): The supply is VAT-exempt under § 4 Nr. 8–29 UStG (e.g. financial services, most property letting)
- `invoice_gross_eur` (number): Gross invoice total in EUR (Kleinbetragsrechnung ≤ 250 €)
- `lang` (string): Language of explanations and summaries
- `role` (string, required): Are you sending (issuer) or receiving the invoice?
- `small_business_19_ustg` (boolean): Issuer applies the small-business scheme (§ 19 UStG Kleinunternehmer)

Output parameters:

- `asOf` (string)
- `disclaimer` (string)
- `lastVerified` (string): Date the embedded legal parameters were last verified against the primary sources
- `obligations` (array)
- `summary` (string)
- `verifiedBy` (string)

### `explain_rule` (~95 tokens)

Explain validation rule

Explain an EN 16931 / XRechnung rule id (e.g. BR-DE-15): official text, plain-language explanation (DE/EN), affected business terms, fix hint. Unknown ids get nearest-match suggestions.

Input parameters:

- `lang` (string): Language of explanations and summaries
- `rule_id` (string, required): Rule identifier, e.g. BR-DE-15, BR-CO-10, BR-S-08

Output parameters:

- `disclaimer` (string)
- `entry` (object)
- `found` (boolean)
- `ruleId` (string)
- `suggestions` (array)

### `list_capabilities` (~84 tokens)

List capabilities

Introspect this server: supported formats and profiles, bundled standard versions (XRechnung, EN 16931, KoSIT configuration, XSDs), rule knowledge-base stats, code lists, legal parameters' last-verified date, tools/resources/prompts and the sovereignty statement (offline, no persistence).

Input parameters:

- `lang` (string): Language of explanations and summaries

Output parameters:

- `bundledStandards` (object)
- `codelists` (array)
- `formats` (object)
- `knowledgeBase` (object)
- `legal` (object)
- `limits` (object)
- `prompts` (array)
- `resources` (array)
- `server` (object)
- `sovereignty` (string)
- `tools` (array)

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/dashankanadeeshandesilva-kontor-mcp/kontor-mcp-server#diagnostics

## Score history

- 2026-09-20: 95
- 2026-09-19: 94
- 2026-09-18: 94
- 2026-09-17: 93
- 2026-09-16: 93
- 2026-09-15: 92
- 2026-09-14: 92
- 2026-09-13: 91
- 2026-09-12: 91
- 2026-09-11: 90
- 2026-09-10: 90
- 2026-09-09: 90
- 2026-09-08: 89
- 2026-09-07: 89
- 2026-09-06: 88
- 2026-09-05: 88
- 2026-09-04: 87
- 2026-09-03: 83
- 2026-09-02: 83
- 2026-09-01: 83
- 2026-08-31: 83
- 2026-08-30: 83
- 2026-08-29: 83
- 2026-08-28: 83
- 2026-08-27: 83
- 2026-08-26: 68

## Common questions

### What is the Kontor MCP server?

Kontor MCP is listed in the public MCP registry as io.github.DashankaNadeeshanDeSilva/kontor-mcp. Offline e-invoice tools for AI agents: validate, audit, convert and generate XRechnung/ZUGFeRD. This page covers its npm package (@kontor-mcp/server).

### Is the Kontor MCP server safe to use?

Kontor MCP scores 95 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 20 September 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 Kontor MCP server expose?

Kontor MCP exposes 8 tools: parse_invoice, validate_invoice, audit_invoice, generate_invoice, convert_invoice, and 3 more. Their descriptions and schemas cost roughly 2,093 tokens of context every time the server is loaded.

### Is the Kontor MCP server still maintained?

Kontor MCP is still listed as active in the MCP registry. We last reached this channel on 20 September 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 Kontor MCP server under?

Kontor MCP declares the Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

## Links

- npm package: https://www.npmjs.com/package/@kontor-mcp/server
- Socket report: https://socket.dev/npm/package/@kontor-mcp/server
- Repository: https://github.com/DashankaNadeeshanDeSilva/kontor-mcp
- Changelog RSS feed: https://verifymcp.io/servers/dashankanadeeshandesilva-kontor-mcp/kontor-mcp-server.xml
- Changelog JSON feed: https://verifymcp.io/servers/dashankanadeeshandesilva-kontor-mcp/kontor-mcp-server.json
- HTML version of this page: https://verifymcp.io/servers/dashankanadeeshandesilva-kontor-mcp/kontor-mcp-server
