# Welding Distortion Calculator AI Agent Connect

> Welding Distortion Calculator MCP gives your AI client the math needed to model how heat changes metal shapes. It calculates angular distortion, linear shrinkage, and residual deformation using empirical and thermal-elastic models. Instead of guessing how a weld will pull a plate, you can get specific predictions on geometric deviations and internal forces.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_BKKbU2oD5YU0zojXC8e5XFZYPC3IrNmAcKVvGTWk/ai-agent-connect
- **Tags:** welding, thermal-stress, deformation, metallurgy, simulation

## Description

You can use this MCP to quantify exactly how welding heat affects your components. It moves beyond guesswork by modeling physical transformations like transverse shrinkage and longitudinal contraction. When you're designing a joint, you can use the available tools to determine how material properties, such as the elastic modulus and thermal expansion coefficient, will drive permanent geometric changes. 

Whether you're working with thin plates or heavy sections, the MCP provides the math for both empirical and thermal-elastic modeling. This allows you to predict internal forces and permanent deviations before you ever strike an arc. It's a direct way to account for how heat input and joint constraints influence the final shape of your part.

## Tools

### calculate_shrinkage_dimensions
Use this to calculate linear contractions in both width and length directions.

### evaluate_residual_deformation
This tool predicts the permanent geometric deviations left after the material cools.

### get_restraint_analysis
This tool quantifies the internal forces generated by the specific constraints of a joint.

### calculate_angular_distortion
This tool determines the rotational change in plate angle caused by the welding process.

## Prompt Examples

**Prompt:** 
```
Calculate the angular distortion for a plate with 20mm thickness and a 10mm weld size using an empirical model.
```

**Response:** 
```
The calculated angular rotation is 1.45 degrees with a residual stress indicator of 0.62.
```

**Prompt:** 
```
What is the transverse shrinkage for a 500mm long weld with 5mm width and 5000J heat input?
```

**Response:** 
```
The transverse shrinkage is 0.12mm and the longitudinal shrinkage is 0.45mm.
```

**Prompt:** 
```
Predict the residual deformation for a material with 350MPa yield strength and 200GPa elastic modulus.
```

**Response:** 
```
The residual deformation magnitude is 0.08mm with a residual stress indicator of 0.45.
```

## Capabilities

### Angular Distortion Modeling
Your agent uses this to find how much a plate will rotate during welding.

### Shrinkage Calculation
The AI calculates linear contractions in both width and length.

### Residual Deformation Prediction
Your client predicts permanent geometric changes after cooling.

### Internal Force Analysis
The AI quantifies forces caused by joint constraints.

### Material Property Integration
The tools factor in elastic modulus and thermal expansion coefficients.

## Use Cases

### Tolerance Planning
Predict if a welded assembly will stay within dimensional limits.

### Joint Design
Determine how much restraint a joint will apply to the part.

### Heat Input Optimization
See how changing heat input affects shrinkage dimensions.

### Material Selection
Compare how different thermal expansion coefficients change the final part shape.

## Benefits

- Quantifies geometric deviations using empirical and thermal-elastic models.
- Accounts for material properties like elastic modulus in every calculation.
- Provides internal force data based on joint restraint.
- Reduces manual math by letting your AI client handle the physics.

## How It Works

You connect the MCP to your client and start asking for specific physical predictions.

1. Connect your AI client to the Vinkius-hosted MCP.
2. Provide material properties and weld parameters to your agent.
3. The agent calls the specific calculation tool needed.
4. The MCP returns the predicted distortion or shrinkage values.
5. Your agent presents the final engineering data to you.

## Frequently Asked Questions

**What models does this MCP use for predictions?**
The MCP supports both empirical and thermal-elastic models to predict internal forces and geometric deviations.

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

**What kind of material data is required?**
You typically need to provide the elastic modulus, thermal expansion coefficient, and yield strength for accurate results.

**Does it calculate both width and length shrinkage?**
Yes, the shrinkage tool calculates linear contractions in both the width and length directions.

**How does it handle joint constraints?**
The get_restraint_analysis tool quantifies the internal forces generated by the constraint of the joint.

**What kind of models does the calculator support?**
The server supports both empirical models, based on historical welding data, and thermal-elastic models, which are based on fundamental physics principles.

**Can I calculate the permanent changes in shape?**
Yes, you can use `evaluate_residual_deformation` to predict permanent geometric deviations after the material has cooled.

**How does restraint affect the results?**
Restraint levels influence both angular distortion and residual stress. You can use `get_restraint_analysis` to quantify the internal forces generated by the joint's constraint.
