# Corrosion Rate Calculator AI Agent Connect

> Calculate corrosion rates, penetration depth, and remaining service life from weight loss or electrochemical data.

## Overview
- **Category:** engineering
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_o8TM9Aem9KuqGa0ZwjCnG6FylEsOBPsCXwdIXHWu/ai-agent-connect
- **Tags:** corrosion, metallurgy, maintenance, engineering, material-science

## Description

This MCP server provides specialized tools for analyzing metal degradation. It allows users to determine uniform corrosion rates using the weight loss method via `calculate_weight_loss_rate`, estimate rates from electrochemical measurements with `calculate_electrochemical_rate`, and predict the remaining service life of components using `predict_remaining_life`. It also includes functionality to assess the risk of pitting through `estimate_localized_impact`.

## Tools

### estimate_localized_impact
Adjusts the perceived risk when localized corrosion (pitting) is detected

### calculate_electrochemical_rate
Estimates the corrosion rate based on electrochemical measurements

### calculate_weight_loss_rate
Calculates the uniform corrosion rate using physical weight measurements

### predict_remaining_life
Estimates how much time remains before a component becomes unsafe

## Prompt Examples

**Prompt:** 
```
Calculate the corrosion rate for a specimen that lost 0.5g, had an initial weight of 50g, a surface area of 20cm2, was exposed for 100 hours, and has a density of 7.85 g/cm3. Use mpy.
```

**Response:** 
```
The calculated corrosion rate is 1.25 mpy with a penetration depth of 0.03175 mm.
```

**Prompt:** 
```
Estimate the remaining life if the current thickness is 10mm, the corrosion rate is 0.1 mm/yr, and the minimum thickness is 5mm.
```

**Response:** 
```
The estimated remaining life is 50 years.
```

**Prompt:** 
```
What is the localized impact if the uniform rate is 0.05 mm/yr and the pitting factor is 5?
```

**Response:** 
```
The localized corrosion rate is 0.25 mm/yr, which indicates a high risk level.
```

## Frequently Asked Questions

**What units of measurement are supported?**
The tools support both mils per year (mpy) and millimeters per year (mm/yr) for corrosion rate outputs.

**How do I calculate the remaining life of a part?**
You can use the `predict_remaining_life` tool by providing the current thickness, the measured corrosion rate, and the minimum allowable thickness.

**Can I account for pitting corrosion?**
Yes, the `estimate_localized_impact` tool allows you to apply a pitting factor to the uniform corrosion rate to determine the localized rate and risk level.
