How does Claude Usage Mcp authenticate?
It uses the same OAuth token that Claude Code creates when you sign in with a Pro/Max subscription. No API keys, environment variables, or `.env` files are required.
@Orellius
MCP server for Claude Pro/Max subscription usage — session limits, weekly limits, per-model breakdown, extra credits. Zero config, reads your existing OAuth token.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"claudeusage": {
"command": "node",
"args": [
"/absolute/path/to/claudeusage-mcp/dist/index.js"
]
}
}
}Full dashboard — session, weekly, per-model, extra usage with progress bars
Current 5-hour session window only
7-day limits with per-model breakdown (All, Opus, Sonnet)
Am I about to be rate-limited? Returns LOW / MODERATE / HIGH / RATE LIMITED
Claude Usage Mcp is an MCP server that gives real‑time visibility into your Claude Pro/Max subscription usage directly inside Claude Code. It reads the OAuth token already stored on your machine and calls Anthropic’s usage endpoint—no API keys, scraping, or browser automation required.
Clone the repository, run npm install && npm run build, then add the server via claude mcp add claudeusage -- node $(pwd)/dist/index.js or manually in your MCP config. After restarting Claude Code, ask “what’s my usage?” or type /usage. Optional statusline integration adds a persistent usage line.
~/.claude/.credentials.jsonget_usage, get_session_usage, get_weekly_limits, check_rate_statusIt uses the same OAuth token that Claude Code creates when you sign in with a Pro/Max subscription. No API keys, environment variables, or `.env` files are required.
Node.js 18 or later, macOS or Linux, and a Claude Code session logged in with a Pro or Max subscription.
The server calls `GET https://api.anthropic.com/api/oauth/usage` with the stored OAuth token. It caches the response for 60 seconds and serves stale data if the endpoint rate‑limits the request.
No. This server is for Pro/Max subscribers only. API users should use the official [Usage and Cost API](https://platform.claude.com/docs/en/build-with-claude/usage-cost-api) instead.
Restart Claude Code to trigger a fresh OAuth login. If you previously used `claude setup-token` or `/login`, the token may have the wrong scopes; delete the credentials file and restart Claude Code.

Extract, search and tag any document — invoices, receipts, contracts, forms, or your own templates. 13 tools, one sign-in (OAuth 2.1) or API key, free FileTag tier, data residency in the EU, US, Israel or Asia.

We provide AI-powered tools for image enhancement, upscaling, background removal, photo restoration, colorization, denoising, and compression. All features are available through our API documentation.
Cartesia MCP is a remote MCP server for Cartesia (https://cartesia.ai) available at https://mcp.cartesia.ai.

Agent skill: turn what your AI assistant knows about you into a personalized hypnosis session on hypnothera.ai

Free MCP for live and historical pricing for 13,000+ agents and MCPs. Never knowingly pay too much... or charge too little. Know the going rate. https://agentery.com.
评论