Skip to main content
Glama
ahmadadam97

ledger-mcp

by ahmadadam97

ledger-mcp

AIエージェント向けに複式簿記台帳をツールとして公開する小さなMCPサーバー。 MCPサーバー設計、エージェントツールの使いやすさ、評価駆動型の反復開発をテーマにした2日間の演習として構築。

ステータス: 1日目完了。2日目(評価ハーネス+所見)は進行中。

内容

  • ledger.py — SQLiteをバックエンドにした複式簿記台帳のコア。金額は整数セントで保存。取引のバランスと名前付きアカウントの整合性を強制。

  • server.py — 4つのツール(create_accountrecord_transactionget_balancereconcile)を公開するMCPサーバー。

  • test_ledger.py — 台帳コア用のpytestスイート。

  • NOTES.md — Claude Desktopでサーバーを実行した際の設計判断と観察結果の実行ログ。

Related MCP server: Agent Ledger

ローカルでの実行

uv sync
uv run pytest -v          # run the ledger tests
uv run mcp dev server.py  # launch with the MCP Inspector

Claude Desktopで使用するには、claude_desktop_config.jsonに追加:

{
  "mcpServers": {
    "ledger": {
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/ledger-mcp", "run", "mcp", "run", "server.py"]
    }
  }
}

2日目の予定

  • これらのツールでエージェントが成功する箇所と失敗する箇所を測定する評価ハーネス

  • 所見のまとめ:命名とドキュメント、暗黙のアカウント作成、ガードレールとしてのツールと実行者としてのツール

Install Server
F
license - not found
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    A personal financial management tool that enables AI assistants to record transactions, check balances, and provide monthly financial summaries via the Model Context Protocol. It allows users to manage their expenses and income through natural language interactions using standardized MCP tools and resources.
  • A
    license
    -
    quality
    A
    maintenance
    Double-entry accounting ledger MCP server for autonomous agents that enables creating accounts, posting journal entries, and generating financial reports.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to interact with a double-entry ledger, offering tools for account management, balanced journal entries, balance queries, trial balance, and penny-perfect allocation. Built with safety by construction: no update/delete tools, idempotent posting, and an append-only journal.
    7
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

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/ahmadadam97/ledger-mcp'

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