• DATA
  • MATH
  • TRENDS
  • HUMAN

How to calculate energy market spreads with your AI

Connect OilPrice to your AI client to pull live benchmark data. Once connected, your agent handles the math for crude and product spreads.

Ask AI about this page

Short answer

How can I use AI to calculate energy spreads?

Your AI uses the OilPrice MCP to fetch current prices for WTI, Brent, and diesel. It then subtracts the benchmarks to give you the exact spread you're looking for. You get precise price differentials without manual data entry.

The results you get

Market intelligence outcomes

The AI processes raw price data into clear market insights.

DATA

Live price feeds

The AI pulls the latest WTI, Brent, and diesel prices. You get the raw numbers used for every calculation.

MATH

Instant spread calculation

Your agent calculates the difference between any two benchmarks. It handles the subtraction so you don't have to.

TRENDS

Relative value insights

By comparing crude to refined products, the AI identifies where value is shifting in the market.

HUMAN

Trade execution

The AI provides the numbers, but you decide when to act on the spread. It doesn't place trades for you.

The workflow

What your AI does when the request arrives.

The AI moves from raw data retrieval to mathematical output in seconds.

  1. Fetch crude benchmarks

    The AI pulls the current market price for WTI or Brent to set the baseline.

    get_wti_priceget_brent_price
  2. Get product pricing

    It retrieves the latest diesel prices to compare against the crude benchmarks.

    get_diesel_price
  3. Compute the spread

    The agent performs the subtraction between the crude price and the refined product price.

    get_diesel_price
  4. Format the report

    The AI presents the spread, the individual prices, and the direction of the move in a clean format.

    get_wti_priceget_brent_price

Try it

Copy these to start.

Use these prompts to trigger the OilPrice tools immediately.

Starting points

These are basic requests. Swap out the specific products or benchmarks to fit your specific trade interest.

OilPriceAPI Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_NfykbC3ULlUI7qdsGwxlsnly7LXjTgbuYZiJyjyc/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — OilPriceAPI capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "oilprice-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_NfykbC3ULlUI7qdsGwxlsnly7LXjTgbuYZiJyjyc/mcp"
    }
  }
}
Copy into chat04
  • Calculate the current spread between Brent and diesel.

  • What is the WTI to Brent spread right now?

  • Compare the price of diesel against WTI and tell me the difference.

  • Give me a summary of the current spread between Brent and diesel.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect OilPrice once, then ask.

One click connects this MCP to your client. Your credentials stay encrypted and secure while the AI gets direct access to the price tools.

Connect OilPrice to your AI

FAQ

How this task behaves

  • 01

    Can the AI execute trades based on the spreads?

    No. The AI only retrieves price data and performs calculations. You must handle all trading and execution yourself.

  • 02

    Does the AI update my spreadsheets automatically?

    No. The AI provides the calculated spreads in your chat interface. It does not have permission to write to your local files or external sheets.

  • 03

    How often does the price data refresh?

    The AI pulls the most recent price available through the get_wti_price, get_brent_price, and get_diesel_price tools at the moment you ask.

  • 04

    Can I calculate spreads for products other than diesel?

    No. This specific MCP only provides tools for WTI, Brent, and diesel.

  • 05

    Will the AI remember my previous spread calculations?

    The AI's memory depends on your specific AI client's context window, not the OilPrice MCP itself.

  • More questions about OilPrice? The Connector page answers them. See everything the OilPrice Connector can do

Connect OilPriceAPI to Claude, Cursor, ChatGPT & more