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.1.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.1-py3-none-any.whl (35.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: petro_mcp-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2052c3d7bba11e16c61b369dea786f4ac51e1d9184775367731274206980ee10
MD5 c0f0323415acfdc5e3b4ce56e33c0d8e
BLAKE2b-256 8628002562a91395dee6c6a17d0d7fc939cd03a6f0cdc2f9523d1ccb3c3a1beb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: petro_mcp-1.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b9b18cfb54e984725c07cc2fea909ef6166288f1ffd90f831eabe29628fd85a7
MD5 90b8b357d89f47d968f3abcabe344fdf
BLAKE2b-256 558c4f57a2241ce0a7ee9dc777771351bd7f0b76c0cdbc34ebe5cc00b3cfba92

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