# io.github.wheelbarrel00/claude-code-usage (npm · claude-code-usage-mcp)

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

- Trust score: 67/100 (medium)
- Change this week: +21
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `claude-code-usage-mcp`: 67/100 (this document), [markdown](https://verifymcp.io/servers/wheelbarrel00-claude-code-usage/claude-code-usage-mcp.md), [page](https://verifymcp.io/servers/wheelbarrel00-claude-code-usage/claude-code-usage-mcp)

## Channel facts

- Registry: `npm`
- Package: `claude-code-usage-mcp`
- Version: `0.1.0`
- Transport: `stdio`

## Trust breakdown

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. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 86/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (94 of 98), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 42 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 71/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 167 tokens (~83/item across 2 items; 2 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add wheelbarrel00-claude-code-usage -- npx -y claude-code-usage-mcp
```

### Codex

```bash
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
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add wheelbarrel00-claude-code-usage --command npx --arg -y --arg claude-code-usage-mcp
```

### Hermes

```yaml
mcp_servers:
  wheelbarrel00-claude-code-usage:
    command: "npx"
    args: ["-y", "claude-code-usage-mcp"]
```

### Other

```json
{
  "mcpServers": {
    "wheelbarrel00-claude-code-usage": {
      "command": "npx",
      "args": [
        "-y",
        "claude-code-usage-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 67, +3)

- [functional improvement] Stability: unverified → 0.23

### 2026-08-02 (score 64, +59)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional regression] Security disclosure: fail → unverified
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Schema quality: unverified → good
- [functional improvement] Tool coverage: unverified → 100
- [functional] Licence: MIT

### 2026-07-31 (score 5, −23)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-30 (score 28, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 46)

First indexed and scored.

## MCP tools (2)

### `get_claude_usage` (~74 tokens)

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.

### `get_usage_breakdown` (~93 tokens)

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.

Input parameters:

- `group_by` (string): How to group usage. Default: model.
- `period` (string): Time range for model/project/session/branch groupings. Ignored for daily/monthly. Default: month.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/wheelbarrel00-claude-code-usage/claude-code-usage-mcp#diagnostics

## Score history

- 2026-08-03: 67
- 2026-08-02: 64
- 2026-08-01: 5
- 2026-07-31: 5
- 2026-07-30: 28
- 2026-07-28: 46
- 2026-07-27: 46

## Links

- npm package: https://www.npmjs.com/package/claude-code-usage-mcp
- Socket report: https://socket.dev/npm/package/claude-code-usage-mcp
- Repository: https://github.com/wheelbarrel00/ClaudeCodeUsageTool
- Changelog RSS feed: https://verifymcp.io/servers/wheelbarrel00-claude-code-usage/claude-code-usage-mcp/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/wheelbarrel00-claude-code-usage/claude-code-usage-mcp/changelog.json
- HTML version of this page: https://verifymcp.io/servers/wheelbarrel00-claude-code-usage/claude-code-usage-mcp
