QuantData MCP Server
Provides AI agents with access to real-time and historical SPX 0DTE options market data from QuantData. It enables analysis of market indicators like gamma exposure walls, net drift, max pain, and trade side statistics through natural language.
README
QuantData MCP Server
MCP server that gives AI agents (Claude Code, Claude Desktop, etc.) access to real-time and historical SPX 0DTE options market data from QuantData.
Available data: GEX/DEX/CEX/VEX exposure walls, net drift, max pain, IV rank, trade side statistics, open interest, net flow, contract statistics, and more.
Quick Start
1. Install
You need Python 3.11+ installed. Check with python3 --version.
- Mac:
brew install python(or download from python.org) - Windows: Download from python.org (check "Add to PATH" during install)
Then install the package:
# With pip
pip install git+https://github.com/zzulanas/quantdata-mcp.git
# With uv (faster)
uv pip install git+https://github.com/zzulanas/quantdata-mcp.git
Don't have uv? Install it with
curl -LsSf https://astral.sh/uv/install.sh | sh(Mac/Linux) orirm https://astral.sh/uv/install.ps1 | iex(Windows). It's a faster alternative to pip.
2. Get Your Credentials
You need two values from your QuantData account. Open your browser:
- Go to v3.quantdata.us and log in
- Open DevTools (F12 or right-click → Inspect) → Network tab
- Refresh the page
- Click on any chart or page on QuantData — you'll see API requests appear
- Click any request to
core-lb-prod.quantdata.us, or filter by /api in the top - In the Request Headers, find and copy:
authorization— your auth token (starts witheyJ...)x-instance-id— your instance ID (a UUID likexxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)
Should look like these: <img width="2093" height="1146" alt="Screenshot 2026-03-27 at 8 49 30 PM 1" src="https://github.com/user-attachments/assets/51856fbb-7f22-458e-8478-8906f8792a54" />
3. Run Setup
quantdata-mcp setup \
--auth-token "eyJhbGci..." \
--instance-id "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
This creates a dedicated page on your QuantData account with 11 data tools and saves your config to ~/.quantdata-mcp/config.json.
4. Add to Claude
Claude Code
Add to your project's .mcp.json (or global ~/.claude/mcp.json):
{
"mcpServers": {
"quantdata": {
"command": "quantdata-mcp",
"args": ["serve"]
}
}
}
Restart Claude Code. You should see quantdata in your MCP servers.
Claude Desktop
Add to your Claude Desktop config file:
- Mac:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"quantdata": {
"command": "quantdata-mcp",
"args": ["serve"]
}
}
}
Note:
quantdata-mcpmust be on your system PATH. If it's not found, use the full path:which quantdata-mcp # find the path{ "command": "/Users/you/.local/bin/quantdata-mcp", "args": ["serve"] }Or use
uvxto run without worrying about PATH:{ "command": "uvx", "args": ["--from", "git+https://github.com/zzulanas/quantdata-mcp.git", "quantdata-mcp", "serve"] }
Restart Claude Desktop. The QuantData tools will appear in your tool list.
Available Tools
| Tool | Description |
|---|---|
qd_get_market_snapshot |
Full overview: GEX + DEX walls, drift, max pain, trade stats |
qd_get_exposure_by_strike |
GEX/DEX/CEX/VEX wall data (switchable greek type) |
qd_get_net_drift |
Cumulative call vs put premium flow |
qd_get_trade_side_stats |
Trade aggression: AA/A/M/B/BB breakdown for calls/puts |
qd_get_max_pain |
Max pain strike + distance from current price |
qd_get_iv_rank |
Implied volatility rank vs historical range |
qd_get_net_flow |
Call/put premium flow over time |
qd_get_oi_by_strike |
Open interest distribution with near-ATM filtering |
qd_get_contract_statistics |
Total premium, trade count, volume by call/put |
qd_set_page_date |
Switch to a historical date for analysis |
Example Usage
Ask Claude things like:
- "What are the biggest GEX walls right now?"
- "Show me yesterday's DEX walls at 10:30 AM"
- "Pull up the trade side stats — are puts or calls more aggressive today?"
- "Compare the GEX profile at open vs close for last Thursday"
Historical Data
All tools support historical analysis. Use qd_set_page_date to switch to a past trading day, then call any tool:
> Set the date to 2026-03-26 and show me the GEX walls at 10:00 AM
> qd_set_page_date(date="2026-03-26")
> qd_get_exposure_by_strike(greek_type="GAMMA", time_minutes=600)
Time scrubbing: time_minutes = minutes from midnight (570 = 9:30 AM, 720 = 12:00 PM, 960 = 4:00 PM).
How It Works
QuantData doesn't have an official API. This server uses reverse-engineered REST endpoints from their web app. Each user has "tools" (chart widgets) on "pages" — the setup command creates a dedicated page with all 11 data types so the MCP server can query them.
Architecture:
Claude → MCP (stdio) → quantdata-mcp server → QuantData REST API
Your credentials and tool IDs are stored locally at ~/.quantdata-mcp/config.json.
Commands
quantdata-mcp setup --auth-token <TOKEN> --instance-id <ID> # One-time setup
quantdata-mcp serve # Start MCP server (used by Claude)
Requirements
- Python 3.11+
- Active QuantData subscription
Troubleshooting
"Config not found" error: Run quantdata-mcp setup first.
Auth errors (401): Your token expired. Get a new one from the Network tab and re-run setup. Your existing page and tools will be reused:
quantdata-mcp setup --auth-token "NEW_TOKEN" --instance-id "SAME_ID"
Empty data: Make sure you have an active QuantData subscription and the market was open on the date you're querying.
"No such file or directory" in Claude Desktop: Use the full path to quantdata-mcp (see step 4 above).
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。