Claude Token Analyzer
@li195111
关于 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".
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"claude-token-analyzer": {
"command": "cta-mcp-server",
"args": []
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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?".
AI 与智能体 分类下的更多 MCP 服务器
Intervals.icu MCP Server
mvilanovaModel Context Protocol (MCP) server for connecting Claude and ChatGPT with the Intervals.icu API.
mcp-hfspace MCP Server 🤗
evalstateMCP Server to Use HuggingFace spaces, easy configuration and Claude Desktop mode.
Just Prompt - A lightweight MCP server for LLM providers
dislerjust-prompt is an MCP server that provides a unified interface to top LLM providers (OpenAI, Anthropic, Google Gemini, Groq, DeepSeek, and Ollama)
Gemini MCP Server
aliargunMCP server implementation for Google's Gemini API
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
评论