Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

io.github.wheelbarrel00/claude-code-usage

NPM · CLAUDE-CODE-USAGE-MCP · SCANNED AUG 3

Claude Code token usage, cost, and plan limits from local logs and Anthropic's usage API.

+21 this week 67 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security86
  • No malware found by supply-chain analysis.Pass
  • Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.Partial
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability71
  • AI-judged instruction clarity (good).Pass
  • Tool/resource definitions use about 167 tokens (~83/item across 2 items; 2 tools + 0 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management23
  • Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · claude-code-usage-mcp

# add to Claude Code
claude mcp add wheelbarrel00-claude-code-usage -- npx -y claude-code-usage-mcp
# add to Codex CLI
codex mcp add wheelbarrel00-claude-code-usage -- npx -y claude-code-usage-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "wheelbarrel00-claude-code-usage": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "claude-code-usage-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add wheelbarrel00-claude-code-usage --command npx --arg -y --arg claude-code-usage-mcp
# ~/.hermes/config.yaml
mcp_servers:
  wheelbarrel00-claude-code-usage:
    command: "npx"
    args: ["-y", "claude-code-usage-mcp"]
// mcp.json
{
  "mcpServers": {
    "wheelbarrel00-claude-code-usage": {
      "command": "npx",
      "args": [
        "-y",
        "claude-code-usage-mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 3 Aug 26 +3
    • Stability: unverified → 0.23 functional
  • 2 Aug 26 +59
    • Provenance: unverified → fail security
    • Install scripts: unverified → pass security
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
    • Security disclosure: fail → unverified functional
    • License: unverified → pass functional
    • Dependency health: unverified → partial functional
    • Maintenance: unverified → pass functional
    • MCP protocol: unverified → pass functional
    • Schema quality: unverified → good functional
    • Tool coverage: unverified → 100 functional
    • Licence: MIT functional
  • 31 Jul 26 −23
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 30 Jul 26 −18
    • Malware scan: pass → unverified security
  • 27 Jul 26 46

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 3 Aug 2026 · Analysed npm/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Dependencies 94 packages

94 packages in the resolved dependency tree · 94 deprecated · 29 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 2 exposed · ~167 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
get_claude_usage ~74

Snapshot of current Claude Code usage: today's cost and tokens, plan-limit utilization (5-hour, weekly, and per-model weekly) with reset times and pace projection, recent burn rate, current context-window fill, and pay-as-you-go extra usage. Reads local ~/.claude logs and Anthropic's usage API.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

get_usage_breakdown ~93

Break down Claude Code usage by model, project, session, or git branch, or over time (daily this month / monthly all-time). Returns cost, tokens, and message counts per group.

NameTypeReqDescription
group_bystringHow to group usage. Default: model.
periodstringTime range for model/project/session/branch groupings. Ignored for daily/monthly. Default: month.

No output schema declared.

No examples provided.