Petromcp MCP Server

Local-first MCP server: read LAS well logs and DLIS files from your own disk.

Local serverstdioPython

What is the Petromcp MCP server?

Connect Petromcp to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Local-first MCP server: read LAS well logs and DLIS files from your own disk. The petromcp mcp server is what makes that connection.

What the server does

Read well logs with Claude without the data ever leaving your machine.

Installation

petroleum-mcp on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • read_las_file — Header-level summary of a LAS file
  • summarize_las_curves — Per-curve min, max, mean, stddev, gap percentage
  • read_las_curve — Depths and values for one curve, with sampling cap
  • compare_well_logs — Common curves, depth overlap, unit consistency, flags
  • convert_units — ft<->m, psi<->kPa, psi<->bar, bbl<->m3, degF<->degC, mD<->m2
  • list_supported_units — Every convertible pair with its physical quantity
  • read_dlis_file — DLIS structure: logical files, frames, index types
  • list_dlis_channels — Every DLIS channel with its frame, units, and length
  • read_dlis_channel — One DLIS channel's values, with a sampling cap

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Petromcp.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Among the monitoring and observability options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Petromcp's toolset — read_las_file, summarize_las_curves, read_las_curve and 6 more — is a fair guide to whether it matches your workflow. It is maintained by ameyxd; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Available tools

ToolWhat it does
read_las_fileHeader-level summary of a LAS file
summarize_las_curvesPer-curve min, max, mean, stddev, gap percentage
read_las_curveDepths and values for one curve, with sampling cap
compare_well_logsCommon curves, depth overlap, unit consistency, flags
convert_unitsft<->m, psi<->kPa, psi<->bar, bbl<->m3, degF<->degC, mD<->m2
list_supported_unitsEvery convertible pair with its physical quantity
read_dlis_fileDLIS structure: logical files, frames, index types
list_dlis_channelsEvery DLIS channel with its frame, units, and length
read_dlis_channelOne DLIS channel's values, with a sampling cap

How to install the Petromcp MCP server

{
  "mcpServers": {
    "petromcp": {
      "command": "uvx",
      "args": ["petroleum-mcp", "serve"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Example prompts to try

  • Use Petromcp to read las file.
  • Use Petromcp to summarize las curves.
  • Use Petromcp to read las curve.

Frequently asked questions

It connects Petromcp to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (read_las_file, summarize_las_curves, read_las_curve, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Petromcp directly.