Measure Wine and macOS programs' GPU use on Apple silicon with Metal System Trace
Connect Runs on your machine
claude mcp add metal-gpu-trace -e METAL_TRACE_OUT=<METAL_TRACE_OUT> -e METAL_TRACE_WINE=<METAL_TRACE_WINE> -- uvx metal-gpu-trace==0.24.0
{
"mcpServers": {
"metal-gpu-trace": {
"command": "uvx",
"args": [
"metal-gpu-trace==0.24.0"
],
"env": {
"METAL_TRACE_OUT": "<METAL_TRACE_OUT>",
"METAL_TRACE_WINE": "<METAL_TRACE_WINE>"
}
}
}
}
{
"mcpServers": {
"metal-gpu-trace": {
"command": "uvx",
"args": [
"metal-gpu-trace==0.24.0"
],
"env": {
"METAL_TRACE_OUT": "<METAL_TRACE_OUT>",
"METAL_TRACE_WINE": "<METAL_TRACE_WINE>"
}
}
}
}
{
"servers": {
"metal-gpu-trace": {
"type": "stdio",
"command": "uvx",
"args": [
"metal-gpu-trace==0.24.0"
],
"env": {
"METAL_TRACE_OUT": "<METAL_TRACE_OUT>",
"METAL_TRACE_WINE": "<METAL_TRACE_WINE>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
METAL_TRACE_OUTOptional | Absolute path of the directory where recordings go |
METAL_TRACE_WINEOptional | Wine directory holding bin/wine, used when a recording names none |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 12 Nov 2026 |
| Last updated | 12 Nov 2026 |
| Registry name | io.github.partprogramming09/metal-gpu-trace |
More other servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
