# Pipeline Integrity Management AI Agent Connect

> Plan and manage pipeline integrity programs using risk-based methodologies.

## Overview
- **Category:** infrastructure
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_7RaYRv9pzsSGP3pOQgynoDOXIdvCzAp3S3NzlGph/ai-agent-connect
- **Tags:** pipeline, integrity, risk-assessment, compliance, maintenance

## Description

This MCP server provides a specialized system for planning and managing pipeline integrity programs. It uses the Pipeline Integrity Management System (PIMS) framework to identify and mitigate threats. Users can evaluate segment risks with `get_risk_profile`, determine inspection frequencies using `calculate_inspection_schedule`, prioritize repairs via `generate_maintenance_plan`, and verify legal standing with `evaluate_regulatory_compliance`. It is designed to handle High Consequence Areas (HCA) and various inspection methods like ILI and Direct Assessment.

## Tools

### calculate_inspection_schedule
Determines the required frequency for future inspections

### evaluate_regulatory_compliance
Checks if the current integrity program meets legal and standard mandates

### generate_maintenance_plan
Ranks and lists pipeline segments that require immediate attention

### get_risk_profile
Evaluates the current risk level of a specific pipeline segment

## Prompt Examples

**Prompt:** 
```
What is the risk profile for segment ID 5502?
```

**Response:** 
```
The risk score for segment 5502 is 75, it is located in a High Consequence Area, and the primary threats identified are corrosion and external interference.
```

**Prompt:** 
```
When is the next ILI inspection due for segment 1024?
```

**Response:** 
```
The next ILI inspection for segment 1024 is due on 2025-06-15, with a recommended interval of 24 months.
```

**Prompt:** 
```
Show me critical maintenance items that need attention.
```

**Response:** 
```
The following segments require critical maintenance: Segment 882 (Priority: 92, Action: Immediate Pressure Test) and Segment 415 (Priority: 88, Action: Repair coating degradation).
```

## Frequently Asked Questions

**How do I check if a pipeline segment is in a High Consequence Area?**
You can use the `get_risk_profile` tool. It returns an `isHca` boolean indicating if the segment is located within a High Consequence Area.

**Can I schedule inspections for specific methods like ILI?**
Yes, the `calculate_inspection_schedule` tool allows you to specify the `inspectionMethod`, including ILI, DA, or Pressure Testing.

**How are maintenance tasks prioritized?**
Maintenance tasks are ranked using `generate_maintenance_plan`, which calculates priority based on risk scores, segment age, and time since the last inspection.
