Commands
claude-finops start the dashboard and open it in your browserclaude-finops --rebuild re-read transcripts, then startclaude-finops --stop stop itclaude-finops --where where your data, settings and keys liveclaude-finops --set-key store a provider API key (hidden prompt, 0600)claude-finops --keys which provider keys are configuredclaude-finops --version installed version, and whether a newer one is outclaude-finops --install-statusline model, context % and 5-hour limit under every promptclaude-finops --uninstall-statusline remove it againclaude-finops --install-guard optional live warnings at your per-session token limitclaude-finops --uninstall-guard remove them againclaude-finops --no-update-check skip the daily version checkclaude-finops --help everythingThese work from any directory, whether installed globally (npm i -g claude-finops) or run ad hoc (npx claude-finops).
From a source checkout
Section titled “From a source checkout”| OS | Start | Stop |
|---|---|---|
| macOS / Linux | ./run.sh |
./run.sh --stop |
| Windows | run.cmd (or py run.py) |
Ctrl-C |
./run.sh accepts the same flags.
Rebuilding the warehouse
Section titled “Rebuilding the warehouse”python3 -m finops.etl # default ~/.claude/projectspython3 -m finops.etl /path/to/transcripts # or a specific directoryThe rebuild recreates ~/.claude-finops/data/finops.db from your transcripts. Sessions whose transcripts have since been deleted are carried over from the previous warehouse (turn that off with history.keep_deleted_transcripts: false).
Environment variables
Section titled “Environment variables”| Variable | Effect |
|---|---|
PORT |
Serve on another port (default 8787) |
CLAUDE_PROJECTS |
Read transcripts from a different directory |
CLAUDE_FINOPS_PYTHON |
Which Python the npm launcher should use |
CLAUDE_FINOPS_HOME |
Store the warehouse and settings somewhere other than ~/.claude-finops |
CLAUDE_FINOPS_TZ |
Time zone for days and hours, e.g. Asia/Kolkata (default: this computer’s) |
CLAUDE_FINOPS_AUTOSYNC_MINUTES |
Re-read transcripts once the data is this many minutes old (default 60, 0 = never) |
CLAUDE_FINOPS_NO_UPDATE_CHECK=1 |
Disable the daily version check |
NO_UPDATE_NOTIFIER=1 |
Same, using the common convention |