# Horizontal Well IPR Analyzer MCP. AI Agent Connect

> Horizontal Well IPR Analyzer MCP provides specialized modeling tools for horizontal well performance. Your AI client uses it to calculate IPR curves, determine Absolute Open Flow, and find the ideal drawdown. It accounts for reservoir anisotropy, two-phase flow, and solution gas drive to ensure your production models reflect real-world reservoir conditions.

## Overview
- **Category:** oil-and-gas
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_6Izxee6jqJcvhjvPoXh9m1GWLPcQaaA1xtCpAFsL/ai-agent-connect
- **Tags:** ipr, horizontal-well, reservoir, production, petroleum

## Description

You can now run complex horizontal well inflow models directly through your AI client. This MCP handles the heavy lifting of reservoir physics, specifically focusing on horizontal wellbore configurations. Instead of manually calculating pressure drops or flow rates, you tell your agent the reservoir parameters and it returns the data you need. 

It accounts for critical variables like reservoir anisotropy and two-phase flow impacts. If you are dealing with solution gas drive, the math is already handled. You can use it to map out the relationship between bottomhole pressure and flow rates or to pinpoint the exact pressure drop needed to hit peak production efficiency. It turns your AI into a specialized petroleum engineering assistant that understands the nuances of horizontal completions.

## Tools

### analyze_two_phase_impact
This tool evaluates how gas presence affects your inflow performance. It helps you understand how two-phase flow changes the well's behavior.

### calculate_aof
This tool determines the Absolute Open Flow (AOF) for your well. It gives you the theoretical maximum flow rate based on your reservoir data.

### calculate_ipr_curve
This tool generates IPR curve data points. It calculates flow rates across a range of bottomhole pressures to model the inflow relationship.

### calculate_optimal_drawdown
This tool identifies the ideal pressure drop for your well. It finds the specific drawdown that maximizes production efficiency.

## Prompt Examples

**Prompt:** 
```
Generate an IPR curve for a well with 3000 psi reservoir pressure, 2500 psi bottomhole pressure, 1000 ft length, 50 mD permeability, 0.5 anisotropy, and fluid properties including viscosity and GOR.
```

**Response:** 
```
The calculated IPR curve shows a flow rate of 1250 STB/d at a bottomhole pressure of 2500 psi.
```

**Prompt:** 
```
What is the absolute open flow for a well with 4000 psi reservoir pressure, 1500 ft length, 100 mD permeability, and 0.4 anisotropy?
```

**Response:** 
```
The Absolute Open Flow (AOF) for this well is 4500 STB/d.
```

**Prompt:** 
```
Find the optimal drawdown for a reservoir at 3500 psi with 800 ft horizontal length and 40 mD permeability.
```

**Response:** 
```
The optimal drawdown is 850 psi, which yields an expected flow rate of 1800 STB/d.
```

## Capabilities

### IPR Curve Generation
Your agent uses this to map flow rates against bottomhole pressure ranges.

### AOF Calculation
The AI uses this to find the theoretical maximum flow rate for a specific well.

### Two-Phase Flow Analysis
Your agent applies this to see how gas presence impacts inflow performance.

### Drawdown Optimization
The AI calculates the best pressure drop to maximize production efficiency.

### Anisotropy Modeling
The tool incorporates reservoir anisotropy into its performance calculations.

## Use Cases

### Well Performance Modeling
Generate full IPR curves to visualize how bottomhole pressure changes affect flow rates.

### Production Optimization
Find the exact drawdown needed to maximize the efficiency of a horizontal well.

### Gas Impact Assessment
Analyze how the presence of gas in the reservoir changes the inflow performance.

### Capacity Planning
Use AOF calculations to estimate the maximum production capacity of a new well.

## Benefits

- Calculates IPR curves using reservoir anisotropy and two-phase flow data.
- Determines optimal drawdown to hit peak production efficiency.
- Provides theoretical maximum flow rates via AOF calculations.
- Handles complex solution gas drive physics automatically.

## How It Works

You connect the MCP to your AI client and start prompting with reservoir data.

1. Connect your AI client to the Vinkius-hosted MCP.
2. Provide reservoir parameters like pressure, permeability, and well length to your agent.
3. The agent invokes the specific calculation tool needed for your request.
4. The MCP processes the physics, including anisotropy and two-phase flow.
5. Your agent delivers the resulting flow rates or pressure values.

## Frequently Asked Questions

**What kind of wells does this MCP model?**
This MCP is specifically designed for modeling the inflow performance of horizontal wells.

**Does it account for gas in the reservoir?**
Yes, the tool includes analysis for two-phase flow impacts and solution gas drive.

**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 is the purpose of the AOF tool?**
The calculate_aof tool determines the theoretical maximum flow rate for a well based on your input data.

**How does it handle reservoir anisotropy?**
The modeling tools incorporate anisotropy into the calculations to ensure accurate performance metrics for horizontal wellbores.
