Understand what Claude Code is really costing you.
A local-first dashboard and CLI that turns your Claude Code session logs into actionable insights — token usage by project, daily trends, session history, and cost estimates. No cloud. No account. Your data stays on your machine.
npm i -g cclog-cliRequires Node.js 18+.
# Launch the local dashboard
cclog-cli run
# Use a different port
cclog-cli run --port 8080
# Skip browser auto-open
cclog-cli run --no-openThe dashboard reads your local Claude Code logs and displays project summaries, daily token trends, session lists, subagent details, and estimated costs.
# Help
cclog-cli --help
# Overview in terminal
cclog-cli summary
# Ranked session list
cclog-cli sessions
# Per-project breakdown
cclog-cli projects
# Export JSON or CSV
cclog-cli export --format csv --out usage.csv
# Check for updates
cclog-cli update# Show installed version
cclog-cli --version
cclog-cli version
# Check for updates
cclog-cli updateWhen you run cclog-cli run, the CLI can show a short notice if a newer npm version is available. Use cclog-cli update to upgrade.
Release versioning is tracked in CHANGELOG.md and the detailed rules live in docs/versioning-release-policy.md.
- Update
package.jsonversion. - Update
web/package.jsonto match the root version. - Add the matching
CHANGELOG.mdentry with## vX.Y.Z - YYYY-MM-DD. - Run
npm run release:check. - Build and test.
- Run the git skill
releaseflow to validate metadata, create the tag, and push branch + tag. - Publish with
npm publish.
- Session analysis and dashboard data come from your local
~/.claude/projects/logs. cclog-cli runmay perform a lightweight npm registry check for newer releases.--refresh-pricesfetches the latest pricing snapshot frompricepertoken.com.- Set
CCLOG_CLI_NO_UPDATE_CHECK=1if you want to skip the version check onrun.
- Session analysis by input, output, total, and cache tokens
- Project summaries from local Claude Code logs
- Cost estimation from bundled pricing snapshots
- Browser dashboard for exploration and filtering
- JSON and CSV export
- Read-only log analysis
cclog-cli reads ~/.claude/projects/ in read-only mode. It does not modify your source files or session logs.
Pricing data comes from pricepertoken.com with a bundled local snapshot for offline use. Estimates are approximate.
npm install
npm run build
npm run dev -- summary
npm testTypeScript 5.4 · Node.js ESM · Commander.js · Express · Vite + React
MIT


