predictive-maintenance
AI-Powered Predictive Maintenance & Fault Diagnosis through Model Context Protocol. An open-source framework for integrating Large Language Models with predictive maintenance and fault diagnosis workflows.
claude mcp add --transport stdio lgdimaggio-predictive-maintenance-mcp uvx predictive-maintenance-mcp
How to use
This MCP server provides AI-assisted predictive maintenance capabilities by exposing industrial diagnostic tools (e.g., vibration analysis, bearing fault detection, ISO 20816-3 related insights) to an LLM via the Model Context Protocol. The server is designed to let a language model orchestrate specialized Python tools to analyze vibration data and generate actionable maintenance guidance. Once running, you can query the server through MCP-compatible clients, asking for diagnostics, reports, or conversational workflows that trigger underlying analysis modules. The goal is to enable natural-language interactions that result in structured diagnostic results, plots, and maintenance recommendations without exposing raw signal processing details to the user.
To use it, start the MCP server and connect a client (like Claude, an LLM, or a local MCP client) to the predictive-maintenance endpoint. The LLM can request tasks such as “generate ISO 20816-3 compliant report for my plant data,” “run bearing fault detection on this vibration sample,” or “summarize envelope analysis results.” The MCP layer translates these requests into calls to the registered Python tools, aggregates results, and returns human-readable summaries, charts, and recommended actions suitable for maintenance teams.
How to install
Prerequisites:
- Python 3.11+ installed on your machine
- Access to install Python packages (pip)
- Basic familiarity with running CLI commands
Step-by-step installation:
-
Create and activate a Python virtual environment (optional but recommended): python3.11 -m venv venv source venv/bin/activate # on macOS/Linux venv\Scripts\activate # on Windows
-
Install the MCP server package from PyPI (or from source if provided in repo): pip install predictive-maintenance-mcp
-
Verify installation by listing available MCP servers or running a help command: mcp --help mcp server list
-
Run the MCP server locally (example): mcp run predictive-maintenance
-
Connect an MCP client or LLM to the running server endpoint to begin interactions.
Notes:
- If you prefer using uvx directly, ensure your environment has the uvx launcher configured and accessible in PATH.
- Consult repository docs for any environment-specific configuration files or secrets handling.
Additional notes
Environment variables and configuration tips:
- If the server supports environment-based configuration, you may set variables for data paths, model access, or auth tokens (e.g., PREDICTIVE_MAINT_PATH, MODEL_API_KEY).
- For local air-gapped setups, prefer running the MCP server with a local LLM and keep raw signals on your machine; the MCP layer returns only processed results and summaries.
- If you encounter integration issues, verify that the Python package for the MCP server is installed in the active environment and that the uvx launcher (or equivalent) is properly configured in PATH.
- When extending with new tools, ensure they expose a clear interface (callable Python functions) and are registered in the MCP manifest so the LLM can discover them automatically.
Related MCP Servers
mcp-knowledge-graph
MCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp-hub
A centralized manager for Model Context Protocol (MCP) servers with dynamic server management and monitoring
claude_code-gemini
Simplified Gemini for Claude Code.
multi-chat
Google Chat MCP server that lets AI assistants like Claude and Cursor participate directly in team conversations - search messages, help teammates, share files, and coordinate across chat platforms.
vibe-check
Stop AI coding disasters before they cost you weeks. Real-time anti-pattern detection for vibe coders who love AI tools but need a safety net to avoid expensive overengineering traps.