Measures whether your Claude subscription is paying off, from local logs. No upload.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Measure whether your Claude subscription is actually paying off β from local logs, with no upload and no Git integration.
νκ΅μ΄ λ¬Έμ: README.ko.md β the Korean version is the working notebook, with the full measurements and the mistakes we made getting there.
On a subscription you don't pay per token, so nothing tells you whether you are using it well. Existing personal tools count how much you used. That is the wrong number: burning tokens in circles scores high. Meta ran an internal leaderboard like that and shut it down β people started idling AI to climb it.
Tools that measure quality do exist, but they are all built for teams: they need your Git repo, your PRs, your issue tracker. That leaves a gap.
| Team tools | claudeusage | |
|---|---|---|
| Who is measured | A lead measures the team | You measure yourself |
| Needs | Git repo, PRs, tracker | One local log directory |
| Measures | Return on team investment | Whether your subscription pays off |
| Price | SaaS or self-hosted | Free, runs locally |
Git-based tools track code with git blame, so anything you never committed is invisible to them. This reconstructs the edit history itself, so experiments and code you rewrote before committing still count.
Lines that survived. Every edit is folded in time order, so only what was still there at the end of the session counts. Code you rewrote three turns later drops out by itself. You cannot game the score by idling.
Waste, in money. Rework, failures and rejections add up to 4.1% here. Money spent because conversations got long: 12.3%. So the useful advice is not "make fewer mistakes" β it's "start fresh conversations more often."
What the rate limit actually eats. Your real constraint is the limit gauge, not dollars. Cache reads are most of the cost but weigh about 1/70 of fresh input against the limit. Saving money and saving limit are different skills.
What chat ate. Limits apply to the whole account, so claude.ai chat and the mobile app drain the same gauge β while leaving no local trace. Any log-only tool undercounts. This one subtracts what the logs explain from what the gauge actually did, and checks that estimate against the per-product breakdown Anthropic returns.
Requires Python 3.9+ (standard library only, no dependencies) and macOS for the live-limit tool.
install.sh installs the package (trying uv, pipx, pip, then a dedicated venv β modern Pythons block system installs), drops the Claude Code skill in ~/.claude/skills/, and registers the MCP server. ./install.sh --uninstall reverses it.
That gives you the claudeusage command and the claudeusage-mcp server. A PyPI release (pip install claudeusage) is built and tested but not published yet.
Claude Code shows your limit gauge and throws it away β nothing stores it. claudeusage limit and claudeusage chat need that history, so a collector has to sit on your status line. Add this to ~/.claude/settings.json:
Already have a status line you like? Drop --print and pipe into it β the collector passes the JSON straight through:
Nothing edits your settings for you β your status line is yours.
claudeusage value and claudeusage usage work right away, with no collector. The limit analysis gets useful after a few days of samples.
Samples live in ~/.claudeusage/ (override with CLAUDEUSAGE_DATA). Running from a clone keeps using the repo's own data/ directory, so an existing history is never orphaned.
Ask in plain language β "am I getting my money's worth?", "why is my limit draining so fast?", "how much of my limit did chat eat?" The skill picks the right tool.
| MCP tool | What it answers |
|---|---|
subscription_value | Lines that survived, waste, cost by activity |
limit_breakdown | What drives the 5-hour and weekly limits |
chat_share | How much of the limit chat ate |
current_limits | Limits right now, plus the per-product breakdown |
Output is English by default. CLAUDEUSAGE_LANG=ko switches it to Korean.
Three sources, each blind in a different way, so they are merged:
| Source | Gives | Blind when |
|---|---|---|
Status line samples (claudeusage statusline) | Gauge readings with reset times | Claude Code isn't running |
| Claude desktop app history | Gauge readings every 15 min | The app isn't running |
| OAuth usage endpoint | Per-product truth (Claude Code / chat / Cowork) | Only the current weekly window |
The estimate is a subtraction: chat = gauge rise β what local logs explain. The "explained" part uses per-model weights fitted by claudeusage limit, fitted only on windows with no suspected off-log usage β otherwise chat usage inflates the weights and the estimator goes blind to itself.
Two things had to be corrected, both found by running it on real data:
claudeusage check verifies 15 invariants, including an anchor: a real window where chat was confirmed by hand.
claudeusage usage reads Claude Code's credentials from the macOS keychain, sends them only to api.anthropic.com, and never prints or stores them. What it records is an allowlist: timestamp, limit kind, model name, percentage, reset time, product shares.Other vendors. Merging ChatGPT and Gemini exports was the original plan for "combine coding and chat"; this covers the Claude account only. That part is about subscription money rather than rate limits, so it needs its own metrics.
Listed on the official MCP registry as io.github.syk8015/claudeusage.
Also listed on Glama.
MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/claude-usage)<a href="https://allmcps.com/mcp/claude-usage"><img src="https://allmcps.com/api/badge/claude-usage?style=directory" alt="Claude Usage on AllMCPs" /></a>