Billy (billy.dk) accounting: invoices, journal entries, trial balance, with write protection.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
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
Ask your AI assistant things like:
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.
Log into mit.billy.dk β Settings β Access tokens β Create access token. Tokens are per-company and don't expire.
Claude Desktop (claude_desktop_config.json) / Cursor / any JSON-config host:
Claude Code (CLI):
VS Code (.vscode/mcp.json):
That's it β no clone, no build. npx fetches the published package.
Every write (create/update/approve/void/pay/upload) is gated by BILLY_WRITE_MODE:
| Mode | Behavior |
|---|---|
read-only | Write tools are not registered at all; raw requests reject non-GET |
confirm (default) | Each write pauses and shows you a native approval dialog (MCP elicitation) with the full payload β the AI cannot approve its own writes |
full | Writes execute without approval |
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.
| Variable | Required | Description |
|---|---|---|
BILLY_ACCESS_TOKEN | yes | Billy API access token (sent as X-Access-Token) |
BILLY_WRITE_MODE | no | read-only, confirm (default), or full |
BILLY_ORGANIZATION_ID | no | Auto-resolved when the token maps to one company |
BILLY_BASE_URL | no | Defaults to https://api.billysbilling.com/v2 |
BILLY_LOCALE | no | en_US, da_DK, fr_FR, nl_NL, de_DE |
Organization & contacts β get_organization, list_contacts, get_contact, create_contact, update_contact, list_contact_persons, create_contact_person
Products β list_products, get_product, create_product, update_product
Invoices β list_invoices, get_invoice, create_invoice (embedded lines, draft or approve-immediately), approve_invoice, delete_invoice
Bills (expenses) β list_bills, get_bill, create_bill
Payments β create_bank_payment (mark invoices/bills paid), list_bank_payments, list_balance_modifiers
Journal entries (daybook) β create_daybook_transaction (client-side debit/credit balance validation + idempotency-key safe retry), void_daybook_transaction, batch_void_daybook_transactions (N voids, one approval), list_daybook_transactions, list_daybooks
Reporting & reconciliation β get_account_balances (trial balance / per-account balance from postings), list_postings, list_transactions, list_accounts, get_account, list_bank_lines, list_bank_line_matches
Files & attachments β upload_file (pdf/jpg/png/gif), attach_file (link to invoice/bill/journal entry), list_files, list_attachments
Power tools β execute_script (sandboxed JS batch runner with server-enforced mutation log + dry_run), billy_raw_request (any Billy v2 endpoint)
verbose: true for full payloadsappliedFilters transparency: Billy silently ignores unknown query params β every list tool reports which filters ran server-side vs client-side, so the agent never mistakes "filter ignored" for "no results"idempotencyKey on journal entries dedupes safely after timeoutsexecute_script runs loops (e.g. 34 voids) with a full audit log returned even when the script fails mid-runIs this an official Billy integration? No β community project using Billy's public REST API v2.
Does it work with Billy's free plan? Yes, any account that can create access tokens at mit.billy.dk.
Can the AI spend my money? In default confirm mode, no write happens without you clicking approve in a dialog the model can't touch. Use read-only for pure analysis sessions.
Which AI apps are supported? Anything speaking Model Context Protocol over stdio: Claude Desktop, Claude Code, Cursor, Windsurf, VS Code (GitHub Copilot), Zed, and more.
Stack: TypeScript, MCP TypeScript SDK v2, Zod v4 schemas. Billy API reference mirrored in docs/billy-api.md.
Keywords: Billy MCP server, billy.dk API, billysbilling integration, Danish accounting AI, bogfΓΈring automatisering, regnskab AI, Claude accounting, MCP accounting server, AI bookkeeping Denmark, fakturering API.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/billy-mcp)<a href="https://allmcps.com/mcp/billy-mcp"><img src="https://allmcps.com/api/badge/billy-mcp?style=directory" alt="Billy Mcp on AllMCPs" /></a>