usage-meter

usage-meter is a Claude Code mod by thorstenalpers that your plan's 5-hour and 7-day usage as small bars above the prompt, with the reset countdown and the session's cost.

Updated 2026-11-08

What is usage-meter?

usage-meter is a Claude Code mod by thorstenalpers that your plan's 5-hour and 7-day usage as small bars above the prompt, with the reset countdown and the session's cost. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authorthorstenalpers
Repositorythorstenalpers/claude-code-mods
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (100/100)
Rank#8,801 of 9,397 Claude Code mods; #1,759 in Cost & usage
LicenseMIT
Last commit2026-11-08
Hooks3 events
Seesonly the events it hooks
Draws onAbovePrompt

Is usage-meter safe to install?

usage-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
$.clock.every
$.clock.now
$.session.usage
$.state.get
$.state.set
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install usage-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/thorstenalpers/claude-code-mods
    claude plugin validate ./claude-code-mods/mods/usage-meter
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add thorstenalpers/claude-code-mods && claude plugin install usage-meter@claude-code-mods

Or ask Claude to set it up

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

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

More from thorstenalpers/claude-code-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • agent-radar: One live line above the prompt per running subagent: time, tool count and what it's doing. /radar shows every agent and (Low risk)
  • blast-radius: Holds risky Bash commands and shows what they would change before they run. (Review before installing)
  • browser-lanes: Shows if this session has a Playwright browser and who holds it. /browser clean closes leftover browsers. A subagent tha (Low risk)
  • cache-clock: A prompt-cache line under your status line: minutes left while warm, and how many tokens the next message re-caches once (Review before installing)
  • context-bar: Your context window as a stacked bar above the prompt, a color per category, with token counts and the compaction point. (Low risk)
  • glance: One line above the prompt with what needs you: next meeting, PRs, Linear issues and Slack DMs. /glance lists them all. (Review before installing)
  • md-preview: Shows the Markdown files Claude edits, rendered like GitHub, in a pane next to the chat. Before and after side by side. (Review before installing)
  • merge-gate: Holds `gh pr merge` until CI passes and one Codex review (OpenAI's luna model) has run. A PR line above the prompt, and (Review before installing)