What is usage-reporter?
usage-reporter is a Claude Code mod by tksunw that writes your Claude usage limits and credits to ~/.claude/usage-reporter/usage.json so other tools can read them. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | tksunw |
| Repository | tksunw/usage-reporter |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | Review before installing (60/100) |
| Rank | #4,859 of 5,272 Claude Code mods; #962 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-13 |
| Hooks | 3 events |
| Sees | only the events it hooks |
| Draws on | nothing |
Is usage-reporter safe to install?
usage-reporter scores 60/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; writes files or config; reads environment variables. It passed 4 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 |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.fs.write | writes files |
$.http.fetch | network requests |
$.session.authorize | reads the transcript |
$.session.usage | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
How do I install usage-reporter?
- 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/tksunw/usage-reporter claude plugin validate ./usage-reporter/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
git clone https://github.com/tksunw/usage-reporter && claude --plugin-dir ./usage-reporter/.
Or ask Claude to set it up
Paste this into Claude Code and it installs usage-reporter for you:
Install the "usage-reporter" Claude Code mod from https://github.com/tksunw/usage-reporter. Run claude plugin validate on it first and show me what it can access before you enable it.