Skip to main content

Tallystick MCP

Read, check and write e-invoices from inside your agent. Everything runs on your own machine: there is no upload path in this package.

A UBL or CII invoice is six to nine hundred lines of XML, and a ZUGFeRD invoice hides its XML inside a PDF where an agent cannot reach it at all. This turns either one into about forty lines of clean JSON, with every amount as an exact decimal string rather than a float.

Install

uvx tallystick-mcp

That is the whole command, and it is the same in every client. No Python environment to prepare.

Setup snippets for Claude Desktop, Cursor, VS Code, Windsurf, Cline, Zed, Gemini CLI and the OpenAI Agents SDK are at https://tally-stick.com/mcp/setup.

Minimal config for a client that uses the common shape:

{
  "mcpServers": {
    "tallystick": {
      "command": "uvx",
      "args": ["tallystick-mcp"],
      "env": { "TALLYSTICK_LICENSE_KEY": "TS-XXXX-XXXX-XXXX-XXXX" }
    }
  }
}

Tools

Tool What it does
detect_invoice_format Names the syntax, and says whether a PDF carries embedded XML
read_invoice One file to canonical JSON: parties, lines, tax, totals
validate_invoice Consistency and mandatory-field findings, with codes
read_invoices_table A folder as one flat table, one row per invoice
export_invoices Excel, CSV, JSON or QBO out of many invoices
build_einvoice Structured data to compliant EN 16931 XML

All six need a licence key. One payment, one seat, no subscription, and it keeps working offline once the machine has activated.

Formats

Reads UBL 2.x, UN/CEFACT CII, Factur-X, ZUGFeRD, XRechnung, Peppol BIS, and digital PDFs through per-supplier templates.

Writes UBL 2.1 and CII in nine profiles: xrechnung-3.0, peppol-bis-3.0, en16931, nlcius, pint-aunz, pint-jp, pint-my, pint-sg, pint-ae. It refuses to emit XML when a mandatory field is missing and tells you which one, because a file that is quietly non-compliant is worse than no file.

Amounts are strings

Every monetary value comes back as a string holding an exact decimal:

{ "totals": { "net": "1000.00", "tax": "190.00", "gross": "1190.00" } }

Parse them as decimals. Float arithmetic on invoice totals is how a reconciled ledger stops reconciling.

What leaves your machine

One request, once: activation sends your licence key and an opaque hash of the machine, and gets back a signed token. After that the token is checked locally against a public key compiled into this package, and the machine can stay offline until it expires.

No filename, no path and no invoice content is ever sent anywhere. There is no code here that could send one.

Licence

MIT for this package. A commercial licence key unlocks the tools: one seat, one payment, no subscription. https://tally-stick.com/mcp


mcp-name: com.tally-stick/tallystick

Metadata

Release files for tallystick-mcp 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for tallystick-mcp 1.0.2
File Interpreter ABI Platform
tallystick_mcp-1.0.2-py3-none-any.whl Python 3 none any Details

Release files / tallystick_mcp-1.0.2-py3-none-any.whl

Download URL tallystick_mcp-1.0.2-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c0651b17ee3335abb9ee3400a85a37fdffe7804f071792fead082dddbc5591e
BLAKE2b-256 checksum
How to use checksums
3a04329bffc20dbf70095e57c494d8ac6c5c19eb6ba1cfcbd0ce4a531af74617
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page