Quant Data MCP Server
This server provides AI agents with honest, probability-based market statistics for index futures and equities. Capabilities include:
Free API Key: Request a key via email—no account required—granting 10 shared successful calls per UTC day across all tools.
Day-Type Probabilities: Calibrated distribution over five session types (trending up/down, range, trending range, reversal) based on S&P 500 futures, available for US stocks/ETFs, futures, Hong Kong stocks, China A-shares, crypto, and spot FX.
Weis Wave Volume-Price Structure: Analyzes volume-price waves and identifies five classical events with measured win rates from S&P 500 futures data (requires real exchange volume, not available for spot FX).
Options Max Pain: Calculates max pain per expiration from open interest (pure arithmetic, no pricing model) for US stocks/ETFs, along with put/call ratio and heaviest strikes.
Estimated Dealer Gamma Exposure: Estimates net/gross GEX, zero gamma flip level, and heaviest strikes using Black-Scholes for US stocks/ETFs, explicitly flagged as an estimate.
The server is accessible as a remote MCP server via HTTP, and can be natively integrated into Claude Code, Codex CLI, Gemini CLI, or any client that adds a custom header. All outputs are descriptive statistics with honest disclaimers, measured win rates, and no buy/sell recommendations.
Integrates with CrewAI agent backstories to provide AI agents with Quant Data market statistics skills for index futures and equities.
Adds Quant Data market statistics skills to GitHub Copilot instructions, enabling agents to fetch day-type probabilities, Weis wave analysis, options max pain, and dealer gamma exposure.
Integrates with LangChain system messages to provide AI agents with Quant Data market statistics tools, covering day-type probabilities, Weis wave analysis, options max pain, and dealer gamma estimates.
Integrates with n8n agent nodes to provide Quant Data market statistics tools, including day-type probabilities, Weis wave analysis, options max pain, and dealer gamma exposure.
Works with OpenAI's SDKs and ChatGPT custom GPTs to provide AI agents with market statistics skills for index futures and equities, such as day-type probabilities, Weis wave analysis, max pain, and GEX data.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Quant Data MCP Server Where is max pain for TSLA this Friday?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Quant Data — market-statistics skills for AI agents
Measured market statistics for index futures and equities, packaged so an AI agent can use them and — more importantly — report them honestly. Installs natively into Claude Code (plugin), Codex CLI (plugin marketplace) and Gemini CLI (extension), all from this one repository.
Skill | What the agent gains | Key needed |
| Rolling Brooks price-action events with measured outcome rates, a calibrated day-type probability read for the US day session, a plain-arithmetic shape description of the bars already printed, and the measured verdicts on famous price-action claims | Free email key or paid key |
| Volume-price wave structure and five Weis events, each with its measured win rate | Free email key or paid key |
| Options max pain, open-interest walls, put/call ratio, estimated dealer gamma exposure | Free email key or paid key; public pages need none |
The honest summary of what you get: measured edges of 52–56%, published together with the places the models fail. There is a section below on exactly that, and it is not buried.
Which Quant Data this is. This project is Quant Data at quantdata.uk (API host
api.quantdata.uk, MCP endpointhttps://api.quantdata.uk/mcp, registry nameuk.quantdata/quantdata). It is not affiliated with quantdata.us, an unrelated product with a similar name and a different API. Keys are not interchangeable between the two.
Install
Claude Code
/plugin marketplace add celineycn/quantdata-plugin
/plugin install quantdata@quantdataCodex CLI
The same repository doubles as a Codex plugin marketplace:
codex plugin marketplace add celineycn/quantdata-plugin
codex plugin add quantdata@quantdataAny other MCP client (Claude Desktop, ChatGPT, Cursor, VS Code, Zed)
The same four endpoints are a remote MCP server, together with an access tool that can email a free API key. Nothing to install — point the client at:
https://api.quantdata.uk/mcpStreamable HTTP. With no key, one anonymous market-tool response is available per source per UTC
day as a first look. The agent can then call quantdata_request_free_api_key with an email
address; the free qd_ key is sent only to that inbox, needs no login or card, and gives the
four market tools 10 shared successful calls per UTC day. A stdio bridge ships in
quantdata/mcp/ for clients that can only launch a local command.
Details: quantdata/mcp/README.md.
Gemini CLI
The repository is also a Gemini CLI extension. GEMINI.md carries the three skill bodies
merged into one context file:
gemini extensions install https://github.com/celineycn/quantdata-pluginThen
Start a new session. You do not invoke a skill by name — just ask:
Did ES=F just break out of its range, and how often did breakouts like this fail?
Is the pullback in ES=F happening on low volume?
Where is max pain for TSLA this Friday?
Which way is dealer gamma leaning on NVDA?
To check it loaded, ask: "Which Quant Data skills do you have?"
Without the plugin system
A skill is just a folder with a SKILL.md in it, so you can also copy them by hand:
mkdir -p ~/.claude/skills
cp -R quantdata/skills/* ~/.claude/skills/Or project-scoped, committed alongside your code, in .claude/skills/.
Related MCP server: agent-gamma (AgentGamma)
Start free — no login or card
One anonymous API or MCP call can return a complete first-look response per source per UTC day.
For continued evaluation, request a free qd_ key by email:
curl -s -X POST https://api.quantdata.uk/v1/access/free-key \
-H 'Content-Type: application/json' \
-d '{"email":"you@example.com","marketing_opt_in":false,"source":"agent"}'An MCP-connected agent can call quantdata_request_free_api_key instead. The raw key is never
returned by the POST or MCP result; it is delivered only to the email address. The free key
covers all four endpoints, sharing 10 successful calls per UTC day, and needs no account,
password or card.
marketing_opt_in is optional and defaults to false. It is separate from key delivery. An
agent must set it to true only after the owner of that email address explicitly asks for
occasional product updates. Even then, the request records a pending preference, not an active
subscription. The recipient must reply SUBSCRIBE to the key-delivery email to confirm it; no
marketing updates are sent before that confirmation.
The permanently free surface is the Max Pain and GEX pages. No key, no account, no card:
https://quantdata.uk/max-pain/nvda
https://quantdata.uk/gex/nvdaMax pain (the option strike at which option buyers lose the most in aggregate at expiration),
put/call ratio and open interest by expiration, one page per covered US stock or ETF — and a
separate GEX page per ticker with net gamma exposure and the zero gamma (flip) level. The site
is rebuilt nightly from the latest upstream settlement available, and every page states the
open-interest settlement date it uses. Lowercase tickers.
https://quantdata.uk/max-pain and https://quantdata.uk/gex are the coverage lists.
To check the research before paying for it, read https://quantdata.uk/methodology — an ordinary web page, free, no key. It publishes the fact-check of the trading literature's famous probability claims against 3,946 S&P 500 futures trading days (2010–2026). The claim that one of the session's extremes forms within the first 90 minutes is usually taught as 90%; the measured figure is 81.2%. The pattern holds across every claim tested — directionally right, inflated by roughly 7–10 percentage points.
Start there. If the numbers are not the size you expected from an honest test, do not buy.
The four API endpoints
The free email key covers every endpoint below, with 10 successful calls per UTC day shared
across them. When that daily allowance is reached, the API returns 429 with the reset time and
a checkout action to hand to a person. The paid plan removes the evaluation limit for ongoing,
batch or unattended use.
One plan: $149/month, first 3 days free. Checkout is self-serve at https://quantdata.uk/pricing, and a card is collected up front. Checkout with the same email used for the free key upgrades that key in place, so an agent does not need a new secret. Cancel any time in the Stripe customer portal (https://billing.stripe.com/p/login/3cIfZhgcHfOb5IE7PD9Ve00), signing in with the checkout email.
Endpoint | Returns |
| Rolling Brooks price-action events, each with its measured outcome rate; range breakouts carry a calibrated per-event estimate. Every read also carries |
| Volume waves and five named volume-price events with measured win rates |
| Max pain per expiration, from open interest alone — pure arithmetic, no pricing model |
| Estimated dealer gamma exposure: net GEX, the zero gamma (flip) level, the heaviest strikes |
One key covers all four. The two options endpoints are deliberately separate because the two figures are not equally reliable: max pain is arithmetic anyone can reproduce from the same chain, gamma is a Black-Scholes estimate built on an unobservable dealer-positioning convention. The skills quote the first as a figure and the second as an estimate.
The fact-check verdicts live on https://quantdata.uk/methodology as a static table — a web page to read, free and needing no key, not an endpoint to call.
Keys bought under the older two-product pricing keep working at their original price.
An AI agent can request the free key, but it cannot buy the paid plan for you. Card authentication (3-D Secure) requires the cardholder, so after the free allowance is reached the skills hand the checkout link to a person and stop.
Set your key
Copy the qd_ key from its delivery email into a secret store. Never paste a key into
SKILL.md — those files are meant to be copied, committed and shared.
# ~/.zshrc (macOS default) or ~/.bashrc
export QUANTDATA_API_KEY="qd_your_key_here"Then open a new terminal, or run source ~/.zshrc. Check it:
curl -s -H "X-API-Key: $QUANTDATA_API_KEY" https://api.quantdata.uk/v1/brooks/SPYFor an agent with no shell, the key goes wherever that tool stores secrets — an Actions
authentication field, a credential entry, a .env loaded by your runtime. Same rule: a secret
store, not a shared file.
Using these on platforms with no plugin system
Nothing here is specific to any one agent. A SKILL.md body is instructions plus an HTTP
contract, so it works anywhere you can set a system prompt and send a request with a custom
header. (Claude Code, Codex and Gemini CLI install natively — see Install above.)
Open the
SKILL.mdyou want, underquantdata/skills/.Copy everything below the closing
---of the YAML header.Paste it into your agent's system prompt, custom instructions or persona field.
Replace the
$QUANTDATA_API_KEYreferences with whatever your platform calls its secret.
Known to work this way: ChatGPT Custom GPTs (paste into Instructions, and add
api.quantdata.uk as an Action with an X-API-Key header), Cursor and Windsurf rules files,
Cline, GitHub Copilot instructions, n8n and Dify agent nodes, CrewAI and AutoGen
agent backstories, LangChain system messages, and anything built directly on the OpenAI or
Anthropic SDKs.
If your tool can send one HTTP request with one custom header, it is supported. There is no SDK, no OAuth flow and no callback URL.
What every one of these skills enforces
These rules are written into each SKILL.md and they are the reason the plugin exists:
Never present output as a buy or sell recommendation. The API returns detected events and historical frequencies. It does not know your position, account or risk. Turning "historically 62.6% of these breakouts failed within 10 bars" into "fade the breakout" is the agent inventing advice.
Always carry the disclaimer. Every response has a
disclaimerfield; it travels with the numbers.Never claim precision the numbers do not have. The honest win rates are 52–56%. An agent that rounds that into "strong signal" has broken the product.
Name the baseline. A 51.8% event win rate is meaningless until you also say the any-wave-flip baseline is 49.3%. The day-type read's 66% top-1 accuracy travels the same way — always next to the 37% majority-class baseline.
Keep a measurement apart from a prediction. The
day_typeblock predicts how an unfinished session could resolve and has published accuracy; theshapeblock measures bars that already printed and has none, because nothing is being predicted. A skill that labels a shape description a "trend day", or hangs the day-type accuracy on it, has broken the product just as surely as inventing a number.Flag out-of-distribution use. The reference rates and models were measured on S&P 500 E-mini futures. A read on a single stock, on gold, or on crypto is descriptive, not validated.
At a free-key limit, relay
message_for_your_humanand hand checkout to the person. Respectquota_resets_at; never loop, and never substitute a different data source and present the result as Quant Data output.
Where this does not work
Publishing this is the point, not a disclaimer:
Crypto and gold have a consistent anti-signature. Of eight pre-registered Bitcoin signals, zero confirmed, and
no_supplyreversed direction outright.Chart patterns did not survive testing. Over 121,000 pattern detections produced an AUC of 0.54 — near a coin flip.
The Asian session did not transfer. The pre-registered test of day-type gating on the Asian session returned NO_GO.
Educational analytics and developer tooling. Not investment advice, not a recommendation to buy or sell, not a price forecast. Trading involves risk of loss; past performance does not guarantee future results. Independent research — not affiliated with or endorsed by Al Brooks, David Weis, or any exchange or broker.
Docs: https://quantdata.uk/skills · Questions: quantdata@quantdata.uk
Available Tools
5 toolsquantdata_day_typeDay-type probabilitiesARead-onlyInspect
Day-type probabilities for the trading session in progress: a calibrated distribution over five classes (trending up, trending down, range, trending range, reversal) from a model trained on S&P 500 futures 5-minute bars. Answers 'what kind of day is this so far'. Descriptive statistics about how comparable past sessions resolved — not a forecast of today and not a recommendation. Check session_is_live before calling the read 'today', and check bars: fewer than 18 (90 minutes) means the distribution is provisional.
Inputs: symbol (required), session.
quantdata_gammaEstimated dealer gamma exposureARead-onlyInspect
Estimated dealer gamma exposure (GEX) for a US listed stock or ETF: net and gross GEX, the zero gamma (flip) level and the heaviest strikes. Unlike max pain this is a Black-Scholes ESTIMATE — zero rate, zero dividend, implied volatility solved from end-of-day quotes, and the convention that dealers are long every call and short every put. Keep that framing when reporting it. A null flip is not an error: check flip_status — 'no_sign_change_within_10pct' means net gamma keeps one sign across the whole traded range, which is a state worth reporting. US listed stocks and ETFs only, with a liquid chain: cash-settled index options (SPX, NDX, RUT, VIX) return an error — use SPY, QQQ, IWM instead. Reads the prior session's settled open interest and cannot update intraday whatever the clock says, so report as_of and spot_date with the number.
Inputs: symbol (required), by_strike.
quantdata_max_painOptions max pain by expirationARead-onlyInspect
Options max pain per expiration, computed from open interest alone: the strike at which option buyers lose the most in aggregate if the underlying settled there. Pure arithmetic — no pricing model, no volatility assumption, so anyone with the same chain gets the same number. Also returns put/call ratio and the heaviest call and put open-interest strikes. Returns every expiration inside 45 days rather than picking one, because the figure is per-expiration and the near- and far-dated values routinely disagree. US listed stocks and ETFs only: cash-settled index options (SPX, NDX, RUT, VIX) return an error — use SPY, QQQ, IWM. Open interest settles overnight, so this describes the prior session's positioning; report as_of and spot_date alongside the number.
Inputs: symbol (required), distribution.
quantdata_request_free_api_keyRequest a free Quant Data API keyAIdempotentInspect
Send a free qd_ API key to an email address. No account, card, payment or GUI is required. The key covers all four market-data tools, sharing 10 successful calls per UTC day. The raw key is delivered only to the inbox and is never returned in this tool result. Ask the user for the email address before calling. Set marketing_opt_in to true only when the email owner explicitly asks to receive occasional product updates; it defaults to false and is not required for the key. A true value stays pending until the recipient replies SUBSCRIBE to the key email.
Inputs: email (required), marketing_opt_in.
quantdata_weis_waveVolume-price wave structureARead-onlyInspect
Weis Wave volume-price structure: price grouped into waves with volume summed per wave, plus which of five classical volume-price events have fired. Each event carries the win rate measured for it on sixteen years of S&P 500 futures data, including the two that came out REVERSED against the tradition. Answers 'is there volume behind this move'. Quote the measured reference numbers rather than the folklore. Needs real exchange volume: spot FX has none — use CME currency futures (6E=F) instead. Use session='full' to match the published reference-rate window, or the default 'rth' for a regular-session-only read.
Inputs: symbol (required), session.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a distinct purpose: one handles API key requests, while the other four each address a different market data need (day type classification, volume-price structure, options max pain, and gamma exposure). Even the two options-related tools (max pain and gamma) are clearly differentiated by their methodology and output, with explicit notes on when to use one over the other. There is no meaningful overlap or ambiguity between any pair of tools.
All tool names share the consistent 'quantdata_' prefix and use lowercase snake_case, which creates a clear family branding. However, the suffixes are not uniformly of the same grammatical form: 'request_free_api_key' is a verb phrase, while 'day_type', 'weis_wave', 'max_pain', and 'gamma' are nouns or noun phrases. This is a minor deviation from a strict verb_noun pattern, but the consistency in prefix and casing makes the set predictable.
With exactly five tools, the server is well-scoped and compact. The tool count is within the ideal range (3-15) and each tool serves a clear, non-redundant function. There is no sense of bloat or sparseness; the number feels appropriate for a specialized quant data server.
For a server focused on delivering specific quant indicators, the set covers its stated domain well: request key, day type, weis wave, max pain, and gamma. The main potential gap is the lack of broader historical market data or a direct options chain endpoint, but the descriptions suggest the server's purpose is limited to these four analytical products. Overall, the surface is complete for its intended niche, with only minor possible additions.
Maintenance
Related MCP Connectors
Production MCP server for US equity and options intelligence: real-time IV radar, Monte Carlo simulation, options pressure, strategy backtesting, AI prediction, pre-trade risk analysis, and automated stock research reports.
Research-only MCP server: your AI as a quant research desk. 90 tools, no trades, no brokers.
Historical tick, order book and settlement data for Polymarket and Predict.fun crypto up/down markets, plus smart-money lists and backtest quotes, over a read-only MCP server.
MCP server for accessing Glypse's prediction market analytics and research.
Related MCP Servers
- AlicenseAqualityDmaintenanceFutures volatility intelligence MCP server for ES, NQ, and related products. Provides forecasts, regime detection, rare signals, and research tools for AI trading agents.101MIT
- FlicenseNot gradedqualityDmaintenanceHere is a brief description of what our MCP server does: Description Project Tollbooth is a real-time market microstructure and options analytics gateway. It exposes quantitative Gamma Verdicts (hedging effects, dealer exposure aggregates, and volatility regimes) and 0DTE Verdicts (real-time pinning magnets, pin scores, and target probabilities) for major instruments (\*\*SPX,-
- FlicenseNot gradedqualityDmaintenanceRead-only MCP server for short-term stock and ETF market research, providing tools for futures, premarket movers, market breadth, earnings, watchlist signals, and daily briefings.-
- AlicenseAqualityDmaintenanceA Model Context Protocol server providing free financial market data across 13 categories with 83 no-key tools, enabling access to stocks, indices, options, forex, crypto, energy, prediction markets, and more.833MIT