For people who use Claude Code all day

Never get cut off by your Claude limit mid-task again.

TokenCoach shows how much of your 5-hour and weekly limit you've used, how big your current chat is, and when to start a fresh one. It sits in your menu bar, in a small floating box, and right in your terminal.

Install free, takes 1 minute ↓
  • Free and open source
  • No account
  • Nothing leaves your Mac
The TokenCoach floating box: 5-hour limit 34% used, weekly limit 18% used, this chat 86k tokens, a live usage chart, and a tip.

Why heavy Claude users like it

Claude doesn't warn you until you've hit the limit. And it's easy to burn through it without noticing, because every message re-reads the whole chat. TokenCoach makes that visible.

⏱️

Know before you hit the wall

See your 5-hour and weekly % and exactly when they reset. Pace a big task, or finish it before you're locked out.

📏

Catch chats that got too big

A 200k-token chat uses your limit about 4× faster than a 50k one. The dot turns orange, then red, so you know when to wrap up and start fresh with /clear.

🔎

See what's eating it

Which chats and which tools (file reads, shell commands, web) used the most today. Often it's one huge file read you didn't notice.

💡

One tip, right when it matters

A single plain-English tip for right now, plus a Mac notification once per warning. No spam.

Simple example: you're deep in a refactor at 72% of your 5-hour limit, and your chat is at 240k tokens. TokenCoach turns orange and says "start a fresh chat". You do, and the same work now costs a quarter as much. You finish the task instead of hitting the limit halfway.

Works where you work

Three places, pick any. You don't have to leave your terminal to use it.

1 · In your terminal

A status line under Claude Code

If you live in the terminal, this is all you need. Under Claude Code's input box you'll see your model, your 5-hour %, and how full this chat is. It updates as you work.

The installer turns this on for you. If you already have your own status line, it leaves yours alone.

2 · In your menu bar

Your 5-hour % at the top of the screen

A little gauge and your 5-hour % sit next to the clock. Click it for the full picture: both limits, this chat, live usage, which chats and tools used the most today, and the settings.

3 · Floating box

Always on top, in any app

A small box that floats above every window, even full-screen apps like the Claude desktop app. Drag it anywhere, pick Small, Medium or Large, or hide it with the ×.

Works with Claude Code in the terminal and in the Claude desktop app.

What each part means

Every number in the box, in plain words.

The TokenCoach box with numbered parts 1 2 3 4 5 6
  1. Title barDrag here (or anywhere) to move the box. Click the size name to switch Small / Medium / Large. The × hides it.
  2. 5-hour limitHow much of Claude's rolling 5-hour usage limit you've used, and when it resets. This is the one you hit most often.
  3. Weekly limitSame idea for the 7-day limit. Bars go green, orange at 50%, red at 80%.
  4. This chatHow many tokens Claude re-reads with every message in your current chat, and which project it's in. Smaller is cheaper. The dot turns orange when it's getting long and red when it's time to start fresh.
  5. Using nowHow fast you're using tokens right now, plus a bar for each of the last 30 minutes. Tall bars mean heavy work.
  6. TipOne piece of advice for right now, like "start a fresh chat" or "you'll hit your limit around 4:30".

Pick the size that fits

Small stays out of the way. Large is easy to read from across the desk.

Small box: 5-hour limit and this chat only
SmallJust your limit and this chat
Medium box: both limits, this chat, live usage, a tip
MediumAdds weekly limit, live usage, and a tip
Large box: bigger text plus busiest chats today
LargeBigger text, plus your busiest chats today
Change the sizeClick the size name at the top of the box. Or right-click the box. Or use the Small / Medium / Large switch in the menu bar popup.
Move itDrag the box from anywhere and drop it. It remembers the spot next time.
Hide or bring backClick × to hide. Turn "Floating box" back on in the menu bar popup. Turn on "Open at login" so it's always there.

Install in 3 steps

No coding needed. Just copy and paste one line.

Open the Terminal app

Press ⌘ Command + Space, type Terminal, then press Return. A window with text opens. You don't need to know anything about it.

Copy this line and paste it in

Click Copy. Click inside the Terminal window, press ⌘ Command + V to paste, then press Return.

curl -fsSL https://tokencoach.vercel.app/install.sh | bash

Done. Look at the top of your screen

After a few seconds, Terminal says Done! You'll see TokenCoach in your menu bar (top right) and the box in the corner. You can close Terminal. Your limit % shows up after your next Claude Code message.

You need: a Mac with macOS 14 (Sonoma) or newer, and Claude Code. The 5-hour and weekly % show for Claude Pro and Max plans; chat sizes work for everyone.

Questions

 

What does that Terminal line do?

It downloads a short install script from this site and runs it. The script:

  1. Checks that your Mac is new enough.
  2. Downloads TokenCoach and puts it in your Applications folder.
  3. Turns on the Claude Code status line, which is how TokenCoach reads your official 5-hour and weekly %. If you already have your own status line, it leaves it alone. It saves a backup of your settings first.
  4. Opens TokenCoach.

You can read the whole script here before you run it.

Is it safe? Does it send my chats anywhere?

No. TokenCoach only reads the Claude Code chat files already on your Mac. It has no account, no tracking, and never sends anything over the internet. All the code is on GitHub.

Does it work with the Claude desktop app, or only the terminal?

Both. TokenCoach reads Claude Code chats from the terminal and from the Code tab in the Claude desktop app. The status line (place 1 above) only appears in the terminal version. The menu bar and floating box work everywhere.

I'd rather download it and install by hand
  1. Download TokenCoach.zip and double-click it to unzip.
  2. Drag TokenCoach into your Applications folder.
  3. Double-click it. Your Mac will say it can't check the app, because it isn't from the App Store. Click Done.
  4. Open System Settings → Privacy & Security, scroll down, and click Open Anyway next to TokenCoach. You only do this once.

This way doesn't turn on the limit %. TokenCoach will still show your chat sizes. The Terminal install above does everything for you.

I don't see anything in my menu bar
  • If your menu bar is full (common on MacBooks with a notch), the icon can hide behind the notch. The floating box still works.
  • Open Applications and double-click TokenCoach to start it again.
  • It says "No recent chat" until you've used Claude Code at least once.
How do I update or remove it?

Update: run the same Terminal line again. It replaces the old version.

Remove: click TokenCoach in your menu bar, click Quit, then drag TokenCoach from Applications to the Trash.

Know someone who lives in Claude?

Send them this page. It's free, and setup takes a minute.

Star it on GitHub