Skip to main content
Glama
kontozack-mcp

kontozack-mcp

by fukagawa-de

kontozack-mcp

MCP server that parses German bank statement PDFs into structured, validated transaction data — right inside Claude Desktop, Claude Code, Cursor, or any other Model Context Protocol client.

Built by kontozack.de, the German bank-statement converter.

Honest scope note: this server currently supports SumUp account statements ("SumUp Account Kontoauszug"). More German bank formats are coming. Need another format today? The web version at kontozack.de supports more.

What it does

Tool

Purpose

parse_bank_statement

Parse a statement PDF into header data (IBAN, period, balances) + structured transactions. Above 500 transactions the list is truncated (with total_count) — use the CSV export for everything.

export_bank_statement_csv

Write all transactions to a German-style CSV: semicolon separator, comma decimals, UTF-8 BOM (opens cleanly in German Excel, suitable as a DATEV import basis).

validate_bank_statement

Run only the proof-calculation checks: parsed sums must match the statement's own header totals, and every row must carry a running balance.

Every parse is validated by proof calculation — the sums of all extracted transactions must add up exactly to the totals printed on the statement itself (incoming, outgoing incl. fees, opening/closing balance delta). If a check fails, the tools tell you.

All processing happens locally on your machine. Your bank data never leaves your computer.

Related MCP server: MainBook Bank Statement Converter

Requirements

  • Node.js 18 or newer

Installation & configuration

Claude Desktop

Add to your claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json):

{
  "mcpServers": {
    "kontozack": {
      "command": "npx",
      "args": ["-y", "kontozack-mcp"]
    }
  }
}

Restart Claude Desktop afterwards.

Claude Code

claude mcp add kontozack -- npx -y kontozack-mcp

Cursor

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json in your project:

{
  "mcpServers": {
    "kontozack": {
      "command": "npx",
      "args": ["-y", "kontozack-mcp"]
    }
  }
}

Usage examples

Ask your AI assistant things like:

  • "Parse the bank statement at /Users/me/Downloads/sumup-2025.pdf and summarize the biggest expenses."

  • "Convert /Users/me/Downloads/sumup-2025.pdf to CSV at /Users/me/Desktop/buchungen.csv."

  • "Validate whether /Users/me/Downloads/sumup-2025.pdf was read completely."

File paths must be absolute. The server reads the PDF locally and never uploads it anywhere.

Development

npm install
npm run build       # compile TypeScript to dist/
npm run typecheck   # tsc --noEmit
npm test            # build + integration tests (needs a local test PDF, see tests/run-tests.mjs)

Deutsch: Kontoauszüge für KI-Agenten

kontozack-mcp macht deutsche Kontoauszug-PDFs für KI-Assistenten lesbar — als MCP-Server für Claude Desktop, Claude Code, Cursor & Co.

  • parse_bank_statement – liest den Auszug (aktuell: SumUp-Kontoauszüge) und liefert Kopfdaten (IBAN, Zeitraum, Salden) plus strukturierte Buchungen.

  • export_bank_statement_csv – exportiert alle Buchungen als deutsches CSV (Semikolon, Komma-Dezimaltrennzeichen, UTF-8-BOM — öffnet sauber in Excel, geeignet als Basis für den DATEV-Import).

  • validate_bank_statement – Beweisrechnung: Die Summen aller ausgelesenen Buchungen müssen exakt auf die im Auszug gedruckten Summen aufgehen.

Die Verarbeitung läuft komplett lokal — Ihre Bankdaten verlassen den Rechner nicht. Weitere Formate und die Web-Version: kontozack.de.

License

MIT — see LICENSE.

Available Tools

3 tools
export_bank_statement_csvExport a bank statement as German CSVA

Parses a German bank statement PDF (currently: SumUp) and writes all transactions to a German-style CSV file: semicolon separator, comma decimals, UTF-8 BOM (opens cleanly in German Excel; suitable as DATEV import basis). Returns the number of data rows and the output path.

Inputs: file_path (required), output_path (required).

parse_bank_statementParse a German bank statement PDFA
Read-only

Parses a German bank statement PDF (currently: SumUp account statements) into structured transactions. Returns statement header data (IBAN, period, balances), the number of transactions, proof-calculation validation checks (parsed sums must match the statement's own header totals), and the transactions themselves (truncated above 500 – use export_bank_statement_csv for the full data). More bank formats: https://kontozack.de

Inputs: file_path (required).

validate_bank_statementValidate a bank statement PDF (proof calculation)A
Read-only

Parses a German bank statement PDF (currently: SumUp) and runs only the proof-calculation checks: the sums of the parsed transactions must match the statement's own header totals (incoming, outgoing incl. fees, balance delta) and every row must carry a running balance. Use this to verify a statement was read completely and correctly.

Inputs: file_path (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 3 tools

    Disambiguation4/5

    Each tool has a distinct primary outcome: structured parse, CSV export, and validation-only. However, parse_bank_statement already returns proof-calculation validation checks, so it partially overlaps with validate_bank_statement, and all three re-parse the same PDF, which could cause selection confusion.

    Naming Consistency5/5

    All three tools follow a clean verb_noun snake_case pattern: parse_bank_statement, export_bank_statement_csv, validate_bank_statement. The shared domain suffix makes the pattern predictable and readable.

    Tool Count4/5

    Three tools is on the lean side but each maps to a genuine need (parse, export, validate) for a narrow PDF-parsing domain. Nothing is redundant enough to warrant trimming, though the surface is thin.

    Completeness3/5

    The parse/export/validate lifecycle is covered, but only SumUp statements and only one export format (German CSV) are supported; no other bank formats, no alternate output formats, and no listing of supported statements despite the description pointing to more formats externally.

    Maintenance

    ActivityStale
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Converts PDF bank statements into structured data (Markdown, JSON, CSV, JSONL) with verified transactions and balance checks, enabling agents to audit numbers.
      5
      12 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Converts customer-supplied PDF bank statements into checked Excel, CSV, or JSON with balance validation. Runs locally with your own MainBook API key or against MainBook's hosted endpoint, and it never connects to bank accounts.
      5
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables converting PDFs and CSV/spreadsheet files into spreadsheets, extracting bank statement or receipt data into clean CSV, cleaning messy CSV, and generating client-ready reports through an open MCP endpoint.
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents and MCP clients to query, total, and explain local CSV bank exports deterministically, with exact decimal arithmetic and row-level provenance behind every number.
      MIT