Connect to the Petroleum Office MCP Server

Step-by-step setup instructions for connecting your AI assistant to Petroleum Office. Once connected, the assistant gains access to the full function catalog, all blueprints, and theory documentation.

Server endpoint

https://mcp.petroleumoffice.com/

The address is all you need. You don't enter a client ID, a client secret or an API key, and you don't change any settings. When you add the server, your assistant asks you to sign in with your Petroleum Office account, and the connection is made.

We've checked this end to end in Claude, ChatGPT, Grok and Cursor.

Connect once, use it everywhere

Add the server once, on the assistant's website, signed in to your account there. The connection then follows your account into that assistant's other apps:

Connect on the web in Then it's also available in
Claude (claude.ai) Claude Code and Claude in Excel
ChatGPT (chatgpt.com) Codex and ChatGPT in Excel
Grok (grok.com) Grok in Excel
Cursor (cursor.com) Cursor's cloud agents and the Grok bot in Cursor

Start a new conversation in the other app to pick up the connection.

What needs a licence

Any signed-in Petroleum Office account can search, list and read the whole catalog: functions, lambdas, blueprints and workbooks. Calculating needs an active licence. That covers four tools: functions_calc and the three headless-engine tools, excel_engine_formula_calc, excel_engine_lambda_calc and excel_engine_workbook_calc.

Without a licence the assistant still connects and still sees every tool. When it asks for a calculation, it gets a message saying the account has no licence, with a link to pricing, and it can keep reading the catalog for you. The licence is the same one the Excel add-in uses, tied to your sign-in email, so sign the connector in with the account that holds it. A new or renewed licence reaches the server within a few minutes. Companies can start with a first-year company trial, and students and staff at participating universities use it free through the Academic Program.

Permissions the connection asks for

Part way through the sign-in, your assistant shows a permissions screen. The server asks for two things:

Scope What it covers
email The email address on your Petroleum Office account
profile Your basic account profile — name and user ID

Between them they let the server tell which account is calling, so your licence and your rate limits resolve to you. They cover identity and nothing else: no access to your mailbox, no access to files or workbooks on your machine, and no ability to change your Petroleum Office account. Approve the screen as it is.

Adding to Claude

The same connector covers claude.ai web, the Claude desktop app, and Claude for Excel — Anthropic propagates custom connectors across all your Claude surfaces.

  1. Open claude.ai (or the Claude desktop app).
  2. Go to Settings → Connectors.
  3. Click Add custom connector.
  4. Enter the server URL: https://mcp.petroleumoffice.com/
  5. Sign in with your Petroleum Office account when prompted, and approve the permissions screen.
  6. The connector is now active across all your Claude surfaces.

After connecting, the Petroleum Office tools become available in any new Claude conversation. In Claude for Excel, the tools fire automatically when the agent needs petroleum engineering context.

First prompts to try

  • "Calculate bubble-point pressure with Standing's correlation: API 35, gas gravity 0.75, GOR 600 scf/STB, 180 °F."
  • "Build me a small PVT package workbook for a black-oil reservoir at 4,500 psia, 220 °F."
  • "Search Petroleum Office blueprints for decline curve analysis examples."

Claude can also run a whole analysis on the server with no Excel open. This decline-curve dashboard was built from the engine's answers to PO.DCA.Arps.Fit, .Rate, .Prod, .EUR and .Time:

A decline-curve dashboard Claude built with the Petroleum Office MCP server and no Excel open: the fitted Arps curve over the history, EUR 722.5 MSTB, 28.4 years to the economic limit

Adding to ChatGPT

Custom MCP servers are available on ChatGPT's paid plans.

  1. In ChatGPT on the web, open the connectors settings and add a custom MCP server. On Business, Enterprise and Edu plans, a workspace admin may need to allow custom servers first.
  2. Enter the server URL: https://mcp.petroleumoffice.com/
  3. Sign in with your Petroleum Office account and approve the permissions screen.

ChatGPT moves these settings from time to time; its own help has the current menu names.

Adding to Grok

  1. Open grok.com and sign in.
  2. Navigate to Settings → Connectors (or Integrations → MCP servers depending on your plan).
  3. Add a new MCP server with URL: https://mcp.petroleumoffice.com/
  4. Sign in with your Petroleum Office account and grant the connection — Petroleum Office tools become available in chat.

Grok works best as a research and screening surface today — catalog browse, theory doc lookup, comparing methods.

Adding to Cursor

These steps are for Cursor on the web, signed in to your Cursor account.

  1. Open cursor.com, sign in, and open your account's MCP settings, where you add a custom MCP server.
  2. Enter the server URL: https://mcp.petroleumoffice.com/
  3. Sign in with your Petroleum Office account when prompted, and approve the permissions screen.

Cursor moves these settings from time to time; its own help has the current menu names.

Other clients

Any other assistant that supports remote MCP servers connects the same way: add the server URL and sign in. For a client that only runs local MCP servers, wrap the remote server with:

npx mcp-remote https://mcp.petroleumoffice.com/

Connected earlier with a client ID?

A connector you added earlier with a client ID keeps working for now. We recommend removing it and adding it again with just the URL, as above.

Troubleshooting

The sign-in window doesn't open or fails to redirect

  • Make sure pop-ups aren't blocked for petroleumoffice.com.
  • Sign in to your Petroleum Office account first at petroleumoffice.com, then retry the connector setup.

The connection fails after you sign in

  • Remove the connector and add it again with just the server URL. Don't fill in a client ID or client secret, and leave the permissions as the assistant offers them.

Tools don't appear after connecting

  • Start a fresh conversation in your client — existing conversations don't always pick up newly-added connectors.
  • Verify the connector is listed and enabled in your client's connector settings.

A calculation says "License required" or "License expired"

  • The account the connector signed in with has no active licence. Check its status on your profile, or see pricing. If your licence is on a different email, remove the connector and add it again, signing in with that account.
  • "License check unavailable" means the licence service could not be reached. Try again in a minute.

Calculations return errors

  • Each tool documents its expected inputs. Ask the assistant to "show the parameter signature for functions_calc" — it will pull the catalog entry directly.

Tags: mcp · mcp-server · mcp-connect · mcp-claude · mcp-chatgpt · mcp-grok · mcp-cursor