Repository avatar
Other Tools
v1.0.1
active

cftc-cot-futures-positions-mcp

io.github.theluckystrike/cftc-cot-futures-positions-mcp

Weekly US CFTC Commitments of Traders legacy and disaggregated futures positioning over MCP.

Documentation

cftc-cot-futures-positions-mcp

Weekly US Commodity Futures Trading Commission (CFTC) Commitments of Traders (COT) futures positioning over Model Context Protocol (MCP). Commodity desks, macro funds, and risk analysts can query legacy and disaggregated COT filings, managed money net exposure, and open interest summaries without an API key or registration. It works immediately.

Hosted endpoint

Point any Streamable HTTP MCP client at the free hosted Cloudflare Worker endpoint.

https://cftc-cot-futures-positions-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
list_cftc_legacy_cot_reportsList latest weekly CFTC Legacy COT futures reports with commercial and non-commercial positioning
search_cftc_cot_by_commoditySearch CFTC Legacy COT filings by commodity or contract name such as gold, crude oil, or euro
list_cftc_disaggregated_cot_reportsList weekly Disaggregated COT filings covering producer/merchant, swap dealer, and managed money books
get_cftc_managed_money_net_positionsCompute managed money net long/short contracts and weekly change for a specific commodity
get_cftc_open_interest_summaryRank top US futures contracts by total open interest for the latest CFTC reporting week

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "cftc-cot-futures-positions": {
      "url": "https://cftc-cot-futures-positions-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can also run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every upstream request queries publicreporting.cftc.gov/resource/ with a polite User-Agent header (mcpstamp-cftc-cot-futures-positions/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient network or 5xx errors. Cloudflare edge caching applies only to HTTP 2xx responses, so upstream faults don't linger in cache. All five tools declare read-only, non-destructive, idempotent, open-world annotations, and the Worker negotiates future protocol versions down to the SDK version cleanly.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.