What are the prerequisites for mcp-server-ledger?
Ledger CLI must be installed and available in your PATH, and you need a valid Ledger file with your financial data.
@minhyeoky
Basic information
A Model Context Protocol server for interacting with Ledger CLI, a powerful double-entry accounting system. This server enables Large Language Models to query and analyze financial data through a standardized interface, making it easy for AI assistants to help with financial repo
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-ledger": {
"command": "docker",
"args": [
"pull",
"minhyeoky/mcp-ledger"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
mcp-server-ledger is a Model Context Protocol server for interacting with Ledger CLI, a double-entry accounting system. It allows Large Language Models to query and analyze financial data through the Ledger CLI tool, enabling AI assistants to help with financial reporting, budget analysis, and accounting tasks.
Install Ledger CLI and have a valid ledger file. Install mcp-server-ledger via Docker (recommended), Smithery, or uv sync. Configure the server with the LEDGER_FILE environment variable or command-line arguments, then add the server configuration to your claude_desktop_config.json. Once set up, you can ask your AI assistant natural-language questions about your finances, and it will use the appropriate ledger commands.
ledger_balance – Shows account balances with filtering options.ledger_register – Shows transaction register with detailed history.ledger_accounts – Lists all accounts in the ledger file.ledger_payees – Lists all payees from transactions.ledger_commodities – Lists all commodities (currencies) used.ledger_print – Prints transactions in ledger format.ledger_stats – Shows statistics about the ledger file.ledger_budget – Shows budget analysis.ledger_raw_command – Runs a raw Ledger CLI command.Ledger CLI must be installed and available in your PATH, and you need a valid Ledger file with your financial data.
You can install it using Docker (`docker pull minhyeoky/mcp-ledger`), via Smithery (`npx -y @smithery/cli install @minhyeoky/mcp-ledger --client claude`), or by cloning the repository and running `uv sync`.
Provide the path to your Ledger file through the `LEDGER_FILE` environment variable or via command-line arguments when starting the server.
Yes, the `ledger_raw_command` tool accepts a list of command arguments and returns the raw output as text.
The server includes basic validation to prevent command injection, but you should only use it with trusted clients, be careful about which file paths you expose, and review all commands before execution.

Agent-Native Terminal

Verified distributed compute for humans, applications, and agents. Submit Blender, Octane, and video workloads, route them across qualified GPUs, track asynchronous execution, download finished artifacts, and verify FARP
Model Context Protocol (MCP) server for TranscriptFetch: fetch YouTube transcripts, search, channels, and playlists from any MCP client.
MCP server that lets Claude Code, Cursor or Codex ask you for API keys on a local page and write them to .env. The agent only ever sees key names.

Automated codebase documentation for GitHub: searchable docs, MCP context for AI agents, doc drift detection, and Friday Cleanup PRs.
Comments