# Petrophysical Analysis AI Agent Connect

> Perform detailed petrophysical evaluations including Archie parameter calculation and water saturation modeling.

## Overview
- **Category:** energy
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_GK1DLf5Um3D7TPuoFpLHmbBTYiwBYKiwJgViF58R/ai-agent-connect
- **Tags:** petrophysics, reservoir, saturation, archie, geology

## Description

This MCP server provides specialized tools for reservoir rock evaluation. It allows AI agents to calculate fundamental rock constants using `calculate_archie_parameters`, determine water saturation levels with `compute_water_saturation`, predict vertical saturation distributions via `generate_saturation_height_profile`, and evaluate complex reservoirs using `analyze_dual_porosity_system`.

## Tools

### calculate_archie_parameters
Determines the fundamental rock constants required for electrical saturation modeling

### analyze_dual_porosity_system
Evaluates saturation in complex reservoirs containing both matrix and fracture porosity

### compute_water_saturation
Calculates the water saturation level for a specific depth or interval

### generate_saturation_height_profile
Predicts the vertical distribution of water saturation within a reservoir column

## Prompt Examples

**Prompt:** 
```
Calculate the Archie constants for this resistivity data: [{'res': 10, 'sw': 0.2}, {'res': 15, 'sw': 0.15}] and porosity data: [{'phi': 0.12}, {'phi': 0.15}].
```

**Response:** 
```
{ "a": 1.0, "m": 2.0, "n": 2.0 }
```

**Prompt:** 
```
What is the water saturation if formation resistivity is 20, water resistivity is 0.05, porosity is 0.15, and Archie constants are {'a': 1, 'm': 2, 'n': 2}?
```

**Response:** 
```
{ "sw": 0.25, "swSquared": 0.0625 }
```

**Prompt:** 
```
Predict the saturation profile for a reservoir with permeability 100, porosity 0.2, and capillary pressure data: [{'pc': 5}, {'pc': 10}] at heights [1, 2].
```

**Response:** 
```
[{"height": 1, "sw": 0.4}, {"height": 2, "sw": 0.3}]
```

## Frequently Asked Questions

**How do I calculate Archie constants?**
You can use the `calculate_archie_parameters` tool by providing resistivity and porosity data from core samples.

**Can this tool handle clay effects?**
Yes, the `compute_water_saturation` tool includes an optional clay correction parameter to account for conductive clay minerals.

**Does it support dual-porosity reservoirs?**
Yes, the `analyze_dual_porosity_system` tool is specifically designed to evaluate saturation in reservoirs with both matrix and fracture porosity.
