Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Explore

  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Tags index
  • Submit a server
  • Pricing

Learn

  • Guides hub
  • What is MCP?
  • Install guide
  • Troubleshooting
  • Security
  • Blog
  • Blog RSS

Tools

  • All tools
  • Config generator
  • Config validator
  • MCP playground
  • OpenAPI β†’ MCP
  • Badge generator

For agents

  • API docs
  • Trust & traffic
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
  • Remote MCP β†— (opens in a new tab)

Company

  • About
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on Buildlist
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. Motor Current Signature Analysis
M
Health: Not checked yetWe have not completed a health check for this listing yet.Last checked 8/11/2026, 12:05:18 AM

Motor Current Signature Analysis

Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

MCP server for Motor Current Signature Analysis β€” fault detection in electric motors

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Install Config Generator

Choose your client
claude_desktop_config.json
{
  "mcpServers": {
    "motor-current-signature-analysis": {
      "command": "npx",
      "args": [
        "-y",
        "motor-current-signature-analysis"
      ]
    }
  }
}

πŸ’‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

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.

MCSA is an industry-standard condition-monitoring technique that analyses the harmonic content of the stator current to detect rotor, stator, bearing, and air-gap faults in electric motors β€” without requiring vibration sensors, downtime, or physical access to the machine. This server brings the full MCSA diagnostic workflow to any MCP-compatible AI assistant (Claude Desktop, VS Code Copilot, and others), enabling both interactive expert analysis and automated condition-monitoring pipelines.

Features

  • Real signal loading β€” read measured data from CSV, TSV, WAV, and NumPy .npy files
  • Motor parameter calculation β€” slip, synchronous speed, rotor frequency from nameplate data
  • Fault frequency computation β€” broken rotor bars, eccentricity, stator faults, mixed eccentricity
  • Bearing defect frequencies β€” BPFO, BPFI, BSF, FTF from bearing geometry
  • Signal preprocessing β€” DC removal, normalisation, windowing, bandpass/notch filtering
  • Spectral analysis β€” FFT spectrum, Welch PSD, spectral peak detection
  • Envelope analysis β€” Hilbert-transform demodulation for mechanical/bearing faults
  • Time-frequency analysis β€” STFT with frequency tracking for non-stationary conditions
  • Fault detection β€” automated severity classification (healthy / incipient / moderate / severe)
  • One-shot diagnostics β€” full pipeline from signal array or directly from file
  • Test signal generation β€” synthetic signals with configurable fault injection for demos and benchmarking
  • Persistent data store β€” signals and spectra saved to ~/.mcsa_data/ as compressed .npz files; referenced by short IDs (sig_xxxx, spec_xxxx) to keep large arrays out of the chat context; data survives server restarts

Tools (21)

ToolDescription
inspect_signal_fileInspect a signal file format and metadata without loading
load_signal_from_fileLoad a current signal from CSV / WAV / NPY file β†’ returns signal_id
calculate_motor_paramsCompute slip, sync speed, rotor frequency from motor data
compute_fault_frequenciesCalculate expected fault frequencies for all common fault types
compute_bearing_frequenciesCalculate BPFO, BPFI, BSF, FTF from bearing geometry
preprocess_signalDC removal, filtering, normalisation, windowing pipeline β†’ returns new signal_id
compute_spectrumSingle-sided FFT amplitude spectrum β†’ returns spectrum_id
compute_power_spectral_densityWelch PSD estimation β†’ returns spectrum_id
find_spectrum_peaksDetect and characterise peaks in a spectrum
detect_broken_rotor_barsBRB fault index with severity classification
detect_eccentricityAir-gap eccentricity detection via sidebands
detect_stator_faultsStator inter-turn short circuit detection
detect_bearing_faultsBearing defect detection from current spectrum
compute_envelope_spectrumHilbert envelope spectrum for modulation analysis
compute_band_energyIntegrated spectral energy in a frequency band
compute_time_frequencySTFT analysis with optional frequency tracking
generate_test_current_signalSynthetic motor current with optional faults β†’ returns signal_id
run_full_diagnosisComplete MCSA diagnostic pipeline from signal or signal_id
diagnose_from_fileComplete MCSA diagnostic pipeline directly from file
list_stored_dataList all signals and spectra persisted on disk
clear_stored_dataDelete one or all stored items from disk

Resources

URIDescription
mcsa://fault-signaturesReference table of fault signatures, frequencies, and empirical thresholds

Prompts

PromptDescription
analyze_motor_currentStep-by-step guided workflow for MCSA analysis

Installation & Setup

