# Shaft Alignment Offset Calculator AI Agent Connect

> Shaft Alignment Offset Calculator MCP provides precision diagnostic tools for industrial shaft alignment. It uses a least-squares convention to turn raw measurement data into actionable parallel offset and angular misalignment values. You can plan specific shim thicknesses at machine feet, account for thermal growth, and check if your measurements actually make physical sense before you start adjusting hardware.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_bXeRaGaaHDwRmBV6rv48eZ1XbYpLRN75q2LFDw30/ai-agent-connect
- **Tags:** alignment, shaft, mechanical, precision, engineering-tools

## Description

When you are out in the field or in the plant, you need math that works. This MCP handles the heavy lifting of industrial shaft alignment by converting raw dial indicator or laser measurements into exact misalignment states. Instead of manual calculations, you give your AI client the raw data, and it determines the parallel offset and angular misalignment using a least-squares convention. 

You can use it to plan your entire correction process. It calculates exactly how much shim you need at specific machine feet and can even factor in thermal growth offsets so your alignment holds once the machine reaches operating temperature. If you aren't sure if your readings are garbage, the MCP checks the measurement integrity to ensure the data is physically plausible. It also lets you run sensitivity analyses to see how much a small error in your measurement might throw off your final alignment. It is a direct way to move from raw data to a finished, corrected machine state.

## Tools

### calculate_correction_requirements
This tool translates calculated misalignment into the exact physical shim thicknesses needed at specific machine feet.

### calculate_misalignment_state
This tool determines the current parallel offset and angular misalignment from your raw measurement data.

### validate_measurement_integrity
This tool checks your raw measurements to ensure they are physically plausible and follow geometric constraints.

### analyze_alignment_sensitivity
This tool evaluates how much your final alignment results change based on measurement errors or shim inaccuracies.

## Prompt Examples

**Prompt:** 
```
Calculate the misalignment state for a coupling with a 50mm diameter using these measurements: [{position: 0, reading: 0.05}, {position: 100, reading: -0.05}] with shaft ID 'primary_drive'.
```

**Response:** 
```
The parallel offset is 0.0 mm and the angular misalignment is 0.057 degrees.
```

**Prompt:** 
```
What shim adjustments are needed for foot 'F1' at position 10 if the misalignment state shows a 0.5mm offset and there is a thermal growth offset of 0.1mm at position 10?
```

**Response:** 
```
The required shim adjustment for foot F1 is 0.4 mm.
```

**Prompt:** 
```
Check if these measurements are physically plausible for a 40mm diameter coupling: [{position: 0, reading: 0.1}, {position: 50, reading: 0.2}]
```

**Response:** 
```
The measurements are physically plausible.
```

## Capabilities

### Misalignment Calculation
Your agent uses this to find parallel and angular errors from raw data.

### Shim Planning
Your AI client calculates the exact shim thickness needed at each machine foot.

### Thermal Growth Compensation
Your agent adjusts calculations to account for offsets caused by thermal expansion.

### Data Validation
Your AI client verifies that measurement readings are physically possible.

### Sensitivity Analysis
Your agent assesses how measurement errors impact the final alignment accuracy.

## Use Cases

### Correcting Coupling Misalignment
Use the MCP to turn dial indicator readings into a shim plan for a new coupling installation.

### Thermal Growth Compensation
Adjust your shim requirements to account for how a machine will shift once it reaches operating temperature.

### Measurement Verification
Run a quick check on raw data to ensure it meets geometric constraints before you start shimming.

### Error Impact Assessment
Perform sensitivity analysis to see if your measurement precision is sufficient for the required tolerance.

## Benefits

- Eliminates manual least-squares math errors.
- Provides specific shim thicknesses for individual machine feet.
- Accounts for thermal growth to ensure alignment holds at temperature.
- Prevents wasted time by validating measurement integrity before adjustments begin.

## How It Works

Connecting this MCP to your AI client gives you instant access to precision alignment math.

1. Connect your preferred MCP-compatible client to Vinkius.
2. Provide your raw measurement data to your AI client.
3. The AI uses the MCP tools to calculate misalignment or shim needs.
4. Receive specific, actionable correction values immediately.

## Frequently Asked Questions

**What math does this MCP use for alignment?**
The MCP uses a least-squares convention to determine parallel offset and angular misalignment from your data.

**Can I use this with my existing laser alignment tools?**
Yes. You can input raw measurement data from laser or dial indicator tools directly into your AI client.

**Does it handle thermal growth?**
Yes. You can provide thermal growth offsets to calculate the correct shim requirements for operating conditions.

**How does it help with shim selection?**
The MCP translates calculated misalignment into specific physical shim thicknesses needed at designated machine feet.

**What if my measurements are wrong?**
The validate_measurement_integrity tool checks if your data is physically plausible and meets geometric constraints.

**How does the tool handle multiple measurement points?**
The tool uses a least-squares convention to find the most probable shaft centerline that minimizes the squared distance to all provided measurement points.

**Can I account for thermal expansion during operation?**
Yes, you can use `calculate_correction_requirements` by providing thermal growth offsets to adjust the target centerline position for hot operating conditions.

**What happens if my measurement span is too small?**
If the measurement span is too narrow relative to the coupling diameter, `calculate_misalignment_state` will flag the data as having insufficient information to solve for both offset and angle.
