Skip to main content

MCP server for petroleum engineering calculations

Project description

petro-mcp

Python 3.10+ License: MIT

A Model Context Protocol server for petroleum engineering calculations.

Install

pip install petro-mcp

Run

petro-mcp                              # start the MCP server (stdio)
petro-mcp --list-tools                 # list available tool groups
petro-mcp --tools las,decline          # load only specific groups
petro-mcp --allowed-paths /data/wells  # restrict file reads to a directory

Tool groups

Group Tools
las Read LAS 2.0 well log files (header, curves, depth-filtered curve data); compare two or more wells
production Load production data from CSV (date, well, oil/gas/water rates)
decline Arps decline-curve fitting (exponential, hyperbolic, harmonic); EUR
pvt Bubble point, black-oil PVT properties, gas Z-factor
petrophysics Shale volume, density porosity, Archie water saturation, net pay
reservoir Volumetric OOIP/OGIP, recovery factor, P/Z gas material balance
units Oilfield unit conversion

Dependencies

  • mcp >= 1.0
  • lasio >= 0.31 (LAS file parsing)
  • numpy >= 1.24
  • scipy >= 1.10

License

MIT.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

petro_mcp-1.1.0.tar.gz (46.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

petro_mcp-1.1.0-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

Details for the file petro_mcp-1.1.0.tar.gz.

File metadata

  • Download URL: petro_mcp-1.1.0.tar.gz
  • Upload date:
  • Size: 46.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for petro_mcp-1.1.0.tar.gz
Algorithm Hash digest
SHA256 03989d4c9f7a64812082be204b8dfe303bcef33840068b7ad1581845dcc0393a
MD5 0834438b4e4a6e25a1aec73e62978401
BLAKE2b-256 3f132f1de1fb37397aecdf7d41ba38744d93f667d4e4c6d656be992c060feb0c

See more details on using hashes here.

File details

Details for the file petro_mcp-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: petro_mcp-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 35.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for petro_mcp-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b926bd116e8c96bbcc714c9b741c9930e3f4ef112d240c7e445d5ab3143ee5c
MD5 37b478e90210d171a5b6a48b11bcce1b
BLAKE2b-256 ec9fde5b2a9c23d1e9da5a50a6203e5472b202ba7e1227cc1dfacdbb61ede61c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page