lgdimaggio avatar

Motor Current Signature Analysis

lgdimaggio/mcp-motor-current-signature-analysis

Brings Motor Current Signature Analysis directly into Claude and other MCP clients. You get 21 tools covering the full diagnostic pipeline: load current signals from CSV/WAV/NPY files, compute fault frequencies for broken rotor bars, eccentricity, stator faults, and bearing defects (BPFO, BPFI, BSF, FTF), run FFT and Welch PSD analysis, perform Hilbert envelope demodulation, and execute automated fault detection with severity classification. Signals and spectra persist to disk as compressed .npz files referenced by short IDs, so you can work with large datasets without clogging the context window. Use it when you need predictive maintenance insights from electrical signatures without requiring vibration sensors or physical motor access. Includes synthetic signal generation for testing and a one-shot diagnosis tool that goes from raw file to full fault report.

GitHub stars
7
tools
21
transport
STDIO
last updated
Feb 9, 2026

Tools

21 tools

Public tool metadata for what this MCP can expose to an agent.

inspect_signal_fileInspect a signal file format and metadata without loading

Inspect a signal file format and metadata without loading

No parameter schema in public metadata yet.

load_signal_from_fileLoad a current signal from CSV / WAV / NPY file → returns `signal_id`

Load a current signal from CSV / WAV / NPY file → returns `signal_id`

No parameter schema in public metadata yet.

calculate_motor_paramsCompute slip, sync speed, rotor frequency from motor data

Compute slip, sync speed, rotor frequency from motor data

No parameter schema in public metadata yet.

compute_fault_frequenciesCalculate expected fault frequencies for all common fault types

Calculate expected fault frequencies for all common fault types

No parameter schema in public metadata yet.

compute_bearing_frequenciesCalculate BPFO, BPFI, BSF, FTF from bearing geometry

Calculate BPFO, BPFI, BSF, FTF from bearing geometry

No parameter schema in public metadata yet.

preprocess_signalDC removal, filtering, normalisation, windowing pipeline → returns new `signal_id`

DC removal, filtering, normalisation, windowing pipeline → returns new `signal_id`

No parameter schema in public metadata yet.

compute_spectrumSingle-sided FFT amplitude spectrum → returns `spectrum_id`

Single-sided FFT amplitude spectrum → returns `spectrum_id`

No parameter schema in public metadata yet.

compute_power_spectral_densityWelch PSD estimation → returns `spectrum_id`

Welch PSD estimation → returns `spectrum_id`

No parameter schema in public metadata yet.

find_spectrum_peaksDetect and characterise peaks in a spectrum

Detect and characterise peaks in a spectrum

No parameter schema in public metadata yet.

detect_broken_rotor_barsBRB fault index with severity classification

BRB fault index with severity classification

No parameter schema in public metadata yet.

detect_eccentricityAir-gap eccentricity detection via sidebands

Air-gap eccentricity detection via sidebands

No parameter schema in public metadata yet.

detect_stator_faultsStator inter-turn short circuit detection

Stator inter-turn short circuit detection

No parameter schema in public metadata yet.

detect_bearing_faultsBearing defect detection from current spectrum

Bearing defect detection from current spectrum

No parameter schema in public metadata yet.

compute_envelope_spectrumHilbert envelope spectrum for modulation analysis

Hilbert envelope spectrum for modulation analysis

No parameter schema in public metadata yet.

compute_band_energyIntegrated spectral energy in a frequency band

Integrated spectral energy in a frequency band

No parameter schema in public metadata yet.

compute_time_frequencySTFT analysis with optional frequency tracking

STFT analysis with optional frequency tracking

No parameter schema in public metadata yet.

generate_test_current_signalSynthetic motor current with optional faults → returns `signal_id`

Synthetic motor current with optional faults → returns `signal_id`

No parameter schema in public metadata yet.

run_full_diagnosisComplete MCSA diagnostic pipeline from signal or `signal_id`

Complete MCSA diagnostic pipeline from signal or `signal_id`

No parameter schema in public metadata yet.

diagnose_from_fileComplete MCSA diagnostic pipeline directly from file

Complete MCSA diagnostic pipeline directly from file

No parameter schema in public metadata yet.

list_stored_dataList all signals and spectra persisted on disk

List all signals and spectra persisted on disk

No parameter schema in public metadata yet.

clear_stored_dataDelete one or all stored items from disk

Delete one or all stored items from disk

No parameter schema in public metadata yet.

Sponsors

Readme

mcp-server-mcsa

License: MIT Python 3.10+ MCP

A Model Context Protocol (MCP) server for Motor Current Signature Analysis (MCSA) — non-invasive spectral analysis and fault detection in electric motors using stator-current signals.

mcp-server-mcsa turns any LLM into a predictive-maintenance expert. By integrating advanced techniques such as Fast Fourier Transform (FFT) and envelope analysis, the system can listen to a motor's electrical signature and automatically identify mechanical and electrical anomalies — all through natural language.


View the full README on GitHub

Details

Repository
github.com/lgdimaggio/mcp-motor-current-signature-analysis
Package
mcp-server-mcsa
Transport
STDIO
Registry
MCP registry, active