beancount-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@beancount-mcp-serverWhat is my Assets account balance?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
beancount-mcp-server
MCP (Model Context Protocol) server for Beancount ledgers. Lets MCP clients (Claude Code, Claude Desktop, etc.) query a ledger with BQL and append new entries.
Tools
Tool | Description |
| Run an arbitrary BQL query |
| List accounts with open/close dates and currencies |
| Per-account balances, filterable by prefix and date |
| Search postings by text, account, and date range |
| Validate the ledger (bean-check equivalent) |
| Append a new transaction (validated before writing) |
| Append raw Beancount directive text (validated before writing) |
Related MCP server: Beanquery MCP Server
Usage
The ledger path is taken from the first CLI argument, or from $BEANCOUNT_FILE.
uvx beancount-mcp-server /path/to/main.beancountClaude Code / Claude Desktop config
{
"mcpServers": {
"beancount": {
"command": "uvx",
"args": ["beancount-mcp-server", "/path/to/main.beancount"]
}
}
}Docker
docker build -t beancount-mcp-server .
docker run -i --rm -v /path/to/ledger:/data beancount-mcp-serverThe image expects the main file at /data/main.beancount (override via BEANCOUNT_FILE).
Development
uv sync
uv run beancount-mcp-server /path/to/main.beancountThis server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
- BonsaveOAuthapp.bonsave
Query your real net worth, spending, transactions, budgets and portfolio from any MCP client.
MCP server for Modern Treasury — payment orders, transactions, counterparties and ledgers.
- FensoryOAuthcom.fensory
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP Server to query from your Beancount ledger, or submit transaction.11MIT
- AlicenseNot gradedqualityDmaintenanceAn experimental server implementing the Model Context Protocol to allow AI assistants to query and analyze financial data stored in Beancount ledger files using the Beancount Query Language.53MIT
- FlicenseNot gradedqualityCmaintenanceA read-only MCP server that gives AI agents structured access to a Beancount personal finance ledger.1-
- AlicenseAqualityCmaintenanceAn MCP server for querying Beancount ledgers using natural language, enabling financial analysis through Claude with tools for BQL queries and ledger validation.23MIT