Skip to content
Grok

Metal GPU Trace for Grok

io.github.partprogramming09/metal-gpu-trace

Measure Wine and macOS programs' GPU use on Apple silicon with Metal System Trace

client:Grok transport:stdio runtime:pypi

Install Metal GPU Trace in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "metal-gpu-trace": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "metal-gpu-trace"
      ],
      "env": {
        "METAL_TRACE_OUT": "<METAL_TRACE_OUT>",
        "METAL_TRACE_WINE": "<METAL_TRACE_WINE>"
      }
    }
  }
}

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

Metal GPU Trace in other clients