Display Name
claude-token-analyzer
Category
Tooling
Sub-Category
Usage Monitors
Primary Link
https://github.com/li195111/claude-token-analyzer
Author Name
li195111
Author Link
https://github.com/li195111
License
MIT
Other License
No response
Description
Diagnoses token waste in Claude Code sessions with 6 anomaly types (token explosion, low cache hit, cost inefficient, extended session, repetitive errors, unusual model distribution), cost audit, and trend forecasting. Parses ~/.claude JSONL session logs into SQLite locally. Ships as a native Claude Code plugin with MCP server (7 tools) and CLI (9 commands). Fully local — nothing leaves your machine.
Validate Claims
Install with claude plugin install claude-token-analyzer, then run any of the MCP tools (e.g., analyze_session, anomaly_scan, cost_report) or the CLI (cta) to verify it parses your local session data and produces structured analytics.
Specific Task(s)
After installing the plugin, ask Claude Code to run an anomaly scan or cost report on your recent sessions. It should detect and report any statistical anomalies across your usage history.
Specific Prompt(s)
Scan my recent Claude Code sessions for anomalies and give me a cost report for the past week.
Additional Comments
Built in Rust with 98 tests (unit + integration). Supports macOS (x86_64 + ARM64) and Linux (x86_64 + ARM64). CI/CD via GitHub Actions builds release binaries on tag push.
Recommendation Checklist
Display Name
claude-token-analyzer
Category
Tooling
Sub-Category
Usage Monitors
Primary Link
https://github.com/li195111/claude-token-analyzer
Author Name
li195111
Author Link
https://github.com/li195111
License
MIT
Other License
No response
Description
Diagnoses token waste in Claude Code sessions with 6 anomaly types (token explosion, low cache hit, cost inefficient, extended session, repetitive errors, unusual model distribution), cost audit, and trend forecasting. Parses ~/.claude JSONL session logs into SQLite locally. Ships as a native Claude Code plugin with MCP server (7 tools) and CLI (9 commands). Fully local — nothing leaves your machine.
Validate Claims
Install with
claude plugin install claude-token-analyzer, then run any of the MCP tools (e.g.,analyze_session,anomaly_scan,cost_report) or the CLI (cta) to verify it parses your local session data and produces structured analytics.Specific Task(s)
After installing the plugin, ask Claude Code to run an anomaly scan or cost report on your recent sessions. It should detect and report any statistical anomalies across your usage history.
Specific Prompt(s)
Scan my recent Claude Code sessions for anomalies and give me a cost report for the past week.
Additional Comments
Built in Rust with 98 tests (unit + integration). Supports macOS (x86_64 + ARM64) and Linux (x86_64 + ARM64). CI/CD via GitHub Actions builds release binaries on tag push.
Recommendation Checklist