Tallybook
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Prices every Claude Code and Codex session on your disk, shows what each agent cost over any period, and tells you in plain English what would have been cheaper.
Documentation
No proxy, no API key, nothing leaves your machine. Run it as a CLI, open the same report in your
browser with tallybook --serve, or add tallybook-mcp to Claude Code or Codex and ask the agent
itself what it's spending and what would be cheaper.
In your browser · tallybook --serve
In your terminal · tallybook
More in the documentation.
Install
Also available via go install github.com/magna-nz/tallybook/cmd/tallybook@latest, or as a
release download. Works on macOS, Linux
and Windows.
Add the MCP server so your agent can check its own spend mid-session — tallybook-mcp ships
alongside tallybook, so no separate install:
For Codex, add it to ~/.codex/config.toml:
Use
Docs
The command reference, the MCP server's tools, configuration, and the privacy model live on the
**documentation site**.
License
MIT