Metal GPU Trace MCP server
io.github.partprogramming09/metal-gpu-trace·v0.16.0Measure Wine and macOS programs' GPU use on Apple silicon with Metal System Trace
not scanned yet
0 stars91 downloads/wk
Reviews
Write oneNobody has reviewed Metal GPU Trace yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Metal GPU Trace tools
No tool declarations could be read from the package source. They show once the server is installed.
How Metal GPU Trace compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 95% of 48,255 servers
- Downloads a week
- 91
- more than 61% of 12,191 servers with a package
Release history: 6 versions in the registry since 2026-10-18, latest 2026-11-03, typically several a day.
Install Metal GPU Trace in Claude Code, Cursor or VS Code
claude mcp add metal-gpu-trace -- uvx metal-gpu-trace
What the publisher says
From the Metal GPU Trace repository's README, as published. We do not edit it. Read it on GitHub
metal-gpu-trace
<!-- mcp-name: io.github.partprogramming09/metal-gpu-trace -->
Measure how a Wine or macOS program uses the GPU on an Apple silicon Mac, from the command line or through an AI coding agent: GPU time per frame, frame pacing, FPS and memory, recorded with Instruments' Metal System Trace; whether a translation layer (DXMT, Mullion, MoltenVK) splits the work into too many short encoders; Metal .gputrace captures read without Xcode; and Apple's published facts on each GPU family to read the numbers against. Python 3.9+ standard library, zsh, and Xcode (for xctrace). MIT license. Español.
Recording
PERF_OUT=~/perf-runs zsh perf_record.sh game-d3d12 30 /path/to/wine ~/.wine /path/to/game game.exe
PERF_OUT=~/perf-runs zsh perf_record.sh app-metal 30 native - /path/to/app ./appArguments: label, seconds, a Wine directory holding bin/wine (or native), the Wine prefix, the working directory, the program and its arguments. Without PERF_OUT, runs go to ./perf-runs. Reading the trace afterwards takes about a minute on an M1 Pro (87 s for a 10 s recording); through the MCP server the whole call times out after 10 s per recorded second plus 120 s, and an overrun recording leaves no files behind. One recording runs at a time; keep other GPU work off the Mac while it records.
Under Wine, give it 30 s: Wine's start-up takes part of the recording. A recording with under 100 frames is too short to compare.
Disk use
Each recording keeps a JSON summary and three CSVs, about 2 MB for 10 s (most of it the Metal memory samples). The .trace (tens to hundreds of MB) is deleted unless KEEPTRACE=1. KEEPRUNS=N keeps only the newest N recordings.
MCP server
Install
The server runs with uvx from PyPI, with nothing to clone (brew install uv installs it). Recording also needs Xcode installed (xcrun xctrace version prints a version).
uvx metal-gpu-traceThis is the command each client below runs. Desktop apps do not see Homebrew's PATH: give them the full path that which uvx prints (/opt/homebrew/bin/uvx on Apple silicon). uvx keeps the version it first downloaded; run the command once with --refresh after uvx to get the latest. uvx metal-gpu-trace@0.4.0 pins a version.
The server reads these environment variables:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Metal GPU Trace: common questions
- Is Metal GPU Trace MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Metal GPU Trace safety report
- How do I install Metal GPU Trace?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Metal GPU Trace need an API key?
- No secret keys are declared. It reads 2 settings from the environment.
- Is Metal GPU Trace maintained?
- The last commit was 17 days ago (2026-10-18). The latest release is v0.16.0.
- How does Metal GPU Trace compare with other MCP servers?
- safety score 92/100 (higher than 95% of 48,255 servers); downloads a week 91 (more than 61% of 12,191 servers with a package). Full comparison.