SuperAPIAI Directory

predictive-maintenance-mcp

github.com · AI developer platforms

Industrial predictive maintenance: vibration analysis, bearing fault diagnosis (ISO 20816-3) and diagnostic reports.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

Purpose

predictive-maintenance-mcp is an open-source MCP server designed to turn large language models into condition-monitoring assistants for reliability engineers. It provides evidence-based vibration diagnostics, including mechanical fault detection, severity assessment, and diagnostic reports, to support and accelerate experts' predictive maintenance decisions.

Main Capabilities

  • Evidence-based diagnostics: The server refuses to guess. Fault indications must match spectral evidence, and diagnoses are not inferred from filenames or statistical parameters alone. Every severity statement cites ISO 20816-3, and the evaluative wording in reports is written by the server, not improvised by the model.
  • 41 dedicated MCP endpoints: Includes 38 tools and 3 prompts, running on the local machine. Every signal is referenced from loading to reporting through a single signal_id handle.
  • Complete diagnostic workflow: Load signal → spectral analysis → fault detection → severity assessment → report generation.
  • Interactive HTML reports: All analysis tools generate interactive HTML reports that can be opened in any browser, supporting panning, zooming, and hovering to view details. Structured Word (.docx) export is also supported.
  • Asset health ledger: Records each loaded measurement (asset, measurement point, acquisition time, operating conditions) and its derived metrics, compares them with the engineer-declared health baseline, and makes judgments based on reference bands, with the applied rules stated in the results. Four tools carry this workflow: declare_measurement_point, declare_healthy_baseline, get_asset_history, and assess_asset_change.
  • Claude Code plugin: Includes 8 skills that activate automatically according to context (bearing diagnostics, gear diagnostics, quick screening, report generation, anomaly detection, signal management, document search, prediction), 2 agents that run multi-step diagnostic workflows end to end and deliver evidence (diagnostic-pipeline, signal-explorer), and 3 quick-entry commands (/pm-diagnose, /pm-screen, /pm-report).
  • Other features: Semantic document search based on FAISS + TF-IDF; customizable severity thresholds; remaining useful life (RUL) Estimation (linear, exponential, Kalman); trend analysis and degradation onset detection; multi-signal trending and historical comparison; real-time streaming (MQTT/Kafka); multi-asset fleet dashboard; CMMS integration (SAP, Maximo, Infor).

How to Use

Quick Start (Claude Desktop)

Requires Git (or download the repository ZIP from GitHub and extract it), uv (which automatically fetches Python 3.11), and Claude Desktop.

  1. Get the repository: 20 sample signals ship with the repository, not with the PyPI package. These are real bearing measurement data from the MathWorks rolling bearing dataset, including a healthy baseline as well as inner race and outer race faults, each with accompanying metadata (data/README.md).

  2. Install and connect: On Windows, a script creates the environment, installs the server, and writes the Claude Desktop entry (handling the case where the clone is in OneDrive or another synced folder).

    Add the following entry to ~/Library/Application Support/Claude/claude_desktop_config.json, replacing /path/to/predictive-maintenance-mcp with the absolute path of your clone. If a predictive-maintenance entry already exists, replace it. PDM_PROJECT_DIR tells the server where the sample signals and reports are located. Keep all paths absolute: Claude Desktop starts the server with a minimal PATH.

  3. Restart and check: Fully quit Claude Desktop (File, then Quit) and restart it. In a new chat, ask: "List the available vibration signals." It should show the 20 included signals. If not, see Troubleshooting in INSTALL.md.

  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 is returned is the server's evidence, not the model's opinion.

Using Your Own Data

Place a single-column CSV (no header row) somewhere the server can read (a folder under data/signals/, or an absolute path), add <name>_metadata.json alongside it containing sampling_rate and signal_unit (for example "g"), then request an analysis and state the shaft speed.

Other Clients

Claude Code, VS Code, Cursor, and any other MCP client: see Manual Setup in INSTALL.md.

When It Applies

  • Reliability engineers performing mechanical fault detection and severity assessment
  • Predictive maintenance decision support
  • Bearing and gear fault diagnosis
  • Asset health monitoring and trend analysis
  • Multi-asset fleet monitoring

Limitations

  • The server refuses to guess: no fault indication is given without matching spectral evidence.
  • The final judgment is still made by the engineer; the AI only orchestrates the analysis and presents the evidence.
  • The sample data is CC BY-NC-SA 4.0 (non-commercial); commercial use requires replacing it with your own machinery data.
  • The code is under the MIT license.
  • 85%+ test coverage, enforced in CI, covering Windows, macOS, and Linux (Python 3.11 and 3.12).
  • Benchmarking: blind, reproducible diagnostic accuracy benchmarks on the public CWRU bearing data center dataset. On the records rated clearly diagnosable by the reference study (Y1+Y2, 44 records): characteristic fault frequency detection 44/44, correct fault ranked first 34/44 (77.3%), textbook signature (Y1) tier 9/9. On the 4 healthy baselines, 2 records produced false indications under the same criteria.
  • The architecture follows the ISO 13374 six-block diagnostic standard; implemented standards include ISO 13374, ISO 20816-3, and MIMOSA OSA-CBM.
  • Privacy first: raw vibration data never leaves your machine; only computed results flow to the LLM.
  • LLM agnostic: can be used with Claude, ChatGPT, Microsoft Copilot Studio, or any MCP-compatible client. Ollama enables fully air-gapped deployment.
  • Modular: use only the tools you need, extensible with your own tools.
  • Docker + SSE/HTTP transport for enterprise deployment.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools