ccusage

ccusage is a Claude Code mod by yuemingruoan that reports Claude Code subscription rate limits to the CCUsage app over a local Unix socket and writes them to the app's log.

Updated 2026-11-27

What is ccusage?

ccusage is a Claude Code mod by yuemingruoan that reports Claude Code subscription rate limits to the CCUsage app over a local Unix socket and writes them to the app's log. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authoryuemingruoan
Repositoryyuemingruoan/CCUsage
Popularityno public popularity data yet
CategoryCost & usage
SecurityReview before installing (64/100)
Rank#9,310 of 9,397 Claude Code mods; #1,867 in Cost & usage
LicenseMIT
Last commit2026-11-27
Hooks3 events
Seesonly the events it hooks
Draws onnothing

Is ccusage safe to install?

ccusage scores 64/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; starts processes outside the sandbox; 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.

CheckResult
Sends data over the networkReview
Starts processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
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
$.env.getreads env vars
$.fs.readreads files
$.http.fetchnetwork requests
$.process.runruns processes
$.session.id
$.session.usage
$.settings.readreads settings
$.ui.statusdraws interface

How do I install ccusage?

  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/yuemingruoan/CCUsage
    claude plugin validate ./CCUsage/packages/mod/plugin
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/yuemingruoan/CCUsage && claude --plugin-dir ./CCUsage/packages/mod/plugin

Or ask Claude to set it up

Paste this into Claude Code and it installs ccusage for you:

Install the "ccusage" Claude Code mod from https://github.com/yuemingruoan/CCUsage/tree/master/packages/mod/plugin. Run claude plugin validate on it first and show me what it can access before you enable it.