Skip to main content
Glama
bookkeeping-mcp

bookkeeping-mcp

by mubasher1111

πŸ“’ bookkeeping-mcp

Let Claude do your bookkeeping, on your own files. An MCP server that gives Claude, Cursor, VS Code and other AI assistants real bookkeeping tools: summarise bank statements, reconcile them with your invoices, and create professional invoices with sales tax.

AI is great at talking about accounting, and bad at adding up 300 bank entries. With this server, Claude calls tested code for every number and every match, and explains the result to you.

Tests npm License MCP

πŸ“– Full guide Β· Built on reconcile-kit and pk-invoice


What you can ask

  • "Summarise Downloads/november-statement.csv. How much came in and went out, and what were the biggest payments?"

  • "Reconcile statement.csv with invoices.csv and save the report to Desktop/reconciliation.csv. Which invoices are still unpaid?"

  • "Make an invoice for Ahmed Textiles: 100 T-shirts at Rs 850 with 18% sales tax, Rs 50,000 already paid."

  • "What's the next invoice number after INV-2026-0042?"

Related MCP server: erechnung-mcp

Tools

Tool

What it does

read_bank_statement

Period, money in and out, net, monthly totals and the largest entries. Works with any bank's CSV export (title rows, Dr/Cr columns, lakh amounts, DD/MM dates).

reconcile

Matches statement entries with invoices: confidence (high/medium/low) and reasons, one payment for several invoices, instalments, and what's left unmatched. Optionally saves an Excel-ready CSV report.

calculate_invoice

Every amount on an invoice: line and invoice discounts (before tax), sales tax by rate, delivery, amount paid, balance due, total in words (English + Urdu for PKR).

create_invoice

Saves a print-ready A4 invoice (HTML β†’ Save as PDF). "Sales Tax Invoice" when tax is charged and the seller has an NTN/STRN.

next_invoice_number

INV-2026-0042 β†’ INV-2026-0043

Your files stay on your computer. The server reads only the files you name, never overwrites a file unless you say so, and makes no network calls.

Setup

You need Node.js 20 or newer.

Claude Desktop

Settings β†’ Developer β†’ Edit Config, then add:

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

Restart Claude Desktop.

Claude Code

claude mcp add bookkeeping -- npx -y bookkeeping-mcp

Cursor / VS Code

Use the same command and args in .cursor/mcp.json, or in .vscode/mcp.json with "type": "stdio".

Where invoices are saved

By default, in an Invoices folder in your home folder. To change it, set an environment variable:

"env": { "BOOKKEEPING_INVOICE_DIR": "D:\\Accounts\\Invoices" }

Tips

  • Excel files: save them as CSV first (File β†’ Save As β†’ CSV). Bank exports are usually CSV already.

  • Best matches: ask customers to write the invoice number in their transfer description.

  • Always review medium and low matches before posting them to your books. The tool shows its reasons so this is quick.

Development

git clone https://github.com/mubasher1111/bookkeeping-mcp.git
cd bookkeeping-mcp
npm install
npm test     # starts the server over stdio and calls every tool with real files

License

MIT. Made by ZexCart. More free tools: zexcart.site/dev-tools.

If it saves you time at month-end, please ⭐ star the repo.

Available Tools

5 tools
calculate_invoiceCalculate invoice totalsA
Read-onlyIdempotent

Works out every amount on an invoice without saving anything: line and invoice discounts (applied before tax), sales tax by rate, delivery charges, amount paid, balance due, and the total in words (English and Urdu for PKR).

Inputs: invoice (required).

create_invoiceCreate an invoiceA
Idempotent

Creates a professional, print-ready A4 invoice as an HTML file (open it in a browser and choose Print > Save as PDF). It becomes a "Sales Tax Invoice" when tax is charged and the seller has an NTN/STRN. Saves to output_path, or to the Invoices folder in the user's home folder by default. Returns the file path and totals.

Inputs: invoice (required), overwrite, urdu_words, output_path.

next_invoice_numberNext invoice numberA
Read-onlyIdempotent

Suggests the next invoice number, keeping prefix and zero padding: INV-2026-0042 β†’ INV-2026-0043.

Inputs: previous (required).

read_bank_statementRead a bank statementA
Read-onlyIdempotent

Reads a bank statement CSV (from any bank: Date, Narration/Description, Debit/Credit or Amount columns; title rows above the table are fine) and returns a summary: period, money in, money out, net, monthly totals and the largest entries. Give a file path or paste the CSV text.

Inputs: csv, path, day_first.

reconcileReconcile bank statement with invoicesA
Idempotent

Matches bank statement entries with invoices or bills. Returns every match with a confidence level (high/medium/low) and the reasons, including one payment for several invoices and instalments, plus the bank entries and invoices left unmatched. Optionally saves an Excel-ready CSV report. Invoices need an Amount column and at least one of Invoice No, Customer or Date.

Inputs: day_first, direction, overwrite, tolerance, +6 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 5 tools

    Disambiguation4/5

    Each tool has a fairly distinct role: parsing statements, matching against invoices, computing totals, producing an HTML invoice, and suggesting a number. The main overlap risk is calculate_invoice vs create_invoice, since both compute totals and an agent must infer that one is a dry-run and the other persists a file, though descriptions do state this explicitly. next_invoice_number and read_bank_statement are unambiguous.

    Naming Consistency4/5

    Four of five tools follow a clean verb_noun pattern (read_bank_statement, calculate_invoice, create_invoice, next_invoice_number), all snake_case. 'reconcile' is a bare verb with no object, a minor deviation but still interpretable in context.

    Tool Count4/5

    Five tools is a tight, well-scoped set where each one maps to a clear step in a statement-to-invoice workflow. It sits at the low end, though, and the thin surface leaves little room for adjacent bookkeeping operations.

    Completeness3/5

    The core flow (read statement β†’ reconcile β†’ number/calculate/create invoice) is covered, but there is no way to create or store bills/expenses even though reconcile matches against them, nor to list, retrieve, or update previously created invoices. Nothing persists structured data, so agents hit a dead end after generating an HTML file.

    Maintenance

    ActivityNo data
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      Lets AI assistants read, search, edit, annotate, sign, redact and OCR PDF files entirely on the local machine, with no uploads and non-destructive writes to new files. It also merges, splits and reorganises pages, fills forms, compares versions to detect tampering, and converts documents between PDF, Word, Excel, images and text, including turning bank statements into spreadsheet rows.
      22
      AGPL 3.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to read, validate against the official KoSIT rules (no Java), create, and display XRechnung and ZUGFeRD e-invoices, and export incoming invoices as DATEV posting batches. Running it with a cloud language model sends invoice contents to that provider's service.
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI clients to read receipt and invoice files, organize them with standardized filenames, append entries to an Excel-friendly CSV ledger, and search ledger records locally without network access or deletion.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to convert bank statements and mobile money exports (PDF, scanned PDF/OCR, CSV, TSV, XLSX) into normalized, accounting-checked JSON transactions with confidence scores and alerts, entirely locally with no network calls or document storage.
      MIT