About Server
Server is an MCP server published by rustledger in the Finance category: modern plain text accounting. Beancount compatible. Conduid read 27 tools from its source: account_activity, balances, bql_tables, completions, directive_at_line, editor_completions and 21 more. No package is published for it, so it installs from a source checkout.
The repository has 442 stars and 51 forks, is licensed GPL-3.0, and its last commit was on 2 Dec 2026. The latest release is v0.24.0 (6 Sep 2026): ⚠️ Breaking changes Two, both in rledger extract. It follows v0.23.0 (4 Sep 2026), and the 5 most recent releases go back to v0.20.2 (4 Jul 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include accounting, beancount, cli, double-entry, finance and ledger.
Install
git clone https://github.com/rustledger/rustledgerTools (27)
account_activityGet activity summary for a specific account: first/last transaction, total transactions, currencies used.| Parameter | Type | Description |
|---|---|---|
| account * | string | The account name to analyze (e.g., 'Assets:Checking') |
| source * | string | The Beancount ledger source text |
balancesGet account balances from a ledger. This is a shorthand for running a BALANCES query.| Parameter | Type | Description |
|---|---|---|
| source * | string | The Beancount ledger source text |
bql_tablesGet documentation for BQL tables (entries, postings, etc.) and their available columns.completionsGet BQL query completions at a cursor position. Useful for building query editors.| Parameter | Type | Description |
|---|---|---|
| cursor_pos * | number | The cursor position (character offset) in the query |
| partial_query * | string | The partial BQL query text |
directive_at_lineGet the directive at a specific line number in the source.| Parameter | Type | Description |
|---|---|---|
| line * | number | Line number (1-indexed) |
| source * | string | The Beancount ledger source text |
editor_completionsGet context-aware completions for Beancount source at a given position. Returns account names, currencies, directives, etc. When `file_path` is given, `include` directives are resolved so completions also offer accounts/commodities defined in included files.| Parameter | Type | Description |
|---|---|---|
| character * | any | |
| file_path | any | |
| line * | any | |
| source | any |
editor_definitionGet the definition location for a symbol (account or currency). Returns the location of the Open or Commodity directive. Operates on the edited document only (cross-file definitions are not resolved).| Parameter | Type | Description |
|---|---|---|
| character * | any | |
| file_path | any | |
| line * | any | |
| source | any |
editor_document_symbolsGet all symbols in the document for an outline/structure view. Returns all directives with their positions. Operates on the edited document only (included files are not inlined).| Parameter | Type | Description |
|---|---|---|
| file_path | any | |
| source | any |
editor_hoverGet hover information for a symbol at the given position. Returns documentation for accounts, currencies, and directives. When `file_path` is given, `include` directives are resolved so an account's balance and transaction count reflect the whole ledger, not just the edited file.| Parameter | Type | Description |
|---|---|---|
| character * | any | |
| file_path | any | |
| line * | any | |
| source | any |
editor_referencesFind all references to a symbol (account, currency, or payee) at the given position. Returns all locations where the symbol is used. Operates on the edited document only (cross-file references are not resolved).| Parameter | Type | Description |
|---|---|---|
| character * | any | |
| file_path | any | |
| line * | any | |
| source | any |
find_transactionsFind transactions matching criteria: payee, narration, tags, or date range.| Parameter | Type | Description |
|---|---|---|
| from_date | string | Filter by start date (YYYY-MM-DD) |
| limit | number | Maximum number of results (default: 50) |
| narration | string | Filter by narration (substring match) |
| payee | string | Filter by payee (substring match) |
| source * | string | The Beancount ledger source text |
| tag | string | Filter by tag |
| to_date | string | Filter by end date (YYYY-MM-DD) |
formatFormat a Beancount ledger with consistent alignment and spacing.| Parameter | Type | Description |
|---|---|---|
| source * | string | The Beancount ledger source text to format |
format_checkCheck if a ledger is properly formatted. Returns differences if formatting would change the file.| Parameter | Type | Description |
|---|---|---|
| source * | string | The Beancount ledger source text |
format_fileFormat a Beancount file. Can optionally write the formatted output back to the file.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the Beancount file to format |
| write | boolean | If true, write the formatted output back to the file |
import_categorizeSuggest an expense/income account for a transaction based on its payee and description. Uses the ledger's existing accounts as candidates. Returns a prompt you can use to ask the LLM for categorization, along with the list of known accounts.| Parameter | Type | Description |
|---|---|---|
| amount | string | The transaction amount (e.g., '-85.23') |
| currency | string | The currency (default: USD) |
| date * | string | The transaction date (YYYY-MM-DD) |
| narration * | string | The transaction description/narration |
| payee | string | The transaction payee (e.g., 'WHOLE FOODS MARKET') |
| source * | string | The beancount ledger source (to extract known accounts) |
import_reviewFind transactions in the ledger that need import review (have import-confidence metadata). Returns transactions grouped by confidence level.| Parameter | Type | Description |
|---|---|---|
| source * | string | The beancount ledger source |
ledger_statsGet statistics about a ledger: counts of directives, accounts, currencies, date range, etc.| Parameter | Type | Description |
|---|---|---|
| source * | string | The Beancount ledger source text |
list_accountsList all accounts in the ledger with their open/close dates and currencies.| Parameter | Type | Description |
|---|---|---|
| source * | string | The Beancount ledger source text |
list_commoditiesList all currencies/commodities used in the ledger.| Parameter | Type | Description |
|---|---|---|
| source * | string | The Beancount ledger source text |
list_pluginsList available native plugins that can process ledgers.parseParse a Beancount ledger and return the directives as structured data.| Parameter | Type | Description |
|---|---|---|
| source * | string | The Beancount ledger source text to parse |
queryRun a BQL (Beancount Query Language) query on a ledger. Use this for account balances, filtering transactions, aggregations, etc.| Parameter | Type | Description |
|---|---|---|
| query * | string | The BQL query to execute (e.g., "SELECT account, sum(position) GROUP BY account") |
| source * | string | The Beancount ledger source text |
query_fileRun a BQL query on a Beancount file from the filesystem.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the Beancount file |
| query * | string | The BQL query to execute |
reportGenerate financial reports: balance sheet, income statement, holdings, or net worth.| Parameter | Type | Description |
|---|---|---|
| currency | string | Convert all amounts to this currency (optional) |
| report_type * | string | Type of report to generate |
| source * | string | The Beancount ledger source text |
run_pluginRun a native plugin on a ledger.| Parameter | Type | Description |
|---|---|---|
| plugin_name * | string | The name of the plugin to run (use list_plugins to see available plugins) |
| source * | string | The Beancount ledger source text |
validateValidate a Beancount ledger — the same checks the `rledger check` CLI runs, including booking, balance assertions and per-transaction zero-sum. Returns validation errors and warnings if any issues are found.| Parameter | Type | Description |
|---|---|---|
| source * | string | The Beancount ledger source text to validate |
validate_fileValidate a Beancount file from the filesystem — the same checks the `rledger check` CLI runs, including booking, balance assertions and per-transaction zero-sum. Handles includes automatically.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the Beancount file to validate |
Security checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.7K words.
- ✓License declaredThe repository declares the GPL-3.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by Cargo.lock and 5 more.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 2.7K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README