Futures data MCP · Streamable HTTP

Historical Futures Data MCP Server.

Query futures history and run defined SMA backtests from Claude or another MCP-compatible client. Four read-only tools cover catalog discovery, schemas, OHLCV queries and backtest execution.

Endpoint: historicalfuturesdata.com/mcp · Paid API key · Read-only

Four read-only tools for futures research

Check coverage and schema before requesting a bounded history window. Standard covers CME instruments for 59 USD one-time. Everything covers all 69 published instruments for 129 USD one-time.

list_instruments

See symbols, exchanges, coverage, contract multipliers, tick sizes, and available timeframes included in your plan.

get_dataset_info

Inspect bar and tick schemas, download links, coverage, and continuous-futures roll rules before querying.

query_bars

Request actual published OHLCV bars in ascending UTC order with explicit start, end, timeframe, and row limits.

run_sma_backtest

Run a deterministic long/flat SMA-cross backtest with next-bar-open execution, fees, slippage, and a bounded trade ledger.

Connect your agent and run a futures backtest

Create a read-only key in your account dashboard, then add the remote server to an MCP client that supports Streamable HTTP and authorization headers.

MCP client configuration

{
  "mcpServers": {
    "historical-futures-data": {
      "url": "https://historicalfuturesdata.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Once connected, ask: Inspect MES, then backtest a 10/30 SMA crossover on five-minute bars during January 2025. Include 0.62 USD per contract per side and one tick of slippage. The equivalent tool call is:

JSON-RPC backtest example

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "run_sma_backtest",
    "arguments": {
      "symbol": "MES",
      "timeframe": "5m",
      "start": "2025-01-01T00:00:00Z",
      "end": "2025-02-01T00:00:00Z",
      "fast": 10,
      "slow": 30,
      "initial_capital": 10000,
      "fee_per_contract_per_side": 0.62,
      "slippage_ticks": 1
    }
  }
}

The end timestamp is exclusive. Results describe the selected historical dataset and assumptions; they are not a promise of future performance.

See what your agent sends and receives

These abbreviated workflow visuals show the tool inputs and response structure. Placeholders are used instead of invented market values or backtest returns.

MCP query_bars example for MES one-minute bars with an abbreviated OHLCV response
Bounded OHLCV queries. Your agent chooses the instrument, timeframe, UTC window, and row limit; the response includes the published generation and whether results were truncated.
MCP SMA backtest workflow showing close signals, next-bar-open execution, costs, and returned metrics
Explicit backtest mechanics. Close signals execute at the next bar open, any open position exits at the last close, and results include costs and a bounded trade ledger.

Check the assumptions behind the return

A return number cannot show whether close signals leaked future information or roll costs went missing. Use the research guides to inspect the execution rules and reserve a later period for evaluation.

MCP server questions

Is the Historical Futures Data MCP server free?

No. Every tool requires a paid API key. Standard is 59 USD one-time for CME instruments; Everything is 129 USD one-time for all published instruments. Anonymous and free accounts cannot query data or run backtests through MCP.

Which AI agents and MCP clients can connect?

Any client that supports remote Streamable HTTP MCP servers and a custom Authorization header can connect. The server speaks MCP protocol 2025-06-18 and returns JSON responses; SSE is not required.

What can the four MCP tools do?

They list the instruments covered by your plan, inspect schemas and roll rules, query published OHLCV bars, and run a one-contract long/flat SMA backtest. They do not place trades or connect to a brokerage.

How does the SMA backtest execute orders?

Signals use completed bar closes and execute at the next observed bar open. An open position is liquidated at the last observed close. The result includes your specified fees and slippage, and returned bars and trades are bounded.

Where do I create an API key?

After Standard or Everything access is active, open your account dashboard and create a read-only API key. Copy it when shown and store it only in your MCP client’s private configuration.

Can I download the underlying data as well?

Yes. Paid access also includes the matching HTTP Parquet downloads. Use MCP for agent-driven discovery and bounded research queries, and download the files when you need a local full-history research workflow.

Connect an MCP client to futures history

Choose Standard for CME instruments or Everything for the complete published catalog. All paid plans include their entitled MCP tools and matching Parquet downloads with a one-time payment.