Claude Token Analyzer
@li195111
About Claude Token Analyzer
Diagnoses token waste in Claude Code sessions. Detects 6 types of statistical anomalies with severity scoring. Fully local — parses ~/.claude JSONL files into SQLite, nothing leaves your machine. Plugin-native: one command install, then just ask "cta".
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"claude-token-analyzer": {
"command": "cta-mcp-server",
"args": []
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Claude Token Analyzer?
Claude Token Analyzer diagnoses token waste in Claude Code sessions by detecting six types of statistical anomalies with severity scoring. It parses local JSONL files from ~/.claude into a SQLite database and keeps all data on the user's machine.
How to use Claude Token Analyzer?
Install with claude plugin install claude-token-analyzer, then interact via natural language through Claude Code (e.g., "Scan my sessions for anomalies"). Provided MCP tools include sync_db, anomaly_scan, cost_report, trend_report, analyze_session, analyze_project, and analyze_global.
Key features of Claude Token Analyzer
- 6 anomaly types: token explosion, low cache hit, cost inefficient, extended session, repetitive errors, unusual model distribution
- Cost audit: per-project and per-model cost breakdown with trend analysis
- Fully local: data never leaves the machine
- Plugin-native: single-command install with natural language interface
Use cases of Claude Token Analyzer
- Diagnosing token waste in Claude Code sessions
- Monitoring and controlling costs by project or model
- Analyzing daily, weekly, or monthly usage trends
FAQ from Claude Token Analyzer
How do I install Claude Token Analyzer?
Run claude plugin install claude-token-analyzer in your terminal.
What data does Claude Token Analyzer use?
It reads session logs from ~/.claude JSONL files and stores them in a local SQLite database.
Does Claude Token Analyzer send data externally?
No, it is fully local — nothing leaves your machine.
What anomalies can it detect?
Six types: token explosion, low cache hit ratio, cost inefficiency, extended session duration, repetitive errors, and unusual model distribution.
How do I interact with Claude Token Analyzer?
Use natural language commands through Claude Code, for example "Scan my sessions for anomalies" or "How much did I spend this month?".
Frequently asked questions
How do I install Claude Token Analyzer?
Run `claude plugin install claude-token-analyzer` in your terminal.
What data does Claude Token Analyzer use?
It reads session logs from `~/.claude` JSONL files and stores them in a local SQLite database.
Does Claude Token Analyzer send data externally?
No, it is fully local — nothing leaves your machine.
What anomalies can it detect?
Six types: token explosion, low cache hit ratio, cost inefficiency, extended session duration, repetitive errors, and unusual model distribution.
How do I interact with Claude Token Analyzer?
Use natural language commands through Claude Code, for example "Scan my sessions for anomalies" or "How much did I spend this month?".
Basic information
More AI & Agents MCP servers
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
早起鸟儿喊真人验真
shenshaoyin早起鸟儿喊真人验真 is a remote MCP server available at http://121.40.18.232.
PDI Bridge for Claude
jxrlabsConnect Claude Desktop to your ServiceNow PDI. Query records, inspect Business Rules, review ACLs, and troubleshoot against your live instance.

Heterogent
Hire AI agents and lock USDC in trustless on-chain escrow on Solana all from your AI assistant. Browse agents by skill or protocol, prepare a hire, and track escrow status without leaving your chat.

Competitor Tracker & Co.
Competitor Tracker & Co.Competitor Tracker & Co. watches your competitors' websites and tells you what changed. Every week it crawls their pricing, product, messaging and corporate pages, detects the changes that matter, and files a tagged, ran
Comments