Scan your whole stack
From OX Research Newsroom
Are you using token-usage-dashboard?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.0.30
token-usage-dashboard was last scanned on 29 Nov 2026 at version 1.0.30. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.0.30 LATEST | 29 Nov 2026 | No rules fired |
| 1.0.29 | 29 Nov 2026 | No rules fired |
| 1.0.27 | 26 Nov 2026 | No rules fired |
| 1.0.26 | 19 Nov 2026 | Not shown |
| 1.0.25 | 12 Nov 2026 | Not shown |
Findings for v1.0.30. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 1.0.30; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Ever wondered where all your tokens are going? Or how much your AI usage is valued at? This usage dashboard reads your local Claude Code, Codex and OpenCode transcripts and builds a beautiful dashboard breaking down your full historical usage.
Everything happens locally, so your transcripts never leave your device. Stats are cached in a local SQLite DB, so that you get full history even after Claude and Codex have pruned old transcripts. Cost estimates come from current published API rates.
The dashboard shows:
npx token-usage-dashboard
That's it. It finds your transcripts, reads them, and opens on
localhost:4747. Install it globally and the command is just aiusage.
Nothing leaves the machine except the one call to Anthropic for your plan windows, which you can
turn off in settings.
| Flag | What it does |
|---|---|
-p, --port <n> |
Port to listen on, or the next free one after it |
-h, --host <ip> |
Address to bind, 127.0.0.1 by default |
--db <path> |
Where to keep the history |
--open / --no-open |
Whether to open a browser |
Most of it lives behind the gear icon: theme, default range, how often to rescan, whether to ask Anthropic for your plan windows, and price overrides for any model we've got wrong or don't know.
Paths are environment variables, since they're needed before the app starts. See
.env.example for the full list. The ones you'll actually want are
AIUSAGE_DB, AIUSAGE_CLAUDE_DIR and AIUSAGE_CODEX_DIR.
| Tool | Where it reads |
|---|---|
| Claude Code | ~/.claude/projects/**/*.jsonl, subagent transcripts included |
| Codex | ~/.codex/sessions/**/*.jsonl |
| OpenCode | ~/.local/share/opencode/storage/message |
Adding another is one file in src/lib/server/sources/. If a tool writes token counts somewhere
we can read, it can go in - open an issue with a sample and we'll have a look.
The image is on DockerHub (notaflightrisk/token-usage-dashboard)
and GHCR. Mount the directories you want read, plus somewhere to keep the database:
docker run -p 127.0.0.1:8080:8080 \
-v ~/.claude:/home/node/.claude:ro \
-v ~/.codex:/home/node/.codex:ro \
-v token-usage:/data \
notaflightrisk/token-usage-dashboard
There's a compose file in docker/ if you'd rather. The container has
to bind 0.0.0.0 internally, so publish the port to localhost like that unless something in
front of it is checking who's asking.
There's a systemd user unit in scripts/. scripts/install.sh fills in the paths and starts it,
so it comes back after a reboot:
./scripts/install.sh 4747
Grab the tarball from releases,
then npm ci --omit=dev && npm start.
Follow Development below, then npm run build && npm start.
You'll need Node 22.17 or newer, plus Git. It's a SvelteKit app and the build is self-contained so there's no runtime dependencies at all.
git clone git@github.com:NotAFlightRisk/token-usage-dashboard.git
cd token-usage-dashboard
npm install
npm run dev
The dev server is then on localhost:5173.
The other scripts you'll want are npm run check (types), npm test (tests) and npm run format (prettier).
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.