Ledger
Exact-decimal double-entry for agents.
Connector by eternal-roman · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/eternal-roman-ledger
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 7 read · 8 write · 0 delete · 5 not yet classified
- Secrets
- None asked for
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 20
Read from the source code; the running server may list different tools.
Read 7 · Look things up without changing anything.
cite_lookupfx_compute_translationledger_audit_hashledger_verify_determinismledger_verify_equationmoney_computereconcile_positions
Write 8 · Create, change, send or run things.
artifact_makeclosing_generate_entriesdepreciation_build_scheduleledger_postperiods_create_lockperiods_guarded_postsettlement_build_entriestrace_run
Not yet classified 5 · We could not tell from the name and description.
cashflow_statemententry_validateledger_balanceledger_trial_balanceportfolio_relief
Tools (20)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
artifact_makeBuild a canonical financial artifactAssemble a Canonical Financial Artifact (scope, assumptions, citations, kernel plan, proof, reproducibility, auditHash) — the structured proof bundle a financial answer should carry. Every field is required and auditHash is verified, not just format-checked: it must be a digest a kernel call (ledger_post / ledger_audit_hash / ledger_verify_determinism / trace_run) actually returned in this session, or one this tool can recompute from the serialized `ledger` you pass alongside it. A fabricated value — even a well-formed one — is rejected. Validates that the kernel plan references core primitive…
cashflow_statementDirect-method cash flow statementDerive an exact direct-method cash flow statement from a serialized ledger: operating / investing / financing flows per currency, with opening and closing cash. Cash accounts are detected by convention (Asset codes starting CASH or names containing "cash") unless cashAccountCodes is supplied. Self-checks that opening + netChange === closing. Kernel verified.
cite_lookupLook up accounting citationsRetrieve matching IFRS/GAAP facts and citations from the kernel knowledge graph for a query (e.g. "revenue recognition", "lease", "cost basis"). Use to ground claims in canon rather than asserting from memory.
closing_generate_entriesGenerate closing entries to Retained EarningsGiven a (serialized) ledger snapshot and close date, returns balanced JournalEntry[] that close Income/Expense to RE using the kernel. All entries are pre-validated. Kernel verified.
depreciation_build_scheduleBuild depreciation / amortization scheduleExact straight-line (allocate) or declining balance schedule. Input cost/salvage/life/method. Returns periods with exact Money amounts as strings. Kernel-allocate based.
entry_validateValidate a journal entryRun the kernel invariant check on a proposed journal entry: balanced debits=credits per currency, >=2 lines, positive amounts, no sub-scale precision, valid ISO date, no silent currency mix. Returns { ok, violations[] }. Always validate before posting.
fx_compute_translationFX translation + CTATranslate ledger balances at asOf using provided rates into reportingCurrency. Returns holdings, translated totals, and the exact CTA plug amount. Always kernel-verified for balance.
ledger_audit_hashAudit hashCompute the tamper-evident SHA-256 audit-hash chain for a serialized ledger. Any change to any field or line ordering yields a different hash.
ledger_balanceAccount balanceNet balance for an account in a serialized ledger, per its normal balance side. Pass "currency" for multi-currency accounts (otherwise fails closed). Returns all currencies via balancesByCurrency too.
ledger_postPost an entry to a ledgerValidate and apply a journal entry to a (serialized) ledger, returning the new ledger JSON plus its audit hash. The kernel refuses unbalanced state: an invalid entry is NOT posted and its violations are returned instead. Omit "ledger" to start from empty.
ledger_trial_balanceTrial balanceEvery account in a serialized ledger with its current net balance (one row per currency).
ledger_verify_determinismVerify determinismRebuild a serialized ledger twice and confirm the two runs are byte-for-byte identical via their audit hashes AND that the fundamental equation holds. Returns { ok, hash }.
ledger_verify_equationVerify accounting equationVerify Assets + Expenses = Liabilities + Equity + Income (per currency) holds for a serialized ledger. Returns { balanced }.
money_computeExact money arithmeticPerform EXACT decimal money arithmetic with the kernel (decimal.js, never floats). Use this for every monetary calculation instead of computing in your own tokens. Ops: add, sub (same currency), mul, div (money x scalar), allocate (split by ratios, remainder to last), convert (via FX rate), compare.
periods_create_lockCreate a period lock (hard close)Create an immutable PeriodLock fact for use with guarded posting. effectiveDate <= lockDate will be rejected.
Show 5 more tools
periods_guarded_postGuarded ledger post (respects period locks)Like ledger_post but rejects entries whose effectiveDate falls on or before any provided period lock. Returns the same shape. Always kernel-verified.
portfolio_reliefLot relief with holding-period classificationReconstruct open lots and realized disposals for an asset from the ledger using FIFO / LIFO / HIFO, with exact cost basis. Each disposal is broken down per consumed lot and classified short vs long term by holding days (default threshold 365). Fails closed on oversell. Kernel verified.
reconcile_positionsReconcile positions against an external sourceCompare ledger-derived balances against an external snapshot (exchange/custodian/bank), matched by account code AND currency. Returns per-account status (matched / mismatch / missing_in_ledger / missing_in_external) with exact diffs and an overall reconciled flag. Kernel verified.
settlement_build_entriesSettlement-date (T+N) entries for a fillSplit a fill into trade-date entries (asset moves; cash booked as a settlement receivable on a sell / payable on a buy) and settlement-date entries (the receivable/payable is swapped for cash). All entries are kernel-validated and balanced. Returns both entry sets as JSON. Kernel verified.
trace_runTrace a sequence of entriesReplay a sequence of journal entries on a fresh ledger, capturing balances, the fundamental equation, and an audit-hash prefix at every step. This is the agent-facing audit trail. Fails closed with the offending step if any entry is invalid.
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Weekly downloads
- 11
- Last commit (this folder)
- Aug 14, 2026 (2 months ago)
- Last release
- Aug 14, 2026 (2 months ago)
- Last package publish
- Aug 14, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.eternal-roman/ledger- Version
- 0.19.1
- Auth
- No auth
- Packages
- npm @eternal-roman/ledger-mcp
- License
- MIT
- Repository
- github.com/eternal-roman/ledger
- First seen
- Oct 24, 2026
- Last checked
- Oct 25, 2026
More from eternal-roman
- 0.547score
ledger
eternal-roman
Use for ANY monetary, accounting, ledger, journal, balance, P&L, fee, FX, invoice, tax, cost-basis, or valuation work.
SkillBFreshness: B★ 1Claude Code +9 - 0.542score
ledger-verify
eternal-roman
Verify a diff, file, or snippet against ledger invariants.
SkillBFreshness: B★ 1Claude Code +9 - 0.539score
ledger-reconcile
eternal-roman
Turn assumptions, rates, or a prose transaction into balanced, validated JournalEntry objects with citations.
SkillBFreshness: B★ 1Claude Code +9 - 0.539score
ledger-sim
eternal-roman
Deterministic financial scenario.
SkillBFreshness: B★ 1Claude Code +9 - 0.539score
ledger-cite
eternal-roman
Look up IFRS/GAAP citations from the ledger knowledge graph.
SkillBFreshness: B★ 1Claude Code +9 - 0.539score
ledger-review
eternal-roman
Pre-ship financial review.
SkillBFreshness: B★ 1Claude Code +9
Cite this page
Ledger MCP server. Agent Mart. https://agentmart.dev/connectors/eternal-roman-ledger (last updated 2026-10-25)