Agent♥︎Age
Catalog

io.github.eternal-roman/ledger

Official

by eternal-roman · TypeScript

Exact-decimal double-entry for agents. Call MCP tools; do not do money math in tokens.

@eternal-roman/ledger-mcp (MCP Server)

This MCP server is an adapter for @eternal-roman/ledger, exposing the ledger engine over stdio. It provides exact-decimal double-entry accounting for agents, where “the kernel does the math.” Agents are expected to call MCP tools rather than computing money in tokens.

🛠️ Key Features

  • Exact-decimal double-entry for agents
  • Deterministic and exact arithmetic behavior
  • Operates as an MCP adapter over stdio
  • Math performed by the ledger kernel

🚀 Use Cases

  • AI-agent bookkeeping workflows
  • Audit-oriented ledger processing
  • Double-entry accounting integrations for MCP hosts
  • Tool catalog access via ledger://tools/catalog

⚡ Developer Benefits

  • Standard MCP server shape for stdio hosts
  • Startup reads ledger://canon/rules and ledger://canon/workflow
  • Repository-aligned TypeScript ecosystem integration
  • Avoids token-based money calculations

⚠️ Limitations

  • Designed to be used by agents that do not compute money in tokens
  • Tooling details beyond the catalog/run instructions are not specified in the provided excerpt

Topics

accountingai-agentsauditbookkeepingdeterministicdouble-entryexact-arithmeticfintechledgerllmmcpmcp-servermodel-context-protocolmoneytypescript