pyResToolbox

v1.0.0Data Science & MLstable

Model Context Protocol (MCP) server for AI-powered reservoir engineering calculations. Integrates pyResToolbox with Claude AI for PVT analysis, well performance, simulation support, and more. 47 production-ready tools using industry-standard correlat

pyrestoolbox-mcp-servermcpai-integration
Share:
41
Stars
0
Downloads
0
Weekly
0/5

What is pyResToolbox?

pyResToolbox is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol (mcp) server for ai-powered reservoir engineering calculations. integrates pyrestoolbox with claude ai for pvt analysis, well performance, simulation support, and more. 47 produ...

Model Context Protocol (MCP) server for AI-powered reservoir engineering calculations. Integrates pyResToolbox with Claude AI for PVT analysis, well performance, simulation support, and more. 47 production-ready tools using industry-standard correlat

This server falls under the Data Science & ML category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Model Context Protocol (MCP) server for AI-powered reservoir

Use Cases

Perform PVT analysis for reservoir engineering.
Calculate well performance metrics with 47 production tools.
Use industry-standard correlations for simulation support.
gabrielserrao

Maintainer

LicenseGPL 3.0
Languagepython
Versionv1.0.0
UpdatedMay 11, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx pyrestoolbox-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use pyResToolbox

pyResToolbox MCP Server integrates the pyResToolbox petroleum engineering library with AI assistants via the Model Context Protocol, exposing 108 production-ready tools for reservoir engineering workflows. It covers Oil and Gas PVT analysis, well performance (IPR curves, VLP correlations), decline curve analysis (Arps, Duong), material balance, geomechanics, relative permeability tables, and heterogeneity metrics — all using industry-standard correlations. Engineers can run complete reservoir studies, generate simulation input tables, and compare analytical methods interactively through natural language without switching between spreadsheets or Python scripts.

Prerequisites

  • Python 3.10 or newer installed on your machine
  • UV package manager (recommended) or pip — install UV via: curl -LsSf https://astral.sh/uv/install.sh | sh
  • Claude Desktop or another MCP-compatible client
  • Git to clone the repository
  • No external API keys required — the library runs entirely locally
1

Clone the repository

Clone the pyrestoolbox-mcp repository to your local machine and enter the project directory.

git clone https://github.com/gabrielserrao/pyrestoolbox-mcp.git
cd pyrestoolbox-mcp
2

Install dependencies with UV

Install the Python dependencies using UV (10-100x faster than pip). The project uses FastMCP 3.1+ as its MCP framework.

make uv-install && make uv-test
3

Find your UV binary absolute path

Claude Desktop is a GUI app and does not inherit your terminal PATH. You must use the absolute path to the UV binary in the config — never use ~ or relative paths.

which uv
# Example output: /Users/yourname/.local/bin/uv
4

Configure Claude Desktop

Open your Claude Desktop config file and add the pyrestoolbox server. Replace the paths with your actual absolute paths to the uv binary and the cloned project directory.

{
  "mcpServers": {
    "pyrestoolbox": {
      "command": "/Users/yourname/.local/bin/uv",
      "args": [
        "run",
        "--directory",
        "/Users/yourname/projects/pyrestoolbox-mcp",
        "fastmcp",
        "run",
        "server.py"
      ]
    }
  }
}
5

Restart Claude Desktop

Fully quit and reopen Claude Desktop so it picks up the new MCP server configuration. You should see the pyrestoolbox tools available in the tool list.

pyResToolbox Examples

Client configuration

Claude Desktop config block for pyResToolbox MCP Server using UV runner with absolute paths.

{
  "mcpServers": {
    "pyrestoolbox": {
      "command": "/Users/yourname/.local/bin/uv",
      "args": [
        "run",
        "--directory",
        "/Users/yourname/projects/pyrestoolbox-mcp",
        "fastmcp",
        "run",
        "server.py"
      ]
    }
  }
}

Prompts to try

These prompts demonstrate the reservoir engineering capabilities across PVT, well performance, and simulation table generation.

- "Calculate bubble point pressure for 35° API oil at 180°F with 800 scf/stb solution GOR and 0.75 gas gravity"
- "Compare Z-factors using DAK, HY, and WYW methods for gas SG 0.7 at 3500 psia, 180°F"
- "Generate IPR curve: Pi=4000 psia, Pb=3500 psia, API 38, 175°F, 75 ft pay, 150 mD, skin=-2"
- "Create SWOF relative permeability table using Corey with 25 rows, kromax=1.0, swc=0.15, sorw=0.15"
- "Run complete reservoir analysis: bubble point, PVT table, and IPR curve for 38° API oil at 175°F, Pi=4000 psia"

Troubleshooting pyResToolbox

Claude Desktop cannot find the uv command or server fails to start

GUI applications do not inherit your shell PATH. Run 'which uv' in your terminal to get the absolute path and use that exact path in the 'command' field of the config — never use ~ or relative paths.

Tools appear but calculations return unexpected results

The server defaults to Field units (psia, °F, ft, mD). If you need metric results, include 'metric: true' in your prompt or ask the AI to switch to metric units (barsa, °C, m).

make uv-install fails with dependency errors

Ensure Python 3.10 or newer is active. Run 'python --version' to check. If using pyenv or conda, activate the correct environment before running make commands.

Frequently Asked Questions about pyResToolbox

What is pyResToolbox?

pyResToolbox is a Model Context Protocol (MCP) server that model context protocol (mcp) server for ai-powered reservoir engineering calculations. integrates pyrestoolbox with claude ai for pvt analysis, well performance, simulation support, and more. 47 production-ready tools using industry-standard correlat It connects AI assistants to external tools and data sources through a standardized interface.

How do I install pyResToolbox?

Follow the installation instructions on the pyResToolbox GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with pyResToolbox?

pyResToolbox works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is pyResToolbox free to use?

Yes, pyResToolbox is open source and available under the GPL 3.0 license. You can use it freely in both personal and commercial projects.

Browse More Data Science & ML MCP Servers

Explore all data science & ml servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "pyrestoolbox-mcp-server": { "command": "npx", "args": ["-y", "pyrestoolbox-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use pyResToolbox?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides