AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Beanquery Mcp

mcp-vanto-beanquery-mcp · by vanto

Beancount MCP Server is an experimental implementation that utilizes the Model Context Protocol (MCP) to enable AI assistants to query and analyze Beancount ledger files using Beancount Query Language (BQL) and the beanquery tool.

No reviews yet
0 installs
2 views
0.0% view→install

Install

$ agentstack add mcp-vanto-beanquery-mcp

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-vanto-beanquery-mcp)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
stale · 1y ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Beanquery Mcp? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Beanquery MCP

The Beancount MCP Server is an experimental implementation of the Model Context Protocol (MCP) designed to interface with Beancount ledger files. Leveraging the Beancount Query Language (BQL) and the beanquery tool, this server enables seamless querying and analysis of financial data stored in Beancount format. By integrating MCP, the server facilitates standardized communication between AI assistants and Beancount ledgers, enhancing the accessibility and utility of financial data.

Note: This server is experimental and may undergo significant changes. It is recommended to use it in a development environment and provide feedback for further improvements.

A generated sample ledger can be found in [sample.bean](sample.bean)

Available Resources and Tools

  • Tools:
  • set_ledger_file: Set the Beancount ledger file to use for queries (if not set via environment variable).
  • run_query: Run a BQL query against the loaded Beancount file.
  • Resources:
  • beanquery://tables: Get a list of tables that BQL can access.
  • beanquery://accounts: Get a list of accounts in the loaded Beancount file.

Example using Claude.ai

For a screenshot with expanded MCP interactions, see [here](docs/screenshot-expanded.png).

⚠️ Privacy Warning

This tool interfaces with language model providers (LLMs) via the Model Context Protocol (MCP), and as such may transmit parts of your Beancount ledger—including potentially confidential or private financial information—to third-party services.

Please use this tool with caution, especially when:

  • Your ledger contains sensitive data (e.g., client names, salary details, health-related expenses).
  • You are using a cloud-hosted or non-self-hosted LLM backend.

Recommendations:

  • Mask or redact sensitive data in test ledgers.
  • Use self-hosted LLMs when possible.
  • Review the data being sent via MCP to ensure compliance with your privacy and security requirements.

> [!CAUTION] > You are responsible for the protection of your financial data. Do not share ledgers you would not be comfortable exposing.

Setup

Prerequisites

  • Python 3.10 or later
  • uv for managing Python projects (recommended)

Usage

Running the Server

  1. Development Mode:

Use the MCP Inspector to test and debug your server: ``bash mcp dev server.py ``

  1. Claude Desktop Integration:

Install the server into Claude Desktop: ``bash mcp install server.py ``

  • Quick Start:

``bash uv run mcp install server.py -v BEANCOUNT_LEDGER=$(pwd)/sample.bean --with beancount --with beanquery ``

  • Custom Name:

``bash uv run mcp install server.py --name "Beanquery MCP Server" --with beancount --with beanquery ``

  • Environment Variables:

``bash uv run mcp install server.py -v BEANCOUNT_LEDGER=/path/to/your/ledger.bean --with beancount --with beanquery uv run mcp install server.py -f .env --with beancount --with beanquery ``

Testing

Run the test suite using pytest:

pytest server_test.py

Contributing

  1. Fork the repository.
  2. Create a feature branch:

``bash git checkout -b feature-name ``

  1. Commit your changes:

``bash git commit -m "Add feature description" ``

  1. Push to your branch:

``bash git push origin feature-name ``

  1. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.