Why I built ccclub
A few months ago I started using Claude Code for most of my daily work. Writing features, fixing bugs, refactoring โ the kind of things I used to do in an editor with occasional Stack Overflow tabs.
One evening I was talking with a friend and we started comparing notes. How much are you spending? How many tokens? What model do you use? We were both curious, but neither of us had an easy way to check. Claude Code writes local usage logs, but they're raw JSONL files scattered across ~/.claude/projects/. Not exactly something you'd screenshot and send.
So I built ccclub โ a small CLI tool that reads those logs, aggregates the numbers, and puts them on a shared leaderboard.
How it works
You run npx ccclub init, pick a name, and get a six-letter invite code. Share the code with friends. They run npx ccclub join CODE. That's it โ no accounts, no email, no config.
After that, every time you finish a Claude Code session, a hook automatically syncs your usage. Run ccclub in the terminal and you see a leaderboard: who spent the most, who sent the most tokens, who's active right now.
There's also a web dashboard at ccclub.dev/g/CODE with an activity chart, so you can see when your friends are coding and how their usage patterns look over time.
What it tracks
Token counts, cost estimates, model names, and number of turns. That's all. No prompts, no code, no file paths, no conversation data. You can run ccclub show-data to see exactly what gets uploaded before it leaves your machine.
The cost is calculated based on public API pricing โ it shows you the equivalent dollar value of the tokens you've consumed. If you set your subscription plan (ccclub profile --plan max200), it also calculates your Monthly ROI: how much usage value you got relative to what you paid.
Beyond Claude Code
Since the initial release, ccclub has grown to support multiple coding agents. It now reads usage logs from Claude Code, Codex, OpenCode, Amp, and pi-agent. If you use more than one, all of them show up in the same leaderboard.
The data stays local โ ccclub reads from each agent's default log directory, aggregates everything into 30-minute blocks, and uploads only the numeric summaries.
What people use it for
Some teams use it to get a rough sense of who's actively using AI-assisted coding and how much it's costing. Some friend groups treat it as a lighthearted competition. A few solo developers just use it to track their own usage over time โ the "all time" view gives you a nice historical picture.
I didn't plan for any of these use cases. I just wanted to compare numbers with one friend. The rest happened on its own.
Try it
npx ccclub init
One command. No signup. Invite your friends and see the leaderboard.
ccclub is open source and free. The code is on GitHub.