jodi_oil_compare

Pack: jodi · Endpoint: https://gateway.pipeworx.io/jodi/mcp

Compare JODI-Oil countries on one series, at the latest reported month AND against N months earlier — ranked by change. This is the tool for “which Gulf producers raised crude output most this quarter” (pass months_back:3) and “Saudi crude exports vs a year ago” (pass countries:[“Saudi Arabia”], months_back:12) — both are the same comparison, just different country lists. Defaults to the Gulf/Persian-Gulf producers (Saudi Arabia, UAE, Kuwait, Qatar, Oman, Bahrain, Iraq, Iran) if no countries are given. A country missing a compared month is marked reported:false and excluded from the ranking rather than treated as a zero. Example: jodi_oil_compare({flow:“production”, months_back:3}); jodi_oil_compare({countries:[“Saudi Arabia”], flow:“exports”, months_back:12}). Keyless.

Parameters

NameTypeRequiredDescription
countriesarraynoISO2 codes or names; defaults to the Gulf producer set
itemsstringno
productstringnocrude (default), ngl, other, total, or a refined product — see jodi_oil_series
flowstringnoproduction (default), imports, exports, closing_stocks, stock_change, etc — see jodi_oil_series
months_backnumbernoHow many months before the latest to compare against (default 12 = year-over-year; use 3 for quarter-over-quarter)
end_monthstringnoLatest month to compare from, as YYYY-MM; defaults to the newest month anyone in the list has reported

Example call

Arguments

{
  "flow": "production",
  "months_back": 3
}

curl

curl -X POST https://gateway.pipeworx.io/jodi/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jodi_oil_compare","arguments":{"flow":"production","months_back":3}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('jodi_oil_compare', {
  "flow": "production",
  "months_back": 3
});

More examples

{
  "countries": [
    "Saudi Arabia"
  ],
  "flow": "exports",
  "months_back": 12
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "jodi": {
      "url": "https://gateway.pipeworx.io/jodi/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 7, 2026