Skip to content
Cursor

claude code usage for Cursor

io.github.wheelbarrel00/claude-code-usage

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

client:Cursor transport:stdio runtime:npm

Install claude code usage in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

claude code usage in other clients