MCP Tool Catalogue

Platform Data Model Context Protocol

MCP Tool Catalogue

Every read-only tool the platform’s MCP server offers: what it covers, what it returns and what to ask it.

Model Context Protocol

Energy data your AI agent can query directly

Connect Claude — or any MCP client — to 28 read-only tools covering U.S. energy prices, retail fuel, inventories, refinery operations, trade flows and the physical supply chain. Ask questions in plain language; the agent calls the data itself.

What sits behind the tools

  • 531,608 observations
  • 630 data series
  • 3,962 geocoded assets
  • 4,609 supply chain links
  • 1970 history begins
  • 521 glossary terms
EIA CFTC OilPriceAPI IRS TCN Rack markets Baker Hughes Newtide data store 531,608 observations 3,962 assets · graph MCP server 28 tools key required Your agent Claude, etc.
Public data is collected on a schedule, stored with full history, and served as tools. Your agent never talks to the upstream APIs.

Get your key

Access is free but not anonymous: every registered user gets their own key, so usage is attributable and a key can be revoked without affecting anyone else.

Create an account Sign in

A free account takes one step and your key is issued straight away. Free accounts are for personal use and have a daily call limit.

Connect a client

The endpoint:

https://newtide.ai/wp-json/toe-energy-dashboard/v1/mcp

Add it to Claude Code:

claude mcp add --transport http toe-energy "https://newtide.ai/wp-json/toe-energy-dashboard/v1/mcp" \ --header "Authorization: Bearer YOUR_API_KEY"

Set-up for Cursor, VS Code and other clients. --transport http is required; without it the CLI assumes a local command and tries to run the URL. Confirm the connection with "claude mcp list" — it should report Connected. Your key is stored in plain text in the client's config file, so never commit it to a repository.

If your platform only accepts a URL

Some hosted agent platforms configure a connector with a URL and nothing else — there is no field for a header. Put the key in the query string instead; the server accepts it there and everything behaves identically.

https://newtide.ai/wp-json/toe-energy-dashboard/v1/mcp?api_key=YOUR_API_KEY

Prefer the header form when your client supports it. A key in a URL is visible to anything that logs request URLs — web servers, proxies and CDNs routinely do, while headers are rarely logged. If you use the URL form, treat that key as more exposed: give the platform its own key rather than reusing one you use elsewhere, and regenerate it from your profile if the configuration is ever shared or exported.

Or call it directly to check access:

curl -sS -X POST "https://newtide.ai/wp-json/toe-energy-dashboard/v1/mcp" \ -H "content-type: application/json" \ -H "authorization: Bearer YOUR_API_KEY" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

What you can ask

You do not call tools yourself — you ask, and the agent decides which to use. These are real questions the tool set answers end to end.

Disruption exposure

“If the Baytown refinery went offline, which rack markets lose supply, and how concentrated are their remaining sources?”

Resolves the name to an asset, walks the physical graph downstream, then scores how many independent sources each affected market has left.

find_infrastructure trace_supply_chain assess_market_resilience

Regional price pressure

“Are diesel pump prices on the West Coast unusually stretched right now compared with their own history, and how does that compare with the Gulf Coast?”

The Retail Pressure Index answers "unusual for this market" rather than merely "rising", using history back to the 1990s.

get_retail_fuel_prices get_price_history

Refining margin check

“What is the 3-2-1 crack spread doing versus a month ago, and does refinery utilisation explain the move?”

Margins, throughput and the underlying product prices in one answer.

get_market_spreads get_refinery_operations get_price_history

Inventory and sentiment

“Are crude inventories tight against the five-year average, and is managed money positioned long or short into that?”

Pairs the physical balance with how traders are actually positioned.

get_inventory_status get_market_positioning

Forward view

“What does the EIA expect diesel to average next year, and how does that compare with where it has traded over the last two years?”

The only forward-looking tool, set against the historical record.

get_price_outlook get_price_history

Supply dependence

“Which countries supply the most U.S. crude imports, and how has that mix shifted over the past year?”

Country-level import and export detail for concentration and geopolitical risk questions.

get_trade_flows get_price_history

Tool catalogue

Every tool is read-only. This list is generated from the running server, so it always matches what your client discovers.

