claudeers.

🔓 unclaimed — this page was auto-generated from GitHub. Are you the creator?

Claim this page →
// Developer Tools

claude-codex-usage-dashboard

A local Windows dashboard for Claude Code and Codex usage limits.

// Developer Tools[ api ][ desktop ][ web ][ claude ]#claude#devtoolsMIT$open-sourceupdated 9 days ago
Actively maintained
98/100
last commit 9 days ago
last release none
releases 0
open issues 0
// install
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 statusLine cache.
  • Reads Codex usage from the newest local ~/.codex/sessions rate_limits snapshot.
  • 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 statusLine configured for real Claude usage
  • Codex, with local ~/.codex/sessions data

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:

  1. Fully quit Claude Code.
  2. Open Claude Code again.
  3. Send one message.
  4. 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

VariableDefaultDescription
PORT8787Dashboard port
HOST0.0.0.0Allows devices on the same Wi-Fi to connect. Use 127.0.0.1 for local-only preview
ALERT_PERCENT85Usage percentage that turns the dashboard red
CODEX_LOOKBACK_DAYS14How many days of Codex sessions to scan
CLAUDE_USAGE_CACHE~/.claude/usage-cache.jsonClaude usage cache path
CODEX_SESSIONS_DIR~/.codex/sessionsCodex sessions path
EXTRA_STATUSLINE_COMMANDemptyExtra 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.json
  • config.json

Uploading to GitHub

See GITHUB_UPLOAD_GUIDE.md for a first-time step-by-step guide.

License

MIT

// compatibility

Platformsapi, desktop, web
Operating systems
AI compatibilityclaude
LicenseMIT
Pricingopen-source
LanguageJavaScript

// 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.

0 views
159 stars
unclaimed
updated 9 days ago

// embed badge

claude-codex-usage-dashboard on Claudeers
[![Claudeers](https://claudeers.com/api/badge/claude-codex-usage-dashboard.svg)](https://claudeers.com/claude-codex-usage-dashboard)

// retro hit counter

claude-codex-usage-dashboard hit counter
[![Hits](https://claudeers.com/api/counter/claude-codex-usage-dashboard.svg)](https://claudeers.com/claude-codex-usage-dashboard)

// reviews

// guestbook

0/500

// related in Developer Tools

🔓

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Curs…

// devtoolsaffaan-m/JavaScript225,699MIT[ claude ]
🔓

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

// devtoolsgarrytan/TypeScript119,234MIT[ claude ]
🔓

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,…

// devtoolssafishamsi/Python80,484MIT[ claude ]
🔓

🙌 OpenHands: AI-Driven Development

// devtoolsOpenHands/Python79,324NOASSERTION[ claude ]
→ see how claude-codex-usage-dashboard connects across the ecosystem