Home / Claude Code mods / Cost & usage / context-meter

context-meter

context-meter is a Claude Code mod by justerification that a band above the prompt: context window fill, plan usage limits and session cost, a Recap button, and a per-day cost record read with /spend.

Updated 2026-10-06

What is context-meter?

context-meter is a Claude Code mod by justerification that a band above the prompt: context window fill, plan usage limits and session cost, a Recap button, and a per-day cost record read with /spend. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorjusterification
Repositoryjusterification/claude-code-context-meter
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (60/100)
Rank#3,648 of 5,272 Claude Code mods; #678 in Cost & usage
LicenseMIT
Last commit2026-10-06
Hooks5 events
Seesevery prompt
Draws onAbovePrompt

Is context-meter safe to install?

context-meter scores 60/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; reads environment variables; watches every prompt or event. It passed 4 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes files or configReview
Reads environment variablesReview
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.listreads files
$.fs.readreads files
$.fs.writewrites files
$.model.forkdrives Claude
$.session.id
$.session.usage
$.state.get
$.state.set
$.ui.invalidatedraws interface
$.ui.resolvedraws interface

How do I install context-meter?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/justerification/claude-code-context-meter
    claude plugin validate ./claude-code-context-meter/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add justerification/claude-code-context-meter && claude plugin install context-meter@context-meter

Or ask Claude to set it up

Paste this into Claude Code and it installs context-meter for you:

Install the "context-meter" Claude Code mod from https://github.com/justerification/claude-code-context-meter. Run claude plugin validate on it first and show me what it can access before you enable it.