FlashAlpha

Options Analytics API - GEX Exposure Greeks Volatility

FlashAlpha MCP Server — Real-Time Options Analytics for AI Assistants

Connect Claude, ChatGPT, Cursor, Windsurf, or any MCP-compatible AI assistant to live options market data. 40 tools covering gamma exposure (GEX), delta/vanna/charm exposure, max pain, key dealer-positioning levels, IV surfaces (SVI), VRP analytics, Black-Scholes greeks, Kelly sizing, 0DTE intraday flow, plus minute-resolution historical replay back to April 2018 for backtesting.


What is this repo

Documentation, setup snippets, and server.json metadata for the FlashAlpha remote MCP server. The server itself runs at https://lab.flashalpha.com/mcp (and /mcp-oauth for OAuth-authenticated clients) — its source is not open. Use this repo as a reference for how to wire FlashAlpha into your AI client of choice.


Server URLs

Two endpoints, identical tool catalog, different authentication:

EndpointAuthWhen to use
https://lab.flashalpha.com/mcpapiKey tool parameterSelf-hosted clients: Claude Desktop, Claude Code CLI, Cursor, Windsurf, VS Code Copilot
https://lab.flashalpha.com/mcp-oauthOAuth 2.1 + PKCE + DCR (RFC 7591)Claude Connector Directory, ChatGPT Apps, Perplexity custom connectors, any host that requires OAuth-authenticated remote MCP

Quick Setup (self-hosted clients → /mcp + apiKey)

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "flashalpha": {
      "type": "http",
      "url": "https://lab.flashalpha.com/mcp"
    }
  }
}

Claude Code CLI

claude mcp add flashalpha --transport http https://lab.flashalpha.com/mcp
claude mcp list

Cursor

Settings → MCP → Add server:

{
  "flashalpha": {
    "transport": "http",
    "url": "https://lab.flashalpha.com/mcp"
  }
}

VS Code (Copilot / Continue)

.vscode/mcp.json or user settings:

{
  "servers": {
    "flashalpha": {
      "type": "http",
      "url": "https://lab.flashalpha.com/mcp"
    }
  }
}

Windsurf

Cascade settings → MCP Servers:

{
  "flashalpha": {
    "transport": "http",
    "url": "https://lab.flashalpha.com/mcp"
  }
}

Perplexity (Pro/Max/Enterprise)

Settings → Connectors → + Custom connector → Remote

  • URL: https://lab.flashalpha.com/mcp-oauth
  • Auth: OAuth (walks the consent flow at flashalpha.com/oauth/login)

Authentication

/mcp (apiKey)

Every tool call takes apiKey as a string parameter. Get a free key at flashalpha.com.

apiKey: "fa_your_key_here"

Key passes per-call rather than in a header so it works uniformly across all MCP clients without transport-level configuration.

/mcp-oauth (Bearer)

OAuth 2.1 + PKCE + Dynamic Client Registration (RFC 7591). The client registers itself, walks the authorization-code + PKCE flow, and presents a Bearer JWT on each request. No apiKey parameter needed — the server resolves the user's account from the OAuth identity and forwards the API key internally for upstream /v1/* calls. Same per-user tier gating and rate limits apply as the apiKey flow.

Discovery + endpoints:

RFC 9728 protected-resource metadatahttps://lab.flashalpha.com/.well-known/oauth-protected-resource
OIDC discoveryhttps://flashalpha.com/oauth/.well-known/openid-configuration
JWKShttps://flashalpha.com/oauth/.well-known/jwks
Dynamic Client RegistrationPOST https://flashalpha.com/oauth/register
Authorization endpointhttps://flashalpha.com/oauth/authorize
Token endpointhttps://flashalpha.com/oauth/token
Scopeflashalpha.mcp

Tool Catalog (40 tools)

Tool names below are the exact strings sent via tools/call — snake_case, not the PascalCase C# method names. Copy verbatim.

Live tools (23)

Market Data (5)

ToolDescription
get_stock_quoteReal-time stock quote (bid, ask, mid, last)
get_tickersList/search available tickers
get_option_chainAvailable expirations + strikes metadata
get_option_quoteLive option quote: bid, ask, mid, IV, greeks, OI, volume
get_accountPlan, daily quota, usage today, remaining calls

Exposure Analytics (9)

ToolDescription
get_gexGamma exposure (GEX) by strike — call/put walls, gamma flip
get_dexDelta exposure (DEX) by strike — net dealer delta
get_vexVanna exposure (VEX) by strike — dealer hedging response to vol moves
get_chexCharm exposure (CHEX) by strike — time-decay-driven flows
get_levelsGamma flip, call/put walls, max pain, highest OI strike, 0DTE magnet
get_exposure_summaryNet GEX/DEX/VEX/CHEX, regime, hedging estimates, top strikes, 0DTE breakdown
get_narrativeVerbal analysis: regime, levels, dealer positioning, implications
get_max_painMax pain strike, pain curve, put/call OI ratio, dealer alignment, pin probability
get_zero_dte0DTE analytics: intraday gamma, time-decay acceleration, pin risk, hedging pressure

Volatility & Pricing (9)

ToolDescription
get_surfaceLive 50×50 implied-volatility surface grid over (tenor, log-moneyness)
get_volatilityATM IV, realized vol (5/10/20/30d), VRP, 25-δ skew, term structure, GEX-by-DTE
get_advanced_volatilitySVI parameters, forward prices, variance surface, arbitrage flags, vanna/charm/volga surfaces, variance-swap fair values (Alpha)
get_vrpVolatility risk premium dashboard: IV vs RV, percentiles, regime, strategy scores
get_vrp_historyHistorical VRP time series for charting + backtesting
get_stock_summaryOne-call combined summary: price, IV, VRP, skew, term, exposure, macro context
calculate_greeksBlack-Scholes greeks (Δ, Γ, Θ, ν, ρ, vanna, charm, speed, zomma, color)
solve_ivSolve implied volatility from market price (BSM inversion)
calculate_kellyKelly criterion optimal sizing for an option trade

