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

context-meter

context-meter is a Claude Code mod by koopycat that shows the current model, context window fill and session cost above the prompt.

Updated 2026-10-12

What is context-meter?

context-meter is a Claude Code mod by koopycat that shows the current model, context window fill and session cost above the prompt. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorkoopycat
Repositorykoopycat/claude-code-plugins
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (100/100)
Rank#3,726 of 5,272 Claude Code mods; #702 in Cost & usage
LicenseMIT
Last commit2026-10-12
Hooks5 events
Seesevery tool call
Draws onAbovePrompt

Is context-meter safe to install?

context-meter scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 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 no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.session.model
$.session.usage
$.state.get
$.state.set
$.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/koopycat/claude-code-plugins
    claude plugin validate ./claude-code-plugins/context-meter
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add koopycat/claude-code-plugins && claude plugin install context-meter@vk

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/koopycat/claude-code-plugins/tree/main/context-meter. Run claude plugin validate on it first and show me what it can access before you enable it.

More from koopycat/claude-code-plugins

This repository has 2 Claude Code mods on MCPMods.

  • branch-line: Always shows the git repository, branch and linked worktree of the session's directory under the prompt (Review before installing)