Skip to content
hina-kura49Public

Repository files navigation

ccbar icon

ccbar

Your Claude Code limit, always in sight.
A tiny macOS menu bar app that shows how much of your Claude Code 7-day usage you have used, and tells you the moment it resets.

Download for macOS · Website · English | 日本語

Free & open source · macOS 13+ · Apple Silicon & Intel

ccbar: usage climbs in the menu bar, the menu opens, and a notification arrives when the limit resets

When you'll use it

  • Thursday evening, deciding whether to start a big refactor. The menu bar says 7d 86% and the limit resets Saturday morning, so you save the refactor for Saturday instead of getting cut off halfway.
  • Pacing a multi-day task. A glance each morning tells you whether you are on pace, so you spread the heavy sessions across the week.
  • The moment your limit resets. A notification tells you right away, so you don't keep running /usage to check.
  • Before a deadline. Seeing your usage all the time helps you keep enough in reserve for the final fixes.

Features

  • Always visible: 7d 59% sits in the menu bar. Click it for the reset time and how long until it resets.
  • Reset notification: a macOS notification tells you when your 7-day limit has reset.
  • No API calls, no tokens: it only reads the data Claude Code already passes to its status line.
  • Small and quiet: launches at login (you can turn that off) and stays out of your way.

Download

Download CCBar-macos-universal.zip (latest release, Apple Silicon and Intel). All versions are on the Releases page, with SHA256SUMS to verify the download.

You need macOS 13 or later and a Claude Code plan that reports usage limits in the status line (Pro or Max).

Install

  1. Unzip and move. Double-click the zip, then move CCBar.app to your Applications folder.

  2. Open it (first time only). ccbar is free and not signed by Apple, so macOS warns that it can't verify the app. Either right-click CCBar.app and choose Open, then Open again, or go to System Settings → Privacy & Security and click Open Anyway next to CCBar. 7d -- appears in your menu bar.

  3. Connect Claude Code. Add this to ~/.claude/settings.json (create the file if it doesn't exist):

    {
      "statusLine": {
        "type": "command",
        "command": "/Applications/CCBar.app/Contents/MacOS/ccbar-cli tap"
      }
    }

    The next time Claude Code refreshes its status line, your usage appears in the menu bar, for example 7d 41%.

CCBar adds itself to your login items on first launch. To turn that off, uncheck Launch at Login in its menu.

Using it

Click the menu bar item to see:

  • the usage, the reset time, and how long until it resets
  • Updated: when Claude Code last sent values
  • Refresh Now (⌘R), Launch at Login, Quit CCBar (⌘Q)

Privacy

  • ccbar never calls an API and never reads OAuth tokens or the keychain.
  • The only input is the data Claude Code passes to its status line. Only the rate limit values are saved, on your Mac.
  • Nothing is sent over the network.

FAQ

  • macOS says it can't verify the app. That's expected for an unsigned free app. Open it once with right-click → Open, or Open Anyway in System Settings → Privacy & Security.
  • The menu bar shows 7d --. Values appear only on plans that report usage limits, and only after Claude Code has refreshed its status line at least once. A window that has just reset may drop out for a while.
  • The value looks old. Values are updated only while Claude Code is running. Check Updated in the menu.
  • I already use a status line. The setting above replaces it. To keep yours, have your own script pass the same JSON to ccbar-cli tap on stdin.
  • Why not the 5-hour window? The status line often doesn't include it.
  • Linux / Windows? Only macOS is supported, because the menu bar app uses AppKit.

Uninstall

Choose Quit CCBar from its menu, then delete /Applications/CCBar.app and ~/Library/Caches/ccbar, and remove the statusLine entry from ~/.claude/settings.json. If CCBar still appears in System Settings → General → Login Items, remove it there.

Build from source

For developers: install Rust and the Xcode Command Line Tools, then

git clone https://github.com/hina-kura49/ccbar && cd ccbar
cargo install --path .        # the `ccbar` command
./app/build.sh --install      # builds /Applications/CCBar.app and launches it

and use "command": "ccbar tap" in the setting above. How it works, the commands, and the development workflow are in DEVELOPMENT.md.

License

MIT. Licenses of bundled third-party crates are listed in THIRD_PARTY_NOTICES.md. Both files are also copied into CCBar.app.

ccbar is an unofficial community tool. It is not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic.

Releases

Packages

Contributors

Languages