The worldwide Claude Code competition

Turn your coding sessions
into a competition.

Claude Cup gives you a live trophy in your terminal that fills based on your Build Rate - a productivity metric that rewards meaningful edits, clean runs, and commits. Compete on a worldwide leaderboard.

$ npx claude-cup

Requires Node.js 18+ and Claude Code  ·  Works on macOS, Linux, Windows

claude-cup - terminal
┌─────────────────────────────────────────────────────┐
  ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░  Build Rate  ⬆ 4.21   
                                                       
                      ___                              
                     /   \                             
                    |     |                            
                    |▓▓▓▓▓|                            
                    |▓▓▓▓▓|                            
                    |▓▓▓░░|                            
                    |_____|                            
                   /=======\                           
                  /=========\                          
                                                       
  Rank #112  ·  Top 8%  ·  Tier Craftsman              
                                                       
  ↑ #111  alex_builds     BR 4.38                      
  → #112  you             BR 4.21                      
  ↓ #113  nadia_dev       BR 4.05                      
                                                       
  Tokens today  142 k   Cost  ~$0.71   Eco  off        
└─────────────────────────────────────────────────────┘
What you get

Everything you need to build more, better.

A single command launches the whole experience: trophy, leaderboard, and all.


Build Rate (BR)

Your productivity score. A rolling 7-day weighted metric that rewards net file edits, successful terminal runs, and git commits - while dividing by kilotokens consumed. Quality over quantity.

Worldwide Leaderboard

See exactly where you rank among builders across the globe. Updates every few minutes. Watch your position change in real time as you code, and get a notification when you overtake someone.

Native MCP Integration

On first launch Claude Cup registers itself as an MCP server with Claude Code. Hook events (edits, tool calls, prompts) flow directly into a local SQLite database for accurate, real-time tracking.

Live Terminal Trophy

An ASCII World Cup trophy that fills up based on your global percentile rank. See it grow as you climb the leaderboard, a literal visual of your progress as a builder.

Eco Mode

Press e in the TUI to cap token usage. Claude Cup sets environment limits in Claude Code's config, then fully restores your original settings the moment you turn eco mode off.

Web Dashboard

A browser-based view at localhost:4690 showing your same stats with an interactive trophy. Start it with npx claude-cup --web or run headless alongside your regular workflow.

Three steps

Up and running in seconds.

No configuration files. No API keys. Just one command.


01

Install with one command

Run npx claude-cup in your terminal. Claude Cup registers with Claude Code automatically on first launch. No manual setup, no config files.

02

Code as you normally would

Continue using Claude Code exactly as before. Claude Cup hooks into your sessions in the background, tracking edits, commits, and tool calls through the MCP integration.

03

Watch your trophy fill and rank climb

Your Build Rate and leaderboard rank update every few minutes. The trophy fills as you climb. Compete with builders worldwide during the 2026 World Cup window.

Get started now

One command. That's it.

Claude Cup sets itself up automatically. No config files, no API keys, no accounts required.

$ npx claude-cup
✓ Node.js 18+ ✓ Claude Code ✓ macOS / Linux / Windows ✓ MIT License
View on npm View on GitHub