Historical replay tools (17, Alpha tier)

All historical tools take a required at=YYYY-MM-DDTHH:mm:ss parameter (ET wall-clock) and replay the matching live analytic at any minute since 2018-04-16. Response shapes are identical to the live counterparts — backtesting code that parses live responses works on historical with a tool-name swap.

ToolMirrors
get_historical_gexget_gex
get_historical_dexget_dex
get_historical_vexget_vex
get_historical_chexget_chex
get_historical_levelsget_levels
get_historical_exposure_summaryget_exposure_summary
get_historical_narrativeget_narrative
get_historical_zero_dteget_zero_dte
get_historical_max_painget_max_pain
get_historical_volatilityget_volatility
get_historical_advanced_volatilityget_advanced_volatility
get_historical_vrpget_vrp
get_historical_surfaceget_surface
get_historical_stock_quoteget_stock_quote
get_historical_option_quoteget_option_quote
get_historical_stock_summaryget_stock_summary
get_historical_coverageList symbols backfilled with coverage windows and gaps — call first to check whether (symbol, date range) is queryable

Note: The multi-factor options screener is REST-only at POST /v1/screener — no MCP tool wraps it (yet). The historical replay tools cover analytics only; for raw historical tick data use the historical REST endpoints directly.


MCP Resources (5)

The server publishes 5 markdown documents as MCP Resources so connected clients can pull the full reference into context with one call instead of relying on tool descriptions:

URITitle
flashalpha://docs/apiLive API reference (every REST endpoint at api.flashalpha.com)
flashalpha://docs/historicalHistorical replay reference
flashalpha://docs/mcpThis document
flashalpha://docs/screenerLive screener spec (filter DSL, sorts, formulas)
flashalpha://docs/screener-fieldsScreener field taxonomy

MCP Prompts (4)

Canonical workflow templates that surface in Claude Desktop / Cursor / Windsurf UI as one-click recipes:

PromptDescription
analyze_exposure(symbol)Full dealer-positioning walkthrough — gamma regime, key levels, hedging pressure, 0DTE contribution
vrp_regime_check(symbol)VRP percentile, IV-vs-RV richness, strategy scoring conditioned on the gamma regime
historical_comparison(symbol, reference_date)Side-by-side current vs past date, with VIX-context sanity check
zero_dte_brief(symbol)Pre-session 0DTE brief — pin risk, expected move, gamma acceleration, ±0.5% hedging tilts

Example Prompts

Once connected, ask your AI assistant questions like:

  1. "What is SPX dealer gamma positioning right now?"
  2. "Show me 0DTE setup for SPY today — pin risk, expected move, gamma acceleration."
  3. "Give me a full options picture for NVDA — IV, RV, VRP, skew, term, exposure, macro."
  4. "Replay SPY gamma exposure on 2020-03-16 at 14:00 ET."
  5. "Calculate Black-Scholes greeks for SPY 580 calls expiring next Friday at 18% IV."
  6. "What is implied volatility for an NVDA 900 put trading at $12.50 with spot $875?"
  7. "Where is the gamma flip and call/put walls for QQQ today?"
  8. "Compare current SPX dealer positioning to 2024-04-19."
  9. "What's the VRP percentile for AAPL vs its 90-day distribution?"
  10. "Generate a 0DTE brief for SPY before the open."

Plans & Pricing

Four tiers. Annual saves 20% and locks the price for 12 months.

PlanMonthlyAnnual (per month)Annual totalDaily quotaFreshness
Free$05 / day15-minute
Basic$79/mo$63/mo$756/yr100 / day15-second
Growth$299/mo$239/mo$2,868/yr2,500 / day15-second
Alpha$1,499/mo$1,199/mo$14,388/yrUnlimitedNo cache (real-time)

What unlocks at each tier

CapabilityFreeBasicGrowthAlpha
Single-stock GEX (single expiry), call/put walls, gamma flip
BSM greeks, IV solver, stock quotes
ETFs / indexes (SPY, QQQ, IWM, SPX)
DEX / VEX / CHEX, max pain, Market Overview
Full-chain GEX, 0DTE analytics, option quotes, volatility analytics, AI narrative, Kelly criterion
Live Screener — 20-symbol Tier 1 universe
Live Screener — full ~250-symbol universe (REST)
Advanced volatility (SVI, variance surfaces, arbitrage detection, higher-order greeks surfaces)
VRP analytics + history
Historical API — minute-resolution replay since 2018-04-16
99.9% uptime SLA

Tier gating is enforced server-side per tool. Callers hitting a tool above their tier receive a 403 with the required plan in the response body. Current pricing: flashalpha.com/pricing.


SDKs

LanguagePackageRepository
Pythonpip install flashalphaflashalpha-python
JavaScriptnpm i flashalphaflashalpha-js
.NETdotnet add package FlashAlphaflashalpha-dotnet
JavaMaven Centralflashalpha-java
Gogo get github.com/FlashAlpha-lab/flashalpha-goflashalpha-go

Links

Related Servers

NotebookLM Web Importer

Import web pages and YouTube videos to NotebookLM with one click. Trusted by 200,000+ users.

Install Chrome Extension