Spx Dealer Gamma
FreeNot checkedComputes SPX dealer gamma exposure (GEX) from CBOE delayed option quotes and exposes it as an MCP tool for Claude Desktop.
About
Computes SPX dealer gamma exposure (GEX) from CBOE delayed option quotes and exposes it as an MCP tool for Claude Desktop.
README
Computes SPX dealer gamma exposure (GEX) from free CBOE delayed option quotes (~15-minute delay, official open interest and implied volatility — no brokerage market-data entitlement required). Exposed as an MCP tool for Claude Desktop.
Why CBOE delayed quotes
CBOE lists SPX/SPXW natively, so this is a first-party source for OI and IV on the
exact index most dealer-gamma analysis targets — not a proxy via SPY. The public
endpoint (https://cdn.cboe.com/api/global/delayed_quotes/options/_SPX.json) also
returns CBOE's own precomputed per-contract Greeks (delta, gamma, vega, theta),
so the current-spot GEX snapshot uses their greeks directly rather than a
re-derived model.
Method
- Current-spot net GEX:
sign * gamma * open_interest * 100 * spot^2 * 0.01, summed over all contracts with open interest > 0. Calls contribute positively, puts negatively — the standard convention used by most public GEX calculators (dealers modeled as net long gamma via calls / net short via puts). This is a modeling assumption, not directly observable dealer positioning. - Zero-gamma flip level: the current-spot GEX above is a single point. To find where dealer gamma flips sign, this recomputes Black-Scholes gamma for every contract with a valid IV across a scan of hypothetical spot prices (default ±15% band, 121 steps), holding each contract's own quoted IV/strike/expiry fixed, and finds where cumulative signed GEX crosses zero. This does not shift the vol surface with spot (no skew dynamics) — a known simplification shared by most open-source GEX trackers.
- Contracts with
iv <= 0(stale/no recent quote) are excluded from the flip scan but still included in the current-spot snapshot via CBOE's own gamma.
Files
gamma.py— data fetch + calculation, runnable standalone (python gamma.py)server.py— MCP server wrapper exposingspx_dealer_gammaas a tool
Setup
python -m venv .venv
./.venv/Scripts/pip install -r requirements.txt # Windows
# ./.venv/bin/pip install -r requirements.txt # macOS/Linux
Claude Desktop
Add to claude_desktop_config.json:
"spx-dealer-gamma": {
"command": "C:\\path\\to\\spx-dealer-gamma\\.venv\\Scripts\\python.exe",
"args": ["C:\\path\\to\\spx-dealer-gamma\\server.py"]
}
Limitations
- 15-minute delayed data, not live.
- Aggregates all listed SPX/SPXW expiries (including LEAPS), not just the front-month/0DTE window some trackers restrict to — net GEX magnitude isn't directly comparable to trackers that scope differently.
- Dealer-side sign convention is an assumption, not observed fact.
- No vol-surface skew shift in the flip scan (see Method above).
Installing Spx Dealer Gamma
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/sgdividends/spx-dealer-gammaFAQ
Is Spx Dealer Gamma MCP free?
Yes, Spx Dealer Gamma MCP is free — one-click install via Unyly at no cost.
Does Spx Dealer Gamma need an API key?
No, Spx Dealer Gamma runs without API keys or environment variables.
Is Spx Dealer Gamma hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Spx Dealer Gamma in Claude Desktop, Claude Code or Cursor?
Open Spx Dealer Gamma on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzCompare Spx Dealer Gamma with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
