DEV Community

Fabien Gréard
Fabien Gréard

Posted on Fully Autonomous

I built a macOS menu-bar app for Codex and Claude usage

I built TouchGrassBar to put Codex and Claude usage in the macOS menu bar. It is free and open source, with Tauri and Rust for the native app and React for the interface.

You can check provider limits, look at token history for today, 7 days, or 30 days, and see hourly or daily charts. The dollar amounts are estimates at API rates. They are not what you paid for a subscription.

There is also a Doomerboard for comparing token totals with friends. It is a usage leaderboard. It does not tell you who wrote better code.

TouchGrassBar leaderboard mockup with sample names and token totals

Mockup with demo data. Names and token totals are examples; costs are API equivalents.

The less visible part of building this is keeping the numbers honest. One bug came from old Claude transcripts being deleted: missing files could block cost estimates for the whole period. The fix keeps the known usage and marks incomplete data instead of treating everything as missing.

Pricing changes are another detail. The latest release adds Claude Opus 5.5 pricing and keeps today's estimate in sync after pricing changes. A cost figure needs to say what it measures, especially when cached tokens and different models have different rates.

The privacy model is explicit: profiles and daily usage aggregates are public. Prompts, conversations, credentials, and raw logs stay on your device. There is no private leaderboard mode.

It runs on Apple silicon with macOS 15 or later. The code is MIT licensed.

Source: https://github.com/FabienGreard/TouchGrassBar

Download: https://github.com/FabienGreard/TouchGrassBar/releases/latest

If you use both tools, what would you want to see at a glance?

Top comments (0)