search_markets

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

Find CFTC Commitment of Traders (COT) futures markets by name. Use this first to get the exact market_and_exchange_names and contract_code that latest_report and report_history require. Keyless. e.g. “crude oil”, “gold”, “E-MINI S&P”, “bitcoin”, “euro”, “corn”.

Parameters

NameTypeRequiredDescription
querystringyesSubstring to match against the market name, e.g. “crude oil”, “gold”, “E-MINI S&P”, “bitcoin”, “euro”.
limitnumbernoMax distinct markets to return (default 15, max 30).

Example call

Arguments

{
  "query": "crude oil"
}

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":"search_markets","arguments":{"query":"crude oil"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search_markets', {
  "query": "crude oil"
});

More examples

{
  "query": "gold",
  "limit": 10
}

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