Limitcast 0.21.0: a status-bar line, a session dollar cap, usage export and an MCP server

Limitcast 0.21.0 is available on npm. It puts the forecast in a status bar or prompt, adds a dollar cap per Claude Code session, exports usage as JSON or CSV, adds an opt-in read-only MCP server, and reads Gemini CLI chat logs in report. It also adds ways to see what changed after an upgrade, with no tracking.

All features remain free under the MIT License. Limitcast runs locally on macOS, Linux and Windows with Node.js 22 or later. The Claude Code, Codex and Grok plugins have been updated to 0.21.0.

The forecast in a status bar or prompt

limitcast status --line prints the forecast as one short line, for example 5h 42% · 7d 18%, with a warning when a window is on course to run out. It makes no network request, so it is cheap enough for a tmux bar or a shell prompt. limitcast status --watch redraws the full table every few seconds in a spare pane.

The setup for tmux, zsh, Raycast and SwiftBar is in docs/status-bar.md.

A dollar cap per Claude Code session

limitcast budget session 5 sets a cap of five dollars on one Claude Code session, counting the session and its subagents. You get a notice at 80% of the cap. At the cap, your next message is held once (send it again to go ahead) and new subagents are held until you raise the cap. The hold repeats at each whole multiple of the cap. limitcast budget session off removes it.

The figures are API-equivalent list prices, which is what the same tokens would cost on the API. They are not your bill on a subscription. A model with no list price is not counted, and the message says so. The cap works in Claude Code only.

Usage as rows for scripts and spreadsheets

limitcast report --json and --csv write one row per day, tool, project and model, with sessions, calls, tokens and API-equivalent dollars. A model with no list price gets null dollars rather than 0. In the CSV, a cell that starts with =, +, - or @ is defused so a spreadsheet does not run it as a formula.

An opt-in MCP server so an agent can check its own window

limitcast mcp starts a read-only MCP server with two tools, limitcast_status and limitcast_report. An agent can ask how much of its window is left before it spawns subagents.

It is off by default and not part of the plugins. Every tool an MCP server lists is added to each session's starting context, and these two come to about 250 tokens, so you should choose to pay that. Setup is in docs/mcp.md.

Gemini CLI in the report

limitcast report now reads Gemini CLI chat logs and shows token counts by day, project and model. The dollars show - because Limitcast has no list price for those models, and there is no forecast or guard for Gemini CLI.

Seeing what changed, without tracking anyone

limitcast whatsnew shows the release notes since the version you last saw. It reads the changelog that now ships inside the package, and status and doctor mention it once after an upgrade. It makes no network request.

limitcast update-check on turns on a daily look at npm for a newer version. It is off by default. When it is on, it makes one GET of https://registry.npmjs.org/limitcast/latest at most once a day and sends nothing about you or your usage. It is the fourth optional feature that uses the network, and the README lists all four. Limitcast has no list of its users and no telemetry, so releases still reach people through npm, GitHub release notifications, the Homebrew tap and plugin updates.

A crash fixed

results, report and doctor no longer crash on a symlink to a transcript that no longer exists. Claude Code can leave one under subagents/.

Upgrade

npm install -g limitcast
brew upgrade limitcast

The full list of changes is in the v0.21.0 release notes.

limitcast forecasts when each Claude Code, Codex and Grok window runs out, and holds runaway subagents before they burn the rest of it. It is free and MIT licensed.

See what limitcast does · More posts · How the 5-hour and weekly limits work