Claude Code token usage, cost, and plan limits from local logs and Anthropic's usage API.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y claude-code-usage-mcp
MCP client config
{
"mcpServers": {
"claudecodeusagetool": {
"command": "npx",
"args": [
"-y",
"claude-code-usage-mcp"
]
}
}
}