petro-mcp

v1.1.2
io.github.petropt/petro-mcp Checked 3 hours ago Published 3 months ago

MCP server for petroleum engineering: LAS logs, decline curves, PVT, petrophysics, volumetrics.

Starts only with mcp<2 (written for an older SDK); the install commands pin it.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add petro-mcp -- uvx --with 'mcp<2' petro-mcp==1.1.2
Add to claude_desktop_config.json
{
  "mcpServers": {
    "petro-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "petro-mcp==1.1.2"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "petro-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "petro-mcp==1.1.2"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "petro-mcp": {
      "args": [
        "--with",
        "mcp<2",
        "petro-mcp==1.1.2"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.petro-mcp]
command = "uvx"
args = ["--with", "mcp<2", "petro-mcp==1.1.2"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: query_production, read_las, get_curve_values, compare_logs, calculate_pvt_properties, calculate_bubble_point, calculate_gas_z, pz_analysis, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json