⚔ TokenRPG Level up while you do your thing. And see who else is too.

A game for people who code with Claude Code

A Claude Code usage tracker that turns your tokens into an RPG

Connect Claude Code once. TokenRPG counts the tokens you spend and shows your usage, and every token moves your hero up the Stack, a dungeon of bugs: Null Wraiths, Race Conditions, the Dependency Wyrm. You never have to play. Now and then the road forks, and if you don't choose, the hero chooses alone.

Begin as a Nullborn See who's climbing

What is TokenRPG?

It is an idle game. Claude Code already keeps a count of every token it uses. TokenRPG reads those counts, turns each token into one point of XP (days off and some choices add a bonus), and tells the story of your hero's day: the bugs they fought, the loot they found, the level they reached. Level up while you do your thing, and see who else is too.

It is for fun, like a step counter. Tokens are not effort: a big number says how much Claude Code ran, not how good the work was.

Your Claude Code stats

Behind the game is a plain Claude Code dashboard, with Claude Code analytics and a usage monitor for your own work. It shows your Claude Code token usage, and your profile has:

The Activity page sets your numbers beside your friends'. Uploads happen when a Claude Code session starts or ends, and while you work at most once every 2 minutes.

TokenRPG counts what you have used. It does not know your plan's limits or what you have left. It counts Claude Code only: what Claude Code writes to its own folder on your computer (~/.claude).

What does it collect?

A small script on your computer reads the token counts Claude Code already keeps, and sends token counts per day (by type, by model and by hour) and message counts; your Claude plan (such as Max 5x) and when it began; the computer's name, and the Claude account folder's name if it isn't the usual one; whether it is a Mac, Linux, Windows or Windows (WSL); the script's version and which of our hooks are installed. Never your prompts, code, file contents, the names of the folders you work in, or your Claude login.

The script's source is public, and the page Your data lists every field it sends, everything we store and for how long, and who can see it. You choose who sees what in Settings → Privacy. Out of the box, anyone can see your level, totals and activity grid, and friends also see your models, hours and token mix.

How do I start?

  1. Sign up and verify your email address.
  2. In Settings, open Connect Claude Code. It gives you three commands to copy: install the script, send your first upload, and add the hooks that keep it updated.
  3. Work as you normally do. Your hero moves when you do.

Works in a terminal on Mac, Linux and Windows (through WSL). It needs python3 on that computer. There is no native Windows version yet.

Is it free?

Yes. There is nothing to pay for and there are no adverts. TokenRPG is made by Tally Digital Ltd and comes as it is, with no promise that it will always be here; the terms say so.

Friends, challenges and the leaderboard

Anyone can fake their numbers, and a leaderboard place means nothing outside the game.

The Stack

  1. The Singularitylevel 96+ · Singular
  2. The Context Abysslevel 86+ · Abyss Gazer
  3. The Gradient Peakslevel 76+ · Gradient Climber
  4. The Latent Sealevel 66+ · Latent Diver
  5. The Edgelevel 56+ · Edgewalker
  6. The Cloudlevel 46+ · Cloudwalker
  7. The Compiler's Spirelevel 36+ · Spire Adept
  8. The Weavelevel 26+ · Patternsworn
  9. The Registry Wasteslevel 18+ · Wasteseeker
  10. The Threadbridgeslevel 11+ · Bridgerunner
  11. The Heap Warrenslevel 6+ · Tunnelrat
  12. The Undercachelevel 1+ · Nullborn

How it works has every rule.

Begin the climb