Skip to content
Claude Code

TokenTrace for Claude Code

io.github.abhiyoheswaran1/tokentrace

Local-first AI CLI usage analytics for agents.

client:Claude Code transport:stdio runtime:npm

Install TokenTrace in Claude Code

run in your project directory

claude mcp add tokentrace -- npx -y tokentrace

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

TokenTrace in other clients