Claude Code Usage runs on your own machine — the client starts it, so there is no endpoint to ping. 44 installs a week from npm. Last commit 22 Jun 2026.
Claude Code token usage, cost, and plan limits from local logs and Anthropic's usage API.
Today is the operative word: we check Claude Code Usage every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add claude-code-usage -- npx -y claude-code-usage-mcp
{
"mcpServers": {
"claude-code-usage": {
"command": "npx",
"args": [
"-y",
"claude-code-usage-mcp"
]
}
}
}
[mcp_servers.claude-code-usage]
command = "npx"
args = ["-y", "claude-code-usage-mcp"]
{
"mcpServers": {
"claude-code-usage": {
"command": "npx",
"args": [
"-y",
"claude-code-usage-mcp"
]
}
}
}
{
"servers": {
"claude-code-usage": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"claude-code-usage-mcp"
]
}
}
}
Tokens and cost for Claude Code, Codex and 22 more AI coding agents, from local session files.
Local ledger of Claude Code and Codex tokens, API-equivalent cost, limits and token-rate changes.
Local-first dashboard + MCP for Claude Code and Codex token usage. Per-MCP/tool breakdown.
Reports real token usage and cost from Claude Code and OpenCode data. Nothing leaves your machine.
AI usage limits (Claude Code, Codex, Copilot, Windsurf): check budget and time until reset.
Plan OpenAI Codex usage from local quota, banked resets and extra-reset forecasts.
Plan OpenAI Codex usage from local quota, banked resets and extra-reset forecasts.
Claude Code token usage, cost visibility, and SkillFM Beacon AI health checks for MCP agents.
Answers built from our own checks of this server.