Evidence-backed Linux performance triage over MCP
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Stallhunt is a Linux-first command-line performance triage tool.
Repository: https://github.com/guillem/stallhunt
Traditional tools such as top, htop, iotop, vmstat, and iostat expose measurements. They are excellent tools, but the human operator still has to answer the harder question:
What is actually constraining useful work right now, who is suffering, and who is probably responsible?
Stallhunt aims to automate that reasoning.
Requirements:
/proc/pressure are required for pressure verdicts,See docs/install.md for cargo install, release tarballs, and the support matrix.
From a clone:
Bare stallhunt runs a default 10-second hunt. On a terminal it renders a
compact, color-coded report; piped or redirected output (stallhunt | cat,
>file, CI) is unchanged plain text. Use --json for the full structured
evidence, --verbose to expand the compact report's collapsed caveats back
to full text, or --no-color (also NO_COLOR=1) to disable color without
changing the layout:
Capture and replay a normalized observation:
Follow finding lifecycle for a bounded number of rolling windows. On a
terminal this opens a full-screen TUI (q quit, arrows/jk select,
Enter/Space show or hide detail, PageUp/PageDown/Home/End scroll,
h/? help). At 120Γ30 or larger it also shows the selected host/cgroup's
six process-role lists beside the lifecycle panels; piped output or
--json remain append-only text/JSON and carry the same scoped roles:
Serve Model Context Protocol tools over stdio so coding agents can query
diagnoses directly β a resident sampler keeps a rolling view of recent
pressure for instant answers (for Claude Code: claude mcp add stallhunt -- stallhunt mcp; see docs/mcp-server.md):
Source packaging for an OpenAI local plugin, a Linux MCPB extension for
compatible clients, and official MCP Registry metadata lives in the
repository. These packages deliberately keep diagnosis local instead of
hosting Stallhunt on a machine other than the one being investigated. See
docs/directory-distribution.md.
Generate shell completions:
Recording output paths are not overwritten unless --force is supplied. Ten-second hunts are the normal diagnostic path; sub-second observations are telemetry smoke tests and do not receive healthy or pressure verdicts. See docs/development.md for validation and opt-in acceptance commands.
The primary abstraction is lost time, not utilization.
High utilization is not automatically a problem. A machine using 95% of its RAM may be perfectly healthy. A CPU at 70% utilization may still have latency-sensitive work suffering from scheduler contention. The project therefore focuses on evidence of stalled progress:
Example output shape:
This output is aspirational; the project will reach it incrementally.
The first useful release targets Linux and focuses on:
Later releases may add:
Start with AGENTS.md, then docs/README.md.
Stallhunt reads bounded local Linux telemetry and does not independently send it over the network. MCP clients may transmit tool results according to their own data policies. See the full Stallhunt privacy policy for the data, storage, sharing, retention, and contact disclosures.
Dual-licensed under MIT or Apache-2.0, at your option.
For the current milestone, implemented capabilities, validation, known limits,
and the next recommended task, see docs/status.md. Planned
sequencing remains in docs/roadmap.md.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/stallhunt)<a href="https://allmcps.com/mcp/stallhunt"><img src="https://allmcps.com/api/badge/stallhunt?style=directory" alt="Stallhunt on AllMCPs" /></a>