Skip to content
Claude Desktop

claude code usage for Claude Desktop

io.github.wheelbarrel00/claude-code-usage

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

client:Claude Desktop transport:stdio runtime:npm

Install claude code usage in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

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

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

claude code usage in other clients