by LGDiMaggio
An open-source MCP server that turns LLMs into condition monitoring assistants for reliability engineers. It gives your AI assistant evidence-based vibration diagnostics: machine fault detection, severity assessment and diagnostic reports, for faster predictive maintenance decisions. Also available as a Claude Code plugin.
# Add to your Claude Code skills
git clone https://github.com/LGDiMaggio/predictive-maintenance-mcpGuides for using ai agents skills like predictive-maintenance-mcp.
predictive-maintenance-mcp is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by LGDiMaggio. An open-source MCP server that turns LLMs into condition monitoring assistants for reliability engineers. It gives your AI assistant evidence-based vibration diagnostics: machine fault detection, severity assessment and diagnostic reports, for faster predictive maintenance decisions. Also available as a Claude Code plugin. It has 122 GitHub stars.
predictive-maintenance-mcp's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/LGDiMaggio/predictive-maintenance-mcp" and add it to your Claude Code skills directory (see the Installation section above).
predictive-maintenance-mcp is primarily written in Python. It is open-source under LGDiMaggio on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh predictive-maintenance-mcp against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Give your AI assistant evidence-based vibration diagnostics — machinery fault detection, ISO-cited severity, and diagnostic reports built to support and accelerate expert decision-making.
An open-source MCP server that turns LLMs into condition monitoring assistants for reliability engineers. Its core design rule: the server refuses to guess. No diagnosis is ever inferred from filenames or statistical parameters alone — a fault indication requires matching spectral evidence. Every severity claim cites ISO 20816-3, and the evaluative wording in reports is authored by the server, not improvised by the model. The AI orchestrates the analysis and presents the evidence — detected fault frequencies, matched fault patterns, severity zones — while the final judgment stays with the engineer. Also available as a Claude Code plugin with 9 diagnostic skills.
| You are | Start here |
|---|---|
| Reliability / maintenance engineer — diagnostics in plain language, no coding | Quick Start below · then Engineer's guide for your own data, manuals and workflows |
| AI / MCP developer — run, integrate, and extend the server | Developer's Quickstart · Installation |
| Researcher / evaluator — how the numbers are measured | Benchmark Methodology · Benchmark below |
Point the AI at a vibration signal → get the evidence behind the fault — detected frequencies, matched fault patterns, ISO-cited severity — to support your call.
| You say | The AI does |
|---|---|
| "What does the vibration say about this bearing?" | Loads the signal, tests each characteristic fault line against the noise floor of the envelope spectrum, reports what the evidence is consistent with and what it cannot exclude, cites the ISO 20816-3 severity zone |
| "Generate a full diagnostic report" | Produces an interactive HTML report with charts, fault markers, and server-authored severity wording |
| "Extract specs from test_pump_manual.pdf and diagnose the signal" | Reads the equipment manual, looks up the bearing model, calculates expected fault frequencies, tests each of them in the signal's envelope spectrum |
| "Train an anomaly detector on my healthy baselines, then flag anomalies" | Trains a model on your normal data, scores new signals, flags outliers for your review |
| "What changed on pump P-101 since the baseline?" | Reads the asset's recorded history, compares the latest acquisitions with the declared reference, and reports each indicator's change with the criterion it applied |
The AI doesn't guess: it calls 48 specialized MCP endpoints (44 tools + 4 prompts) running locally on your machine. These counts describe the main branch; tools listed under Unreleased in the CHANGELOG are not yet in the published PyPI package. Every signal is referenced by a single signal_id handle from load to report. Your data never leaves your infrastructure.
Full endpoint reference, grouped by category: Tool Catalog.
One route, from a fresh clone to a first diagnosis in Claude Desktop. You need Git, uv (it fetches Python 3.11 by itself) and Claude Desktop.
1. Clone the repository. The 20 sample signals come with the clone, not with the PyPI package or with the source ZIP and tarball archives generated from this revision: real bearing measurements from the MathWorks rolling-element bearing dataset, healthy baselines plus inner and outer race faults, each with its companion metadata (data/README.md).
git clone https://github.com/LGDiMaggio/predictive-maintenance-mcp.git
cd predictive-maintenance-mcp
2. Install and connect. On Windows, one script creates the environment, installs the server and writes the Claude Desktop entry (clones inside OneDrive or other synced folders are handled):
powershell -ExecutionPolicy Bypass -File setup_claude.ps1
uv venv .venv --python 3.11
uv pip install --python .venv/bin/python .
Add this entry to ~/Library/Application Support/Claude/claude_desktop_config.json, with the absolute path of your clone in place of /path/to/predictive-maintenance-mcp. If a predictive-maintenance entry is already there, replace it:
{
"mcpServers": {
"predictive-maintenance": {
"command": "/path/to/predictive-maintenance-mcp/.venv/bin/python",
"args": ["-m", "predictive_maintenance_mcp"],
"env": { "PDM_PROJECT_DIR": "/path/to/predictive-maintenance-mcp" }
}
}
}
PDM_PROJECT_DIR tells the server where the sample signals and the reports live. Keep every path absolute: Claude Desktop launches servers with a minimal PATH.
3. Restart and check. Quit Claude Desktop completely (File, then Quit) and start it again. In a new chat ask:
"List the available vibration signals."
The 20 included signals should appear. If they do not, see INSTALL.md, Troubleshooting.
4. First diagnosis. Try:
"Load real_train/OuterRaceFault_1.csv. The shaft runs at 1500 rpm: check the bearing against the fault frequencies declared in its metadata, assess the ISO severity and generate the envelope report."
What comes back is the server's evidence, not the model's opinion: in the envelope spectrum the outer-race and inner-race lines both stand above the local noise floor, each with a further line of its own, so the evidence of this single spectrum is consistent with more than one fault type, and the check lists both with their levels without singling either out, while neither the ball nor the cage line stands above the floor; the ISO 20816-3 severity zone of the broadband velocity, with the machine group and support type the assessment assumed; and the path of an HTML report in reports/ with those frequencies marked on the envelope spectrum. The call on the machine stays with you.
The file name carries the fault label, but the server never reads names. Ask which frequencies matched and with what deviation: the answer rests on the spectrum alone.
Use your own data. Put a single-column CSV without a header row where the server can read it (a folder of yours under data/signals/, or an absolute path), add a <name>_metadata.json next to it with sampling_rate and signal_unit (for example "g"), and ask for the analysis stating the shaft speed. Details and traps: Use Your Own Data. An export with a header, a units row, a preamble or several channels goes through the signal import instead, which reads the file as it is and asks you for every value it cannot verify (on the main branch, not yet in a published release): Signal Import Guide.
Other clients: the manual setup in INSTALL.md shows the server entry that Claude Desktop uses. For Claude Code, see the plugin. VS Code, Cursor and other MCP clients have not been verified with this server.
Check the setup without an MCP client. uv sync --locked, then uv run python examples/first_verified_value/first_value.py, runs the server on a seeded synthetic signal and checks the result against a known answer (details). Synthetic data only: it shows that the local chain works, not that a diagnosis is right for your machine.
A blind, reproducible benchmark of the bearing check on the public CWRU Bearing Data Center dataset (12 kHz drive-end subset: 60 fault records + 4 normal baselines). Fault labels never reach the system under test — signals enter under opaque ids, a separate scorer is the only label reader, and blindness, checksum integrity, and determinism are enforced by CI-run guard tests, not prose. Results are stratified by the per-record diagnosability grades of the Smith & Randall (2015) reference study, so records that study found undiagnosable by any classical method are reported separately instead of inflating or deflating the headline.
On t