goccc

backstabslash/goccc
★ 12 stars Go 💻 Code/Dev Tools Updated 1mo ago
Goccc is a fast, zero-dependency CLI tool designed to function as both a cost calculator and a live statusline provider for Claude Code. It breaks down your API costs by model, day, project, and month — more precise and lightweight than ccusage, with additional features like MCP server tracking and local currency support.
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "goccc": {
      "command": "go",
      "args": [
        "run",
        "github.com/backstabslash/goccc@latest"
      ]
    }
  }
}

Topics

anthropicapi-costsclaudeclaude-codeclicost-calculatordeveloper-toolsgolangstatuslineusage-tracker