A live usage & quota viewer for your self-hosted Claude Code Hub. Hosted here, polled from your machine.
This page is static and stores nothing. The numbers come from a small
poller that runs on your own machine, talks to your Claude
Code Hub with your credentials, and is read here over loopback
(http://127.0.0.1:8787). Your URL, cookies and keys never leave
your computer and are never sent to this site.
Secrets stay local: this page only reads usage data.
All credential entry happens on the poller's own
127.0.0.1 Settings page, which this site cannot see.
这个页面是静态页面,不保存任何数据。用量数字来自一个运行在
你自己电脑上的小型 poller:它使用你的凭据访问 Claude
Code Hub,然后本页只通过本机回环地址
(http://127.0.0.1:8787) 读取结果。你的部署地址、Cookie
和密钥不会离开你的电脑,也不会发送到本站。
凭据只留在本地:本页只读取用量数据。所有凭据都在
poller 自己的 127.0.0.1 Settings 页面输入,本站无法看到。
You need Python 3.9+ and, on Ubuntu/Debian, these packages:
sudo apt install python3-venv python3-pip curl
The poller, the desktop bar and Chrome-cookie reading are Linux-only. macOS/Windows can still view by configuring auth manually, but are untested.
127.0.0.1:7878. Approve one dialog.curl … | bash in the setup card below; needs no web2local.The poller needs your CCH session. Pick whichever fits your desktop:
sudo apt install libsecret-tools. Then be logged in via Chrome/Chromium.http://127.0.0.1:8787/config). Always works; nothing leaves your machine.A one-click/manual run stops when you log out. Use Start on login in Tools (or
autostart.sh) to install it as a background service that starts with your session.
Uses the local web2local helper to download dependencies, fetch the poller, and launch it. You approve a native dialog before anything runs.
No web2local yet? Install it, then press Re-check.
Prefer the terminal? Run the same installer yourself. It creates an
isolated virtualenv, installs requests + cryptography,
downloads the poller and starts it on 127.0.0.1:8787.
curl -fsSL https://cch-usage.lue-app.com/install.sh -o cch-install.sh bash cch-install.sh https://cch-usage.lue-app.com
Then and enter your Claude Code Hub URL and auth.
These use the local web2local helper and ask for approval each time.
Run the poller as a background service so it is always available — no reinstalling each session. Starts on login (and on boot, with linger).
Fetch the latest poller from this site and restart it in place — the background service if one is enabled, otherwise the running process. Settings and cost history are kept.
A native always-on-top bar over other applications — works in any browser (including Firefox). Installs PyQt6 on first launch and needs a graphical session.