ucetka-mcp
Manage Czech freelance accounting locally via MCP: invoices, expenses, VAT/tax filings, payments, and overviews.
View supplier profile and saved customers; look up or add Czech companies via ARES.
Preview next invoice number; issue invoices (PDF/A-3, ISDOC, QR Platba) and credit notes; list, inspect, cancel, or mark invoices paid.
Export invoices to Pohoda XML and draft invoice e-mails in Mail.app (macOS).
Sync/import invoice PDFs, list documents needing manual entry, and add/remove/mark paid received expenses.
Record tax/insurance payments and view monthly ČSSZ advance schedules.
Export quarterly VAT return, control statement, and EC sales list as EPO XML.
Get tax/income/insurance overviews with optional forecasts and export the income/expense book as CSV/PDF.
Open the local web dashboard (macOS).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ucetka-mcp Vystav fakturu Vzorové firmě na 4 h konzultací po 2 500 Kč, splatnost 14 dní."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ucetka-mcp
AI-native accounting for Czech freelancers (OSVČ), driven from an AI chat via MCP.
Tell your AI assistant "issue an invoice to Vzorová firma for 4 hours of consulting at 2 500 CZK" and ucetka-mcp produces a legally complete Czech invoice (PDF/A-3 with embedded ISDOC and a QR payment code), records it, and later turns your records into the VAT return, control statement and income-tax estimate. Everything runs locally on your Mac.
Sample invoice and dashboard with fictional data.
Not tax advice. ucetka-mcp is a personal open-source tool, not a certified accounting product. Tax and insurance calculations are estimates. Always review generated invoices, VAT returns and statements before you file them, and consult a tax advisor (daňový poradce) when in doubt. The authors accept no liability for errors or penalties.
What it does
Invoices and credit notes that meet the Czech VAT Act (§ 28–35 and § 45 of Act 235/2004 Coll.): PDF/A-3a with an embedded ISDOC 6.0.2 XML (
invoice.isdoc, validated against the official XSD and Schematron rules), so accounting software can import them, and a QR Platba code (SPAYD, optionally QR Platba+F with invoice data).VAT payer or non-payer, EU reverse charge, foreign currencies with the Czech National Bank rate on the tax point date, Czech or English PDF layout.
Records: issued invoices (the single source of invoice numbering), received invoices for VAT deduction, payments; received invoices are read from ISDOC (embedded in the PDF or a standalone
.isdocfile) and the rest is entered by the AI from the PDF; import of existing ISDOC PDFs, company lookup in the public ARES registry.VAT filings as XML for the tax portal (EPO): VAT return (DPHDP3), control statement (DPHKH1) and EC sales list (DPHSHV).
Income tax and insurance: personal income tax with flat-rate or actual expenses, social and health insurance for side activity, year-end forecast, monthly advances (with QR codes), deadlines, limits.
Cash-basis bookkeeping (daňová evidence): income and expense book as CSV/PDF.
Pohoda XML export (Stormware, validated against the vendored XSD).
Local web dashboard (FastAPI) for people who prefer clicking to chatting.
Related MCP server: tillbooks
Who it is for
Czech sole traders (OSVČ) who invoice in CZK or EUR and want to run their paperwork from Claude (or another MCP client) instead of a SaaS like Fakturoid. It encodes Czech rules (VAT Act, Income Tax Act, ČSSZ/VZP), so it is of little use outside the Czech Republic. Currently macOS only (Homebrew, LaunchAgent, Mail.app drafts).
How it works
Claude Desktop / Claude Code / Antigravity
│ MCP (stdio)
▼
ucetka-mcp server ──► issue pipeline: Pydantic model → WeasyPrint PDF/A-3 → ISDOC (Jinja2 + lxml XSD) → pikepdf embed
│ → QR Platba (SPAYD)
├─► records ~/.ucetka/ (YAML + JSON, plain files)
├─► PDFs ~/Documents/Účetnictví/Vydané faktury/YY_MM_vydane/
└─► filings ~/Documents/Účetnictví/Přehledy/<year>/ (EPO XML, book of income and expenses)
ucetka CLI · web dashboard http://127.0.0.1:8765/prehledThe MCP server exposes about 25 tools, for example issue_invoice, issue_credit_note, lookup_company,
list_invoices, mark_paid, add_expense, export_vat_return, tax_overview, advance_schedule, export_book,
draft_invoice_email (creates a Mail.app draft and never sends it) and open_dashboard.
Installation
Requirements: macOS, Homebrew.
git clone https://github.com/kubanekmartin/ucetka-mcp.git ~/ucetka-mcp
cd ~/ucetka-mcp
./install.sh
ucetka initinstall.shinstallsuvandpango(for WeasyPrint), the Python environment, theucetkaanducetka-mcpcommands in~/.local/bin, the dashboard as a LaunchAgent,~/Applications/Faktury.app, and registers the MCP server for Claude Desktop and Antigravity. It is safe to run again (for example aftergit pull).ucetka initasks for your company ID (IČO, the rest comes from ARES), bank account, VAT status and tax profile, and writes~/.ucetka/supplier.yamland~/.ucetka/tax.yaml.Restart your AI client.
Claude Code: claude mcp add ucetka -- ~/.local/bin/ucetka-mcp.
With uvx (once published to PyPI)
Once the package is published to PyPI, you can run the server without cloning the repository (you still need pango
for WeasyPrint, e.g. brew install pango). In the Claude Desktop config:
{
"mcpServers": {
"ucetka": {
"command": "uvx",
"args": ["ucetka-mcp"]
}
}
}Docker
The repository includes a Dockerfile for the stdio MCP server (it is also what the Glama directory builds):
docker build -t ucetka-mcp .
docker run -i --rm -v ~/.ucetka:/home/ucetka/.ucetka ucetka-mcpYour data stays in ~/.ucetka on the host. The macOS-only tools do not work in the container: Mail.app drafts
(draft_invoice_email) and the dashboard opener (open_dashboard).
Usage
In the chat (Czech or English both work):
Vystav fakturu Vzorové firmě na 4 h konzultací po 2 500 Kč, splatnost 14 dní.
Kolik mám letos zaplatit na daních a pojištění?
Připrav přiznání k DPH a kontrolní hlášení za 3. čtvrtletí.
Faktura 2610001 je zaplacená k dnešku.From the terminal:
ucetka issue --invoice muj.yaml # YAML like examples/2605001.yaml; supplier comes from ucetka init
ucetka list
ucetka dph --rok 2026 --q 3
ucetka kniha --rok 2026
ucetka dashboardAll names, company IDs and bank accounts in examples/ and tests/ are fictional.
Development
uv sync
DYLD_FALLBACK_LIBRARY_PATH=$(brew --prefix)/lib uv run pytest -q
make issue # demo invoice from examples/ into build/smoke, isolated from your real recordsWeasyPrint needs DYLD_FALLBACK_LIBRARY_PATH to find Homebrew's libgobject; macOS SIP strips DYLD_* from child
processes, so it has to be set before Python starts (the wrappers from install.sh do that).
Ground rules: the ISDOC XSD validation is a hard gate (an invalid ISDOC is worse than none), inputs are validated with
Pydantic and fail fast, and tax rates live in src/ucetka/tax_params.py with links to their official sources.
Limitations
Not supported yet: main (non-side) business activity with minimum advances, self-employed without an exemption from the health-insurance minimum, depreciation of assets over 80 000 CZK, travel allowances, reduced VAT deduction (§ 75), simplified tax documents. The EPO XML follows real filings, but the official EPO schema is not public: always run the "Kontrola" check in EPO before submitting.
License
MIT, see LICENSE.
Česky
ucetka-mcp je fakturace a daňová evidence pro OSVČ na macOS, ovládaná z AI chatu (Claude Desktop, Claude Code, Gemini v Google Antigravity) přes MCP nebo z webového přehledu v prohlížeči.
Faktury a dobropisy jako PDF/A-3 s vloženým ISDOC 6.0.2 a QR Platbou (i QR Platba+F).
Evidence vydaných a přijatých faktur, odpočet DPH, přiznání k DPH, kontrolní a souhrnné hlášení jako XML pro EPO.
Daň z příjmů, sociální a zdravotní pojištění: odhad, prognóza do konce roku, zálohy.
Výdajový paušál nebo daňová evidence se skutečnými výdaji (kniha příjmů a výdajů v PDF/CSV).
Všechna data zůstávají lokálně (
~/.ucetka,~/Documents/Účetnictví).
Upozornění: nejde o daňové poradenství ani certifikovaný účetní software. Výpočty daní a pojistného jsou odhad. Faktury, přiznání a hlášení si před podáním vždy zkontroluj, v nejasných případech se obrať na daňového poradce.
Instalace: ./install.sh a ucetka init (viz výše). Podrobný návod pro netechnické uživatele je v
scripts/NAVOD.txt.
Co | Kde |
Profil, evidence, zálohy |
|
Vydané faktury (PDF) |
|
Přijaté faktury (PDF, ISDOC) |
|
Přiznání DPH, KH, SH, kniha |
|
Složky jde změnit proměnnými UCETKA_HOME, UCETKA_OUT, UCETKA_RECEIVED, UCETKA_REPORTS.
Daňový profil (~/.ucetka/tax.yaml)
expense_mode: actual # actual = skutečné výdaje (daňová evidence), flat_rate = paušál
flat_rate_percent: 60 # jen u paušálu
health_status: employee # employee = zaměstnanec, student = pojištěnec státu
employment_income: 600000 # roční hrubá mzda, jen pro odhad daně
social_advance_monthly: 1574
vat_period: quarterly
deductions: 0 # nezdanitelné části (penzijní spoření…)
last_tax_liability: 0 # poslední daň, určuje zálohy na daňPřed prvním exportem DPH doplň hlavičku podání (opiš ji ze svého posledního XML z EPO):
epo:
c_ufo: "451" # kód finančního úřadu
c_pracufo: "2001" # kód územního pracoviště
dic: "1234567890" # DIČ bez CZ
jmeno: Jan
prijmeni: Novák
zkrobchjm: JAN NOVÁK
ulice: Hlavní
c_pop: "1"
naz_obce: Praha
psc: "11000"
email: jan@example.comVolitelně pro QR platbu zálohy ČSSZ (údaje z dopisu ČSSZ): cssz_payment: {account: "…/0710", variable_symbol: "…"}.
Skutečné výdaje
Přijaté faktury ukládej do
Přijaté faktury/RR_MM_prijate/jakoRRMMNNN.pdf. Načítají se v tomto pořadí:RRMMNNN.isdocvedle PDF (nebo samotné, bez PDF), např. ISDOC stažený z účtu na Alze;ISDOC vložený v PDF (Pohoda, FakturaOnline…);
text faktury od Alzy;
zbytek označí k zadání a AI ho v chatu přečte z PDF a zapíše sama (
list_import_issues→add_expense).
Do daně jde výdaj až zaplacený: na stránce Výdaje klikni „Zaplaceno“.
Soukromé použití:
business_share(např. telefon 50 %) krátí výdaj pro daň z příjmů. Krácený odpočet DPH (§ 75) export zatím neumí a odmítne ho.
Available Tools
25 toolsadd_customerAdd customer from ARESA
Save a Czech company to the customer address book (~/.ucetka/customers.yaml) under customer_id, with name, address, DIČ (VAT ID) and VAT status fetched from the ARES registry by IČO (company ID).
Side effects: one HTTPS request to ares.gov.cz, then appends to customers.yaml. Not idempotent: if customer_id already exists it raises an error and changes nothing (existing entries are never overwritten or updated). Fails if the IČO is unknown in ARES or ARES is unreachable. Use lookup_company to only check a company, list_customers to see saved ones. Foreign customers without an IČO cannot be added here; pass their details directly to issue_invoice. Returns a one-line summary of the saved customer.
Inputs: ico (required), customer_id (required), email. Returns: result
add_expenseRecord received invoice (expense)A
Record a received invoice (expense) by hand, mainly documents the import could not read (see list_import_issues). Returns a one-line confirmation with base, VAT and whether it is input VAT or reverse-charge self-assessment.
Side effects: writes ~/.ucetka/expenses/<expense_id>.json, then re-runs the received-invoice import so the matching issue disappears. No network. Not idempotent: if expense_id already exists it fails and changes nothing — use remove_expense first to replace a wrong entry. Validation fails on inconsistent reverse-charge, goods or claim_date combinations. Single VAT rate per call. For issued invoices use add_manual_invoice; to mark an existing expense paid use mark_expense_paid.
Inputs: base (required), expense_id (required), supplier_name (required), tax_point_date (required), +13 more. Returns: result
add_manual_invoiceRecord existing issued invoiceA
Record in the ledger an issued invoice whose PDF already exists but which the import could not read (see list_import_issues). Nothing is generated or rendered — the PDF stays as it is. Returns a confirmation with the base and VAT.
Writes ~/.ucetka/invoices/.json (customer address left empty, no bank account) and re-runs the issued-invoice import. No network. Not idempotent: fails if the number already exists in the ledger. To create a NEW invoice with a PDF use issue_invoice; for received invoices use add_expense.
Inputs: lines (required), number (required), due_date (required), pdf_path (required), +6 more. Returns: result
advance_scheduleČSSZ advance scheduleARead-onlyIdempotent
Show the month-by-month ČSSZ (social insurance) advances for a year — each month paid (with amount), overdue, due this month or future — plus the estimated monthly advance after this year's annual statement and a note on income-tax advances.
Read-only: uses the monthly amount from ~/.ucetka/tax.yaml and payments recorded with record_payment; does not
run the import and contacts no network. Needs supplier config from ucetka init. Use record_payment to log
an advance once paid, and tax_overview for the overall tax and insurance picture.
Inputs: year. Returns: result
cancel_invoiceCancel issued invoiceADestructiveIdempotent
Cancel (storno) an issued invoice: it stays in the ledger and in the number series, but no longer counts towards income, VAT or overviews. Use ONLY when the user explicitly cancels it and it was never delivered to the customer; if it was already delivered, do not cancel — issue a credit note with issue_credit_note.
Destructive: overwrites the invoice's status (also a paid one) in ~/.ucetka/invoices/.json; no tool restores it. Repeating sets the same state (a new reason replaces the old). The PDF file is kept. Re-runs the issued-invoice import afterwards. Fails for unknown numbers. Confirm with the user first.
Inputs: number (required), reason (required). Returns: result
draft_invoice_emailDraft invoice e-mail in Mail.appA
Open a DRAFT e-mail in Apple Mail.app with the invoice PDF attached, subject 'Faktura — ', ready for the user to review and send. Never sends anything.
macOS only (drives Mail.app via osascript and brings it to the front); fails elsewhere or if the PDF file is missing. Not idempotent: each call creates another draft. Use it right after issue_invoice or issue_credit_note; afterwards, when the money arrives, use mark_paid. Returns a confirmation with the recipient.
Inputs: number (required), to, message. Returns: result
export_bookExport income/expense bookAIdempotent
Export the yearly income and expense book (kniha příjmů a výdajů, the cash-basis tax record) as CSV (semicolon-separated, opens in Czech Excel) and PDF. Rows are only PAID issued invoices and PAID expenses, dated by payment date. Returns income, deductible expenses, their difference and both file paths.
Writes ~/Documents/Účetnictví/Přehledy//kniha_.csv and .pdf, overwriting previous versions, so
repeating is safe. Does not run the import (call sync_invoices first if new PDFs were added) and contacts no
network. Needs supplier config from ucetka init. Use tax_overview for estimates of tax due and
export_vat_return for VAT filings.
Inputs: year. Returns: result
export_invoice_pohodaExport invoice to Pohoda XMLAIdempotent
Export one issued invoice as a Pohoda XML import file (windows-1250, validated against the Pohoda XSD), for an accountant who uses the Pohoda accounting software.
Writes faktura_.pohoda.xml next to the invoice PDF and overwrites it on repeat, so calling again is safe. No network. Fails for unknown numbers, credit notes (not supported), reverse-charge invoices without eu_classification, VAT rates other than 21/12/0, item texts too long for Pohoda or characters not representable in windows-1250. Returns the file path and the Pohoda import menu path. Not needed for the built-in reports (export_vat_return, export_book).
Inputs: number (required), eu_classification. Returns: result
export_vat_returnExport quarterly VAT filingsA
Prepare the quarterly VAT filings as EPO XML files: VAT return (DPHDP3), control statement (DPHKH1) and, only if there were EU services, the EC sales list (DPHSHV). Returns the computed form rows and file paths.
Side effects: first runs the same import as sync_invoices (new PDFs are added to the ledger and the
import-issue lists are rewritten), then writes into
~/Documents/Účetnictví/Přehledy//_Q_přehledy/{DPH,KH,SH}/. File names carry a timestamp, so
every non-preview call adds a new set of files instead of overwriting. Nothing is filed: the user uploads the
files on Moje daně (EPO). Requires a quarterly VAT payer and the epo section in ~/.ucetka/tax.yaml; fails
on documents that cannot be classified (e.g. an EU supplier without DIČ, VAT ID). Resolve
list_import_issues first. For a quick look at VAT due use tax_overview.
Inputs: year (required), quarter (required), preview, filed_on. Returns: result
get_invoiceShow invoice detailARead-onlyIdempotent
Show one issued invoice from the ledger: summary line with state, PDF path, customer, items, bank account with IBAN and the SPAYD string encoded in its QR payment code.
Read-only, no network. Use it when the number is known; to search or filter use list_invoices. Fails with InvoiceNotFound for an unknown number. Invoices without a bank account (e.g. recorded via add_manual_invoice) show no IBAN/SPAYD.
Inputs: number (required). Returns: result
get_supplierShow supplier profileARead-onlyIdempotent
Return the user's own business details (the invoicing supplier): name, IČO (company ID), DIČ (VAT ID), VAT-payer status, address and the default bank account used on new invoices.
Read-only; reads ~/.ucetka/supplier.yaml, no network. Use it to check who invoices are issued as or which
account issue_invoice will use by default; for customers use list_customers, for any other company
lookup_company. Fails with FileNotFoundError if the profile has not been created with ucetka init.
Inputs: no named parameters. Returns: result
issue_credit_noteIssue credit noteA
Issue a credit note (opravný daňový doklad / dobropis) for an issued invoice: PDF/A-3 with ISDOC (DocumentType 2), no QR code, with the next number in the regular series. Returns the PDF path and the reduction (base, VAT, total to refund).
Use it instead of cancel_invoice when the invoice was already delivered, or for a partial discount. Amounts on the document are positive; overviews and the VAT return subtract them in the period of the credit-note date. Side effects: writes ~/Documents/Účetnictví/Vydané faktury/<YY_MM_vydane>/dobropis_.pdf and a ledger record. Not idempotent: each call creates another credit note, but the total credited can never exceed the original's base. Fails if the original is unknown, cancelled or itself a credit note. Currency and exchange rate are taken from the original (no network). Confirm with the user first; then draft_invoice_email can send it.
Inputs: reason (required), original_number (required), lines, issue_date. Returns: result
issue_invoiceIssue invoice (PDF + ISDOC)A
Issue a new invoice: render a PDF/A-3a with an embedded ISDOC 6.0.2 e-invoice and a QR Platba+F payment code, save it and record it in the ledger. Returns a summary: PDF path, number, items, totals, due date and variable symbol.
Side effects: writes ~/Documents/Účetnictví/Vydané faktury/<YY_MM_vydane>/faktura_.pdf (folder by
DUZP, tax point date) and ~/.ucetka/invoices/.json; calls ARES when customer_ico is used and the ČNB
rate API when currency is not CZK. Not idempotent: every call creates a new invoice with a new number, so
never retry blindly — check list_invoices first. Validation errors (e.g. reverse-charge rules, missing
customer or bank account) raise before anything is written and consume no number; an existing number or PDF
is never overwritten. Needs supplier config from ucetka init.
Confirm the customer (list_customers / lookup_company) and amounts with the user first. Use
add_manual_invoice instead to record an invoice whose PDF already exists, and issue_credit_note to correct a
delivered invoice. Next step is usually draft_invoice_email.
Inputs: lines (required), note, currency, due_days, +15 more. Returns: result
list_customersList saved customersARead-onlyIdempotent
List the customer address book (~/.ucetka/customers.yaml): one line per customer with its customer_id, name, IČO (company ID), DIČ (VAT ID), VAT-payer status, address and e-mail.
Read-only, no network. Call it before issue_invoice to find the customer_id to pass. If the customer is missing, use lookup_company to check them in the ARES registry and add_customer to save them. Returns a hint instead of a list when the book is empty.
Inputs: no named parameters. Returns: result
list_import_issuesList documents needing manual entryARead-onlyIdempotent
List documents the last import could not process, one per line with the PDF path and the reason: no ISDOC, unknown format, foreign supplier, duplicate number, or a recorded document whose PDF has disappeared.
Read-only: it shows the lists stored by the last sync and does not re-scan — call sync_invoices first for a fresh state. For each received ('Přijatá') document read the PDF and record it with add_expense (pass pdf_path); for each issued ('Vydaná') one use add_manual_invoice. If a received PDF was deleted on purpose, use remove_expense. Ask the user about unclear points (reverse charge, private use) instead of guessing. Returns 'Nic, vše načteno.' when there is nothing to do.
Inputs: no named parameters. Returns: result
list_invoicesList issued invoicesARead-onlyIdempotent
List issued invoices (and credit notes) from the local ledger, oldest first, one line each: number, issue date, customer, total incl. VAT, due date and state — unpaid ('nezaplacena'), overdue ('PO SPLATNOSTI'), paid with date, or cancelled ('STORNO' with reason).
Read-only, no network. Use it to find unpaid/overdue invoices or an invoice number; for one invoice's items, bank details, QR string and PDF path use get_invoice. It does not pick up new PDFs — run sync_invoices first if invoices were added to the folder outside ucetka. Received invoices (expenses) are not included. Returns 'Žádné faktury.' when nothing matches.
Inputs: month, status. Returns: result
lookup_companyLook up company in ARESARead-onlyIdempotent
Look up a Czech company in the public ARES registry (Ministry of Finance) by IČO (company ID) and return its official name, registered address, DIČ (VAT ID) and whether it is an active VAT payer.
Read-only: makes one HTTPS request to ares.gov.cz and saves nothing. Use it to verify a customer before invoicing; to also store the company in the address book use add_customer instead (it does the same lookup). Fails with CompanyNotFound if the IČO does not exist, or with an HTTP/network error if ARES is unreachable.
Inputs: ico (required). Returns: result
mark_expense_paidMark expense paidA
Mark a received invoice (expense) as paid. Matters for bookkeeping with actual expenses (daňová evidence), where an expense counts for income tax only once paid; flat-rate users rarely need it.
Updates ~/.ucetka/expenses/<expense_id>.json. Not idempotent: fails if the expense is already marked paid (the stored date is kept) or does not exist. Returns a confirmation. For issued invoices paid by customers use mark_paid; for tax or insurance payments use record_payment; to set the date when first recording an expense pass paid_date to add_expense.
Inputs: expense_id (required), paid_date. Returns: result
mark_paidMark issued invoices paidAIdempotent
Mark issued invoices (money received from customers) as paid on a given date, e.g. after checking a bank statement. Updates ~/.ucetka/invoices/.json and returns the updated summary line of each invoice.
Idempotent: repeating the call sets the same state; a different paid_date overwrites the stored one. Invoices are processed in order and the call stops at the first unknown number (earlier ones stay paid). It does not check the current state, so do not use it on a cancelled invoice. For received invoices (expenses) use mark_expense_paid; for tax or insurance payments to authorities use record_payment.
Inputs: numbers (required), paid_date. Returns: result
open_dashboardOpen dashboard in browserARead-onlyIdempotent
Open the graphical dashboard (charts of income, taxes and limits) at http://127.0.0.1:8765/prehled in the user's default browser. Returns the URL.
macOS only (uses the open command); changes no data, but opens a new browser tab on every call. It does not
start the web server — that runs as a background LaunchAgent set up by the installer (or ucetka dashboard);
if it is not running the page will not load. Use tax_overview when a text answer is enough.
Inputs: no named parameters. Returns: result
peek_invoice_numberPreview next invoice numberARead-onlyIdempotent
Return the invoice number that issue_invoice would assign next, in the form YYMMNNN (year, month of the issue date, 3-digit sequence), e.g. '2610001'.
Read-only and reserves nothing: the number is computed again when issue_invoice runs, so it can change if another invoice is issued in between. Takes into account the ledger (~/.ucetka/invoices) and PDFs already in the issued-invoices folder. Use it to tell the user the number in advance; to create the invoice use issue_invoice.
Inputs: issue_date. Returns: result
record_paymentRecord tax or insurance paymentA
Record a payment the user made to an authority — an advance (záloha) or settlement (doplatek) of income tax, ČSSZ (social insurance), health insurance or VAT. tax_overview and advance_schedule use these to show what is paid and what remains.
Appends to ~/.ucetka/payments.json. Not idempotent: there is no duplicate check, so calling twice records the payment twice (there is no tool to delete one). Pays nothing and contacts no one. Returns a confirmation. For invoices paid by customers use mark_paid; for paid supplier invoices use mark_expense_paid.
Inputs: kind (required), amount (required), note, period, +2 more. Returns: result
remove_expenseRemove expense recordADestructive
Delete a received invoice (expense) record from the ledger — only when the user explicitly deleted the document or does not want it recorded (e.g. list_import_issues reports its PDF as missing), or to replace a wrong add_expense entry.
Destructive: deletes ~/.ucetka/expenses/<expense_id>.json with no undo; the PDF itself is not touched. It then re-runs the received-invoice import, so if the PDF is still in the received folder it is imported or flagged again right away. Fails if the ID does not exist. Confirm with the user first. Returns what was removed.
Inputs: expense_id (required). Returns: result
sync_invoicesImport new invoice PDFsAIdempotent
Import new PDFs from the issued-invoices folder (read via the embedded ISDOC e-invoice) and the received-invoices folder (ISDOC, or Alza invoice text) into the ledger, for this and last year.
Side effects: adds records under ~/.ucetka/invoices and ~/.ucetka/expenses, re-links moved PDFs and rewrites the issue lists (import_issues.json, expense_issues.json). Idempotent: already-imported PDFs are skipped, so repeating is safe. No network. Returns counts of imported issued/received documents and of documents needing manual entry. Then call list_import_issues and record each listed document with add_expense (received) or add_manual_invoice (issued). tax_overview and export_vat_return run this import automatically.
Inputs: no named parameters. Returns: result
tax_overviewTax and income overviewAIdempotent
Year-to-date business summary in text: invoiced and paid income, estimated income tax and social/health insurance vs. advances paid, VAT per period, effective tax rate, limits (flat-rate cap, 23 % bracket, VAT registration), overdue invoices, number of unprocessed import issues and the next deadlines.
Not read-only: before computing it runs the same import as sync_invoices (new PDFs from the issued and
received folders are added to the ledger, import-issue lists are rewritten); repeating is safe. No network,
files nothing. Needs supplier config from ucetka init. Use it for "how am I doing / what do I owe";
advance_schedule for the month-by-month ČSSZ (social insurance) advances, export_vat_return to produce VAT
filings, export_book for the income/expense book, open_dashboard for a graphical view.
Inputs: year, method, with_forecast. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Most tools target clearly different resources or workflow steps, and the descriptions actively cross-reference near-neighbors such as issue_invoice vs add_manual_invoice, mark_paid vs mark_expense_paid, and cancel_invoice vs issue_credit_note. There are still several close workflow groupings (ARES lookup/add customer, import-triggering tax/export tools), but an agent reading descriptions should select correctly.
The set is overwhelmingly consistent snake_case and mostly follows verb_noun or verb_noun_qualifier patterns. Minor deviations such as advance_schedule and tax_overview use noun phrases rather than action verbs, but they remain clear and readable.
25 tools is at the heavy end for a single accounting assistant. The domain is broad enough to justify many operations, but the surface is large enough that it risks overwhelming tool selection and would benefit from consolidation or grouping.
The invoicing, customer lookup, tax overview, VAT export, and book export lifecycle is well covered. However, there are notable gaps: no list/get for recorded expenses, no list/delete for authority payments, and no update/delete for customers, which creates dead ends for auditing or correcting some records.
Maintenance
Related MCP Connectors
Czech invoicing for freelancers and SMEs: invoices, customers, expenses, payments, cash flow.
AI bookkeeper for Swiss small companies: books invoices, reconciles the bank, keeps VAT current.
Create EU-compliant invoices, manage clients and download PDFs from your AI assistant.
Create, send and track invoices from a conversation in Claude, ChatGPT or any MCP client that supports OAuth. Draft an invoice from one sentence or from last month's invoice for the same client, finalize it, email it to your client and send payment reminders for overdue ones. See revenue by month and by client, download PDFs and e-invoices (ZUGFeRD, XRechnung), and export DATEV packages for your tax advisor. Invoices follow the tax rules of 25 countries, including reverse charge and the small-business VAT exemption. New invoices are drafts, and nothing is emailed until you ask. Pay per invoice with no subscription: the first invoice is free.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to create and manage e-invoices through natural language, supporting EU compliance formats like ZUGFeRD and XRechnung, as well as US plain PDF invoices.7-
- AlicenseBqualityBmaintenanceFree, open-source (MIT), local-first Swiss accounting MCP server: an AI agent posts double-entry journal entries, categorises and chases invoices, and prepares the MWST-Abrechnung (the Swiss VAT return), with a minimalist Studio for human oversight. Posted entries are append-only and immutable, corrections are reversing entries, and every query is tenant-scoped.500477 npm2MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to serve as the only interface for consultant and small-agency billing, recording clients, billable work, expenses and payments, and drafting and issuing invoices. It enforces billing rules server-side, numbering invoices, calculating totals, requiring exact-total approval before issue, and never rewriting an issued invoice.1MIT
- AlicenseAqualityCmaintenanceEnables an AI assistant to read Portuguese invoices and receipts, file them by tax year, and book them into an Excel or Google Sheets workbook. It works out the boxes of the quarterly IVA return, tracks IRS and Segurança Social totals, and reports what documents are still missing.16MIT