Token Monitor — CLI for Claude Code and Codex
token-monitor
A desktop widget for tracking tokens, cost and limits across 43 or more tools: Claude Code, Codex, Cursor, OpenRouter and others, for Windows and macOS
Install in Claude Code, Codex and Cursor
Other ways to install
Access and checks
How we reviewExtended access. The tool runs code or makes network calls and only reads external data.
- Reads the tools' local usage logs
- Version 0.x, so behavior may change
This is third-party code. Review the repository files before installing.
What it does
Token Monitor shows token spending, cost and limits for 43 or more coding tools on one live panel, and counts provider limits for Claude Code, Codex, Cursor, OpenRouter and others. The approach is local-first: data comes from local usage logs. The app runs on Windows 10 and newer and macOS 12 and newer and detects WSL usage. Installation on macOS: `brew install --cask token-monitor`. Version 0.66.0 from 04.10.2026, MIT license, JavaScript.
Who it is for. For people who use several coding tools and want to see total token spending and approaching limits in one widget.
Good fit when
- You need to see token spending and limits across different tools in one place
- You need to watch usage cost on Windows and macOS
- You need tracking that detects usage in WSL
Not a fit when
- You need tracking on Linux as a desktop app: per the README the builds are for Windows and macOS
- You are not ready for the app to read local usage logs
Example request
Show how many tokens and how much money I spent on Claude Code and Codex this week and how close I am to the limitLimitations
The app reads the tools' local usage logs, so it has extended access to them. The approach is local-first, and see the README for how syncing between machines works: we did not check it. Builds are for Windows 10 and newer and macOS 12 and newer. Version 0.x, so behavior may change.
How to disable. Remove the app (brew uninstall --cask token-monitor or the usual program removal) and turn off syncing if you enabled it.
FAQ
What does the widget show?
Token spending, cost and limits for 43 or more tools, including Claude Code, Codex and Cursor.
Which systems does it run on?
Windows 10 and newer and macOS 12 and newer.
Where does the data come from?
From the tools' local usage logs, a local-first approach.
How do I install Token Monitor?
Run npx skillfoxx add cli/token-monitor in a terminal.
Which agents does Token Monitor work with?
Token Monitor works in Claude Code, Codex and Cursor.
Is Token Monitor safe to install?
Extended access. The tool runs code or makes network calls and only reads external data.
Discussion
No questions or reviews yet.
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Repository stars | Main difference |
|---|---|---|---|
| Token Monitor (this card) | no | 3,939 | |
| Token Optimizer | no | 3,179 | a plugin that trims wasted tokens and keeps work across sessions |
| cost-xray | no | 5,375 | captures local API traffic and splits tokens and cost by source |
| Claude Usage | no | 2,331 | a local dashboard over Claude Code logs: tokens, models, sessions and projects |
README in short
The README describes a desktop widget for tracking tokens, cost and limits for 43 or more tools, support for Windows and macOS and detection of WSL usage. MIT license.