greeks-mcp
Click on "Install 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., "@greeks-mcpshow me GEX and max pain for SPY"
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.
greeks-mcp
A Model Context Protocol server that exposes the Greeks options-analytics API as tools for any MCP client — Claude Desktop, Cursor, Claude Code, and more. Ask your assistant for GEX, Greeks, Max Pain, unusual flow or a full dashboard on any ticker and it pulls live from the API.
Only derived/computed analytics are exposed — no raw market data is redistributed.
Quickstart
1. Get an API key. Sign up at greeks.pro and create a key
— it looks like grk_<48 hex>. Public tools (screener, health, plans) work without
one.
2. Add one block to your client config and restart the client:
{
"mcpServers": {
"greeks-analytics": {
"command": "uvx",
"args": ["greeks-mcp"],
"env": { "GREEKS_API_KEY": "grk_your_key_here" }
}
}
}That's it — the assistant now has all 17 tools. uv
downloads and runs the published package on demand in an isolated environment, so
there's nothing to install or keep updated by hand.
Prefer pipx? pipx install greeks-mcp, then use "command": "greeks-mcp" with no
args.
Docker
A Dockerfile is included for containerized runs. The server speaks stdio (what
MCP clients spawn), so run it interactively (-i):
docker build -t greeks-mcp .
docker run --rm -i -e GREEKS_API_KEY=grk_your_key_here greeks-mcpThe image starts and answers MCP introspection (initialize + tools/list) with
no key; GREEKS_API_KEY is only needed for the authenticated analytics tools.
To wire the container into an MCP client, set "command": "docker" with
"args": ["run","--rm","-i","-e","GREEKS_API_KEY","greeks-mcp"].
Where the config block goes
The same mcpServers block works in every MCP client — only the file location
differs.
Client | Config file |
Claude Desktop (macOS) |
|
Claude Desktop (Windows) |
|
Cursor (global) |
|
Cursor (per-project) |
|
Ready-to-copy configs live in examples/. After reloading, the server
shows up under Cursor's Settings → MCP with a green dot and its 17 tools; type
@greeks-analytics in chat (or just ask for GEX/greeks/max pain) to use them.
Related MCP server: options-chain-mcp
Tools
Tool | Endpoint | Min plan | What it returns |
|
| Free | Max Pain strike per expiration |
|
| Trader | Δ Γ Θ V ρ, theo price, mispricing per contract |
|
| Trader | GEX/DEX per strike, total Net GEX, Gamma Flip |
|
| Trader | Unusual-activity signals |
|
| Trader | IV skew + term structure with plain-English reads |
|
| Pro | Full dashboard (sentiment, GEX, max pain, expected move, IV surface, term structure, top flow) |
|
| Pro | Vanna & Charm exposure (2nd-order dealer Greeks) |
|
| Pro | 0DTE focus panel — pin risk, gamma flip, max pain |
|
| Pro | Intraday gamma-regime time-series + flip timing |
|
| Pro | Day-by-day level outcomes (the receipts behind the %) |
|
| — | Compact analytics snapshot |
|
| — | Options-derived support/resistance levels |
|
| public | Watchlist screener — discover interesting symbols |
|
| public | GEX-by-strike heatmap for a watchlist symbol |
|
| public | Aggregated signal accuracy (~last 35 days) |
|
| public | Plans, prices, limits, routes |
|
| public | Service health |
Most analytics tools take symbol (required) and optional expiration (a Unix
timestamp, or "all" for every expiration; omit for the nearest expiry).
get_greeks also accepts range="atm", moneyness="low,high" and limit.
Two take different args: get_gex_intraday uses date="YYYY-MM-DD" (not
expiration), and get_track_record_detail takes an optional symbol only.
Configuration
Env var | Required | Default | Description |
| for | — | Your |
| no |
| API base URL |
| no |
| Per-request timeout (s) |
| no |
|
|
Run from source
Requires Python ≥ 3.10.
git clone https://github.com/ArtBreguez/greeks-mcp.git
cd greeks-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
# stdio (what MCP clients spawn)
GREEKS_API_KEY=grk_... greeks-mcp # or: python -m greeks_mcp
# or over HTTP
GREEKS_API_KEY=grk_... MCP_TRANSPORT=http greeks-mcpDevelopment
# Inspect the tools interactively without a full client:
mcp dev src/greeks_mcp/server.py
# Tests (no network needed):
python tests/test_server.py # tool wiring (URLs, params, headers, errors)
python tests/test_e2e.py # spawns the server over stdio, calls all 17 toolsReleasing (maintainers)
Published to PyPI via Trusted Publishing (OIDC — no API token stored). One-time setup:
On PyPI → Account settings → Publishing → add a pending publisher: project
greeks-mcp, ownerArtBreguez, repogreeks-mcp, workflowpublish.yml, environmentpypi.In GitHub repo settings → Environments, create an environment named
pypi.
Then cut a release by bumping version in pyproject.toml + __init__.py and
pushing a tag:
git tag v0.1.0 && git push origin v0.1.0The workflow builds the sdist+wheel, verifies the wheel installs and registers all 17 tools, and publishes.
Notes
Plans & errors: a
402/403means your plan doesn't include that route (or you hit the symbol/rate limit). Calllist_plansto see what each tier unlocks.expiration="all"returns every expiration — richer but slower. For heavy names prefer a specific expiration timestamp, or raiseGREEKS_TIMEOUT.Derived data only. No raw market data (quotes, bid/ask, OI, contract prices) is redistributed — everything here is computed analytics.
License
MIT — see LICENSE.
Maintenance
Related MCP Servers
- Flicense-qualityDmaintenanceProvides real-time options analytics, pricing with Greeks, Monte Carlo simulations, volatility analysis, strategy backtesting, and risk metrics using actual market data from Yahoo Finance and Polygon.io.1
- AlicenseAqualityCmaintenanceRead-only MCP server for options research with server-side filtering to reduce token usage. Supports Tradier and Alpaca data providers.42499MIT
- AlicenseCqualityCmaintenanceEnables querying real-time and historical financial market data for stocks, options, forex, and crypto, including quotes, trades, technical indicators, and reference data through a set of MCP tools.713MIT
- AlicenseBqualityAmaintenanceAn MCP server that gives an LLM agent a typed, audited tool surface over quant crypto-options desk analytics: gamma exposure, vanna, skew, vol surface, options flow, technicals, portfolio greeks, scenario analysis, and live positions.221MIT
Related MCP Connectors
Options analytics: 17 pricing models, 17 Greeks, GEX, IV, 23 screeners, unusual, dark pool, max pain
Hosted MCP for stocks, options, Greeks, brokers, order previews, alerts, and workflows.
Real-time & historical options analytics: GEX, dealer positioning, vol, VRP, 0DTE, CME futures
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ArtBreguez/greeks-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server