# Smart Pig Inspection Planning AI Agent Connect

> Optimize pipeline inspection programs using degradation physics and historical data.

## Overview
- **Category:** predictive-maintenance
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_9VJ7QsRcnqnQfywKwJiX189nsPMMbT0QIImILaDs/ai-agent-connect
- **Tags:** pipeline, inspection, mfl, ultrasonic, risk-assessment

## Description

This MCP server provides intelligent decision support for pipeline operators. It uses degradation models to calculate optimal inspection intervals, determine necessary tool requirements like MFL or UT, and predict expected findings. Operators can assess risk levels to ensure pipeline integrity through data-driven planning.

## Tools

### determine_tool_requirements
Identifies which tool types and sensitivity levels are necessary for a specific pipeline segment

### evaluate_inspection_risk
Assesses the risk profile of the current inspection plan

### plan_inspection_interval
Determines the optimal time until the next inspection is required

### predict_inspection_findings
Forecasts the types and quantities of defects likely to be found in the next inspection

## Prompt Examples

**Prompt:** 
```
When should we next inspect pipeline P-101 if the degradation rate is 0.05 and the threshold is 2.0?
```

**Response:** 
```
The next inspection for pipeline P-101 is scheduled for 2026-05-15 with a confidence level of 0.92.
```

**Prompt:** 
```
What tool do I need to detect corrosion in pipeline P-202?
```

**Response:** 
```
For corrosion detection in pipeline P-202, an MFL tool is recommended with a minimum resolution of 0.5.
```

**Prompt:** 
```
What is the risk level for a 5-year interval on pipeline P-303?
```

**Response:** 
```
The risk score for a 5-year interval on pipeline P-303 is 0.75, which is classified as High risk.
```

## Frequently Asked Questions

**How is the next inspection date calculated?**
The `plan_inspection_interval` tool calculates the date by modeling the time it takes for a detected flaw to reach a critical threshold based on the current degradation rate.

**Can I determine which tool to use for corrosion?**
Yes, using `determine_tool_requirements` with a target flaw type of 'corrosion' will recommend appropriate tools like MFL or UT.

**How accurate are the predicted findings?**
The `predict_inspection_findings` tool generates forecasts by projecting historical flaw data forward using established degradation models.
