Billy MCP server
io.github.Thourum/billy-mcp·v0.3.2·1 starsBilly (billy.dk) accounting: invoices, journal entries, trial balance, with write protection.
1 stars42 downloads/wk
Reviews
Write oneNobody has reviewed Billy yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Billy tools (40, 12 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
approve_invoiceApprove a draft Billy invoice (draft -> approved is the only allowed state change). Approval books the invoice; it cannot be reverted to draft.
attach_fileAttach an uploaded file to a Billy record (daybook transaction, invoice, or bill). Get the fileId from upload_file or list_files. Example: attach a receipt to journal entry #67 → ownerType 'daybookTransaction', ownerId '<transaction id>'.
batch_void_daybook_transactionsVoid many daybook transactions in one call with ONE user approval for the whole batch. Continues past individual failures and reports per-id results. Irreversible.
billy_raw_requestEscape hatch: call any Billy API v2 endpoint not covered by a dedicated tool. Examples: GET /currencies, /countries, /taxRates, /salesTaxReturns, /invoiceReminders, /files, /bankLines, /postings, /users. Write requests must wrap the body in a singular resource key, e.g. { "daybookTransaction": {...} }. WARNING: POST/PUT/DELETE have real accounting effects — prefer dedicated tools when available. N
create_bank_paymentwrite actionRecord a bank payment in Billy to mark an invoice or bill as (partially) paid. Creates a bankPayment associated with the subject via 'invoice:<id>' or 'bill:<id>'. For invoices money is deposited (debit); for bills it is withdrawn (credit). WARNING: this posts a real accounting transaction.
create_billwrite actionCreate a supplier bill (expense) in Billy with one or more lines coded to expense accounts. Created as draft by default; pass state=approved to book it immediately.
create_contactwrite actionCreate a new contact (customer or supplier) in Billy. Returns the created contact including its ID.
create_contact_personwrite actionAdd a contact person (name and/or email) to an existing Billy contact. Emails are used to mail invoices.
create_daybook_transactionwrite actionCreate a manual journal entry (daybook transaction) in Billy with balanced debit/credit lines. Validates balance client-side before asking for approval. Supports safe-retry deduplication via idempotencyKey. Created as draft by default; state=approved books it immediately.
create_invoicewrite actionCreate an invoice (or credit note) in Billy with one or more lines. Created as draft by default; pass state=approved to approve immediately (approval assigns the invoice number and books it). Amounts are in the invoice currency.
create_productwrite actionCreate a product in Billy, optionally with per-currency unit prices. Returns the created product including its ID.
delete_invoicewrite actionDelete a Billy invoice (drafts only; approved invoices must be voided/credited instead). Returns meta.deletedRecords.
execute_scriptwrite actionget_accountGet a single account from the Billy chart of accounts by ID.
get_account_balancesAccount balances / trial balance computed from postings. Ask "what is the balance of account 5211" → accountNos: ["5211"]. Omit account filters for a full trial balance. Bound with minEntryDate/maxEntryDate for speed — the tool fetches and aggregates all matching postings server-side.
get_billGet a single Billy bill by ID, including its lines, balance and paid status.
get_contactGet a single Billy contact by its ID, including full address and settings.
get_invoiceGet a single Billy invoice by ID, including its lines, balance and paid status.
get_organizationGet the Billy organization (company) details: name, base currency, VAT settings, default payment terms, fiscal year, invoice numbering. Call this first to learn the organization ID and base currency used by other tools.
get_productGet a single Billy product by ID, plus its per-currency prices.
list_accountsList the chart of accounts in Billy. Use this to find account IDs for bill lines, product revenue accounts, and bank accounts for payments (look for isPaymentEnabled/isBankAccount).
list_attachmentsList attachments (file↔record links). Filter by owner to see what's attached to a specific record; ownerReference is applied client-side within the page.
list_balance_modifiersList balance modifiers (payment associations) in Billy. Filter by subjectReference like 'invoice:<id>' or 'bill:<id>' to see which payments settled a specific invoice or bill. NOTE: subjectReference is not documented server-side; it is also enforced client-side within the fetched page.
list_bank_line_matchesList bank line matches (bank reconciliation groupings). isApproved filter applied client-side within the page.
list_bank_linesList imported bank lines. Date and matched filters are applied client-side within the fetched page.
list_bank_paymentsList bank payments recorded in Billy. Useful to review what payments exist for reconciliation. NOTE: Billy only supports organizationId server-side for this endpoint; contactId/cashAccountId/date filters are applied client-side within the fetched page.
list_billsList supplier bills (expenses) in Billy with filters for supplier, state, paid status, date range and free-text search.
list_contact_personsList contact persons (names/emails used for sending invoices) belonging to a Billy contact.
list_contactsList contacts (customers and suppliers) in Billy. Supports free-text search and filtering. Use this to find a contact ID before creating invoices or bills.
list_daybook_transactionsList daybook transactions (manual journal entries) in Billy, filterable by state and entry date range.
list_daybooksList daybooks in Billy. Find the daybook ID used for manual journal entries.
list_filesList files uploaded to Billy (receipts, invoices PDFs, etc.). Files are append-only via the API.
list_invoicesList invoices in Billy with filters for customer, state, date range and free-text search. Returns invoices plus meta.paging.
list_postingsList ledger postings (individual debit/credit entries). For balances/aggregates use get_account_balances instead. Date/void/text filters are applied client-side within the fetched page — narrow with accountId.
list_productsList products in Billy. Use this to find a product ID before creating invoice lines. Supports free-text search.
list_transactionsList booked transactions. transactionNo/voucherNo filters are applied CLIENT-SIDE (Billy silently ignores them as query params) by scanning up to 5000 records — bound with dates when possible.
update_contactwrite actionUpdate an existing Billy contact. Only provided fields are changed.
update_productwrite actionUpdate an existing Billy product. Only provided fields are changed. Providing prices replaces all existing prices.
upload_filewrite actionUpload a local file (pdf/jpg/jpeg/png/gif ONLY — Billy rejects other types with a 422) to Billy and get its file ID. Files are append-only: they cannot be deleted or modified via the API afterwards. Use attach_file to link the uploaded file to a record.
void_daybook_transactionVoid a daybook transaction (journal entry) in Billy. Irreversible — voided entries cannot be reinstated.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan18 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 78 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Billy compares
Against every graded Finance MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 62% of 1,761 Finance servers
- Tools
- 40
- the typical Finance server has 8
- Tools that change things
- 30%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 65% of 946 Finance servers
- Downloads a week
- 42
- more than 37% of 421 Finance servers with a package
What its tools let an agent do: 27 read · 8 create · 3 change · 1 delete · 1 run or deploy
Install Billy in Claude Code, Cursor or VS Code
Runs npx -y billy-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add billy-mcp -- npx -y billy-mcp
What the publisher says
From the Billy repository's README, as published. We do not edit it. Read it on GitHub
billy-mcp — Billy (billy.dk) MCP Server for Claude & AI Assistants
Connect Claude, Cursor, VS Code, and any MCP-compatible AI assistant to Billy — the Danish accounting platform (billysbilling). Create invoices, book journal entries, check account balances, reconcile bank lines, and attach receipts — with built-in human-approval write protection so your AI never books anything without your sign-off.
Billy accounting · Billy.dk API · Danish bookkeeping (bogføring/regnskab) · AI bookkeeping agent · Model Context Protocol server · Claude Desktop integration
What can it do?
Ask your AI assistant things like:
- "Create an invoice for Acme ApS: 10 consulting hours at 1.200 DKK, due in 14 days"
- "What's the balance of account 5211 this quarter?" (trial balance from live postings)
- "Book last month's payroll as a journal entry — draft it, I'll approve"
- "Void these 34 duplicate entries" (one call, one approval, per-item results)
- "Upload this receipt PDF and attach it to journal entry #67"
- "Which invoices are overdue and unpaid?"
40 tools covering invoices, supplier bills, contacts, products, bank payments, manual journal entries (daybook transactions), postings, trial balance, bank reconciliation, file attachments, a sandboxed batch-scripting tool, and a raw API escape hatch for everything else.
Quick start
1. Get a Billy access token
Log into mit.billy.dk → Settings → Access tokens → Create access token. Tokens are per-company and don't expire.
2. Add to your MCP client
Claude Desktop (claudedesktopconfig.json) / Cursor / any JSON-config host:
{
"mcpServers": {
"billy": {
"command": "npx",
"args": ["-y", "billy-mcp"],
"env": {
"BILLY_ACCESS_TOKEN": "<your token>"
}
}
}
}Claude Code (CLI):
claude mcp add billy -e BILLY_ACCESS_TOKEN=<your token> -- npx -y billy-mcpVS Code (.vscode/mcp.json):
{
"servers": {
"billy": {
"command": "npx",
"args": ["-y", "billy-mcp"],
"env": { "BILLY_ACCESS_TOKEN": "${input:billy-token}" }
}
}
}That's it — no clone, no build. npx fetches the published package.
From source (development)
git clone https://github.com/thourum/billy-mcp.git
cd billy-mcp
npm install
cp .env.example .env # paste your token
npm run dev # run over stdio
npm run inspector # try tools in the MCP Inspector UIWrite protection — safe for real financial data
Every write (create/update/approve/void/pay/upload) is gated by BILLYWRITEMODE:
Fail-closed: if your MCP host doesn't support elicitation dialogs, confirm mode blocks writes with instructions instead of executing them. Irreversible operations (approve invoice, void entry, bank payments) are additionally flagged destructiveHint so hosts can add their own guardrails. Declining, dismissing, or leaving the checkbox unticked = nothing is booked.
Environment variables
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Billy: common questions
- Is Billy MCP server safe?
- Mostly: it is graded B (78/100). Read the Billy safety report
- How do I install Billy?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Billy need an API key?
- Yes. The registry entry asks for
BILLY_ACCESS_TOKEN. - Is Billy maintained?
- The last commit was 117 days ago (2026-07-10). The latest release is v0.3.2.
- What can I use instead of Billy?
- Servers from other publishers that do the same job: Bexio MCP server, E Arveldaja MCP server and Norman Finance — AI Bookkeeping, Accounting & Taxes MCP server.
- How does Billy compare with other Finance MCP servers?
- safety score 78/100 (higher than 62% of 1,761 Finance servers); tools 40 (the typical Finance server has 8); tools that change things 30% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Billy
Same job from other publishers: the closest match first, then the best rated.
- BexioSwiss accounting integration for Bexio. 315 tools: invoices, contacts, projects, account balancesnot reviewedGrowingA
- E ArveldajaEstonian e-arveldaja (RIK e-Financials) accounting — invoices, bank import, reports.not reviewedEstablishedB
Norman Finance — AI Bookkeeping, Accounting & TaxesBookkeeping, invoices and tax workflows for European businesses, including Polish KPiR and JPK.not reviewedGrowingA- XeroMCP server for Xero — global cloud accounting: contacts, invoices, payments, items, reportsnot reviewedGrowingB
- three.ws TutorRead a Pay-As-You-Learn tutoring session's itemized tab and close it for an attested invoice.not reviewedEstablishedA