Skip to main content
Glama

Ledger MCP Server

by mprokopov

分类帐服务 MCP 服务器

MCP 服务器用于通过 Claude 访问和管理分类账文件。

成分

工具

该服务器实现了三种账本管理工具:

  • list-accounts :列出账本中的所有账户
    • 将“年份”作为必需参数
    • 返回所有可用帐户的格式化列表
  • account-balance :获取特定账户的余额
    • 将“年份”和“帐户”作为必需参数
    • 返回指定账户的当前余额
  • account-register :显示账户的交易记录
    • 将“年份”和“帐户”作为必需参数
    • 返回指定账户的详细交易历史记录

安装

先决条件

  • Python 3.13 或更高版本
  • uv包管理器
  • Node.js 和 npm(用于调试)

从 PyPI 安装

uv pip install ledger-service

调试

使用检查器调试服务器:

npx @modelcontextprotocol/inspector \ uv \ --directory /path/to/ledger-service \ run \ ledger-service

MCP Inspector 调试界面

配置 Claude 桌面

将服务器配置添加到 Claude Desktop 的配置文件中:

在 MacOS 上: ~/Library/Application\ Support/Claude/claude_desktop_config.json在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json

"mcpServers": { "ledger-service": { "command": "uv", "args": [ "--directory", "/path/to/ledger-service", "run", "ledger-service" ] } }
"mcpServers": { "ledger-service": { "command": "uvx", "args": [ "ledger-service" ] } }

发展

本地设置

  1. 克隆存储库
  2. 创建并激活虚拟环境
  3. 安装依赖项:

可以通过修改server.py中的LEDGER_BASE_PATH常量来配置基本路径。

执照

GNU 通用公共许可证第 3 版,2007 年 6 月 29 日

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

MCP 服务器允许通过 Claude 访问和管理分类账文件,提供账户列表、余额检查和交易登记查看功能。

  1. 成分
    1. 工具
  2. 安装
    1. 先决条件
    2. 从 PyPI 安装
  3. 调试
    1. 配置 Claude 桌面
  4. 发展
    1. 本地设置
  5. 执照

    Related MCP Servers

    • A
      security
      F
      license
      A
      quality
      An MCP server that connects Claude to BrianKnows' blockchain knowledge base, allowing users to search for blockchain/DeFi information and interact with a specialized agent across multiple knowledge bases.
      Last updated -
      3
      JavaScript
    • -
      security
      A
      license
      -
      quality
      A local MCP server that enables AI applications like Claude Desktop to securely access and work with Obsidian vaults, providing capabilities for reading notes, executing templates, and performing semantic searches.
      Last updated -
      60
      TypeScript
      MIT License
      • Apple
      • Linux
    • A
      security
      A
      license
      A
      quality
      An MCP server that enables interaction with Safe (formerly Gnosis Safe) smart contract wallets, allowing users to query transactions, get multisig details, and decode transaction data through natural language.
      Last updated -
      3
      JavaScript
      MIT License
    • -
      security
      A
      license
      -
      quality
      An MCP server that provides seamless integration with the Neo N3 blockchain, allowing Claude to interact with blockchain data, manage wallets, transfer assets, and invoke smart contracts.
      Last updated -
      22
      3
      MIT License
      • Linux
      • Apple

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/mprokopov/ledger-mcp-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server