# Equivalent Circulating Density (ECD) Calculator AI Agent Connect

> Calculate ECD profiles, cuttings impact, and environmental adjustments for drilling fluids.

## Overview
- **Category:** oil-and-gas
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_z3rg8Ho3B8GFZXZZKPqbXzl6aWeXlNADI95WeMB3/ai-agent-connect
- **Tags:** ecd, mud-weight, drilling, rheology, pressure-analysis

## Description

This MCP server provides critical drilling engineering calculations. It allows AI agents to determine the Equivalent Circulating Density (ECD) at specific depths using `calculate_ecd_profile`. It also assesses how rock fragments increase density via `calculate_cuttings_impact`, compares static and dynamic pressure states with `compare_static_dynamic_states`, and adjusts mud properties for temperature and pressure using `adjust_for_environment`.

## Tools

### adjust_for_environment
Modify the baseline mud properties based on the thermal and pressure environment at depth

### calculate_cuttings_impact
Assess how the concentration of rock fragments in the annulus increases the effective density

### calculate_ecd_profile
Determine the ECD at various specific depths within the wellbore

### compare_static_dynamic_states
Provide a direct comparison between the pressure exerted when the pumps are off versus when they are on

## Prompt Examples

**Prompt:** 
```
Calculate the ECD profile for a mud weight of 10.5 ppg, flow rate of 500 gpm, hole diameter of 8.5 inches, pipe diameter of 5 inches, rheology of {viscosity: 25, yieldPoint: 15}, at depths 5000, 7000, and 10000 feet.
```

**Response:** 
```
At 5000 ft, the ECD is 10.62 ppg. At 7000 ft, the ECD is 10.65 ppg. At 10000 ft, the ECD is 10.68 ppg.
```

**Prompt:** 
```
What is the impact of 5% cuttings concentration on a 12.0 ppg mud with an annular velocity of 150 ft/min?
```

**Response:** 
```
The effective density is 12.45 ppg, resulting in a density increase of 0.45 ppg.
```

**Prompt:** 
```
Compare static and dynamic pressure for a 11.0 ppg mud at 8000 ft with an annular pressure loss of 200 psi.
```

**Response:** 
```
The static pressure is 4573 psi and the dynamic pressure is 4757 psi, with a pressure differential of 184 psi.
```

## Frequently Asked Questions

**How can I calculate the ECD at different depths?**
You can use the `calculate_ecd_profile` tool by providing the mud weight, flow rate, hole and pipe diameters, rheology parameters, and the list of target depths.

**Does this tool account for temperature changes?**
Yes, the `adjust_for_environment` tool allows you to modify baseline mud weight and viscosity based on local temperature and bottom hole pressure.

**Can I see the difference between static and dynamic pressure?**
Yes, the `compare_static_dynamic_states` tool provides a direct comparison between static pressure and dynamic pressure including the differential.
