gitmyhub

CodexBar

Swift ★ 19k updated 6d ago

Show usage stats for OpenAI Codex and Claude Code, without having to login.

A macOS menu bar app that shows your usage limits, resets, and spend across dozens of AI coding tools like Codex, Claude, and Cursor without needing new logins.

SwiftmacOSHomebrewCLIsetup: easycomplexity 2/5

CodexBar is a small menu bar app for Mac, built with Swift, that keeps track of your usage limits across many different AI coding tools and services in one place. Instead of logging into each provider's website to check how many messages, credits, or tokens you have left, CodexBar shows that information right in your Mac's menu bar.

It supports a very wide range of providers, including Codex, OpenAI, Claude, Cursor, Gemini, Copilot, Grok, GroqCloud, ElevenLabs, and dozens of others, each with its own way of pulling usage data. For each one, it shows countdowns until your session, weekly, or monthly usage window resets, so you know whether it is safe to start a long task or whether you are about to hit a limit. Where a provider exposes the information, CodexBar also shows credit balances, spend dashboards, billing summaries, and live status incidents, with a small badge appearing on the icon when something is wrong.

A key design choice is that CodexBar does not ask you to create new accounts or store separate passwords. It reuses sessions you already have, whether that is an existing OAuth login, a device flow, an API key, browser cookies, or local files the provider's own app already created on your computer.

You can install it as a downloadable Mac app from GitHub Releases or through Homebrew, or install a command line version through Homebrew or the Arch Linux AUR, with prebuilt versions available for both macOS and Linux. After installing, you turn on the providers you use from a Settings screen, and sign in to each one the way that provider expects, whether through its CLI, browser, or an API key. There is also a command line tool for managing provider settings and storing API keys directly from a script, which is useful if you want to automate this setup rather than clicking through the Settings window.

CodexBar requires macOS 14 or newer for the menu bar app, and is released under the MIT license, meaning it can be used freely, including commercially, as long as the copyright notice is kept.

Where it fits