About Tallybook
Tallybook is an MCP server published by magna-nz in the Agents category: prices your Claude Code and Codex sessions from the transcripts on disk, shows what each agent cost over any period, and tells you in plain English what would have been cheaper. CLI, Browser UI and MCP server. Conduid read 8 tools from its source: agents, changes, finding, prices, refresh, report and 2 more. No package is published for it, so it installs from a source checkout.
The repository has 6 stars and 0 forks, and its last commit was on 13 Sep 2026. The latest release is v1.2.0 (13 Sep 2026): Changelog a0f13b8ab5fb80d60841736c07c5152ef1b1ddf2: Add a weekly price-drift check (@magna-nz) 61392c36c5322b06778df973ad2887cd730147f4: Add the Glama quality badge to t… It follows v1.1.0 (12 Sep 2026), and the 5 most recent releases go back to v0.2.0 (11 Sep 2026). Its topics include cli, coding-agents, cost-optimization, devtools, homebrew and prompt-caching.
Install
git clone https://github.com/magna-nz/tallybookTools (8)
agentsSpend per sub-agent type: runs, the model it mostly used, average cost per run, the share of runs whose tool calls were all read-only, errored tool results, and runs where the requested model differed from the one actually used.changesEvery point where a sub-agent's model changed, with the real runs before and after compared and a verdict: keep, watch, revert, or too early. These are measured figures, not estimates.findingOne finding in full, addressed by its stable id from report: what happened, why it costs, what to change, what to expect, plus the evidence table and the patch if there is a file to change.pricesThe price table every figure is computed from, in US dollars per million tokens, with the date it was last verified. Includes any overrides from the user's config.refreshRescan the transcript directories now instead of waiting for the automatic rescan, and report how many files were scanned, newly recorded, unchanged, or skipped. Only tallybook's own database is written.reportWhat the coding agents on this machine cost over a window: the total, the split by tool and by model, and the list of findings about what would have been cheaper. Call finding with an id from the list for the full advice.sessionOne session turn by turn: model, effort, token counts and cost per model response. Accepts a full session id or a unique prefix. Never returns prompt text, tool output, or command lines; the database does not hold them.sessionsSessions in the window with what each cost, sorted by cost or by time, most expensive or most recent first. Includes sub-agent runs as their own rows.Security checks
6 checks have not been run yet.