Discovery

  • list_data_series

    List available data series

    Find series codes: commodity and retail prices, pressure indices, inventories, refining, trade, drilling, positioning, forecasts. Codes cannot be guessed: call this before any tool that takes series_code. Shows up to 10 series per category (3 with no query) and a count for every category matched; pass category to list all of one.

    query string
    Text in the code or label, e.g. "diesel", "cushing".
    source string
    e.g. EIA_WPSR, CFTC_COT, EIA_STEO, oilpriceapi.
    category string
    e.g. commodity_price, retail_prices, positioning, forecast. Lists every match in that category.
    per_category integer
    Rows per category when no category is given (default 10, or 3 with no query).
    limit integer
    Max rows in all (default 100, max 500).
  • get_data_status

    Check data freshness

    Newest observation per source, observation counts and graph size. Use to tell a stale number from a missing one.

    No arguments.

Prices & Markets

  • get_energy_price

    Get current energy prices

    Latest spot prices with 24-hour change: Brent, WTI, WCS, Urals, OPEC basket, RBOB, ULSD, heating oil, jet, Henry Hub, TTF, propane, gold, silver, EU carbon. For trends use get_price_history.

    codes array
    Optional commodity codes, e.g. ["WTI_USD","BRENT_CRUDE_USD"]. Omit for all.
  • get_price_history

    Get history for a data series

    Dated values for any series_code, decades back for many EIA series. Long windows are averaged (weekly to annual) to fit the point limit and still end at the latest value. For several series use compare_series.

    series_code string required
    Exact code from list_data_series, e.g. WTI_USD or retail.us.diesel_ulsd.weekly.
    days integer
    Look-back in days (default 365; 20000 for all).
    start_date string
    YYYY-MM-DD; overrides days.
    end_date string
    YYYY-MM-DD (default today).
    interval string
    auto (default: as stored when it fits, else the finest period that fits), raw (as stored; keeps the latest 500), weekly, monthly, quarterly or annual.
    aggregate string
    mean (default) or last (period-end).
  • get_market_spreads

    Get crack spreads and differentials

    3-2-1 and 2-1-1 crack spreads, Brent-WTI, WCS-WTI, ULSD-RBOB, Henry Hub-TTF and jet basis, from current prices.

    No arguments.

  • get_fuel_taxes

    Get motor fuel taxes by state

    Federal and state taxes on gasoline and diesel in cents per gallon, as a dated stack: federal excise, state excise, other state taxes and fees, county and city taxes where a source publishes them, and price-based (sales-type) taxes resolved against a retail price if you pass one. Every component carries its source and effective date. Use it to take taxes out of a retail-minus-rack spread. Omit state for all states.

    state string
    Two-letter state code, e.g. "IL". Omit for every state (totals only).
    product string
    Default gasoline.
    date string
    YYYY-MM-DD; default today. EIA history from 2015.
    county_fips string
    Five-digit county FIPS for the county layer (tabulated: AL, CA district sales tax, FL, GA prepaid, HI, IL, NY, OR). Outside any tabulated city.
    place_fips string
    Seven-digit Census place GEOID for a city tax (e.g. Chicago 1714000, Portland OR 4159000); its county is added unless county_fips is given.
    retail_price number
    Retail price in $/gal, to resolve percent-of-price taxes.
  • get_price_outlook

    Get EIA price forecasts

    EIA Short-Term Energy Outlook forecasts, about 18 months ahead, for WTI, Brent, Henry Hub, gasoline and diesel. The only forward-looking tool.

    No arguments.

  • get_market_positioning

    Get CFTC trader positioning

    CFTC managed-money net positions, share of open interest and weekly change for major energy contracts. Published Fridays for the prior Tuesday.

    No arguments.

Market Data

  • get_series_stats

    Get statistics for a data series

    One series in context: latest value, 1w/1m/1y/5y change, 52-week and all-time high and low, percentile, and the same week across the last five years. For "how high or unusual is X now".

    series_code string required
    A code from list_data_series.
  • compare_series

    Compare series and compute spreads

    Align up to 6 series (A-F) on one frequency with optional transform, rolling average and formula such as "A - B" or "(2*B + C)/3 - A". Returns rows, stats and correlation. For spreads, ratios and co-movement.

    codes array required
    Codes from list_data_series; the first is A, then B, and so on.
    formula string
    Arithmetic on the letters, e.g. "A - B".
    formula_only boolean
    Return only the formula line, not the inputs.
    transform string
    raw (default), index, pct or yoy.
    frequency string
    auto (default), daily, weekly, monthly, quarterly, annual.
    rolling integer
    Rolling-average window in periods (0 = none).
    days integer
    Look-back in days (default 1826).
    start_date string
    YYYY-MM-DD; overrides days.
    end_date string
    YYYY-MM-DD (default today).

