# Random Vibration PSD & RMS Calculator AI Agent Connect

> Random Vibration PSD & RMS Calculator MCP handles the heavy lifting of signal processing. It converts time-domain vibration amplitude data into frequency-domain Power Spectral Density (PSD) representations. Your AI client can then extract energy statistics, analyze specific frequency bands, or check for spectral anomalies in your datasets.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_CXEzKolLnnaL0ZqsKsdVOUsy3KWys1GzlJvzIyMI/ai-agent-connect
- **Tags:** vibration, psd, rms, signal-processing, spectral-analysis

## Description

If you are working with raw vibration data, you know the headache of manual signal processing. This MCP gives your AI client the math it needs to handle time-domain samples directly. Instead of you manually calculating transforms, your agent can take raw amplitude data and generate Power Spectral Density (PSD) profiles. 

You can use it to dig into the energy distribution of a signal. It handles the conversion to frequency-domain representations so you can focus on the results. Whether you need to find the total RMS, look at specific frequency ranges, or break energy down into logarithmic octave bands, your agent does the math. It also acts as a quality check by looking for non-physical features like spectral spikes or high leakage that might ruin your analysis. It's a specialized math toolkit for vibration engineers that turns an LLM into a signal processing expert.

## Tools

### calculate_psd_statistics
This tool performs the primary transformation from time-domain samples to frequency-domain PSD. It extracts core energy statistics like total RMS and dominant frequency bands.

### detect_anomalies
This tool scans the calculated spectrum for suspicious or non-physical features. It identifies issues like spectral spikes or high leakage.

### get_band_limited_rms
This tool calculates the vibration intensity within a specific frequency range. It's useful for finding energy concentrated in narrow bands.

### get_octave_analysis
This tool decomposes vibration energy into logarithmic octave bands for detailed spectral distribution analysis.

## Prompt Examples

**Prompt:** 
```
Calculate the PSD statistics for these vibration samples: [0.1, -0.2, 0.15, 0.05, -0.1] with a sampling rate of 1000 Hz using a hanning window.
```

**Response:** 
```
The PSD analysis is complete. The total RMS is 0.125 g and the dominant frequency band is located between 45 Hz and 55 Hz.
```

**Prompt:** 
```
Using the provided PSD data, what is the RMS value between 10 Hz and 500 Hz?
```

**Response:** 
```
The integrated RMS acceleration for the 10 Hz to 500 Hz band is 0.45 g, representing 65% of the total spectral energy.
```

**Prompt:** 
```
Check the PSD data for any suspicious spikes or high leakage.
```

**Response:** 
```
The anomaly detection scan found no significant spikes, but the leakage indicator suggests a moderate amount of spectral leakage.
```

## Capabilities

### Time-to-Frequency Conversion
Your agent transforms raw time-domain amplitude samples into PSD representations.

### Energy Statistics Extraction
The AI calculates total RMS and identifies dominant frequency bands.

### Band-Limited Analysis
Your agent determines vibration intensity within specific, user-defined frequency ranges.

### Octave Band Decomposition
The tool breaks down vibration energy into logarithmic octave bands.

### Spectral Quality Checks
Your agent identifies non-physical features like spikes or leakage in the spectrum.

## Use Cases

### Environmental Testing
Analyze vibration samples from a test rig to find dominant frequency bands.

### Signal Quality Verification
Check if a captured spectrum has high leakage or non-physical spikes.

### Energy Distribution Studies
Decompose vibration energy into octave bands to understand spectral content.

### Narrow-band Intensity Checks
Calculate the RMS acceleration within a specific frequency range for targeted component analysis.

## Benefits

- Converts raw time-domain data to frequency-domain PSD automatically.
- Identifies spectral anomalies like spikes or leakage without manual inspection.
- Calculates specific frequency band energy and octave bands on demand.
- Provides core energy statistics like total RMS directly to your AI client.

## How It Works

Connect your client to Vinkius and start processing data immediately.

1. Connect your MCP-compatible client to the Vinkius hosted MCP.
2. Provide your raw time-domain vibration samples and sampling rate to your AI client.
3. The agent uses the MCP tools to perform PSD transformations and statistical calculations.
4. Review the resulting RMS values, frequency bands, or anomaly reports provided by the agent.

## Frequently Asked Questions

**What kind of data does this MCP accept?**
It accepts time-domain vibration amplitude samples, typically provided as a list of numerical values along with a sampling rate.

**Can I use this with Claude or Cursor?**
Yes, you can connect this MCP to any compatible client like Claude, Cursor, or Windsurf through the Vinkius platform.

**How does it handle spectral leakage?**
The detect_anomalies tool specifically looks for high leakage or non-physical features in the calculated spectrum.

**Does it support octave band analysis?**
Yes, the get_octave_analysis tool decomposes vibration energy into logarithmic octave bands.

**Is the hosting managed by Vinkius?**
Yes, Vinkius hosts the MCP and manages the execution, so you don't need to run any local code.

**What kind of data does this server process?**
It processes raw time-domain sampled vibration data, converting it into frequency-domain PSD using `calculate_psd_statistics`.

**Can I analyze specific frequency bands?**
Yes, you can use `get_band_limited_rms` to determine the vibration intensity and energy percentage within any specified frequency range.

**How are octave bands calculated?**
The `get_octave_analysis` tool partitions the spectrum into logarithmic intervals, such as full or one-third octave bands, for structural analysis.
