Skip to main content
Glama
ahmadadam97

ledger-mcp

by ahmadadam97

ledger-mcp

A small MCP server exposing a double-entry ledger as tools for AI agents. Built as a two-day exercise in MCP server design, agent tool ergonomics, and eval-driven iteration.

Status: Day 1 complete. Day 2 (eval harness + findings) in progress.

What's here

  • ledger.py — double-entry ledger core, backed by SQLite. Amounts stored as integer cents. Enforces balanced transactions and named-account integrity.

  • server.py — MCP server exposing four tools: create_account, record_transaction, get_balance, reconcile.

  • test_ledger.py — pytest suite for the ledger core.

  • NOTES.md — running log of design decisions and observations from running the server against Claude Desktop.

Related MCP server: Agent Ledger

Run locally

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

To use with Claude Desktop, add to claude_desktop_config.json:

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

Coming Day 2

  • Eval harness measuring where agents succeed and break on these tools

  • Findings write-up: naming vs. documentation, silent account creation, tool-as-guardrail vs. tool-as-executor

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