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.
| Type | Claude code mod |
|---|---|
| Author | mina-asham |
| Repository | mina-asham/claude-usage-stats |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | High risk (56/100) |
| Rank | #7,344 of 9,397 Claude Code mods; #1,419 in Cost & usage |
| Last commit | 2026-10-10 |
| Hooks | 4 events |
| Sees | only the events it hooks |
| Draws on | AbovePrompt |
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.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| 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 |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.fs.write | writes files |
$.http.fetch | network requests |
$.session.authorize | reads the transcript |
$.session.usage | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.resolve | draws interface |
How do I install usage-stats?
- 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/mina-asham/claude-usage-stats claude plugin validate ./claude-usage-stats/.
- 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.