Monitor Claude Code usage and cost: open source (2026)
Our pick
Start with Claude-Code-Agent-Monitor if you want usage, cost and running agents in one place. It is a local dashboard that follows Claude Code, Cursor and Codex sessions in real time, shows agent hierarchies, and reports token usage and cost. It needs Node.js and npm, and on first launch it asks to install hooks for the tools you pick. It is MIT licensed. The table shows its last commit and latest release, and how the other tools compare.
Best for
- Usage, cost and running agents in one dashboard
hoangsonww/Claude-Code-Agent-MonitorA dashboard for Claude Code, Cursor and Codex sessions that follows them in real time, shows agent hierarchies and reports token usage and cost. Setup is npm run setup, then npm run dev.
- Seeing what one Claude Code session did
matt1398/claude-devtoolsReads the Claude Code logs on your machine and shows session transcripts, tool calls, token usage and subagent activity with tokens, duration and cost. Install on a Mac with brew install --cask claude-devtools, or run it in Docker.
- Keeping your cost history
mag123c/toktrackA terminal dashboard for token and cost use across Claude Code and other coding CLIs. It keeps a persistent cache, so history stays after the CLI deletes its own session files. Install with brew tap mag123c/toktrack, then brew install toktrack.
- Seeing which agents are working or waiting
asheshgoplani/agent-deckRuns your coding agents in one terminal and shows which ones are working, waiting or done. Works on macOS, Linux and Windows through WSL.
- Checking how much of your limit is left
qunqin24/PulseA macOS monitor that sits on the edge of your screen and shows usage limits for Claude Code, Codex, Cursor and more. It has no Pulse account and no Pulse server, and it uses the logins you already have.
- A local dashboard of your Claude Code sessions
JayantDevkar/claude-code-karmaTurns the data in ~/.claude into a dashboard of sessions, timelines, costs and live activity. It runs on your machine with no cloud, no accounts and no telemetry.
The repos compared
Checked on Nov 29, 2026: the oldest day any repo in the table was last read from GitHub.
| Repo | Stars | Last commit | Latest release | Licence | Needs |
|---|---|---|---|---|---|
| hoangsonww / Claude-Code-Agent-Monitor A real-time monitoring dashboard for Claude Code and Codex. | 1,228 GitHub (opens in new tab) | Active Nov 21, 2026 | v2.5.0, Nov 21, 2026 | MIT | |
| matt1398 / claude-devtools Inspects Claude Code session logs, tool calls, token usage and subagents. | 4,058 GitHub (opens in new tab) | Active Nov 28, 2026 | v0.5.0, May 13, 2026 | MIT | |
| mag123c / toktrack A token and cost tracker for Claude Code and other LLM tools. | 195 GitHub (opens in new tab) | Active Dec 1, 2026 | v2.19.0, Nov 29, 2026 | MIT | |
| asheshgoplani / agent-deck A terminal session manager for Claude, Gemini, OpenCode and Codex. | 1,344 GitHub (opens in new tab) | Active Nov 30, 2026 | v1.16.42, Nov 29, 2026 | MIT | |
| Javis603 / token-monitor A desktop widget that tracks token usage, costs, limits and session activity. | 4,048 GitHub (opens in new tab) | Active Dec 2, 2026 | v0.102.1, Dec 1, 2026 | MIT | |
| qunqin24 / Pulse A macOS monitor that shows how much you have left in Claude Code, Codex, Cursor and Copilot. | 677 GitHub (opens in new tab) | Active Dec 2, 2026 | v1.17.0, Nov 30, 2026 | Apache-2.0 | |
| JayantDevkar / claude-code-karma A dashboard for monitoring Claude Code sessions. | 342 GitHub (opens in new tab) | Active Nov 18, 2026 | v0.2.0, May 19, 2026 | Apache-2.0 | |
| mikehasa / agentacct Shows what your coding agents did and what each task cost. | 752 GitHub (opens in new tab) | Active Oct 3, 2026 | v0.12.11, Oct 3, 2026 | MIT | |
| jazzenchen / agent-hud-open A heads-up display of quotas, tokens and sessions for Claude Code, Codex and other agents. | 1,096 GitHub (opens in new tab) | Active Dec 2, 2026 | v0.7.2, Dec 1, 2026 | Apache-2.0 | |
| ccusage / ccusage A command-line tool that turns local usage data from Claude Code and other agent CLIs into reports. | 19,690 GitHub (opens in new tab) | Active Dec 1, 2026 | v20.1.2, Nov 25, 2026 | MIT | |
| sirmalloc / ccstatusline A customizable status line for the Claude Code CLI that shows model, git branch and token use. | 13,718 GitHub (opens in new tab) | Active Nov 6, 2026 | v2.2.34, Nov 6, 2026 | MIT | |
| jarrodwatts / claude-hud A Claude Code plugin that shows context use, active tools, running agents and todo progress. | 29,341 GitHub (opens in new tab) | Active Dec 1, 2026 | v0.15.0, Nov 2, 2026 | MIT | Claude Code v2.1.260 or later; Node.js 22.18 or later (Bun can start the HUD, which then… |
Install commands
Copied from each repo. Read its setup steps before you run anything.
matt1398/claude-devtools
brew install --cask claude-devtoolsmag123c/toktrack
brew tap mag123c/toktrack
brew install toktrack Questions
How do I monitor Claude Code usage?
Use a tool that reads the session data Claude Code writes on your machine. claude-devtools reads the Claude Code logs, and claude-code-karma reads the data in ~/.claude. If you only want to know how much of your limit is left, Pulse shows the limits each service reports.
How do I track Claude Code token usage and cost?
toktrack is a terminal dashboard for token and cost use and keeps a cache of your history. agentacct shows tokens and estimated cost from local session logs and installs with pipx install agentacct. Claude-Code-Agent-Monitor and claude-devtools also report token usage and cost.
How do I monitor Claude Code agents?
agent-deck runs agents in one terminal and shows which are working, waiting or done. Claude-Code-Agent-Monitor shows agent hierarchies in a dashboard, and claude-devtools shows the execution tree of each subagent with its tool calls, tokens, duration and cost.
Do these tools send my data to a cloud?
Some run fully on your machine. claude-code-karma has no cloud, no accounts and no telemetry. agentacct needs no account, and nothing leaves your computer. Pulse has no Pulse account and no Pulse server. Check each project before you install it.
Do these tools only work with Claude Code?
No, except claude-devtools and claude-code-karma, which read only Claude Code's local data. Claude-Code-Agent-Monitor covers Claude Code, Cursor and Codex. toktrack covers Claude Code, Codex CLI, Gemini CLI, OpenCode and others. Token Monitor shows usage across 56 or more AI coding tools.
