claude-usage-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@claude-usage-mcp what's my current Claude usage and when does it reset?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
claude-usage-mcp
An MCP server that reports your real Claude subscription usage — 5-hour
session window, weekly limit, and per-model limits — pulled from the same
endpoint Claude Code's /usage command uses.
Requirements
macOS or Linux
Node.js 20+
Claude Code logged in on a Pro, Max, or Team plan
This server reads Claude Code's own OAuth access token (from the macOS
Keychain, or ~/.claude/.credentials.json as a fallback). It never asks for
or stores credentials itself.
Related MCP server: claudeusage-mcp
Install / configure
Add to your .mcp.json.
Local build:
{
"mcpServers": {
"claude-usage": {
"command": "node",
"args": ["/path/to/claude-usage-mcp/dist/index.js"]
}
}
}Or via npx:
{
"mcpServers": {
"claude-usage": {
"command": "npx",
"args": ["-y", "@anatoly314/claude-usage-mcp"]
}
}
}Tool
get_usage
Takes no arguments. Returns the current usage snapshot as JSON.
{
"session_5h": { "utilization_percent": 42, "resets_at": "2026-09-01T18:00:00Z" },
"weekly_7d": { "utilization_percent": 61, "resets_at": "2026-09-05T00:00:00Z" },
"model_limits": [
{
"model": "Opus",
"kind": "weekly_scoped",
"utilization_percent": 51,
"resets_at": "2026-09-05T00:00:00Z",
"is_active": true
}
],
"fetched_at": "2026-09-01T15:04:00Z",
"stale": false
}If a fetch fails, the last successful response is served instead with
stale: true and stale_age_seconds set.
Notes
This uses an undocumented Anthropic endpoint. It may change or break without notice.
Responses are cached for 120 seconds; after a failed fetch, further requests back off for 60 seconds before retrying, to avoid hammering the API.
Everything stays local — no data leaves your machine except the request to Anthropic's usage endpoint.
Available Tools
1 toolget_usageA
Report the current user's Claude subscription usage: 5-hour session window, 7-day weekly limit, and any per-model weekly limits, as utilization percentages with reset timestamps.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of confusion or overlap. The single get_usage tool has a clearly defined purpose and no competitors.
The tool name get_usage follows the standard verb_noun convention. With a single tool there are no mixed conventions or inconsistent styles.
The server's purpose is narrowly scoped to reporting Claude subscription usage. One tool fully covers this function without unnecessary bloat, making the count appropriate.
For a read-only usage reporting server, get_usage provides all necessary information (session window, weekly limit, model limits, reset timestamps). No create, update, or delete operations are relevant to the domain.
Maintenance
Related MCP Connectors
Anthropic organization usage and cost reporting through an admin API key connected by the user.
Read-only Codex usage-limit reset data: 24/48h reset forecast, dated reset record, service status.
Read-only analytics for Convex apps, queryable via MCP from Claude, Cursor, and other clients.
OpenAI organization usage and cost reporting through an admin API key connected by the user.
Related MCP Servers
- FlicenseBqualityNot gradedmaintenanceProvides comprehensive telemetry and usage analytics for Claude Code sessions, including token usage tracking, cost monitoring, and tool usage patterns. Enables users to monitor their Claude usage with detailed metrics, warnings, and trend analysis.12-
- AlicenseAqualityNot gradedmaintenanceProvides real-time visibility into Claude Pro and Max subscription usage limits directly within Claude Code by utilizing local OAuth tokens. It enables users to monitor session and weekly usage across different models and receive alerts regarding rate-limiting status.4-
- AlicenseAqualityCmaintenanceReports your Claude subscription usage (5-hour and weekly limits) with a forecast and velocity recommendation, using Claude Code's existing OAuth session without requiring an API key.24MIT
- AlicenseNot gradedqualityCmaintenanceGives the model visibility into the same 5-hour session, weekly, and per-model usage percentages shown in Claude Code, along with reset times. It also lets a project cap how much of the weekly limit may be spent via start/check/end budget tools that report OK, LOW, or OVER_BUDGET.1MIT