Step 1 β€” Install uv (one-time, if you don't have it)

uv is the recommended Python package manager. It handles everything (Python, packages, virtual environments) in a single tool and is used throughout the MCP ecosystem.

Windows (PowerShell):

powershell
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

macOS / Linux:

Terminal
curl -LsSf https://astral.sh/uv/install.sh | sh

After installing, restart your terminal so the uv / uvx commands are available.

Step 2 β€” Verify it works

bash
uvx mcp-server-mcsa --help

You should see the help text. That's it β€” no pip install needed. uvx downloads and runs the package automatically in an isolated environment.

Step 3 β€” Add to your MCP client

Pick your client and add the configuration below. No other steps are required.

Claude Desktop

Open the config file:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Add mcsa inside the mcpServers object (create the file if it doesn't exist):

config.json
{
  "mcpServers": {
    "mcsa": {
      "command": "uvx",
      "args": ["mcp-server-mcsa"]
    }
  }
}

Then restart Claude Desktop.

VS Code (Copilot / Continue)

Create (or edit) .vscode/mcp.json in your workspace:

config.json
{
  "servers": {
    "mcsa": {
      "command": "uvx",
      "args": ["mcp-server-mcsa"]
    }
  }
}

Cursor

Go to Settings β†’ MCP Servers β†’ Add new server:

  • Type: command
  • Command: uvx mcp-server-mcsa

Step 4 β€” Test

In your MCP client, try:

"Generate a test signal with a broken rotor bar fault and run a full diagnosis. Motor: 4 poles, 50 Hz, 1470 RPM."

If the server responds with a diagnostic report, you're all set.


Alternative: install with pip (not recommended β€” see note)
Terminal
pip install mcp-server-mcsa

Then configure your client with:

config.json
{
  "mcpServers": {
    "mcsa": {
      "command": "python",
      "args": ["-m", "mcp_server_mcsa"]
    }
  }
}

⚠️ Common issue on Windows: if you installed Python from the Microsoft Store, the mcp-server-mcsa command may not be in your PATH, causing a "server disconnected" error. In that case, find your Python path with python -c "import sys; print(sys.executable)" and use the full path in the config:

config.json
{
  "mcpServers": {
    "mcsa": {
      "command": "C:/Users/YOU/AppData/Local/.../python.exe",
      "args": ["-m", "mcp_server_mcsa"]
    }
  }
}

Using uvx avoids this problem entirely.

Alternative: install from source (for development)
bash
git clone https://github.com/LGDiMaggio/mcp-motor-current-signature-analysis.git
cd mcp-motor-current-signature-analysis
uv sync --dev

Configure the client to point to the local repo:

config.json
{
  "mcpServers": {
    "mcsa": {
      "command": "uv",
      "args": ["--directory", "/absolute/path/to/mcp-motor-current-signature-analysis", "run", "mcp-server-mcsa"]
    }
  }
}

Run tests:

bash
uv run pytest

Debug with MCP Inspector:

bash
uv run mcp dev src/mcp_server_mcsa/server.py

Troubleshooting

ProblemFix
"server disconnected" on Claude DesktopCheck the logs at %APPDATA%\Claude\logs\ (Windows) or ~/Library/Logs/Claude/ (macOS). Most common cause: the command in the config is not found. Use uvx to avoid PATH issues.
uvx: command not foundRestart your terminal after installing uv. On Windows, you may need to close and reopen PowerShell.
mcp-server-mcsa: command not found (pip)The script wasn't added to PATH. Use python -m mcp_server_mcsa instead, or switch to uvx.
Server starts but tools don't appearMake sure you restarted the MCP client after editing the config.

Data Store

Signals and spectra are persisted to disk as compressed .npz files in ~/.mcsa_data/ (configurable via the MCSA_DATA_DIR environment variable). This means:

  • Large arrays never enter the chat β€” only short IDs (sig_xxxx, spec_xxxx) and compact summaries are returned to the LLM.
  • Data survives server restarts β€” reopen Claude Desktop tomorrow and your signals are still there.
  • All data in one place β€” loaded measurements and generated test signals live side by side in the same folder.
Code
~/.mcsa_data/
  signals/
    sig_a1b2c3d4.npz   ← loaded from CSV
    sig_e5f6g7h8.npz   ← generated test signal
  spectra/
    spec_i9j0k1l2.npz  ← FFT result

Use list_stored_data to see everything on disk and clear_stored_data to remove items.

Usage Examples

Real Signal β€” One-Shot Diagnosis

The fastest way to analyse a measured signal is the diagnose_from_file tool. Simply provide the file path and motor nameplate data:

"Diagnose the motor from C:\data\motor_phaseA.csv β€” 50 Hz supply, 4 poles, 1470 RPM"

The server loads the file, preprocesses the signal, computes the spectrum, runs all fault detectors, and returns a complete JSON report with severity-classified results.

Step-by-Step Workflow (with signal IDs)

  1. Load a measured signal (or generate a synthetic one):

    "Load the signal from measurement.wav" β†’ returns signal_id: sig_a1b2 or: "Generate a test signal with a broken-rotor-bar fault" β†’ sig_c3d4

  2. Calculate motor parameters:

    "Calculate motor parameters for a 4-pole motor, 50 Hz supply, running at 1470 RPM"

  3. Compute expected fault frequencies:

    "What are the expected fault frequencies for this motor?"

  4. Preprocess the signal:

    "Preprocess signal sig_a1b2" β†’ returns new signal_id: sig_e5f6

  5. Analyse the spectrum:

    "Compute the FFT spectrum of sig_e5f6" β†’ returns spectrum_id: spec_g7h8

  6. Detect specific faults:

    "Check for broken rotor bars in spec_g7h8"

  7. Envelope analysis (optional):

    "Compute the envelope spectrum of sig_e5f6"

Quick Diagnosis from Stored Signal

The run_full_diagnosis tool runs the entire pipeline on a stored signal in a single call:

Code
Input: signal_id + motor nameplate data
Output: complete report with fault severities and recommendations

Bearing Analysis

For bearing fault analysis, you need the bearing geometry (number of balls, ball diameter, pitch diameter, contact angle). The server will:

  1. Calculate characteristic defect frequencies (BPFO, BPFI, BSF, FTF)
  2. Compute expected current sidebands
  3. Search the spectrum for those sidebands

Supported File Formats

FormatExtensionsSampling Rate
CSV / TSV.csv, .tsv, .txtFrom time column or user-supplied
WAV.wavEmbedded in header
NumPy.npyUser-supplied

Fault Detection Theory

Broken Rotor Bars (BRB)

Sidebands at $(1 \pm 2s) \cdot f_s$ where $s$ is slip and $f_s$ is supply frequency. Severity is classified by the dB ratio of sideband to fundamental amplitude.

Eccentricity

Sidebands at $f_s \pm k \cdot f_r$ where $f_r$ is the rotor mechanical frequency.

Stator Inter-Turn Faults

Sidebands at $f_s \pm 2k \cdot f_r$ due to winding asymmetry.

Bearing Defects

Torque oscillations modulate the stator current, creating sidebands at $f_s \pm k \cdot f_{defect}$. Defect frequencies depend on bearing geometry (BPFO, BPFI, BSF, FTF).

Severity Thresholds (dB below fundamental)

LevelRange
Healthy≀ βˆ’50 dB
Incipientβˆ’50 to βˆ’45 dB
Moderateβˆ’45 to βˆ’40 dB
Severe> βˆ’35 dB

Note: These are general guidelines. Actual thresholds should be adapted to the specific motor, load, and application based on baseline measurements.

Development

Setup

bash
git clone https://github.com/LGDiMaggio/mcp-motor-current-signature-analysis.git
cd mcp-motor-current-signature-analysis
uv sync --dev

Run tests

bash
uv run pytest

Run with MCP Inspector

bash
uv run mcp dev src/mcp_server_mcsa/server.py

Lint and type check

bash
uv run ruff check src/ tests/
uv run pyright src/

Dependencies

  • mcp β€” Model Context Protocol SDK
  • numpy β€” numerical computing
  • scipy β€” signal processing (FFT, filtering, Hilbert transform)
  • pydantic β€” data validation

Documentation

For a detailed reference of every tool, resource, and prompt β€” including parameter tables, diagnostic workflows, integration patterns, and severity thresholds β€” see the Usage Guide.

Citation

If you use this software in your research, please cite it:

bibtex
@software{dimaggio_mcsa_2025,
  author       = {Di Maggio, Luigi Gianpio},
  title        = {mcp-server-mcsa: MCP Server for Motor Current Signature Analysis},
  year         = 2025,
  url          = {https://github.com/LGDiMaggio/mcp-motor-current-signature-analysis},
  license      = {MIT}
}

GitHub shows a "Cite this repository" button automatically from the CITATION.cff file.

ORCID

License

MIT β€” see LICENSE for details.

Related MCP Servers

View all in Developer Tools View all alternatives
  • A
    Ai Netcafe

    Compare LLM cost & latency on one prompt, translate PDF keeping layout, cited research, make PPTX

    πŸ’» Developer Tools0 views
    Compare vs Ai Netcafe β†’
  • Claude Task Master logoClaude Task Master

    AI-powered task management system for AI-driven development. Features PRD parsing, task expansion, multi-provider support (Claude, OpenAI, Gemini, Perplexity, xAI), and selective tool loading for optimized context usage.

    πŸ’» Developer Tools7 views
    Compare vs Claude Task Master β†’
  • Mcpcap logoMcpcap

    Network analysis for the AI age

    πŸ’» Developer Tools0 views
    Compare vs Mcpcap β†’
  • C
    Codescene Mcp Server

    An MCP server that provides CodeScene Code Health analysis tools.

    πŸ’» Developer Tools1 views
    Compare vs Codescene Mcp Server β†’

Frequently Asked Questions about Motor Current Signature Analysis

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "motor-current-signature-analysis": { "command": "npx", "args": ["-y", "Motor Current Signature Analysis"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMotor Current Signature Analysis AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/motor-current-signature-analysis?style=directory)](https://allmcps.com/mcp/motor-current-signature-analysis)
HTML Embed
<a href="https://allmcps.com/mcp/motor-current-signature-analysis"><img src="https://allmcps.com/api/badge/motor-current-signature-analysis?style=directory" alt="Motor Current Signature Analysis on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
0/5 checks healthy over the last 6h
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Free dofollow backlink: after claiming, verify your product site and place a dofollow AllMCPs badge β€” we recheck it stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to Motor Current Signature Analysis β†’Install in Claude DesktopInstall in CursorInstall in VS Code