QuantDataForge MCP servers — StrategyCreator + Open Cockpit, run locally via uvx with one API token.
Project description
qdf-mcp
Two MCP servers that let a QuantDataForge subscriber drive the platform from their own Claude Code / Claude Desktop:
qdf-mcp-strategy— StrategyCreator: author trading strategies in Python, backtest them against QDF's 5-year 1-minute futures history (ES, NQ), and read the metrics + equity curve back — all in your Claude session.qdf-mcp-cockpit— Open Cockpit: a live, read-only window into the open — which levels are armed, how each is defended tick-by-tick, plus market-state, options and catalyst reads.
Both are thin HTTPS clients. All the heavy lifting (data, backtest engine, sandbox) runs on the QDF server. Each server scopes everything to your personal API token.
Setup
1. Install uv (one time)
uvx runs the servers in an isolated environment and pulls all dependencies
automatically — you do not need to install any Python packages by hand.
- Windows:
powershell -ExecutionPolicy Bypass -c "irm https://astral.sh/uv/install.ps1 | iex" - macOS / Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
(Or pip install uv if you already have Python.)
2. Get your token
On the website, open Strategy Lab → API Tokens, click Generate, and copy
the qdf_sk_… token (shown once). The same token works for both servers.
3. Add the servers to your Claude config
Paste this into your MCP client config — Claude Desktop's
claude_desktop_config.json, or a project .mcp.json for Claude Code — with your
token in both places:
{
"mcpServers": {
"strategy-creator": {
"command": "uvx",
"args": ["--from", "qdf-mcp", "qdf-mcp-strategy"],
"env": {
"QDF_API_TOKEN": "qdf_sk_…your token…",
"QDF_API_URL": "https://quantdataforge.com"
}
},
"qdf-cockpit": {
"command": "uvx",
"args": ["--from", "qdf-mcp", "qdf-mcp-cockpit"],
"env": {
"QDF_API_BASE": "https://quantdataforge.com",
"COCKPIT_READ_TOKEN": "qdf_sk_…your token…"
}
}
}
}
Don't need both? Keep just the block you want — they're independent and the same token authorizes either.
4. Restart your client and ask Claude
- "Scaffold a breakout strategy and backtest it on ES 1m."
- "Watch the cockpit and tell me when a level breaks."
The cockpit's live tools only return data during the watch window (~08:00–10:30 ET) with the feed up; outside that they report the feed is offline rather than erroring.
Requirements
Python ≥ 3.10 (uv manages this for you). The only dependencies are mcp and
httpx, installed automatically by uvx.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qdf_mcp-0.1.0.tar.gz.
File metadata
- Download URL: qdf_mcp-0.1.0.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7279ab19bf45562f3f1a0c0873931db2564df56be999b7391e9715726125b3d
|
|
| MD5 |
301c6b588ba1e99b947b30be36eb16a8
|
|
| BLAKE2b-256 |
ede52fd685f1a8b950fa64221ff416b1058521d9530a80149d4efe6c810facc8
|
File details
Details for the file qdf_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: qdf_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e75153f991c118ab92d3446a42fd220393a6587f41b0ad59593ee1b56508db7
|
|
| MD5 |
76eef2412fd2b2db266d0becefcfc227
|
|
| BLAKE2b-256 |
30fe6bbfb6856558745eaa5216bdb9f84b7de403f4250448d187f6ac2c92e4a2
|