🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?
Claim this page →
claude-codex-usage-dashboard
A local Windows dashboard for Claude Code and Codex usage limits.
git clone https://github.com/frankchiu-dev/claude-codex-usage-dashboard
Claude / Codex Usage Dashboard
An unofficial local dashboard for viewing Claude Code and Codex usage limits on a spare phone, tablet, or small screen.
The server runs on your Windows machine, reads local usage data, and serves a simple dashboard that can be opened from another device on the same Wi-Fi network.
Features
- Shows Claude Code and Codex usage for the 5-hour and weekly windows.
- Reads Claude Code usage through a local
statusLinecache. - Reads Codex usage from the newest local
~/.codex/sessionsrate_limitssnapshot. - Works on a phone or tablet connected to the same Wi-Fi network.
- Tap the dashboard to refresh and request fullscreen mode.
- Turns red when usage reaches the alert threshold.
- Uses only Node.js built-in modules. No npm dependencies.
Important Limitations
Usage numbers only update after you actually use Claude Code or Codex.
Claude Code usage comes from statusLine, so opening Claude in the web app or desktop app will not update this dashboard. Codex usage is read from local Codex session files, so it updates only after Codex writes new session data.
This project is not affiliated with Anthropic or OpenAI. It does not include official logos. Make sure your own use of third-party names, trademarks, and local tool output formats follows the relevant terms.
Requirements
- Windows
- Node.js 18 or newer
- Claude Code, with
statusLineconfigured for real Claude usage - Codex, with local
~/.codex/sessionsdata
Check Node.js:
node -v
Quick Start
git clone https://github.com/YOUR_NAME/claude-codex-usage-dashboard.git
cd claude-codex-usage-dashboard
node server.js
You should see output similar to:
Local: http://localhost:8787
Device: http://192.168.1.23:8787
Open http://localhost:8787 on the Windows machine. To use a phone or tablet, connect it to the same Wi-Fi network and open the Device URL.
Configure Claude Code Usage
Run:
.\setup-claude-statusline.bat
Then:
- Fully quit Claude Code.
- Open Claude Code again.
- Send one message.
- Refresh the dashboard.
The Claude card will start reading ~/.claude/usage-cache.json.
If You Already Have a statusLine
Claude Code supports one statusLine.command at a time. If you already use another statusLine script, such as a Stream Deck integration or a custom prompt status line, use fanout mode.
Copy the example config:
Copy-Item .\config.example.json .\config.json
Edit config.json:
{
"extraStatuslineCommand": "powershell -NoProfile -ExecutionPolicy Bypass -File \"%USERPROFILE%\\.claude\\your-existing-statusline.ps1\""
}
Then run:
.\setup-claude-statusline.bat --fanout
This sends the same Claude Code statusLine JSON to both this dashboard and your existing command.
Start Automatically on Login
Install autostart:
.\install-autostart.bat
Remove autostart:
.\uninstall-autostart.bat
Environment Variables
| Variable | Default | Description |
|---|---|---|
PORT | 8787 | Dashboard port |
HOST | 0.0.0.0 | Allows devices on the same Wi-Fi to connect. Use 127.0.0.1 for local-only preview |
ALERT_PERCENT | 85 | Usage percentage that turns the dashboard red |
CODEX_LOOKBACK_DAYS | 14 | How many days of Codex sessions to scan |
CLAUDE_USAGE_CACHE | ~/.claude/usage-cache.json | Claude usage cache path |
CODEX_SESSIONS_DIR | ~/.codex/sessions | Codex sessions path |
EXTRA_STATUSLINE_COMMAND | empty | Extra command for fanout mode |
Example:
$env:PORT="8790"
$env:HOST="127.0.0.1"
node server.js
Windows Firewall
If your phone or tablet cannot connect, allow the dashboard port through Windows Firewall:
netsh advfirewall firewall add rule name="AIUsageDashboard" dir=in action=allow protocol=TCP localport=8787
Privacy
Data stays on your machine. The server reads local Claude and Codex usage records, but does not upload them anywhere.
Do not commit:
~/.claude/usage-cache.json~/.codex/sessions~/.claude/settings.jsonconfig.json
Uploading to GitHub
See GITHUB_UPLOAD_GUIDE.md for a first-time step-by-step guide.
License
MIT
// compatibility
| Platforms | api, desktop, web |
|---|---|
| Operating systems | — |
| AI compatibility | claude |
| License | MIT |
| Pricing | open-source |
| Language | JavaScript |
// faq
What is claude-codex-usage-dashboard?
A local Windows dashboard for Claude Code and Codex usage limits.. It is open-source on GitHub.
Is claude-codex-usage-dashboard free to use?
claude-codex-usage-dashboard is open-source under the MIT license, so it is free to use.
What category does claude-codex-usage-dashboard belong to?
claude-codex-usage-dashboard is listed under devtools in the Claudeers registry of Claude-compatible tools.
// embed badge
[](https://claudeers.com/claude-codex-usage-dashboard)
// retro hit counter
[](https://claudeers.com/claude-codex-usage-dashboard)
// reviews
// guestbook
// related in Developer Tools
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Curs…
Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA
AI coding assistant skill (Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and more). Turn any folder of code, SQL schemas, R scripts, shell scripts, docs,…
🙌 OpenHands: AI-Driven Development