Retail Fuel

  • get_retail_fuel_prices

    Get retail pump prices and pressure index

    EIA weekly pump prices since 1990 for the US, PADDs, states and cities; or, with metric pressure, the Retail Pressure Index (RPI-C, 0-100) and its components. For one area.

    geography string
    us (default), padd1-padd5, a state such as tx, or a city such as chicago.
    fuel string
    diesel (default) or gasoline.
    metric string
    price (default) or pressure (RPI-C and components).
    days integer
    History window in days; omit for the latest only.
  • rank_retail_geographies

    Rank retail fuel measures across areas

    Rank every EIA area (US, PADDs, states, cities) by one retail measure for the latest week, with 1-week and 1-year change. For "where is fuel most expensive" or "most pressured".

    fuel string
    gasoline (default) or diesel.
    measure string
    price (default), ma4, ma52, rpi, rpi_c, zsi, vi or ai.
    area_type string
    Optional filter: us, padd, state or city.

Supply & Demand

  • get_inventory_status

    Get petroleum inventories and days of supply

    Weekly EIA crude, gasoline and distillate stocks against their five-year averages, SPR level, and days of supply.

    No arguments.

  • get_refinery_operations

    Get refinery utilization and runs

    Weekly refinery utilization, crude inputs and product stocks, US and by PADD.

    No arguments.

  • get_trade_flows

    Get petroleum and LNG trade flows

    US petroleum imports and exports, LNG and pipeline gas trade, international production and consumption: the latest figures, the week-on-week and month-on-month changes, and recent points. Every series carries its series_code; get_price_history has the full history. With country: that partner's monthly crude trade with the US since 1993.

    flow_type string
    all (default), petroleum, lng, or international.
    country string
    One trade partner, e.g. CAN, Canada, Saudi Arabia.
    months integer
    With country: months of history (default 24, max 400).
    weeks integer
    Weekly points per petroleum series (default 8, max 52).

Physical Supply Chain

  • find_infrastructure

    Search energy infrastructure

    Search refineries, terminals, pipelines, rack markets, ethanol plants, base oil plants, rail yards and junctions by name, place, operator, TCN or RCN. Returns the entity_type and entity_id the other supply tools need.

    query string
    Name, city, operator, TCN (T-76-TX-2818) or RCN (R-35-IN-0044). Every word must match; refineries also match common names ("Baytown").
    entity_type string
    refinery, ethanol_plant, base_oil_plant, crude_pipeline, products_pipeline, rack_terminal, marine_terminal, rack_market, rail_yard, pipeline_junction. Base oil plants inside a refinery are refinery entities whose record carries a base_oil block.
    state string
    Two-letter state.
    limit integer
    Max rows (default 50, max 500).
  • get_infrastructure_entity

    Get an asset profile and its connections

    One asset's published profile and every connection in and out. Terminals add operator-published products; refineries their IRS RCN, also accepted as entity_id.

    entity_type string required
    e.g. refinery, rack_terminal, products_pipeline.
    entity_id string required
    Id, or a name such as "Bozeman, MT".
  • trace_supply_chain

    Trace supply chain upstream or downstream

    Walk named connections from an asset: downstream (where product goes) or upstream (what supplies it). Returns counts by type, hop and state, pipeline systems, and one line per node. For tariff reach use get_supply_footprint.

    entity_type string required
    e.g. refinery, rack_market.
    entity_id string required
    Id, or a name such as "Bozeman, MT".
    direction string
    downstream (default) or upstream.
    depth integer
    Hops to follow, 1-5 (default 2).
    include_edges boolean
    Also list each connection walked (default false).
    node_type string
    List only this type, e.g. rack_market.
    limit integer
    Nodes to list (default 100, max 500); the summary counts all.
  • assess_market_resilience

    Assess a market's supply resilience

    A rack market's supply resilience: distinct sources, mode mix and concentration score. Omit the market for the distribution across all markets.

    market_id string
    Rack market entity_id; omit for all markets.
    city string
    City, resolved to a market when market_id is unknown.
    state string
    Two-letter state, with city.

