# Shaft Critical Speed Calculator MCP. AI Agent Connect

> Shaft Critical Speed Calculator is a specialized engineering MCP that handles lateral critical speed calculations and vibration analysis. It uses shaft geometry, material properties, and mass distribution to find resonance points. You can choose between Rayleigh or Finite Element Method (FEM) for different precision needs, allowing your AI client to perform complex rotational dynamics math directly in your workflow.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_0MKELKgUHBx9UMD2NHTOd43uvMT7RPrVJG0dUt68/ai-agent-connect
- **Tags:** vibration, rotational-dynamics, mechanical-engineering, resonance, shaft-analysis

## Description

You can use this MCP to solve complex rotational dynamics problems without leaving your coding or chat environment. It handles the heavy lifting of calculating how a shaft will behave under rotation by looking at its geometry, mass, and material properties. Whether you need a quick estimate using Rayleigh methods or high-precision results via Finite Element Method (FEM), your agent can run these calculations on demand. 

It's built to help you spot resonance risks before they become physical failures. By feeding shaft dimensions and material data to your AI client, you can pinpoint exactly which rotational speeds will trigger dangerous vibrations. The MCP also lets you check safety margins to see if your target operating speeds are far enough away from critical points to remain stable. It's a direct way to bring mechanical vibration analysis into your AI-driven engineering workflow.

## Tools

### calculate_safety_margins
This tool assesses if a shaft can operate safely at a specific target speed. It checks the distance between operating RPM and known resonance points.

### get_critical_rotational_speeds
This tool identifies the specific RPM values where resonance occurs. It tells your agent which speeds to avoid to prevent vibration issues.

### get_model_status
This tool returns the reliability rating and complexity of the math performed. It helps you understand how much confidence to place in the calculation results.

### get_shaft_natural_frequencies
This tool determines the fundamental natural frequencies of a shaft assembly. It provides the base data needed for all subsequent vibration analysis.

## Prompt Examples

**Prompt:** 
```
Calculate the natural frequencies for a shaft with diameter 0.05m, length 2m, density 7850, and elastic modulus 210e9 using the FEM method.
```

**Response:** 
```
The natural frequencies for the specified shaft configuration are 45.2 Hz and 128.7 Hz.
```

**Prompt:** 
```
What are the critical rotational speeds if the natural frequencies are 50 Hz and 150 Hz?
```

**Response:** 
```
The critical rotational speeds are 3000 RPM and 9000 RPM.
```

**Prompt:** 
```
Is an operating speed of 2500 RPM safe if the critical speeds are 3000 RPM and 9000 RPM?
```

**Response:** 
```
Yes, the separation margin is 500 RPM, which is within the safe operating limit.
```

## Capabilities

### Resonance Identification
Your agent finds the exact rotational speeds that trigger vibration issues.

### Precision Modeling
The MCP switches between Rayleigh and Finite Element Method for different accuracy requirements.

### Safety Margin Verification
Your AI client checks if target speeds stay clear of dangerous resonance zones.

### Frequency Analysis
The tool calculates fundamental natural frequencies based on shaft geometry and mass.

## Use Cases

### Design Validation
Check if a new shaft design will vibrate excessively at its intended operating speed.

### Safety Auditing
Verify that existing machinery has sufficient separation margins from critical speeds.

### Material Selection
Compare how different elastic moduli or densities affect the natural frequencies of a shaft.

### Precision Modeling
Use FEM to get highly accurate frequency data for complex shaft assemblies.

## Benefits

- Reduces manual calculation time for complex shaft geometries.
- Provides two different mathematical approaches for varying precision needs.
- Connects vibration analysis directly to your AI-driven design environment.
- Identifies dangerous operating speeds before physical prototyping begins.

## How It Works

You connect the MCP to your AI client and provide the shaft's physical properties.

1. Connect your AI client to the Vinkius-hosted MCP.
2. Provide shaft dimensions, material properties, and mass distribution to your agent.
3. Specify whether to use Rayleigh or Finite Element Method for the calculation.
4. The agent executes the requested tool to find frequencies or speeds.
5. Review the safety margins and model reliability ratings provided by the agent.

## Frequently Asked Questions

**What mathematical methods does this MCP support?**
The MCP supports both the Rayleigh method and the Finite Element Method (FEM) for calculating frequencies and speeds.

**How do I use this with Claude or Cursor?**
You connect to the Vinkius-hosted MCP once, and then your AI client can call the engineering tools directly through the Model Context Protocol.

**Can I check if my operating speed is safe?**
Yes, you can use the calculate_safety_margins tool to see if your target speed is far enough from critical resonance points.

**What data do I need to provide for a calculation?**
You typically need to provide shaft diameter, length, density, and the elastic modulus of the material.

**Does this MCP host the calculations?**
Yes, Vinkius hosts the MCP, so you don't need to set up any local environments or manage dependencies.

**What is the difference between Rayleigh and FEM methods?**
The Rayleigh method provides a faster approximation of natural frequencies, while the Finite Element Method (FEM) offers higher precision and detailed mode shapes.

**How can I check if my operating speed is safe?**
You can use the `calculate_safety_margins` tool by providing the critical speeds and your intended operating speed to determine the separation margin.

**What inputs are required for frequency calculation?**
You need to provide shaft geometry, material properties, disk masses, bearing stiffnesses, support locations, boundary conditions, and the calculation method via `get_shaft_natural_frequencies`.
