mcp-server-ledger logo

mcp-server-ledger让 AI 帮助者阅读你的财务记录管理由 Ledger 应用程序管理的记录。 您可以在聊天室内询问账户余额、支出历史和预算报告,而无需离开。

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

MCP 服务器是Ledger CLI 的 Model Context Protocol 服务器,让 AI 助手可以与由 Ledger CLI 管理的财务数据进行交互。它通过标准化接口暴露 Ledgers CLI 功能,使 AI 帮助者可以查询并分析财务数据,包括账户余额、支出历史、预算报告等。服务器支持各种功能,如显示账户余额、交易记录、账户和付款清单、商品清单、打印交易、显示统计信息、预算分析和运行原始 Ledger CLI 命令。它要求在系统的 PATH 中已安装和可用的 Ledger CLI 和一个有效的 Ledger 文件才能工作。当 Ledger CLI 安装并可用时,可以使用 Docker、Smithery 或 uv 安装和运行服务器,并且可以通过环境变量、命令行参数或 claude_desktop_config.json 配置文件进行配置。用户可以向其 AI 助手提出各种关于他们财务数据的问题,从而使得管理他们的财务信息变得更简单,这样就不用离开聊天室。

主要功能

  • ledger_balance: 带有过滤选项的显示账户余额
  • ledger_register: 以详细记录的形式显示交易注册
  • ledger_accounts: 列出所有位于 Ledger 文件中的帐户
  • ledger_budget: 提供预算分析
  • ledger_raw_command: 运行原始 Ledger CLI 命令

价格

模型
Free
评分
暂无评价

使用场景

财务报告

向 AI 助手询问账户余额、列出交易,或者根据 Ledger 文件数据生成预算报告。

预算分析

使用 AI 助手分析支出和收入,通过在 Ledger CLI servidor 以预算报告和统计信息进行询问。

优点 & 缺点

优点

  • 支持让 AI 助手询问财务数据而无需直接访问 Ledger CLI
  • 提供标准化接口使得 AI 助手可以与 Ledger CLI 进行交互
  • 支持 Ledger CLI 命令,如平衡报告、交易注册和预算分析

缺点

  • 要求已安装并在系统的 PATH 中可用的 Ledger CLI
  • 需要有效 Ledger 文件和财务数据来有效运行

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

What are the main limitations of using this tool?

The server depends on a correctly installed Ledger CLI and a properly formatted Ledger file; without them it cannot operate. Additionally, any raw Ledger commands you expose run with the same permissions as the server process, so security considerations are required.

Asked by Gideon Mwangi · Nov 6, 2025

Can I customize which Ledger reports the AI can query?

Yes. The server supports specific features like ledger_balance, ledger_register, ledger_accounts, ledger_budget, and ledger_raw_command, each with filtering options that you can enable or disable via environment‑variable configuration.

Asked by Rosalind Frost · Sep 29, 2025

How does the MCP server let AI assistants access my Ledger data?

The server exposes Ledger CLI’s functionality through a standardized Model Context Protocol (MCP) interface, so AI helpers can request balances, transaction registers, budgets, and even run raw Ledger commands without direct CLI access.

Asked by Mireille Dupont · Aug 13, 2025

What do I need to have installed before I can run the MCP server for Ledger?

You must have Ledger CLI installed and available in your system’s PATH, plus a valid Ledger file containing your financial data. The server itself can be deployed via Docker, Smithery, or uv.

Asked by Damian Wysocki · Jul 26, 2025

提问

服务配缩器 的替代品