Supply Network (Tariffs)

  • get_supply_footprint

    Supply footprint: what a refinery feeds, or what can feed a terminal or market

    Reach over published pipeline tariffs. Refinery: pipelines, terminals by state, and rack markets it can reach across up to three carriers. Terminal or market: the pipelines and running refineries that can supply it.

    entity_type string required
    refinery, rack_terminal or rack_market.
    id string required
    Id, TCN, or a name such as "Bozeman, MT".
    state string
    Two-letter state: list the terminals and markets reached there.
    include_terminals boolean
    List every terminal reached (default false: counted by state).
  • get_cost_to_serve

    Cost to serve a terminal or market by pipeline (netback transport leg)

    Pipeline routes into a terminal or market, cheapest first: cents/bbl and cents/gal, tariff citation, refineries at origin, fees, and the full adder over origin price with estimates named. A cost at filed rates, not a market price.

    destination_type string required
    terminal or market.
    destination_id string required
    Id, TCN, or a name such as "Bozeman, MT".
    product string
    gasoline, distillate or jet.
    origin_refinery_id string
    Only routes from origins this refinery (id or name) injects at.
    origin_price_usd_per_gal number
    Origin price in $/gal, for delivered cost.
    limit integer
    Routes, cheapest first (default 10, max 100).
    detail boolean
    Full fee terms and adder routes (default false).
  • assess_outage_impact

    Assess the impact of a refinery or pipeline outage

    If a refinery, pipeline system, line or gathering facility goes down: affected terminals banded sole_source, limited or diversified, their alternatives, exposed rack markets and dependent carriers. Alternatives are what tariffs allow, not spare capacity.

    entity_type string required
    refinery or pipeline (lines and gathering facilities are pipelines).
    id string required
    Refinery id or name, pipeline system name ("Colonial Pipeline"), or a line or gathering facility name or id.
  • get_refinery_profile

    Get a refinery's researched profile

    One refinery in depth: operator, status, EIA-820 capacity and units, crude supply, product outlets, events, pipelines and reach, research confidence. Accepts an id or a distinctive name.

    refinery string required
    Entity_id or a distinctive name or city.
  • get_ethanol_delivered_cost

    Estimate delivered ethanol cost at a terminal

    Planning estimate of ethanol delivered to a terminal, cents/gal over Chicago spot: cost lines, origin plant, rail or truck movement, runners-up and flags. Rail rates are historical public tariffs, not quotes.

    terminal string required
    Terminal TCN or entity_id.
    assumption_set string
    Optional. Defaults to the site's active set.

Site Content

  • search_site_content

    Search articles and analysis on this site

    Search Newtide's own articles and analysis: titles, dates, links, excerpts. For what we have written or think. With no query, category or tag it returns the latest pieces plus the topic list (categories and tags with counts). Editorial, not data: use the data tools for current figures.

    query string
    Text in titles and body; omit for the latest posts.
    category string
    Category name or slug, e.g. Pricing, Regulatory.
    tag string
    Tag name or slug, e.g. diesel, refinery closures.
    days integer
    Only content from the last N days.
    limit integer
    Max results (default 10, max 50).
  • get_article

    Read one article in full

    Full text of one article or page found by search_site_content. Cite it with its date: figures in it may have moved since.

    identifier string required
    Slug, numeric ID or URL from search_site_content.
  • get_energy_news

    Get the latest energy news headlines

    Recent third-party energy headlines with links (OPEC, trade press, wires). Not Newtide analysis, and not data.

    source string
    One publisher, matched loosely.
    limit integer
    Max headlines (default 20, max 50).

Reference

  • lookup_energy_term

    Look up an energy industry term

    Define an energy term or abbreviation from the site glossary, search definitions, or list a category.

    term string
    Term or abbreviation, e.g. "contango", "RVO".
    query string
    Search terms and definitions.
    category string
    List every term in a category.

Good to know

  • Read-only. No tool changes anything. Each is annotated so clients can call it without prompting you for confirmation.
  • Start with discovery. Series codes cannot be guessed. Agents are told to call list_data_series before any tool that takes one.
  • Results are capped. A very broad query is trimmed rather than returned whole, and says so, so a single call cannot flood your context. Narrow the range or the entity to see everything.
  • Most data is weekly. Inventories, retail prices and positioning move on publication schedules, not continuously. Use get_data_status to check freshness before reading meaning into a flat line.
  • Sources are public. Primarily EIA, CFTC, IRS and commercial market data, collected and cross-linked here. Derived indices such as the Retail Pressure Index are our own.
  • Not investment advice. Provided as-is for research and analysis. Verify anything you act on against the original publisher.

Most recent observation: 2026-11-25. Forecasts run to 2027-12-01.