Skip to content
Claude Desktop

Metal GPU Trace for Claude Desktop

io.github.partprogramming09/metal-gpu-trace

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

client:Claude Desktop transport:stdio runtime:pypi

Install Metal GPU Trace in Claude Desktop

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

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

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

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

Metal GPU Trace in other clients