claudeers.
// Other

TokenBar

AI token usage & quota monitor for the macOS menu bar — native Swift, Liquid Glass, 3D contribution graph. Tracks Claude Code, Codex, Cursor, OpenCode & 25+…

// Other[ cli ][ api ][ desktop ][ claude ]#claude#ai-usage#claude-code#codex#liquid-glass#macos#menu-bar#rust#otherMIT$open-sourceupdated 2 months ago
Actively maintained
100/100
last commit about 4 hours ago
last release 7 days ago
releases 34
open issues 28
// star history+29 this week (+11.3%)

Install with your AI

Paste into Claude Code, Cursor, or any agent — it reads the repo and wires the tool into your project.

Install and set up TokenBar (release-binary project) into my current project.
Found on https://claudeers.com/tokenbar
Repo: https://github.com/Nanako0129/TokenBar
Homepage/docs: https://tokenbar.nyanako.com
Detected install method: release-binary → inspect the README
Category: other. Platforms: cli, api, desktop.
Read the repo's README for exact setup and env vars, then install it and wire it into my project.

Claudeers Health Verdict:
active; community-verified: false. Confirm the source before running anything.
// or install directly (release-binary)

Grab the latest release asset from GitHub.

# download a build from https://github.com/Nanako0129/TokenBar/releases
// or clone
git clone https://github.com/Nanako0129/TokenBar

// compatibility

Platformscli, api, desktop
Operating systems
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageSwift

TokenBar

AI token usage & quota monitor for the macOS menu bar — native Swift, Liquid Glass.


TokenBar sits in your menu bar and shows what you're spending across 25+ AI coding agents — Claude Code, Codex, Cursor, OpenCode, Gemini CLI and more — read on-device from your local session logs. No Dock icon, no telemetry, no account.

TokenBar popover in Liquid Glass over the desktop wallpaper

The menu-bar title shows today's tokens, cost, live tokens/min, or how much subscription quota is left — as signal bars, a ring, or a popsicle that melts as your window drains. And the cat sprints faster the more you burn, tracing back to RunCat by Takuto Nakamura.


The dashboard

Click the icon and a Liquid Glass popover opens. A row of app tabs filters which agents you're looking at; a view switch picks how that data is broken down — six lenses, plus the same year of usage as an orbitable 3D graph.

Interactive 3D contribution graph

Models view
Models — every model ranked by cost
Daily view
Daily — active days, with day drill-down
Hourly view
Hourly — when in the day you burn tokens
Stats view
Stats — headline summary & streaks
Agents view
Agents — sub-agents ranked by cost
Settings
Settings — menu-bar title, icon & quota source

Plus OAuth quota cards with pace projections, a live session trace, streaks, and full keyboard control (⌘1–9 tabs, ⌘G chart toggle, ⌘, settings). A failed refresh never blanks a reading — the last known value stays until a fresh one lands.

Install

brew install --cask nanako0129/tokenbar/tokenbar

In-app updates arrive via Sparkle; betas ride an opt-in channel (Settings → "Receive beta updates"). The app is ad-hoc signed (not notarized) — the cask clears the quarantine attribute on install, as disclosed. Requires an Apple Silicon Mac on macOS 14+ (Liquid Glass needs macOS 26; earlier systems get a vibrancy fallback). Still on macOS 11–13? The final Tauri build stays as tokenbar@legacy.

How it works

Rust owns the data — session parsing, aggregation, pricing, quota fetching — via the vendored tokscale-core, exposed to Swift as a C-ABI staticlib (crates/tb_core_ffi). Swift owns the rest: SwiftUI views, the NSStatusItem shell, Sparkle updates.

make        # cargo build --release, then swift build
make run    # build + run the smoke binary

Run swift build from the repo root — the linker's -L target/release path in Package.swift is relative.

Credits

TokenBar is built on tokscale by Junho Yeo. Its vendored tokscale-core crate does the session parsing, dedup, and pricing across 25+ agents — and its interactive TUI is the blueprint for the whole dashboard: the six lenses (Overview, Models, Daily, Hourly, Stats, Agents) and their In · Out · CR · CW column breakdown are modeled on it.

The product line began as a fork of tokcat by handlecusion — the original Tauri menu-bar monitor (itself built on tokscale). This native app is a ground-up Swift rewrite that carries no tokcat code, but the menu-bar form and the spinning-cat signature are theirs; the cat traces back to RunCat by Takuto Nakamura. The quota-pace cards reference CodexBar by Peter Steinberger.

All MIT. Licensed under MIT.

// faq

What is TokenBar?

AI token usage & quota monitor for the macOS menu bar — native Swift, Liquid Glass, 3D contribution graph. Tracks Claude Code, Codex, Cursor, OpenCode & 25+ agents locally.. It is open-source on GitHub.

Is TokenBar free to use?

TokenBar is open-source under the MIT license, so it is free to use.

What category does TokenBar belong to?

TokenBar is listed under automation in the Claudeers registry of Claude-compatible tools.

1 views
286 stars
unclaimed
updated 2 months ago

// embed badge

TokenBar on Claudeers
[![Claudeers](https://claudeers.com/api/badge/tokenbar.svg)](https://claudeers.com/tokenbar)

// retro hit counter

TokenBar hit counter
[![Hits](https://claudeers.com/api/counter/tokenbar.svg)](https://claudeers.com/tokenbar)

// reviews

// guestbook

0/500

// related in Other

🔓

符合nature论文学术表达和科研绘图的Skill

// otherYuan1z0825/Python36,535Apache-2.0[ claude ]
🔓

Open source Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents. Built for multitasking, organization, and programmability.

// othermanaflow-ai/Swift26,069NOASSERTION[ claude ]
🔓

Anti-AI-slop design skill for Claude Code, Cursor, and Codex.

// otherNutlope/CSS25,307MIT[ claude ]
🔓

Huashu Design · HTML-native design skill for Claude Code · Claude Code 里 HTML 原生的设计 skill · 高保真原型 / 幻灯片 / 动画 + 20 设计哲学 + 5 维评审 + MP4 导出 · Agent-agnostic

// otheralchaincyf/HTML23,151MIT[ claude ]
→ see how TokenBar connects across the ecosystem