Privacy

Tokenmeter is a local program that reads files you already have. That is the whole design.

what it reads

The transcripts Claude Code, Codex and GitHub Copilot CLI write on your own disk, under ~/.claude, ~/.codex and ~/.copilot. Read only. It never modifies them.

what it stores

Nothing about your usage. The index lives in memory and is rebuilt from the logs each time the server starts. The only files it writes are ~/.tokenmeter/config.json if you create it, a server log, and team data if you run a team server.

what it sends

Nothing, by default. The server binds to 127.0.0.1 only. There is no telemetry, no update check and no account. The one outbound request it can make is to Anthropic's usage endpoint, and only if a Claude Code login token is already in your keychain, to show your plan's rate-limit percentage.

If you turn on team mode, your machine posts aggregates to the server you name: token counts, models, project paths and timestamps. Prompt text is stripped before sending.

the code

About 500 lines of Python standard library and one HTML file, MIT licensed. The full source ships in the package on PyPI; download it and read it in ten minutes.