ledger-mcp
ledger-mcp
AIエージェント向けに複式簿記台帳をツールとして公開する小さなMCPサーバー。 MCPサーバー設計、エージェントツールの使いやすさ、評価駆動型の反復開発をテーマにした2日間の演習として構築。
ステータス: 1日目完了。2日目(評価ハーネス+所見)は進行中。
内容
ledger.py— SQLiteをバックエンドにした複式簿記台帳のコア。金額は整数セントで保存。取引のバランスと名前付きアカウントの整合性を強制。server.py— 4つのツール(create_account、record_transaction、get_balance、reconcile)を公開する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 InspectorClaude Desktopで使用するには、claude_desktop_config.jsonに追加:
{
"mcpServers": {
"ledger": {
"command": "uv",
"args": ["--directory", "/absolute/path/to/ledger-mcp", "run", "mcp", "run", "server.py"]
}
}
}2日目の予定
これらのツールでエージェントが成功する箇所と失敗する箇所を測定する評価ハーネス
所見のまとめ:命名とドキュメント、暗黙のアカウント作成、ガードレールとしてのツールと実行者としてのツール
Maintenance
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
- Flicense-qualityDmaintenanceA 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.
- Alicense-qualityAmaintenanceDouble-entry accounting ledger MCP server for autonomous agents that enables creating accounts, posting journal entries, and generating financial reports.MIT
- Flicense-qualityCmaintenanceEnables AI agents to manage personal finances through MCP tools for transaction management, spending analytics, and goal tracking.1
- AlicenseAqualityCmaintenanceEnables 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.7MIT
Related MCP Connectors
AI agents for bookkeeping, reconciliation, and financial close for SMBs.
Log, query, and edit expenses, budgets, and accounts in Ledgy from any MCP-compatible AI assistant.
The financial MCP for AI agents - 90+ financial tables, SEC filings, signals, alt-data.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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