What is context-meter?
context-meter is a Claude Code mod by noash-xrc that band above the prompt with model, effort, context fill, rate-limit windows and session cost, cache state. It is listed under Cost & usage and has 3 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | noash-xrc |
| Repository | noash-xrc/claude-tools |
| Popularity | 3 GitHub stars |
| Category | Cost & usage |
| Security | Review before installing (76/100) |
| Rank | #844 of 5,272 Claude Code mods; #162 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-11 |
| Hooks | 6 events |
| Sees | compaction, every prompt |
| Draws on | Pane, AbovePrompt |
Is context-meter safe to install?
context-meter scores 76/100 on the MCPMods security check: Review before installing. Things to review: reads environment variables; watches every prompt or event. It passed 6 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.session.compact | drives Claude |
$.session.cwd | |
$.session.id | |
$.session.model | |
$.session.usage | |
$.settings.read | reads settings |
$.state.get | |
$.state.set | |
$.ui.close | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install context-meter?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/noash-xrc/claude-tools claude plugin validate ./claude-tools/context-meter
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add noash-xrc/claude-tools && claude plugin install context-meter@noash-tools
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/noash-xrc/claude-tools/tree/main/context-meter. Run claude plugin validate on it first and show me what it can access before you enable it.
More from noash-xrc/claude-tools
This repository has 8 Claude Code mods on MCPMods.
- auto-effort: Picks low, medium or high effort for each prompt, keeping the prompt cache warm (Low risk)
- idle-compact: Compacts an idle session with a large context just before its prompt cache expires, while the summary still reads from c (Review before installing)
- output-trimmer: Trims long Bash output to its start, end and error lines, and saves the full output to a file (Review before installing)
- project-memory: A repo's memory/ folder, shared through git: a Haiku agent reads it and returns only what the task needs, another one co (Low risk)
- reminders: Claude records unfinished work in Docs/todos.md; /todos shows the open list. (Review before installing)
- savings-meter: Keeps a ledger of what output-trimmer, subagent-router and auto-effort save, shown by /savings (Low risk)
- subagent-router: Runs search subagents on Haiku and general-purpose ones on Sonnet, and /orchestrate splits a big task across scout, work (Low risk)