Skip to content
Grok

Tokenscope for Grok

io.github.wartzar-bee/tokenscope

Analyze Claude Code session cost & context attribution: output, cached re-reads, cache writes.

client:Grok transport:stdio runtime:npm

Install Tokenscope in Grok

.mcp.json (in your project root)

{
  "mcpServers": {
    "tokenscope": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@wartzar-bee/tokenscope-mcp"
      ]
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

Tokenscope in other clients