report_history

Pack: cftc-cot · Endpoint: https://gateway.pipeworx.io/cftc-cot/mcp

Weekly net-position time series for one futures market (non-commercial net, commercial net, open interest), most recent first. Pass the exact market_and_exchange_names from search_markets. Useful for trend / sentiment shifts over time. Keyless.

Parameters

NameTypeRequiredDescription
market_namestringyesExact market_and_exchange_names from search_markets.
weeksnumbernoNumber of weekly reports to return (default 26, max 104).

Example call

Arguments

{
  "market_name": "GOLD - COMMODITY EXCHANGE INC."
}

curl

curl -X POST https://gateway.pipeworx.io/cftc-cot/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"report_history","arguments":{"market_name":"GOLD - COMMODITY EXCHANGE INC."}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('report_history', {
  "market_name": "GOLD - COMMODITY EXCHANGE INC."
});

More examples

{
  "market_name": "E-MINI S&P 500 - CHICAGO MERCANTILE EXCHANGE",
  "weeks": 52
}

Connect

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

{
  "mcpServers": {
    "cftc-cot": {
      "url": "https://gateway.pipeworx.io/cftc-cot/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 9, 2026