claude-rocm-mcp
Provides read-only monitoring of AMD GPUs, including metrics like utilization, VRAM, temperature, power, and running processes.
Claude ROCm GPU Monitor
Read-only AMD GPU monitoring for Claude Desktop on Linux. Lets Claude answer questions like "is my training run healthy?", "how hot is the GPU?", "how much VRAM is left?", and "which process is using the card?" — all without the ability to kill processes, change clocks, or otherwise perturb a running workload.
It shells out to rocm-smi (and optionally amdgpu_top) and exposes five strictly read-only tools. No process killing, no clock/power overrides, no fan control. For those, use a tool like gpu-kill.
Requirements
Linux with an AMD GPU (RDNA2/3/4 consumer cards — RX 6000/7000/9000, R9700 — and CDNA data-center cards).
amdgpukernel module loaded (standard on modern Ubuntu/Debian/Fedora).rocm-smiinstalled:sudo apt install rocm-smi # minimal # or a full ROCm stack: # https://rocm.docs.amd.com/projects/install-on-linux/
Some metrics (clocks, power, detailed temperatures) require newer ROCm releases. If a metric isn't supported by your card/driver, the tool returns it as null rather than failing.
Related MCP server: claude-terminal-mcp
Install (Claude Desktop)
Download the latest
ROCm.mcpbfrom the Releases page.In Claude Desktop, open Settings → Extensions.
Scroll to Extension Developer at the bottom, click Install Extension, and pick the
.mcpbfile.Enable the extension. The tools appear prefixed with
rocm-gpu-monitor:in Claude's tool picker.
Tools
Tool | What it does |
| One-shot summary: name, utilization %, VRAM used/total, temps (edge/junction/memory), power avg/max, fan %/RPM. |
| Full |
| Compute processes using the GPU (KFD PIDs) with VRAM usage and card index. |
| Take N samples at a fixed interval and return raw frames plus per-card min/max/avg stats. |
| Installed ROCm/HIP packages, driver version, |
All tools carry the MCP readOnlyHint: true / destructiveHint: false / openWorldHint: false annotations.
Example prompts
"Is my training run stable? Watch the GPU for 20 seconds."
"How much VRAM is my current PyTorch process using?"
"Is the GPU thermal-throttling? What's the junction temperature?"
"What ROCm version is installed and is the driver loaded?"
Privacy policy
This extension runs entirely on your local machine and shells out only to the following programs, always read-only:
rocm-smi— queries the AMD kernel driver for device metrics.amdgpu_top(if installed) — optional richer metrics.dpkg -l— enumerates installed ROCm-related packages by name/version.lsmod— checks whether theamdgpukernel module is loaded.which— locates the above binaries at startup.
No data leaves your machine. This extension performs no network I/O, opens no sockets, and writes no files outside of standard process stdout/stderr (captured by Claude Desktop's log directory). It cannot modify GPU state (clocks, power, fan), kill processes, or otherwise perturb a running workload — every tool is strictly read-only.
The information visible to Claude includes GPU model and firmware versions, current VRAM usage, temperature/clock/power readings, running GPU-using process PIDs and their VRAM usage, and a list of installed ROCm-related packages. If you consider any of that sensitive (for example the list of running process PIDs on a shared machine), do not enable this extension.
Troubleshooting
"rocm-smi is not installed" — install it (sudo apt install rocm-smi). If you're using a non-Debian distro, follow AMD's ROCm install instructions.
Many fields come back as null on a new GPU — some metrics (clocks, power, temperature) depend on firmware support exposed through rocm-smi. On very new cards (e.g. RDNA4/R9700), individual rocm-smi --showclocks/--showpower may report "No JSON data to report" even though -a --json returns the data. This extension uses -a --json as the primary source to maximize coverage. If a specific field is unsupported on your card, it'll be null rather than an error.
Permission errors — rocm-smi normally runs without root. If you see permission errors, check that the user running Claude Desktop is in the render and video groups:
sudo usermod -aG render,video $USER
# log out and back inDevelopment
The server is a single ~300-line Node.js script with zero npm dependencies. To rebuild the .mcpb:
cd bundle-source
zip -j ../ROCm.mcpb manifest.json package.json server.js README.md LICENSE icon.pngLicense
MIT. See LICENSE.
Related
claude-terminal-mcp — shell, filesystem, and background jobs.
claude-linux-mcp — X11 desktop control (screenshot, mouse, keyboard, windows, clipboard).
Available Tools
5 toolsgpu_metricsARead-only
Full rocm-smi -a --json output for every GPU (clocks, voltages, PCIe link width/speed, firmware versions, per-engine activity, throttle status, energy counters). Use when gpu_status is not enough. The shape is rocm-smi’s native JSON, unmodified.
Inputs: no named parameters.
gpu_processesARead-only
List compute processes using the GPU (KFD PIDs) with their VRAM usage and card index. Returns an empty list when no compute workloads are running.
Inputs: no named parameters.
gpu_statusARead-only
One-shot summary of all AMD GPUs: product name, GPU utilization %, VRAM used/total bytes and %, edge/junction/memory temperatures, average and max power, fan speed % and RPM. Returns one entry per card. Fields that the card does not support are returned as null (not omitted).
Inputs: no named parameters.
gpu_watchARead-only
Take N snapshots of gpu_status at a fixed interval and return both the raw frames and per-card min/max/avg statistics for utilization, temperature, power, and VRAM usage. Useful for answering “is this training run stable?”. Default: 5 samples at 1000ms intervals.
Inputs: samples, interval_ms.
rocm_infoARead-only
Report the rocm-smi version, kernel driver version, whether the amdgpu module is loaded, installed ROCm/HIP/HSA packages (from dpkg), and whether amdgpu_top is available. Useful for checking ROCm install health before running workloads.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool serves a distinct purpose: raw metrics, summary status, process listing, time-series snapshots, and install health check. No overlap in functionality.
All tool names follow a consistent snake_case pattern with a clear noun-based prefix (gpu_ or rocm_), making them predictable and easy to distinguish.
Five tools is appropriate for a monitoring-focused server, covering essential needs without being excessive or insufficient.
The tool set covers core monitoring, process insight, and installation health, but lacks a way to reset or configure GPU parameters, though that may be out of scope.
Maintenance
Related MCP Connectors
WHOOP recovery, strain, sleep and workouts in Claude via official WHOOP OAuth. Free, open source.
Garmin data in Claude: 135 tools — activities, sleep, HRV, training, workouts. Free, open source.
Real-time Claude & Anthropic news from your own Claude — free, no API key.
Uptime, SSL, DNS and domain monitoring you can talk to from Claude or any MCP client.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides system monitoring and management capabilities for Claude CLI, allowing users to view system information, track resource usage, and manage processes through natural language commands.-
- AlicenseAqualityCmaintenanceGive Claude Desktop terminal, filesystem, and background-job access on your local Linux machine. Zero-dependency MCP extension, MIT-licensed.85MIT
- AlicenseAqualityDmaintenanceEnables Claude to monitor CPU, memory, disk, processes, network connections, Docker containers, and system logs for system diagnostics and troubleshooting.5MIT
- AlicenseNot gradedqualityCmaintenanceEnables SSH-based read-only monitoring of Linux vServers via Claude, allowing queries for system metrics, logs, network info, and health check reports.MIT