连接能力
mprokopov ledger mcp server 为 AI Agent 提供什么
来源目录未提供结构化功能列表,请在使用前阅读源仓库文档。
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
MCP Server for accessing and managing ledger files through Claude.
The server implements three tools for ledger management:
-
list-accounts: Lists all accounts in the ledger
- Takes "year" as a required argument
- Returns formatted list of all available accounts
-
account-balance: Gets the balance for a specific account
- Takes "year" and "account" as required arguments
- Returns the current balance for the specified account
-
account-register: Shows the transaction register for an account
- Takes "year" and "account" as required arguments
- Returns detailed transaction history for the specified account
- Python 3.13 or higher
uvpackage manager- Node.js and npm (for debugging)
uv pip install ledger-serviceUsing the inspector to debug the server:
npx @modelcontextprotocol/inspector \
uv \
--directory /path/to/ledger-service \
run \
ledger-serviceAdd the server configuration to Claude Desktop's config file:
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Development Configuration
"mcpServers": {
"ledger-service": {
"command": "uv",
"args": [
"--directory",
"/path/to/ledger-service",
"run",
"ledger-service"
]
}
}Production Configuration
"mcpServers": {
"ledger-service": {
"command": "uvx",
"args": [
"ledger-service"
]
}
}- Clone the repository
- Create and activate a virtual environment
- Install dependencies:
The base path can be configured by modifying the LEDGER_BASE_PATH constant in server.py.
GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
社区
