
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A Model Context Protocol server that exposes Ledger CLI functionality so AI assistants can query and analyze financial data and assist with reporting, budgeting, and accounting tasks.
Ledger CLI MCP Server is cataloged as an MCP server attributed to minhyeoky. A Model Context Protocol server that exposes Ledger CLI functionality so AI assistants can query and analyze financial data and assist with reporting, budgeting, and accounting tasks. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Ledger CLI MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
The server requires a path to the Ledger file, which can be provided through the LEDGER_FILE environment variable or command-line arguments.
It can assist with financial reporting, budget analysis, and accounting tasks.
README.md · e25f3aede8b9 · Fetched 2026-11-13 08:09:47 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A Model Context Protocol server for interacting with Ledger CLI, a powerful, double-entry accounting system accessible from the command line. This server allows Large Language Models to query and analyze your financial data through the Ledger CLI tool.
This MCP server exposes Ledger CLI's functionality through a standardized interface, making it easy for AI assistants to help you with financial reporting, budget analysis, and accounting tasks.
The server provides the following tools that map to Ledger CLI commands:
ledger_balance
ledger_register
ledger_accounts
ledger_payees
ledger_commodities
ledger_print
ledger_stats
ledger_budget
ledger_raw_command
You can also use the Docker image from the minhyeoky/mcp-ledger repository:
docker pull minhyeoky/mcp-ledger
Add this to your claude_desktop_config.json:
"mcp-ledger": {
"command": "docker",
"args": [
"run",
"-v",
"/path/to/your/ledger/file.ledger:/main.ledger",
"-e",
"LEDGER_FILE=/main.ledger",
"-i",
"--rm",
"minhyeoky/mcp-ledger"
]
}
Replace /path/to/your/ledger/file.ledger with the actual path to your ledger file.
To install Ledger CLI MCP Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @minhyeoky/mcp-ledger --client claude
The easiest way to install and run this server is with uv:
uv sync
The server requires a path to your Ledger file. This can be provided through:
LEDGER_FILE environment variableAdd this to your claude_desktop_config.json:
"mcpServers": {
"ledger": {
"command": "uv",
"args": [
"run",
"--env-file",
"/path/to/your/.env", // Optional: to set LEDGER_FILE
"--with",
"mcp[cli]",
"mcp",
"run",
"<repo_path>/main.py" // Path to the main.py file in this repository
]
}
}
Once configured, you can ask your AI assistant questions about your financial data:
The AI will use the appropriate Ledger CLI commands through the server to get the information.
For more detailed local testing:
mcp dev main.py
This server is built using the Model Context Protocol Python SDK. For more information about MCP and how to develop MCP servers, see the official documentation.
To contribute to this project:
This server runs Ledger CLI commands on your financial data. While it includes basic validation to prevent command injection, you should:
This MCP server is licensed under the MIT License. Feel free to use, modify, and distribute it according to the license terms.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Ledger CLI MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-ledger)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.