Headless Excel engine

The MCP server does not only describe the library: it calculates. It evaluates Excel formulas with the Petroleum Office functions in them, runs any lambda, and recalculates whole blueprints and workbooks on the server, with your edits applied. So you can ask an assistant for an analysis and get the numbers from the same engine the add-in uses, then have it build a chart, a table or a whole dashboard from them. No Excel open.

An example

A decline-curve dashboard: EUR 722.5 MSTB, 28.4 years to the 15 STB/d economic limit, 556.7 MSTB at 10 years, the measured rates against the Arps fit on a log scale, the cumulative curve and the fitted parameters qi 1,020.3 STB/d, Di 0.1576 per month, b 0.93
A dashboard Claude built this way. Every number on it came from the Petroleum Office engine.

How this one was made

The prompt:

Use Petroleum Office MCP. Fit an Arps decline to these 24 months of oil rate
(STB/d): 895, 751, 713, 600, 569, 528, 458, 456, 409, 395, 353, 357, 318, 311,
301, 267, 271, 252, 251, 227, 227, 212, 217, 199. Forecast to a 15 STB/d economic
limit and build me a dashboard: EUR, time to the limit, the rate history against
the fit, and the cumulative curve.

Claude called PO.DCA.Arps.Fit on the history through the server's formula engine, then PO.DCA.Arps.Rate, .Prod, .EUR and .Time for the forecast, and drew the page from the answers. The figures match the Arps Decline Forecast blueprint, which carries the same reference well: qi 1,020 STB/d, Di 0.1576 per month, b 0.93, EUR 722.5 MSTB.

What you can ask the engine for

  • One formula or a batch of up to 200, Petroleum Office functions included, with array results such as a forecast series.
  • Any lambda from the catalog, by name, with your inputs.
  • A blueprint or workbook recalculated with your inputs, read back cell by cell.
  • Sensitivities: the same model run several ways in one call, and goal seek for the input that hits a target.
More example prompts
  • "Use Petroleum Office MCP. Calculate bubble-point pressure with Standing's correlation: API 35, γg 0.75, GOR 600 scf/STB, 180 °F."
  • "Use Petroleum Office MCP. What's the gas Z-factor at 4,500 psia, 220 °F, γg 0.72 using Hall-Yarborough?"
  • "Use Petroleum Office MCP. Compare Vogel vs Standing vs Fetkovich IPR for Pr = 3,500 psia, Pwf sweep 500 → 3,500 psia in 100-psi steps. Build a table and overlay the three curves on one chart."
  • "Use Petroleum Office MCP. Run Hagedorn-Brown for these 8 tubing-head pressures. Plot pressure traverse for each on a single depth-vs-pressure chart. Annotate the bubble-point depth."
  • "Use Petroleum Office MCP. For this 10-well dataset [paste], compute EUR using best-fit Arps per well. Output a summary CSV with well name, Qi, Di, b, EUR, time-to-eur."
  • "Use Petroleum Office MCP. Build me a relative-permeability table from Corey parameters Swc=0.2, Sor=0.3, Krw_max=0.4, Kro_max=0.9, nw=2.5, no=2.0. Plot the three curves."

Ready to try it? Connect the MCP server