OPM

•
5
•

Bridges Claude to the Open Porous Media (OPM) reservoir-simulation stack, enabling AI-driven interaction with petroleum engineering tools.

opm-mcp is a Model Context Protocol (MCP) server designed to give AI agents like Claude direct programmatic access to the Open Porous Media (OPM) reservoir-simulation stack. It runs natively on Windows but intelligently delegates Linux-only binaries (like OPM Flow, ResInsight, and various OPM utilities) to an Ubuntu distro under WSL2. This hybrid architecture ensures seamless operation, allowing Claude Code/Desktop to spawn the server and leverage powerful simulation tools. Result files are parsed natively on Windows using `resdata`, streamlining the workflow for petroleum engineers and data scientists looking to automate and analyze reservoir simulations with AI.

主な機能

01Integrates OPM Flow, ResInsight, and OPM utility binaries (opmpack, convertECL, summary) via WSL2.
02Parses OPM result files (UNSMRY, UNRST, EGRID) natively on Windows using `resdata`.
03Provides extensive tools for deck inspection, running simulations, and analyzing results (e.g., material balance check, convergence reports).
04Enables automation of ResInsight tasks like generating 3D snapshots and exporting well logs.
05Supports deck editing for sensitivity analysis and history matching through safe override mechanisms.
060 GitHub stars

ユースケース

01Automating complex petroleum engineering workflows, including deck preparation, simulation execution, and result interpretation.
02Performing AI-driven reservoir simulation and analysis with Claude on Windows-based systems.
03Conducting sensitivity studies, history matching, and comparative analysis of reservoir models through programmatic deck manipulation and simulation runs.