Skip to content

acstener/ClaudeMeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClaudeMeter

A macOS menu bar app that displays your daily Claude Code usage in dollars, with a satisfying slot-machine style rolling animation when the cost increases.

macOS 13.0+

Features

  • Shows current day's Claude usage in menu bar (e.g., $8.90)
  • Smooth rolling animation when the cost increases (like a fruit machine)
  • Click to see breakdown by model (Opus, Sonnet, Haiku)
  • Refreshes every 30 seconds
  • Menu-bar only (no dock icon)

Prerequisites

  • macOS 13.0 or later
  • ccusage installed:
    npm install -g ccusage

Installation

Option 1: Build from Source

# Clone the repo
git clone https://github.com/acstener/ClaudeMeter.git
cd ClaudeMeter

# Install xcodegen if needed
brew install xcodegen

# Generate Xcode project and build
xcodegen generate
sed -i '' 's/objectVersion = 77/objectVersion = 56/' ClaudeMeter.xcodeproj/project.pbxproj
xcodebuild -scheme ClaudeMeter -configuration Release build

# Copy to Applications
cp -R ~/Library/Developer/Xcode/DerivedData/ClaudeMeter-*/Build/Products/Release/ClaudeMeter.app /Applications/

# Launch
open /Applications/ClaudeMeter.app

Option 2: Download Release

Check the Releases page for pre-built .app downloads.

Usage

Once running, you'll see a dollar amount in your menu bar (e.g., $8.90).

  • The number updates every 30 seconds
  • When the cost increases, the numbers roll up smoothly
  • Click to see a breakdown by model
  • Click "Quit" to close the app

Run at Login

To start ClaudeMeter automatically:

  1. System Settings → General → Login Items
  2. Click "+" and add ClaudeMeter

License

MIT

About

macOS menu bar app showing Claude Code usage in dollars with slot-machine animation

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages