inevolin/claude-code-usage-analysis
Resource
Can I trust it?
No red flags in our checks.
Stars from real accounts No data
We haven't checked its stars for fakes yet.
Active OK
Last change 9 days ago.
Licence OK
MIT: you can use it for free, also in a commercial product. Keep the licence notice.
Quick checks from public data. They help, but they are no guarantee.
What it is
Empirical study of Claude Code token usage. It measures how prompt cache expiry, /compact and /clear timing, tool output size, client choice (CLI vs. Desktop Code tab) and model switching affect token consumption. It includes a Python analyzer that reads local ~/.claude/projects…
Who it's for
Developers and engineers who use Claude Code heavily and want to reduce token usage and costs
How to use it
Install
python3 -m pip install -e .From its README. Check it there before running it.
Ask your AI to set it up
Paste this into Claude, ChatGPT or your coding assistant.
Help me install and set up inevolin/claude-code-usage-analysis in my project. Follow its README: https://github.com/inevolin/claude-code-usage-analysis. Explain each step and check it is safe before running anything.
Star curve
Get alerts for repos like this
We'll email you when something in AI agents starts rising. Free, once a week, only what matches.
What arrives: one email on Mondays with the repos that match, never more. See last week's. Privacy
For maintainers
Add this badge to your README. It shows the repo's place on the radar, updates every hour and links back to this page.
[](https://repoalerts.com/repo/inevolin/claude-code-usage-analysis?ref=badge)Similar repos
- Echo14091409/usage-meter
A macOS menu-bar meter that shows Claude plan limits (5-hour, weekly and per-model usage) and Claude Code token use, with history, pace estimates and optional notifications. It reads only the output o
- microsoft/TokenEconomizer
A plugin for Claude Code, Codex, the GitHub Copilot CLI and Pi that reduces token cost across a repository's sessions. It learns recurring environment facts, prunes tools that go unused, and redirects
- claudememory/claude-memory
A ranked guide comparing ten ways to give Claude persistent, long-term memory across sessions, covering MCP memory servers, CLAUDE.md, memory plugins and built-in app memory for Claude Code, Claude De
- rbartoli/agent-usage-guard
A Claude Code mod that holds subagent fan-out, heavy-context prompts and retry loops before they consume the usage window. It reads the plan's 5-hour and weekly usage percentages, counts agents across
- Dawn-4ever1/TokenLens
Desktop dashboard for Windows and macOS that tracks token usage from AI coding agents such as Claude Code, Codex and Gemini CLI. It splits input, output and cache tokens, estimates API-equivalent cost
- midudev/better-claude
A collection of plugins and mods for Claude Code: image preview for pasted images, subscription usage and context window meters, a commit command, a spoken narrator of turn changes, and git-based file