What is usage-meter?
usage-meter is a Claude Code mod by joeldg that a machine-wide meter of the plan's rolling 5-hour usage: every session's turns summed as effective tokens, the cap learned from each session-limit hit, the burn on the status line, a toast. It is listed under Cost & usage and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | joeldg |
| Repository | joeldg/claude-mods |
| Popularity | 1 GitHub stars |
| Category | Cost & usage |
| Security | Review before installing (72/100) |
| Rank | #1,877 of 5,272 Claude Code mods; #324 in Cost & usage |
| Last commit | 2026-10-16 |
| Hooks | 8 events |
| Sees | classic hooks, mcp__usage-meter__usage_status calls |
| Draws on | nothing |
Is usage-meter safe to install?
usage-meter scores 72/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; reads environment variables. It passed 5 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 files or config | Review |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.session.id | |
$.session.usage | |
$.state.get | |
$.state.set | |
$.tool.register | drives Claude |
$.ui.log | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install usage-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/joeldg/claude-mods claude plugin validate ./claude-mods/usage-meter
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/joeldg/claude-mods && claude --plugin-dir ./claude-mods/usage-meter
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/joeldg/claude-mods/tree/main/usage-meter. Run claude plugin validate on it first and show me what it can access before you enable it.
More from joeldg/claude-mods
This repository has at least 9 Claude Code mods on MCPMods.
- dev-servers: A Servers pane for this project's dev servers: what is listening, on which port, since when, with Start, Stop, Restart a (Review before installing)
- downloads-drop: Notices files that land in Downloads while you work (PDFs, 3MF models, images, notes) and offers them in a band above th (Low risk)
- effort-router: Routes each turn's effort from your prompt: git housekeeping replies ("merged", "commit and push", "push it") run at low (Review before installing)
- job-watch: Live pane of long-running jobs (training, downloads, extractions): progress, ETA, stalls and finishes, read from their l (Review before installing)
- machine-guard: Memory, swap, GPU and the CPU cores macOS is using on the status line, and a machine_status tool for Claude; refuses hea (Review before installing)
- mod-monitor: Watches how your other mods really behave: hook failures and slow hooks (read off the chain's own trace), what each one (High risk)
- modal-meter: Watches your Modal apps from the CLI, in projects that use Modal: running apps and containers on the status line, a toas (Review before installing)
- pr-autopilot: Watches your open pull requests: CI pass/fail toasts for the PRs you open here, failing-check logs attached when you men (Review before installing)