Cftc Cot logo

Cftc Cot

Query CFTC futures positioning with market search, latest weekly reports, and historical net-position data.

Install Cftc Cot

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "cftc-cot": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-cftc-cot"
      ],
      "env": {
        "PIPEWORX_API_KEY": "YOUR_VALUE_HERE",
        "PIPEWORX_META_TOOLS": "YOUR_VALUE_HERE",
        "NODE_USE_ENV_PROXY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env PIPEWORX_API_KEY=YOUR_VALUE_HERE --env PIPEWORX_META_TOOLS=YOUR_VALUE_HERE --env NODE_USE_ENV_PROXY=YOUR_VALUE_HERE --transport stdio cftc-cot -- npx -y @pipeworx/mcp-cftc-cot

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @pipeworx/mcp-cftc-cot

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Cftc Cot connects MCP clients to CFTC Commitment of Traders data through the Pipeworx gateway. It provides market discovery, the latest weekly positioning report, and historical net-position series for futures markets. Use it to examine speculative, commercial, and small-trader positioning across markets such as crude oil, gold, currencies, grains, and bitcoin. Hosted MCP and local npm-based stdio connection options are available.

Use cases

  • Find the CFTC market identifier for a futures contract
  • Compare commercial and non-commercial positioning
  • Track weekly changes in speculative net positions
  • Review historical open interest and sentiment shifts

Key features

  • Search CFTC futures markets by name
  • Retrieve the latest weekly COT report
  • Query historical net-position time series
  • Compare commercial, non-commercial, and non-reportable traders
  • Connect through hosted MCP, local stdio, or HTTP

Tools3

What Cftc Cot lets your agent do. Expand a tool for its parameters.

Verified live~515 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 77d

What it can do

From the 3 tools this server returned when we ran it; 3 declare their own safety hints.

Makes network requests · 3Read-only tools · 3
Network at startup4 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age141 days
Maintainers1

Observed 2026-10-30 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8d ago via OSV.dev · @pipeworx/mcp-cftc-cot (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads573Package downloads in the last 30 days.
Last commit26d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed3Callable tools this server registers over MCP.

How Cftc Cot works

What Cftc Cot does

Cftc Cot exposes CFTC Commitment of Traders data as MCP tools for analyzing futures-market positioning. The service covers market lookup, the newest weekly report for a selected market, and historical weekly series. Results include positioning information for non-commercial traders, commercial traders, and non-reportable traders, along with open interest.

Non-commercial figures represent the category commonly associated with speculators, including managed money and other large traders. Commercial figures correspond broadly to hedgers and producers. These classifications help an agent compare participant groups rather than relying on a single aggregate sentiment measure.

How it works

Market lookup should be the first step. search_markets accepts a name such as crude oil, gold, E-MINI S&P, bitcoin, euro, or corn, then returns the exact market and exchange name needed by the reporting tools, along with the contract code.

Pass that exact market identifier to latest_report to retrieve the most recent weekly data. The response includes open interest and long, short, and net positions for the three trader classifications, plus changes from the current week.

Use report_history with the same market identifier to receive a most-recent-first time series. Its series covers non-commercial net position, commercial net position, and open interest, making it suitable for reviewing positioning trends and shifts in market sentiment.

Setup and configuration

A hosted MCP connection can use the Pipeworx endpoint:

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

The package @pipeworx/mcp-cftc-cot provides a local stdio bridge. Configure an MCP client to start it with npx:

config.json
{
  "mcpServers": {
    "cftc-cot": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-cftc-cot"]
    }
  }
}

The bridge forwards requests to the hosted gateway and therefore requires network access. A Pipeworx API key can be supplied through PIPEWORX_API_KEY. The gateway also exposes an HTTP tool interface for clients that do not support MCP, including direct POST requests to tool endpoints.

Tools and capabilities

  • search_markets: Find matching CFTC futures markets and obtain the identifiers required by the report tools.
  • latest_report: Retrieve the latest weekly open-interest and trader-position breakdown for one market.
  • report_history: Retrieve historical weekly net positions and open interest, ordered from newest to oldest.
  • Anonymous access: Make initial calls without an account, subject to the gateway's daily limit.
  • Gateway access: Use the scoped endpoint or the broader Pipeworx gateway, which can expose shared gateway tools in addition to the CFTC tools.

Limitations and notes

The integration is unofficial and is not affiliated with, endorsed by, or published by the CFTC. Data is weekly rather than real time. Report calls require the exact market_and_exchange_names value returned by market search, so free-form market text should not be passed directly to those tools.

Anonymous use is limited to 50 calls per day. A free Pipeworx account raises the limit to 200 calls per day, and authenticated requests are metered through the gateway. The local npm bridge has no offline mode. Scoped gateway connections also list shared Pipeworx meta-tools by default at the hosted endpoint; setting PIPEWORX_META_TOOLS=1 enables them for the local package as well.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Cftc Cot

Cftc Cot is an MCP server that connects AI clients to CFTC Commitment of Traders data through the Pipeworx gateway. Its main tools search futures markets, retrieve the latest weekly positioning report, and return historical net-position series with open interest for selected contracts.

Install it by configuring an MCP client to run `npx -y @pipeworx/mcp-cftc-cot`, or connect directly to `https://gateway.pipeworx.io/cftc-cot/mcp`. The local package forwards calls to the gateway and requires network access.

Yes, Cftc Cot works with Cursor through its hosted MCP URL or local npm stdio configuration. Add the server entry to Cursor's MCP settings, then use `search_markets` before calling either reporting tool.

No, an API key is not required for initial anonymous calls. Anonymous access is capped at 50 calls per day; adding `PIPEWORX_API_KEY` from a free Pipeworx account raises the limit to 200 calls per day.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCftc Cot AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/cftc-cot?style=directory)](https://allmcps.com/mcp/cftc-cot)
HTML Embed
<a href="https://allmcps.com/mcp/cftc-cot"><img src="https://allmcps.com/api/badge/cftc-cot?style=directory" alt="Cftc Cot on AllMCPs" /></a>