Connects Claude to your local AI CLI usage analytics through stdio transport. Exposes tools for scanning local logs and SQLite databases from tools like Cursor and Cline, then returns token counts, cost breakdowns, and confidence labels as JSON. The get_agent_guide tool serves as the entry point with workflow instructions and privacy guardrails. Scan operations require explicit confirmation flags before touching files. You'd reach for this when building agents that need visibility into their own token usage patterns or when you want programmatic access to the same local-first analytics that TokenTrace's dashboard provides. All data stays on your machine, no telemetry or cloud accounts required.
claude mcp add --transport stdio abhiyoheswaran1-tokentrace uvx tokentrace