Agent♥︎Age
Catalog

io.github.theluckystrike/trial-balance

OfficialLive

by theluckystrike · JavaScript

Prove your books balance: every debit and credit for a month, to the minor unit.

io.github.theluckystrike/trial-balance MCP Server

The io.github.theluckystrike/trial-balance Model Context Protocol (MCP) server implements a double-entry ledger to prove monthly bookkeeping balance. It reads existing business documents and derives debits and credits for each movement, including VAT, receivables/payment clearing, deposits, expenses (net of VAT), and fixed assets with monthly depreciation.

🛠️ Key Features

  • Double-entry ledger for existing books
  • Derives debit/credit entries per movement in a period “to the minor unit”
  • Calculates revenue and VAT output from invoices
  • Calculates receivables and payments that clear them
  • Treats deposits as a liability
  • Records expenses by category with VAT removed from gross
  • Includes fixed assets and monthly depreciation
  • Verifies trial balance sums to zero; identifies documents when it does not

🚀 Use Cases

  • Monthly trial balance validation
  • Auditing mismatches in accounting source documents
  • Producing a per-period ledger from invoices, credit notes, purchase orders, deposits, expenses, bank imports, and fixed asset registers

⚡ Developer Benefits

  • Grounded in structured accounting inputs (invoices, credit notes, purchase orders, etc.)
  • Deterministic double-entry derivation for debits and credits
  • Minor-unit precision check for the trial balance total

⚠️ Limitations

  • Scope limited to the provided accounting document types and period-based trial balance proof
  • If totals do not reconcile to the minor unit, the server reports the document whose figures cause the mismatch

Topics

claudecursorinvoicemcpmcp-servermodel-context-protocolspreadsheetaccountingai-toolsbookkeepingclaude-desktopfreelanceinvoicinglocal-firstmcp-serverspdfself-hostedtime-trackingvatproductivity