usage-stats

usage-stats is a Claude Code mod by mina-asham that shows your Claude plan usage above the prompt: current session (5h) and weekly percentage used, with reset times.

Updated 2026-10-10

What is usage-stats?

usage-stats is a Claude Code mod by mina-asham that shows your Claude plan usage above the prompt: current session (5h) and weekly percentage used, with reset times. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authormina-asham
Repositorymina-asham/claude-usage-stats
Popularityno public popularity data yet
CategoryCost & usage
SecurityHigh risk (56/100)
Rank#7,344 of 9,397 Claude Code mods; #1,419 in Cost & usage
Last commit2026-10-10
Hooks4 events
Seesonly the events it hooks
Draws onAbovePrompt

Is usage-stats safe to install?

usage-stats scores 56/100 on the MCPMods security check: High risk. Things to review: sends data over the network; writes files or config; reads environment variables. It passed 3 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
Sends data over the networkReview
Starts no processesPass
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Validator reported problemsNote
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.readreads files
$.fs.writewrites files
$.http.fetchnetwork requests
$.session.authorizereads the transcript
$.session.usage
$.state.get
$.state.set
$.store.getkeeps its own state
$.store.setkeeps its own state
$.ui.resolvedraws interface

How do I install usage-stats?

  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/mina-asham/claude-usage-stats
    claude plugin validate ./claude-usage-stats/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add mina-asham/claude-usage-stats && claude plugin install usage-stats@claude-usage-stats

Or ask Claude to set it up

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

Install the "usage-stats" Claude Code mod from https://github.com/mina-asham/claude-usage-stats. Run claude plugin validate on it first and show me what it can access before you enable it.