Beankeeper
OfficialBeankeeper Desktop
Your AI agent keeps your books through MCP or the bk command line. It can
post, recategorize, and reverse transactions through either interface. When you
ask about your finances, it runs reports and answers in plain words with data
it can chart.
Beankeeper Desktop is the paid, self-hosted layer. It runs as a local service with signed updates and offline licensing. The product site is beankeeper.app.
Ask your agent what changed since you last looked or ask it to undo its work in chat. The ledger records the correction and keeps the original history. Receipt links are available if you want to see the details. Changes and audited undo
Source-available. See LICENSE.md; this repository is not published as a crate. Ledger, schema and accounting changes belong in Govcraft/beankeeper. This repository is closed to outside code contributions. Issues and feedback are welcome; see the contribution guide.
Release packages
The packaging workflow produces Linux tarballs and .deb files, macOS .pkg
files for both architectures, and an x64 Windows ZIP and EXE installer. Paid OS
signing is disabled while the Apple and Azure accounts are pending. Tag releases
include SHA-256 checksums, Sigstore bundles and build provenance. The shell and
PowerShell installers read the latest release version from beankeeper.app and
verify both the platform archive and the checksum list with cosign, fetching a
temporary, hash-verified copy automatically when it is absent from PATH.
See release packaging and verification for artifact names,
installation commands, unsigned dry runs and signing configuration.
To install the app, open beankeeper.app/get.md, or ask an agent:
Install Beankeeper for me by following https://beankeeper.app/get.md
In the ChatGPT desktop app, start a Work task (or open Codex) and paste that same line. A regular ChatGPT chat can't run programs on your computer, so this has to start from the desktop app. Coding agents that can run a shell then follow the steps at beankeeper.app/install/agent.md.
The agent uses your existing installation when it supports setup. For a new install, it downloads the latest release for your platform and verifies both signatures and SHA-256 before running the downloaded binary.
Once your books exist, your agent asks how you want recurring payees, sales tax and processor fees recorded, and how often you want updates. It saves your answers as standing instructions and tells you what it saved. Ask in chat any time to see or change those instructions. Bookkeeping interview
Related MCP server: gnucash-mcp
Claude Desktop extension
Download the Beankeeper extension (a .mcpb file) from
beankeeper.app/get.md, then open it with Claude.
On a Mac or Windows, double-click the file. On Linux, right-click it and choose
Open With > Claude. Dragging the file into a chat only attaches it.
Click Install in the preview, and restart Claude if it asks. In a new chat,
say Set up my books or Set up demo books. Real-books setup creates
encrypted books and starts the 30-day trial. Demo books are free and do not
start the trial. Continue in the same chat after setup. The extension lists its
bookkeeping tools from the start.
Skills over MCP lets
compatible clients load Beankeeper's setup, correction, and reporting guide
directly from the extension or the beankeeper stdio connection. The guide
updates with Beankeeper and needs no separate installation.
Claude Desktop setup and removal
Unsigned builds
There is no paid Apple or Windows signing until revenue is proven. Release binaries are still checksummed, signed with Sigstore (keyless cosign), and attested with GitHub build provenance. Browser-downloaded installers will show OS warnings.
macOS: a browser-downloaded .pkg is blocked as an unidentified developer.
On macOS 15 or later, open System Settings → Privacy & Security and choose
Open Anyway. The older right-click → Open bypass no longer works. A
curl | sh tarball install is not quarantined and does not show that prompt.
Windows: the setup .exe shows SmartScreen Windows protected your PC.
Choose More info → Run anyway. A ZIP extracted in Explorer may also warn
because of the Mark of the Web.
Verify a downloaded asset before installing (replace VERSION and the
filename):
cosign verify-blob --bundle bk-desktop-VERSION-ASSET.sigstore \
--certificate-identity https://github.com/Govcraft/beankeeper-desktop/.github/workflows/release.yml@refs/tags/beankeeper-desktop-vVERSION \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
bk-desktop-VERSION-ASSET
gh attestation verify bk-desktop-VERSION-ASSET --repo Govcraft/beankeeper-desktop \
--cert-identity https://github.com/Govcraft/beankeeper-desktop/.github/workflows/release.yml@refs/tags/beankeeper-desktop-vVERSION \
--source-ref refs/tags/beankeeper-desktop-vVERSIONExact archive names and the BK_DOWNLOAD_BASE override are in the
release guide.
Run quietly in the background
Installers now run bk service install for the logged-in owner. Beankeeper keeps
its encrypted books locally, starts at login and recovers after a crash. Your
agent can use it without opening a browser.
Installation configures ledger MCP plus local lifecycle tools, including while
the server is stopped. The bridge discovers the actual loopback endpoint, with
a fallback when port 8750 is occupied. On Linux, lifecycle commands can find the
owner's session bus when Claude Desktop, an IDE, tmux or SSH launches bk
without the login environment. Status verifies the live service directly.
Recovery material stays in a private file under the owner's control.
Managed installs default to a bookkeeper credential that posts directly and
attributes each write to the agent. Upgrades switch the original managed
read-only default to direct posting and preserve deliberate access choices.
Say Make me read-only to turn posting off, or ask for propose-only access
if you want to review proposed entries. Restarting cannot grant posting access.
Background hosting and managed access
Your agent can report what it changed as soon as it finishes and offer to undo supported changes in chat.
Advanced service commands
bk service install
bk service status --json
bk service stop
bk service start
bk service uninstall # preserves books and recovery materialRun bk agents connect claude-code to register or refresh the Claude Code
connection and skill. Existing entries with the managed command and arguments
can include "type": "stdio" and an empty env.
In the ChatGPT desktop app, start a Work task (or open Codex) and say Install Beankeeper for me by following https://beankeeper.app/get.md. The agent handles the local install and connection. See how to check the connection and start your books in Use Beankeeper with the ChatGPT desktop app.
If Beankeeper is already available, ask your agent to install or upgrade the
Claude Desktop extension, or run bk agents extension. Verification runs
in-process without a separate cosign installation. bk doctor and bk update-check
report whether Claude's separate extension is behind Desktop; the doctor and
update_check MCP tools return the same status. After installing, restart Claude
Desktop or toggle the extension to load the upgrade.
Install or upgrade the signed extension
Build and run
Requires Rust 1.91 or newer and the C build tools needed by upstream's bundled SQLCipher/OpenSSL. See the frontend/toolchain decision.
cargo build --release --locked
./target/release/bk --db /path/to/books.db setup
# Open Desktop and select Pair this browser if prompted:
./target/release/bk openOne process serves the embedded UI at http://127.0.0.1:8750/ and Streamable HTTP
MCP at http://127.0.0.1:8750/mcp. No external asset directory or Node.js is
needed at runtime or build time. Direct links to /transactions, /reports,
/accounts, /transactions/TRANSACTION_ID?company=SLUG, /reports/REPORT_ID,
/reconciliation, /review, and /review/PROPOSAL_ID?company=SLUG work after
pairing.
Unknown URLs return 404.
bk setup creates an encrypted ledger, stores its passphrase in the native OS
keychain, writes a private recovery kit and agent token, merges MCP configs for
Claude Desktop, Claude Code and Codex, and starts the local UI. The default agent
is read-only. --preset bookkeeper enables direct posting and proposals without
spend caps or approval rights. Keep the recovery kit and separate owner
credential offline. See the setup reference for flags, exact
files touched, headless CI usage, recovery and current pairing integration limits.
Use bk setup status --json or the setup_status MCP tool to check setup
progress. Both report the ledger counts and suggest the next step. For details
on a particular book, use bk setup book-show or ledger_setup_book_show.
Your agent can clear entries and complete a monthly statement using
txn_clear and reconcile_statement. A discrepancy reports both balances
and their difference while keeping the statement open. In proposal-only
mode, the review queue shows the selected entries and statement totals before
the owner decides.
Your agent can create customers, vendors, and projects, then link imported transactions and allocate their posted revenue and expense entries. Ask for a project profitability report to verify the allocations. If you use proposal-only access, use the browser review queue to approve or reject those changes.
bk serve requires an existing ledger and resolves the passphrase once without
prompting, using upstream's --passphrase-file, --passphrase-fd or
BEANKEEPER_PASSPHRASE_CMD, then the stored credential for setup-enrolled ledgers.
All upstream CLI commands remain available, including
bk mcp serve for stdio and bk mcp serve --http for MCP-only HTTP. Desktop
extends upstream's command parser and delegates those commands to its dispatcher.
Standalone bk serve supports resuming interrupted MCP streams within the
same session. See Stream resumption.
Use bk --help or bk serve --help for options.
The MCP router receives the already-resolved passphrase through upstream's
public host-tool factory, preserving one-shot secret sources without a pipe or
temporary file.
bk --db /path/to/books.db serve --bind 127.0.0.1:8751 --read-only
bk open --bind 127.0.0.1:8751--read-only removes mutation tools regardless of the agent's capabilities.
Port 0 selects an available port; use the URL printed at startup with bk open --bind 127.0.0.1:PORT. bk open checks /health with a two-second timeout,
without proxies or redirects, before opening a fresh pairing link in the default
browser. With no --bind, it prefers the running managed service. Ctrl-C stops the
listener and cancels upstream MCP sessions before HTTP shutdown completes.
Cross-company statements and historical journals
Run an income statement or balance sheet for selected companies in one ledger
and currency. Ask your agent to use group_income_statement or
group_balance_sheet, or run bk group-report. Results keep each company's
accounts separate and show combined totals before eliminations. The browser
Reports page renders one company per view. Report arguments.
Use txn_import to preview and import a converted general ledger as balanced
JSON journals over MCP. bk txn import accepts the same JSON from a file or
stdin. Keep source journal references stable across retries.
Historical journals and bank statement imports.
For Wise vendor payments, the signed Beankeeper CLI archives supply the
bk-wise-bridge companion. Configure the bridge on the host that runs the
ledger connection. Wise bridge setup.
Automatic local backups
Desktop keeps local backups of your books and attachments automatically. Ask your agent to list the backups or restore one. After restoring, the agent can put your books back using the undo receipt.
Backups stay beside the books and use the books' existing passphrase.
Desktop retains up to seven readable backups totaling up to 2 GiB per ledger,
keeping the newest pre-migration or upgrade backup. It takes a backup on first
use, before migrating the books, on the first open with a new Desktop or core
build, and daily while the service runs. A failed pre-migration backup stops
the migration. After an upgrade, the backup list labels the saved copy
before_migration. An operation that requires current books can report
SCHEMA_MISMATCH with the stored and expected schema versions.
The agent uses backup_list, backup_create, backup_restore and backup_undo
on the ledger connection. Their CLI equivalents are bk backups list,
bk backups create, bk backups restore <backup-id> and
bk backups undo <undo-id>, all with --json.
List uses ledger read access. Create, restore, and undo use a separately
authorized ledger administrator grant. See backup storage and recovery.
Bank feeds
Authorize a bank feed from your local terminal, then ask your agent to refresh and review it. Desktop bank feeds
MCP credentials and the local HTTP boundary
Configure your agent's Streamable HTTP client with the /mcp URL and an
Authorization: Bearer <agent-token> header. Issue an agent token with upstream's
bk key init and bk agent issue commands for an encrypted ledger. Request
credentials, revocation checks and capability rules all come from upstream's
public mcp::http_router_with_host_tools; Desktop copies no authentication or
ledger handlers.
Every MCP request needs a valid token, even if policy enforcement is off.
Upstream's BK_AGENT_TOKEN / --agent-token fallback remains supported when a
request has no Authorization header. Keep this fallback private to your process;
it is never embedded in HTML or returned to the browser.
Every request, including UI assets, health, unknown URLs and MCP, must carry
exactly one allowed Host with the actual bound port: 127.0.0.1:PORT,
localhost:PORT, or [::1]:PORT. When Origin is present it must exactly match
http://HOST for that request, including the port. Missing Origin is allowed for
native clients. Nonlocal, malformed, duplicate or null origins are rejected,
as are rebinding hostnames and wrong ports. There is no permissive CORS layer.
UI responses also forbid framing, inline scripts and third-party scripts through CSP.
These checks complement MCP credentials and the separate browser session.
Pair the browser and connect your agent
Ask your assistant to open Beankeeper Desktop or run bk open. If prompted,
select Pair this browser within five minutes. Opening or refreshing the
link leaves it usable. The button submits a same-origin POST that exchanges the
one-time secret for an HttpOnly, SameSite=Strict cookie, then opens the
requested view. The local service_open MCP tool is available through the
beankeeper-service connection and the Claude Desktop extension. Sessions
expire after 12 hours. Restarting the server clears all links and sessions.
The paired workspace can create another browser link or unpair the current browser.
MCP works before any browser is paired. Successful authenticated responses
include a Beankeeper-Pairing-Url header until the agent has a browser target.
Open that association link in a paired browser and confirm the connection.
The association link alone cannot create a human session. Browser writes require
both the exact Origin and a per-session CSRF token; MCP bearer tokens cannot
act as human credentials. Plain HTTP loopback cookies omit Secure for browser
compatibility and are not suitable for a remote deployment.
See browser pairing and session design for expiry, credential separation, localhost cookie policy and the D4 integration API.
Non-loopback binds fail unless --allow-remote is explicit. That flag permits a
plaintext listener, without TLS, and keeps the same strict local Host/Origin
rules. It does not enable arbitrary remote browser origins. Remote binding is an
advanced development option, not a supported public deployment mode. Prefer the
default 127.0.0.1 bind (or [::1] for IPv6). Other loopback aliases are
rejected because they are outside the UI Host allowlist. A wildcard listener accepts local
connections; a specific remote-interface listener needs a client supplying an
allowed Host and network access to that interface.
Import bank statements
Share a CSV, OFX or QFX statement with your agent. Compatible Streamable HTTP
clients transfer the attachment directly to Desktop and can track a large
import in the background. From the shell, bk import returns the same audit
receipt and counts for recorded rows, duplicates and entries that need
categorization. Statement import guide
Optional detail links
Answer in words first. Agents can then offer a matching Desktop view with
ui_get_link on the managed ledger MCP connection with its ordinary
ledger/read grant, including under --read-only. It returns a
credential-free absolute URL and structured
view/filter identifiers without opening or changing a browser. No pairing,
association or live tab is needed to generate a link. Browser access still
requires human pairing.
The CLI uses the same contract and checks which running Desktop instance serves the requested books. It can do this without opening the books:
bk ui link --view-id transactions --company acme --account 5000 \
--from 2026-10-01 --to 2026-10-31
bk --json ui link --view-id income-statement --company acme \
--from 2026-10-01 --to 2026-10-31 \
--compare-from 2026-09-01 --compare-to 2026-09-30Without --db or BEANKEEPER_DB, the CLI selects the configured managed books
when available. Use bk --db /path/to/demo.db ui link ... for other books. The
listener is discovered automatically, including when it uses a fallback port.
If several instances serve the same books, use --bind 127.0.0.1:PORT to select
one. DESKTOP_BOOKS_NOT_SERVED means the CLI found no matching live instance.
All current views, including
settings and record details, have stable IDs. ui_get_link and ui_show_view
share validation; unsupported filters return VALIDATION rather than being
silently omitted. Include the company, currency and explicit dates from the
financial answer to make its link reproducible.
An unpaired browser remembers the requested view for five minutes. Pairing in that same browser opens the original destination with its filters. An already paired browser arriving from an external site can use continue to your requested view if its Strict cookie was withheld. Each listener serves one books file and has its own browser session. A separate listener needs an initial pairing and keeps it for the life of that session. See the deep-link contract for filter mappings, comparisons, pairing lifetime and examples.
Agent navigation
The ui_show_view, ui_highlight and ui_status MCP tools require a separate
ui/navigate token. Current setup presets supply ledger credentials only;
upstream rejects mixed ledger/UI grants. Connect a second client entry to the
same /mcp endpoint using the UI token, call ui_status, and open its association
link in a paired browser and confirm the connection. Browser pairing alone
does not link an agent; the live notice says navigation is ready only after
association. When no matching tab can receive navigation or highlights, those
tools return isError: true with code NO_CONNECTED_TAB, queued: false,
a message and a pairing_url. ui_status still succeeds and reports the current
pairing state and tabs. With multiple connected tabs, choose the tab_id from status.
Navigation/highlight are disabled by --read-only; status remains available.
Financial snapshot, account, register, transaction, review, financial report, tax summary and reconciliation URLs are supported with restorable filters. Tool results distinguish queued requests from the browser's confirmed view. See the tool catalog, grant commands and tab design for arguments, examples and tests.
Try it with demo books
Demo books are free and do not start the trial. The 30-day trial starts only when the owner sets up their real books. Call setup only for real books. If demo_start is not listed before setup, do not set up real books just to try a demo; pre-setup discovery arrives with #221.
Ask your connected agent, “Show me what Beankeeper can do with demo books.” You can start with a quick demo or answer a few questions in chat to get demo books shaped around your work, account types, and currencies. Try reports and practice bookkeeping in the encrypted demo. Ask your agent to discard it when you’re done. Agent demo guide
Browse your books
Open the optional Desktop link from your agent to explore your own books. Every ledger page, report download and proposal review requires D3's paired human session. Agent credentials cannot unlock browser views, and browser cookies cannot authorize MCP. Health and CSS remain public and data-free behind Host/Origin checks. After pairing, reopen a saved view URL to restore its filters.
Your books (
/) shows a short financial snapshot from the same summary used by the agent, with optional links to the detailed views.Accounts (
/accounts?company=acme): all accounts for the selected company, grouped by account type, with links to each account's register.Register (
/transactions?company=acme): filter by account, inclusive date range, amount bounds in integer minor units, payee/reference text and clearance status. Reversed and cancelled pairs are hidden by default. Choose Show reversed/cancelled pairs and select Apply to include both transactions. Filters stay in the URL and restore on reload.Detail (
/transactions/ID?company=acme): entries, metadata and audit history, including agent identity and token ID when the ledger records them.Reports (
/reports): income statement, balance sheet, cash flow, spending and net-worth trends, and budget variance. Date and currency filters use the CLI report rules; every report offers a JSON download. The income statement shows its effective dates and explains ranges with no revenue or expense activity, with a link to company transactions across all dates.Tax summaries (
/reports/schedule-cand/reports/1099): tables and CSV/JSON downloads, including unmatched Schedule C categories and payee thresholds. These are bookkeeping summaries, not tax advice or filed forms.Reconciliation (
/reconciliation): account and statement clearance balances, outstanding items and bank or settlement mode. This view is read-only.
Browser amounts use currency symbols, comma grouping and currency-specific
precision, such as $55,620.00, MX$40,324.70, ¥1,234 and BHD 1.234.
Report HTML uses upstream decimal display fields in place of raw amount columns.
Register amount filters still accept integer minor units. JSON/CSV downloads,
raw audit snapshots and the full proposed posting retain their original units.
Choose a company in each view. Without a URL company filter, --company or
BEANKEEPER_COMPANY supplies the default; otherwise the first listed company is
selected visibly. No company data is combined silently. These pages never edit
the ledger. Ask your agent to prepare changes and review its proposals in the
browser. See report URLs and filters for stable navigation
IDs, date defaults, budget month constraints and download formats.
Register pages show at most 50 matches. Search and clearance use bounded scans of existing upstream transaction queries, so a page can have fewer matches while more source transactions remain. Follow Continue until the register reports completion. Pagination links preserve all filters; changing filters restarts from the beginning. Page counts and scan/truncation notices describe the source query rather than claiming an exact post-filter match count. Audit history also signals truncation. An empty ledger, no matching transactions, invalid filters, missing records and read failures have explicit states.
Review agent proposals
Open /review?company=acme to see pending proposals created through bk txn propose or MCP. Each item links to /review/PROPOSAL_ID?company=acme, showing
proposer identity, formatted debit total, posting description,
current spend caps, every entry and the complete frozen payload. Upstream does
not store a separate proposal rationale or creation-time cap snapshot, so the
posting description supplies the purpose and caps are labeled as current.
Approve posts once through upstream's atomic approval API. Reject records an optional reason without posting. A resolved detail keeps the decision and links to the posted transaction. Repeated or competing decisions cannot post twice. The local human rejects proposals rather than impersonating the proposer to withdraw them.
Only a paired browser with the exact Origin and its CSRF token can decide.
Bearer credentials fail these routes, even alongside a browser cookie or with
ledger/approve. For enforced ledgers, Desktop reads the private
<ledger-stem>.owner-token file created by bk setup. A live ledger/admin
credential in that file authorizes issuance of a unique, 12-hour
ledger/read + ledger/approve credential for the local human. It stays in
server memory and Desktop checks it for expiry and revocation on each review
request. The audit names desktop-local-human and records this identity
separately from the proposer. If the private owner credential is missing or
rejected, Desktop still serves verification, ledger views and MCP. The review
page explains how to restore browser approval. Restart Desktop and pair again
after approval access expires.
With policy enforcement off, upstream records the same actor name without a
token identity. --read-only restricts agent MCP tools; human browser decisions
remain available. Upstream CLI/MCP approval behavior is unchanged, but Desktop's
supported workflow is agent proposes, human approves in the browser.
The queue checks the ledger on first load and displays the last result and UTC
check time. Re-run verification performs the complete bk verify, including
the hash chain, accounting, proposals and policy integrity. Results are cached
for this server launch and may become stale after external changes. Browser
decisions invalidate the cache and always run a fresh full verification within
the resolution savepoint. Failure rolls back the decision. A failed check is
shown explicitly, without claiming the chain is intact. Tests demonstrate this
by changing an audit row in a temporary encrypted ledger after removing its
append-only update trigger; the next explicit check reports failure.
Development checks
cargo fmt --all
cargo clippy --workspace --all-targets -- -D warnings
cargo nextest run --workspace
cargo test --workspace
cargo +1.91.0 check --workspace --all-targets --lockedCI runs fmt, clippy with warnings denied, tests including the embedded UI build,
and a separate Rust 1.91 check. Cargo.lock records the same released
beankeeper-cli-vX.Y.Z tag for the library and CLI. A scheduled workflow opens
a pull request when a newer core release is published.
License and updates
Beankeeper Desktop 1.0 costs $79 one time per license and covers every 1.x release for perpetual use. Each license covers one set of books (one ledger) on one computer at a time. That ledger can hold as many companies as you need, with linked cross-company transactions. If you keep books for more than one client, each client's ledger needs its own license, even on the same computer. If you return your license in the app within 60 days of purchase, the original seller automatically issues a full refund, including purchases through authorized resellers. The Texas-governed agreement keeps Desktop source-available and the Beankeeper ledger and core agent tools open source. Beankeeper Desktop license agreement
Under the agreement, read-only mode for books without an active license applies only to official non-RC releases from 1.0.0 onward, after the terms are final. Release candidates are free to use without a license. You can still open, query, export, back up, and restore your books in read-only mode, and use your recovery kit. Your encrypted books stay on your computer.
Setup automatically starts an email-free 30-day trial when the books have no
active license. Ask your agent to retry with license_start_trial if the network
was unavailable; the CLI equivalent is bk license trial. No token or email
prompt is needed. Status reports the trial expiry and days remaining. After
expiry, ordinary writes pause while reads, export, backup, restore, recovery and
undo remain available. Activating a paid license removes the local trial.
Trial behavior and status
Ask your agent to check or activate your Desktop license. Give it the saved license file or the claim code you received. It also accepts signed license text if you have it in chat. The agent can tell you whether these books are writable and which major versions your installed licenses cover. Activation binds the license to the selected local books.
The CLI equivalents are bk license activate FILE and bk license. Use
--db BOOKS to select other books. The agent can also offer License and
updates in your paired browser.
Local license removal: ask your agent to remove a specific installed license.
The license_remove MCP tool takes license_id; the CLI equivalent is
bk license remove <license-id>. Removal acts directly, without confirmation,
refund, or a server-side return. It removes only that local activation and binding,
leaving books and recovery information intact. The result reports whether the
selected books remain writable. In official stable builds, books without another
active license become read-only. Undo by asking the agent to activate the same
license again, provided it has not been revoked. License status includes each
license's typed standing (valid, expired or revoked) and signed storefront; revoked licenses never authorize writes.
Revocation status reflects the signed list bundled with the installed release.
To request a return and refund, ask your agent or run bk license return.
With no installed license, CLI and MCP report that there is nothing to return;
a saved return reports its latest receipt ID. With several installed licenses,
select a license ID. If the CLI prompt receives no answer, rerun with --yes
to request the return.
Desktop explains the 60-day policy before one confirmation. The service decides
eligibility. Success stops paid features on this computer and gives you a receipt;
your books stay yours, readable and untouched. A closed window leaves your
license active. See the return instructions for seller availability and support.
bk update-status --json and the read-only update_status MCP tool return the
installed version and typed cached update outcome, including the last attempt
and release notes link when known. Status reads never contact the network. Agents
mention an available release once in plain words and continue your work.
bk update-check checks the signed GitHub release manifest at most once daily,
including failed attempts, for each running Desktop version. After a version
change, the next check refreshes the cache immediately; caches from older builds
without a recorded version are also refreshed. Settings ignores these stale
results without contacting the feed. Stable builds check the latest stable
release. RC builds select the highest stable or -rc.N version among the 100
most recent GitHub release records.
Both manifest and signature are fetched from the selected tag. bk serve
checks in the background, and paired browsers can read the cached result at License and updates (/settings).
Both show a readable UTC last-attempt time and explain incomplete checks,
including HTTP failures, separately from up-to-date or update-available results.
Set BEANKEEPER_NO_UPDATE_CHECK=1 to disable checks before any network access.
Requests contain only the Desktop version and OS, with no ledger information.
bk self-update requires an active license covering the major version in the
signed manifest. Any matching license on this installation is sufficient. It
uses in-process Sigstore verification and checks
the archive checksum before replacing the executable. After installing a new release with the signed installer from beankeeper.app or bk self-update, restart the service.
To activate a locally issued license (no storefront), build with the issuer
public key and then activate the license file. Runtime
BEANKEEPER_LICENSE_KEYS_FILE and BEANKEEPER_LICENSE_SERVICE_URL override the
built-in values. HTTP is allowed only for a loopback license service.
# KEY_ID and PUBLIC_KEY come from beankeeper-license keygen / public-key
export BEANKEEPER_LICENSE_PUBLIC_KEYS_JSON="{\"$KEY_ID\":\"$PUBLIC_KEY\"}"
# optional, if you will redeem a claim code against a local server:
# export BEANKEEPER_LICENSE_SERVICE_URL="http://127.0.0.1:8080"
cargo build -p beankeeper-desktop
./target/debug/bk license activate "$HOME/beankeeper-desktop.license"
./target/debug/bk licenseThe license service issues the token through its operator CLI or admin API. See the offline license contract for the token format.
See the license/update command reference, offline license contract, and release verification contract. Production public keys must be provisioned separately; the published fixture key is confined to tests and is never a default trust key.
For Claude Code and local Cowork, the signed release also includes
claude-plugin.zip, using the installed Desktop executable. Claude app chat
continues to use .mcpb. See the Claude connection guide.
Sandboxed agents can preview folder grants with bk service install --plan --json and bk agents connect --all --plan --json; see service setup for CLI/MCP retry details.
Available Tools
163 toolsaccess_setA
Change managed agent access at the owner's request. Use read-only to turn off posting, or bookkeeper with direct or propose-only writes. Tell the owner the resulting access in plain words. On the ledger connection, correct your own work in chat with audit_undo by receipt ID or txn_reverse by transaction ID when listed. In propose-only mode both return pending proposals for sign-off. Never make offsetting entries by hand or send the owner to a screen to undo, tag, rename, or enter data. Desktop links are for viewing only.
Inputs: preset (required), write_mode.
account_classifyA
Classify an existing account as non_cash, cash, or cash_equivalent independently of its name. Cash membership requires an asset. Direct changes return an audit receipt with one-step undo. Proposal-only access queues the change for approval.
Inputs: code (required), company (required), cash_class (required).
account_listARead-only
List accounts, optionally filtered by account_type or name. Set with_balances=true for posted debits, posted credits, and posted and available balances. Available includes pending card holds. Use from/to to restrict activity and supply currency when the company uses multiple currencies.
Inputs: company (required), to, from, name, +3 more.
account_renameA
Rename the display label of an existing account, for example account 1000 to Operating Cash. Direct grants return an undo receipt for a changed name. Propose-only grants return a pending proposal ID for an approver.
Inputs: code (required), name (required), company (required).
account_showCRead-only
Show one account in a company.
Inputs: code (required), company (required).
agents_extensionA
When the owner asks to install or upgrade the Beankeeper extension for Claude Desktop, verify the newest signed release and open the local installer. The owner finishes in Claude Desktop. Set path_only to true to prepare the verified local file without opening it or editing Claude's settings.
Inputs: path_only.
audit_logARead-only
List audit changes in bounded pages, optionally filtered by actor, verified agent URI, company, entity, or action. A client_hint is unverified runtime context. Continue with _meta.pagination.next_offset and the same filters.
Inputs: actor, agent, limit, action, +3 more.
audit_receiptsBRead-only
Read a company's changes in audit order. Use the continuation with the same company and ledger until it is null, then save through as the next cursor. Each change includes its numeric receipt ID.
Inputs: company (required), limit, cursor, continuation.
audit_undoA
Undo an eligible receipt with your signed credential. Direct grants apply the correction immediately and return its receipt. Propose-only grants return a pending proposal for an approver. Structural changes require the owner. Retrying a receipt returns the recorded undo if it already exists.
Inputs: company (required), receipt (required).
backup_listA
List the local backups for these books, newest first, with dates, sizes and retention.
bank_feed_connectionsBRead-only
List a company's bank-feed mappings and connection status, without credentials or cursors. Pass after to continue.
Inputs: company (required), after.
bank_feed_linkB
Link a reviewed revision to an existing matching bank posting without posting again. Direct mode only.
Inputs: feed (required), item (required), company (required), revision (required), +1 more.
bank_feed_listBRead-only
Read one page of transactions staged for review.
Inputs: feed (required), company (required), after.
bank_feed_postA
Post or propose a reviewed revision using an offset account or categorization rule. Review suggested existing matches first. Posting to the rule's suggested account also runs the rule's counterparty and project actions and reports them, with any skipped_actions.
Inputs: feed (required), item (required), company (required), revision (required), +2 more.
bank_feed_reviewARead-only
Review one staged transaction and possible existing ledger matches. suggested_account and suggested_rule name the categorization rule that would post it; inactive_rules lists rules that would have matched but have an archived target.
Inputs: feed (required), item (required), company (required).
bank_feed_showCRead-only
Read connection status. Provider credentials and cursor are omitted.
Inputs: feed (required), company (required).
bank_feed_syncA
Fetch read-only transactions for an authorized feed and stage them for review without posting. The host supplies provider credentials.
Inputs: feed (required), company (required).
bookkeeping_policy_setA
Set or amend one standing sales-tax or processor-fee instruction. Use unset to clear it. Returns both current instructions.
Inputs: policy (required), company (required).
bookkeeping_policy_showBRead-only
Read the company's standing sales-tax and processor-fee instructions.
Inputs: company (required).
budget_listCRead-only
List budget entries for a company and year.
Inputs: year (required), company (required), month, account.
changes_mark_seenAIdempotent
After delivering a changes_since page to the owner, advance the local last-seen marker using its company and through. This does not change the ledger.
Inputs: company (required), through (required).
changes_sinceARead-onlyIdempotent
Read one page of grouped receipts since the owner was last informed. Tell the owner what changed in plain words and offer the undo links. After delivering the summary, call changes_mark_seen if available with the returned company and through. If has_more is true, repeat to deliver the next page.
Inputs: company.
collection_applyB
Authenticate and apply a signed Stripe delivery from the trusted host spool.
Inputs: company (required), delivery (required).
collection_create_linkB
Create or recover a hosted link using an issued invoice and frozen request key.
Inputs: terms (required), company (required).
collection_disputesBRead-only
Read Stripe dispute movements and matching receipts pending accounting review.
Inputs: company (required).
collection_exceptionsBRead-only
Read recent Stripe collection exceptions requiring review.
Inputs: company (required).
collection_payoutsCRead-only
Read Stripe payout deposits and their reconciliation state.
Inputs: company (required).
collection_reconcile_payoutC
Match recorded Stripe payout evidence to an exact group of gross payments and fees.
Inputs: company (required), manifest (required).
collection_reconcile_refundB
Post a recorded Stripe refund and reopen the original invoice by the exact refunded amount.
Inputs: terms (required), company (required).
collection_refundsBRead-only
Read Stripe refunds and their journal status.
Inputs: company (required).
collection_report_evidenceA
Record Stripe payment, payout, refund or dispute evidence read by the agent. Agent evidence stays separate from signed provider deliveries.
Inputs: company (required), evidence (required).
collection_resolve_receiptC
Post a freshly authenticated Checkout receipt reviewed only for its closed original period. Supply booked_on on or after the event date.
Inputs: company (required), delivery (required), booked_on (required).
collection_showCRead-only
Read a collection's current state and delivery exceptions.
Inputs: company (required), collection (required).
company_listARead-only
List companies in the ledger.
company_showBRead-only
Show one company by slug.
Inputs: slug (required).
contractor_tax_previewCRead-only
Preview 2025 legacy payment annotations requiring review. This tool cannot infer eligibility or party identity from annotations.
Inputs: year (required), company (required).
contractor_tax_worksheetBRead-only
Read the redacted 2025 Form 1099-NEC worksheet with dated included, excluded and unresolved payment evidence and totals by structured party.
Inputs: year (required), company (required).
counterparty_amendA
Amend an active party. Omit fields to keep them. For email, address and terms use clear or a set object.
Inputs: id (required), patch (required), company (required).
counterparty_archiveB
Archive a party and retain its linked history.
Inputs: id (required), company (required).
counterparty_associateA
Associate a posted transaction with one active party in its company, with an audit record. Proposal-only access queues the change for approval.
Inputs: id (required), company (required), transaction_id (required).
counterparty_createA
Create a company customer, vendor or both. Names may be shared by multiple parties. Proposal-only access queues the change for approval.
Inputs: name (required), role (required), company (required), email, +2 more.
counterparty_listBRead-only
Search and page through customer and vendor records.
Inputs: company (required), limit, offset, search, +1 more.
counterparty_showCRead-only
Show one party, including an archived record.
Inputs: id (required), company (required).
counterparty_suggestBRead-only
Preview legacy customer/vendor metadata associations. Returns possible IDs without modifying any postings.
Inputs: label (required), company (required), limit, offset.
demo_removeA
Discard the demo books, including any demo entries. A managed connection returns to the owner's books after this succeeds.
demo_startA
Try Beankeeper with encrypted demo books. Demo books are free and do not start the trial. The 30-day trial starts only when the owner sets up their real books. Omit profile for a quick demo or to resume an active demo. To tailor a new demo, ask about work, book and account types, investments, country and currencies in chat, and pass only those categories. Tell the owner every figure is fictional. HTTP clients select the returned target on each ledger request.
Inputs: profile.
disbursement_listBRead-only
List recent vendor payment instructions.
Inputs: company (required).
disbursement_showBRead-only
Show a vendor payment instruction and its retained evidence.
Inputs: id (required), company (required).
doctorARead-onlyIdempotent
Check the local Beankeeper extension and its authenticated connection. Use this if setup fails or Claude cannot reach the books. Takes no arguments.
document_agingARead-only
Read due-date aging for typed invoices and bills only, per document and party. Supply optional as_of and kind. For journal charges on an account by posting date, use report kind aging.
Inputs: company (required), kind, as_of.
document_allocateB
Apply an existing payment to one or more documents in an atomic batch. Use this to record that a payment paid typed invoices or bills; account aging and document_aging both honour it. Journal-only charges take an applies_to link on the payment when it is posted, or a transaction link of kind payment afterwards.
Inputs: date (required), source (required), company (required), allocations (required).
document_allocationsCRead-only
Read dated allocation history including revocations.
Inputs: company (required), as_of.
document_amendB
Replace draft terms at the expected revision.
Inputs: id (required), terms (required), company (required), revision (required).
document_creditB
Post and allocate a credit to an issued invoice or bill line.
Inputs: credit (required), company (required).
document_draftA
Save an invoice or bill draft for this company. Supply a complete terms object with a counterparty, control account and priced lines.
Inputs: terms (required), company (required).
document_issueC
Issue the invoice or bill on the supplied date, or freeze the request for a separate reviewer.
Inputs: id (required), date (required), company (required).
document_listBRead-only
List issued documents as of the supplied date.
Inputs: company (required), as_of.
document_printBRead-only
Read a printable issued invoice or bill with original party details and terms.
Inputs: id (required), company (required).
document_proposalsARead-only
List the caller's frozen document proposals or all proposals for reviewers.
Inputs: company (required).
document_revokeB
Remove a payment allocation as of the supplied date and retain its history.
Inputs: id (required), date (required), company (required).
document_showBRead-only
Read one draft or issued invoice or bill.
Inputs: id (required), company (required).
expense_claim_amendB
Revise a draft or rejected expense claim.
Inputs: id (required), terms (required), company (required), revision (required), +1 more.
expense_claim_createC
Create a receipt-backed expense claim draft from confirmed facts.
Inputs: terms (required), company (required), reference (required), duplicate_reason.
expense_claim_listARead-only
List up to 100 recently created expense claims in a book.
Inputs: company (required).
expense_claim_receipt_intakeB
Stage bounded PNG, JPEG or PDF evidence and optional unconfirmed OCR findings.
Inputs: company (required), content_base64 (required), filename, findings, +1 more.
expense_claim_receipt_showCRead-only
Read receipt evidence identity and OCR suggestions.
Inputs: id (required), company (required).
expense_claim_showBRead-only
Read the latest revision of an expense claim.
Inputs: id (required), company (required).
expense_claim_submitC
Freeze an expense claim for an independent review.
Inputs: id (required), company (required), revision (required), reference (required).
expense_claim_voidA
Cancel an approved, unpaid reimbursement claim with an audited compensating journal.
Inputs: id (required), date (required), reason (required), company (required), +2 more.
financial_summaryBRead-only
Read the financial summary with period comparisons, spending movers, attention counts and totals including stale card holds, brief highlights and optional Desktop targets. Returns the same full JSON envelope as bk summary with amounts in one currency.
Inputs: company (required), to, from, chart, +9 more.
fixed_asset_depreciateB
Post due asset depreciation through the requested date.
Inputs: id (required), date (required), company (required).
fixed_asset_disposeC
Remove asset cost and accumulated depreciation and book disposal gain or loss.
Inputs: id (required), date (required), company (required), gain_account (required), +3 more.
fixed_asset_listCRead-only
Read the as-of register and control account differences.
Inputs: as_of (required), company (required).
fixed_asset_previewBRead-only
Preview unposted full-month book depreciation through the requested date.
Inputs: id (required), date (required), company (required).
fixed_asset_registerC
Register or post a company's fixed asset acquisition.
Inputs: name (required), company (required), currency (required), cost_minor (required), +11 more.
fixed_asset_showARead-only
Read an asset's carrying value and posted movements as of a date.
Inputs: id (required), date (required), company (required).
fx_postA
Record a native currency movement and its functional value in a balanced posting. Provide positive native minor units, the target line direction, decimal rate, and a unique reference. Returns a receipt for audit_undo.
Inputs: date (required), rate (required), account (required), company (required), +5 more.
fx_revalueA
Revalue one or all active foreign-currency monetary accounts as of a date. Supply a gain/loss account and a decimal rate, or use the last recorded rate for each pair. Returns a receipt for each posting; native balances do not change.
Inputs: as_of (required), company (required), fx_gain_loss_account (required), rate, +1 more.
group_balance_sheetARead-only
Combine posted balance sheets through an inclusive date for at least two explicitly selected companies in this ledger and one currency. Returns company account detail, totals before eliminations and intercompany link evidence.
Inputs: as_of (required), members (required), currency (required).
group_income_statementARead-only
Combine posted income statements for at least two explicitly selected companies in this ledger and one currency. Dates are inclusive. Returns company account detail, totals before eliminations and intercompany link evidence.
Inputs: to (required), from (required), members (required), currency (required).
inform_preference_setA
Set or amend how often the owner hears about completed changes. Returns the saved preference.
Inputs: company (required), preference (required).
inform_preference_showCRead-only
Read how often the owner wants to hear about completed changes.
Inputs: company (required).
inventory_listBRead-only
List up to 100 stock items by SKU.
Inputs: company (required).
inventory_match_documentB
Match the stock movement to a specific issued invoice or bill line.
Inputs: date (required), line (required), company (required), document (required), +1 more.
inventory_moveC
Record an exact receipt, issue, supplier return, customer return or count adjustment.
Inputs: company (required), request (required).
inventory_movementBRead-only
Show one physical movement and its journal.
Inputs: id (required), company (required).
inventory_movementsCRead-only
List an item's dated physical movements.
Inputs: item (required), as_of (required), company (required).
inventory_registerC
Register a stock item and its control accounts.
Inputs: terms (required), company (required).
inventory_showCRead-only
Read one registered stock item.
Inputs: id (required), company (required).
inventory_valuationCRead-only
Reconcile FIFO inventory value to the stock accounts as of a cutoff.
Inputs: as_of (required), company (required).
investment_buyB
Acquire an exact share quantity and post total acquisition cost against cash. A duplicate reference fails atomically.
Inputs: cash (required), cost (required), date (required), asset (required), +4 more.
investment_holdingsARead-only
Value holdings at the latest price on or before as_of without posting unrealized gains. Monetary results use minor units.
Inputs: company (required), as_of.
investment_lotsBRead-only
List acquisition lots with remaining share quantities and cost basis.
Inputs: symbol (required), company (required).
investment_sellB
Sell shares with FIFO by default, LIFO, or one specific lot; post proceeds, basis relief and realized gain or loss atomically.
Inputs: cash (required), date (required), gain (required), asset (required), +7 more.
ledger_setup_account_addC
Add the owner's named account to a book.
Inputs: code (required), name (required), target (required), account_type (required).
ledger_setup_book_createC
Create a personal or business book using the normal connection or an active setup generation.
Inputs: name (required), target (required), settings (required).
ledger_setup_book_initializeC
Record the first profile for an existing book using the normal connection or an active setup generation.
Inputs: target (required), settings (required).
ledger_setup_book_showBRead-only
Read one book's current profile, fiscal-year start, currency, and accounts.
Inputs: company (required).
ledger_setup_chart_applyC
Apply a versioned chart template to a book and return the created accounts.
Inputs: target (required), template (required).
ledger_setup_opening_postA
Submit a balanced opening journal. Direct grants post and return a setup receipt. Propose-only grants return a pending proposal ID for an approver. Reuse the reference for exact retries.
Inputs: date (required), debits (required), company (required), credits (required), +3 more.
ledger_setup_statement_importA
Submit bounded CSV or OFX statement contents. Direct grants post and return a receipt to undo newly imported postings. Propose-only grants return one pending proposal per new row for an approver. Unique pending holds are settled or proposed using the posted bank reference. Ambiguous matches return a validation error. Both modes report identical preexisting postings. Reuse the reference for exact retries.
Inputs: bank (required), format (required), company (required), currency (required), +6 more.
ledger_setup_statement_receiptCRead-only
Read the imported and preexisting transaction IDs for a committed statement batch.
Inputs: company (required), batch_id (required).
ledger_setup_statusARead-only
Read setup counts and owner-key readiness for the selected ledger.
license_activateA
Activate the license the owner provided for these books. Use exactly one signed license, local license file, or claim code. Activate directly and tell the owner what happened. Keep license text, codes and private recovery information out of replies.
Inputs: license, file_path, claim_code, storefront.
license_removeADestructive
Remove a license from this computer without a refund or server-side return. Act directly, then tell the owner that books without another active license become read-only. Books and recovery material are never changed. Undo by activating the same license again.
Inputs: license_id (required).
license_returnADestructive
Returns within 60 days of purchase are refunded automatically. If the 60-day window has closed, the return is not accepted, your license stays active and nothing changes. Confirming requests the return and refund. Paid features stop on this computer on success. Your books stay yours and readable. Your books are never touched.
Inputs: confirm, license_id.
license_start_trialA
Start the email-free 30-day trial directly. Tell the owner what happened; never show tokens. Mention days remaining on the first status check in a session, when asked, and at seven or fewer days, without repeating a countdown in every reply.
license_statusARead-only
Check the Desktop license and whether the selected books are writable. Tell the owner in plain words. Offer to activate a license they already have and continue any work Desktop permits.
payroll_importB
Import or propose reviewed aggregate payroll using the exact preview digest. Exclude employee data.
Inputs: digest (required), company (required), export_json (required).
payroll_previewBRead-only
Preview an aggregate payroll journal and its review digest. Exclude employee data.
Inputs: company (required), export_json (required).
payroll_showCRead-only
Read outstanding payroll liabilities and matched withdrawals.
Inputs: company (required), payroll (required).
period_listBRead-only
List a company's current posting cutoff and last close/reopen attribution.
Inputs: company (required).
project_archiveC
Archive a project, retaining its work and profitability history.
Inputs: id (required), company (required).
project_budgetB
Set the monthly project expense target in minor units.
Inputs: budget (required), company (required).
project_cancel_invoiceB
Cancel an unissued project invoice draft.
Inputs: id (required), company (required).
project_createA
Create a customer project with a unique code and accounting currency. Proposal-only access queues the change for approval.
Inputs: terms (required), company (required).
project_draft_invoiceA
Draft an invoice from exact source IDs. Sources are claimed when the invoice is issued.
Inputs: company (required), invoice (required).
project_listBRead-only
List company projects, with optional archived projects.
Inputs: company (required), include_archived.
project_recordC
Record dated work with an optional exact hourly billing rate.
Inputs: work (required), company (required).
project_reportCRead-only
Report monthly project profit, budget variance and unallocated amounts in one currency.
Inputs: month (required), company (required), currency (required), detail.
project_showCRead-only
Read a project by ID.
Inputs: id (required), company (required).
project_splitA
Attribute a posted revenue or expense line to projects. Select the line by transaction_id or reference plus account, or by entry. Pass project for the full line amount, or splits with decimal major-unit amounts. If the account occurs more than once, AMBIGUOUS_ENTRY lists the entry IDs to choose from. Proposal-only access queues the change for approval.
Inputs: date (required), company (required), entry, splits, +5 more.
project_timeBRead-only
List work and approvals for a project.
Inputs: id (required), company (required).
project_unbilledBRead-only
List unclaimed approved time and billable expenses for a project and date window.
Inputs: id (required), from (required), company (required), through (required).
reconcile_listBRead-only
List audited account statements, including undone receipts, and completed months with asset or liability activity that still need a statement. Filter by account or currency.
Inputs: company (required), account, currency.
reconcile_statementA
Complete a calendar-month account statement using existing clearings. Provide period_end (the last day) and the statement_ending_balance in decimal major units. Optionally filter by statement_ref and either entry_ids or references. Returns exact balances and an audit_undo receipt. Approval mode queues the exact matched clearings and balances. close_period requires direct ledger/reconcile and ledger/admin.
Inputs: account (required), company (required), period_end (required), statement_ending_balance (required), +5 more.
reportARead-only
Run a financial report for company. Set kind to the report to run (required); each kind below lists the fields it accepts. Use chart=true for supported charts and chart_all=true for all series. Optional fields unless marked required:
trend: metric (required), from, to, period, currency, compare, explain_change.
trial-balance: from, to or as_of, account_type, currency, period, compare, explain_change.
balance: account (required), from, to or as_of, currency, compare, explain_change.
income-statement: from, to, currency, period, compare, explain_change.
balance-sheet: to or as_of, currency, compare, explain_change.
schedule-c and tax-summary: from, to, currency.
1099 (alias 1099-nec): from, to, currency, threshold.
ledger: account, from, to, currency, filter_metadata.
budget-variance: year (required), month or from/to (month numbers), account_type, currency, include_unbudgeted.
aging: account (at least one required), as_of, include_children, buckets, group_by_metadata, currency, method, link_key, detail, group_across_accounts, filter_metadata. Ages journal charges on accounts by posting date; for typed invoices and bills by due date, use document_aging. method specific (default) applies document allocations exactly, then each payment to the charge its link names (a payment link, else link_key metadata), then oldest-first; fifo applies all payments oldest-first. Account aging and document_aging agree per typed invoice when its payments are allocated. link_key (default applies_to) is the payment's metadata key pointing at its charge: the charge's reference or txn:.
reconciliation: account (required), to or as_of, mode, link_key, statement_balance, statement, filter_metadata, group_by_metadata, currency. Settlement mode matches payments to charges by link_key, as in aging.
cash-flow: from, to, cash_account, currency, compare, explain_change.
cash-forecast: as_of and through required; cadence, cash_account, currency, adjust, link_sources (scheduled:TEMPLATE:DATE=open-item:DOCUMENT). Use only one of as_of and to. For date-range reports without as_of, use from and to.
Inputs: kind (required), company (required), chart, chart_all.
rule_amendA
Supersede an active categorization rule by ID with fully specified replacement terms. Returns a new rule ID and retains both versions in the audit trail.
Inputs: id (required), account (required), company (required), contains, +9 more.
rule_applyA
Apply one rule, or every active rule in priority order, to lines already posted on a category or suspense account within from and to. Rules are not applied to asset or liability accounts: those return RULE_STATEMENT_ACCOUNT; use txn_bulk_recategorize for lines sitting on one. A direction condition holds only for a line on the opposite side of the transaction's single bank-side line. Each line moves to the first firing rule's account through the audited recategorize path, then gets the rule's counterparty and project; lines already on the rule's account get only missing actions (actions_only). Lines a guard refuses, such as reconciled or closed-period lines, are left out and listed in blocked. Call with dry_run first and pass its selection_token, which covers each line's rule version, destination and actions. Applies atomically up to 500 selected lines. A move is dated on the line's date, or on the day the line's last move was undone when later (effect.move_date). receipt_id is the first move's receipt, which audit_undo reverses as a unit; with no move there is no batch receipt and no_batch_receipt is actions_only. Undo never removes counterparty links: it lists those made on moved lines in remaining_counterparty_links, not those on actions-only lines; change a link with counterparty_associate. A rule with actions needs counterparty and project access. Propose-only credentials return one pending proposal that freezes the planned moves.
Inputs: account (required), company (required), to, from, +5 more.
rule_createA
Create a categorization rule that fires when all of its conditions hold: contains (case-insensitive description substring), direction (inflow or outflow), amount_eq, amount_gt or amount_lt in major units, and counterparty. Give at least one. A counterparty condition uses the transaction's link, or else the counterparty's name as whole words of the description, without case or accents; a name with no word of three or more letters or digits matches only by link and returns warnings. When it fires it routes the line to account, and can link set_counterparty and attribute set_project; writing either action needs counterparty_associate and project_split access. Higher priority wins. Omitted priority defaults to zero.
Inputs: account (required), company (required), contains, currency, +8 more.
rule_deleteA
Remove an active rule from future matching and keep its full audit snapshot.
Inputs: id (required), company (required).
rule_listARead-only
List active categorization rules by descending priority, then ascending rule ID. A rule that cannot fire because its account, counterparty or project is archived lists the archived targets in inactive.
Inputs: company (required).
rule_matchARead-only
Check a candidate bank line without posting: description, plus optional direction (inflow or outflow), positive amount with currency, and linked counterparty. A condition on a fact you omit does not hold. Returns outcome=match with the winning rule or outcome=no_match.
Inputs: company (required), description (required), amount, currency, +2 more.
security_createB
Create a company-scoped security with a fixed quotation currency.
Inputs: name (required), symbol (required), company (required), currency.
security_listCRead-only
List company securities.
Inputs: company (required).
security_priceC
Record a dated price per whole share in major currency units.
Inputs: date (required), price (required), symbol (required), company (required).
service_openA
At the owner's request, open Beankeeper Desktop in their default browser. If prompted, select Pair this browser. Desktop restores the view the owner just tried to open.
setupAIdempotent
When the owner asks to set up their books or create demo books, call setup to start local Beankeeper if setup_status reports not_started. It returns immediately. If it reports running, poll setup_status until ready or failed. Takes no arguments.
setup_statusA
Call this first when the owner asks to set up their books or when a posting tool is missing. Read the ledger counts and suggested setup step. Use the note in agent_access to explain the verified access.
tax_listBRead-only
List the historical VAT revisions and control accounts configured for a company.
Inputs: company (required).
tax_reportBRead-only
Read a GBP date window of VAT-coded document evidence and reconcile it to control accounts. Returns manual journal differences.
Inputs: to (required), from (required), company (required), currency.
txn_bulk_associateA
Link every transaction matching the txn_list filters to one active customer or vendor, atomically and up to 500 transactions. Call with dry_run first and pass its selection_token to apply exactly those transactions. Transactions already linked to this counterparty are unchanged, and transactions linked to another are skipped unless replace_existing is true; association reports newly_linked, already_linked, replaced and skipped_linked_elsewhere. Needs a narrowing filter. The selection_token covers each transaction's current link. If single-line guards refuse transactions, nothing is written and details.blocked_lines names each one. Proposal-only access queues one change for the frozen transactions.
Inputs: company (required), counterparty (required), to, from, +14 more.
txn_bulk_attributeA
Attribute the full amount of every entry on account that matches the txn_list filters to one project, atomically and up to 500 entries. Call with dry_run first and pass its selection_token to apply exactly those entries. The live lines of standing recategorizations are included. Entries already attributed in full to the project are skipped, and entries attributed to another project are kept unless replace_existing is true (a replacement needs a later date); attribution reports newly_attributed, already_attributed, replaced and skipped_attributed_elsewhere. The selection_token covers each entry's current attribution. If single-line guards refuse entries, nothing is written and details.blocked_lines names each one. Proposal-only access queues one change for the frozen entries.
Inputs: account (required), company (required), project (required), to, +16 more.
txn_bulk_recategorizeA
Move every line on account that matches the txn_list filters to to_account, posting one correction per line exactly as txn_recategorize does. Call with dry_run first for the matched count, debit, credit and net totals per currency, a sample and a selection_token, then pass that selection_token to apply exactly those lines; if the lines changed, SELECTION_CHANGED is returned and nothing is written. Lines of earlier corrections are left out and counted in excluded. Needs a narrowing filter. Applies atomically up to 500 lines and returns one receipt that audit_undo reverses as a unit. Retry with the same posting_reference and on_conflict skip. Propose-only credentials return one pending proposal that freezes the matched lines.
Inputs: account (required), company (required), to_account (required), to, +18 more.
txn_clearA
Clear or reconcile entries by transaction and entry IDs, reference and account, or an atomic in-memory batch. Approval mode queues the exact changes. Amounts use major-unit strings. Use a minus sign for withdrawals (credit), an explicit plus for deposits (debit), or an unsigned amount for either side.
Inputs: target (required).
txn_importA
Import balanced JSON journals into one company in an atomic batch. Requires Direct posting authority. Supply 1 to 500 transactions, up to 5000 total entries and 1 MiB of JSON. Amounts are in major units. Use stable source references for retries; a reference must not start with the reserved txn: prefix (any case), which links use for transaction IDs. Use dry_run=true to validate and roll back. The default duplicate policy is skip. Set project on a revenue or expense entry to record its full amount as a project split in the same batch. Results list each new transaction's entry IDs. A skipped duplicate records no split; its project_attribution reports whether each requested line is already attributed and names the transaction and entry to pass to project_split. For bank-statement CSV, OFX or QFX, use ledger_setup_statement_import.
Inputs: company (required), transactions (required), dry_run, currency, +1 more.
txn_linkA
Link two transactions in the same book. Send company, source_id, target_id, and kind (transfer, refund, payment, adjustment, recategorization, or related). For kind payment, source_id is the payment and target_id the charge it paid (CLI: txn link PAYMENT CHARGE --kind payment); a payment link the wrong way round is refused, one whose direction cannot be told is recorded with warnings, and aging counts it from the day it is recorded. Use it for journal-only charges; for typed invoices and bills use document_allocate instead. Returns a receipt for audit_undo.
Inputs: kind (required), company (required), source_id (required), target_id (required).
txn_listARead-only
List or count transactions using filters and pagination. By default, lists hide both sides of reversed pairs and links to them. Pass include_reversed: true to include them. Entry filters (account, tax_category, direction, amounts) skip lines a recategorization moved away and list the correction, which names the original in recategorizes; pass include_recategorized: true to match every stored line.
Inputs: company (required), to, from, meta, +15 more.
txn_meta_setA
Add or replace transaction annotations. Send values as an object of strings, e.g. {"status":"pending"}. Provide company and exactly one of id or reference. Reserved keys: correlate, reverses, reversed_by, proposal_id, applies_to, beankeeper_source. applies_to is set only when posting a payment and points at the charge it paid (its reference or txn:); a tag shared by payment and invoice links nothing. To link a posted payment, use document_allocate for typed invoices and bills, otherwise txn_link with kind payment. A change returns an undo receipt.
Inputs: values (required), company (required), id, reference.
txn_meta_unsetA
Remove transaction annotation keys, e.g. keys: ["status"]. Provide company and exactly one of id or reference. Reserved keys: correlate, reverses, reversed_by, proposal_id, applies_to, beankeeper_source. applies_to is a payment's link to the charge it paid, set when posting, and cannot be removed here. A change returns an undo receipt.
Inputs: keys (required), company (required), id, reference.
txn_postA
Record balanced debits and credits in decimal major units. Use status=pending for a card hold with one debit and one credit. Direct grants post immediately and return a transaction ID. A propose-only grant reserves the same input and returns a pending proposal ID for approval. Pass a stable reference and on_conflict=skip to skip an already posted reference. A reference must not start with the reserved txn: prefix (any case), which links use for transaction IDs. Posted results list entry IDs. Look up a pending reference in the proposal list.
Inputs: debits (required), company (required), credits (required), description (required), +9 more.
txn_proposalsARead-only
List visible pending posting, rename, and correction proposals. Under enforcement, proposers see their own; approvers and administrators see all. include_rejected also includes approved, rejected and withdrawn proposals.
Inputs: company (required), include_rejected.
txn_proposeB
Explicitly reserve a balanced posting for sign-off. Ordinary posting follows the agent's write mode. This tool uses the same arguments and reserves the reference until resolution; a reference must not start with the reserved txn: prefix. Requires a verified proposer identity and ledger/propose when enforcement is enabled.
Inputs: debits (required), company (required), credits (required), description (required), +9 more.
txn_recategorizeA
Move one posted line to another account, or pass split lines instead of to_account to divide it across accounts in one correction. Split amounts are on the source line's side, negative for the opposite side, and must total the source line. With no source selector, infer only a single non-asset, non-liability line outside the destination. Direct credentials post immediately and return an audit receipt for audit_undo. Propose-only credentials use their existing proposal flow.
Inputs: company (required), id, date, split, +8 more.
txn_reconcileBRead-only
Find orphaned intercompany correlations across the ledger without changing it.
txn_rejectA
Reject a pending proposal with an optional reason. ledger/propose can withdraw the caller's own proposal; ledger/approve can reject any proposal. Resolved proposals cannot be resolved again.
Inputs: id (required), company (required), reason.
txn_reverseA
Reverse a posted transaction with a linked mirror posting. Direct grants apply the reversal immediately. Propose-only grants return a pending proposal for an approver. Use the same explicit reference to retry a reversal. Existing clearings stay on the original, and fully or partially reconciled transactions are ineligible.
Inputs: id (required), company (required), date, reference, +1 more.
txn_settle_holdA
Settle a pending card hold with the actual posted amount, date, and stable bank reference. Select the hold by ID or original reference. Reuse the same details and posted reference for a retry. Direct grants settle immediately; propose-only grants return a proposal. A direct settlement returns the transaction and receipt IDs for an audited correction.
Inputs: date (required), hold (required), amount (required), company (required), +1 more.
txn_showBRead-only
Show transaction entries, attachments, clearing details, active same-book links, and lines moved by active recategorizations.
Inputs: id (required), company (required).
ui_get_linkARead-only
Return an optional Desktop detail URL for the books on this ledger connection. For other books, use their own ledger connection or answer in words without a link. Offer the link after answering in words, when a view helps. Accepts view_id and optional state, including financial_summary's desktop_view.link. The link contains no pairing credential. If the owner wants help opening it, use service_open on the local service connection when available, or suggest bk open.
update_checkARead-only
Check signed Desktop releases and report the same Claude extension status as doctor. Takes no arguments.
update_statusARead-only
Read cached Desktop update status without network access. Mention an available update once in plain words, offer help, and continue the owner's work without blocking it. Use update_check only when a fresh check is requested.
verifyARead-only
Verify every company in the ledger and return balance, audit-chain, and check evidence.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 163 tools
The set covers many distinct resources and actions, but several clusters overlap: txn_clear/reconcile_statement/txn_reconcile, bank_feed_post/bank_feed_link/txn_post, txn_link/document_allocate/txn_meta_set applies_to, and report aging vs document_aging. Detailed descriptions explicitly steer between alternatives, so most tools are distinguishable, but the volume and shared reconcile/allocate/undo concepts create real misselection risk.
Almost all names are snake_case with resource prefixes such as txn_, document_, project_, collection_, and ledger_setup_, and most pair resource plus action predictably. There are minor deviations with bare nouns or verbs like report, verify, setup, doctor, financial_summary, changes_since, and ui_get_link, but the overall convention remains readable.
163 tools far exceeds the 3-15 well-scoped range; even for a full accounting platform it is an extreme surface, with many granular list/show/action tools. Each domain may justify some tools, but the aggregate is too heavy for reliable agent selection and maintenance.
The surface spans setup, accounts, transactions, documents, bank feeds, reconciliation, rules, projects, expenses, inventory, fixed assets, investments, payroll, tax, collections, reporting, audit, licensing, and group consolidation. Core lifecycle operations are broadly present, though a few dead ends remain, such as budget_list without a budget mutation tool and backup_list without backup restore.
Maintenance
Related MCP Connectors
Read and update double-entry books: accounts, invoices, bills, bank activity and reports.
Personal and small-business books: spending, US tax, bills. OAuth 2.1; never moves money.
Double-entry bookkeeping: accounts, journal entries, bank feeds, reconciliation, and reports.
Bookkeeping for owner-operated businesses. Query transactions, invoices, and reports.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceA Model Context Protocol (MCP) server that keeps the books for your personal and business finances using double-entry accounting — driven entirely from an LLM.1MIT
- AlicenseAqualityBmaintenanceTalk to your GnuCash books: a one-call financial dashboard (net worth, runway, budgets, what's overdue), and whole bank statements entered and reconciled in a single call from CSV, OFX, PDF, or even a screenshot or photo of the statement. Plus transactions, invoices, reports and multi-currency; local, SQLite/PostgreSQL/MySQL.8791MIT
- 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.500131 npm2MIT
- AlicenseBqualityBmaintenanceEnables offline management of sales contracts, customer receipts, traceable earnings accruals, actual payouts, and personal finance forecasts through a local stdio interface.4MIT