GammaRips Options Intelligence

GammaRips Options Intelligence

Anti-firehose options-flow data for AI agents: curated daily pool, features, realized outcomes.

Category
访问服务器

README

GammaRips MCP Server

smithery badge

Options-flow intelligence primitives for AI agents.

Every trading morning GammaRips scans the US options market for unusual institutional activity and curates it hard — down to a ~50-name high-signal BULLISH pool. This MCP server gives a bring-your-own-agent trader that pool plus the substrate to reason over it: point-in-time features, realized opportunity surfaces (max-favorable / max-adverse excursions with no exit applied), bracket outcome labels, regime context, and methodology playbooks.

Design principle: primitives, never a pick. There is no "what should I buy" endpoint. Every agent reasons from the same data to its own contract and its own exit. Paper-traded research data; educational only; not investment advice.

Hosted MCP endpoint

  • Streamable HTTP (primary): https://gammarips-mcp-406581297632.us-central1.run.app/mcp
  • SSE (legacy, deprecation window): https://gammarips-mcp-406581297632.us-central1.run.app/sse
  • Stateless JSON-RPC: https://gammarips-mcp-406581297632.us-central1.run.app/jsonrpc
  • Server card: https://gammarips-mcp-406581297632.us-central1.run.app/.well-known/mcp/server-card.json
  • Auth: bearer-token tiering (Phase 2). Free-tier tools work with no key; pro tools need a GammaRips API key (gr_live_...) sent as Authorization: Bearer <key>. Currently in shadow rollout (nothing blocked yet); flips to enforce once keys are issued. Get one at gammarips.com/pricing.

Available tools (25)

Live pool

  • get_contract_snapshot — fresh entry-day OI / session volume / last trade / day range for one contract (no quote fields on this data plan)
  • get_enriched_signals — the curated daily candidate pool: enrichment narrative, technicals, catalyst, recommended contract, mom_60 (leakage-safe view)
  • get_signal_detail — full enrichment for one ticker
  • get_overnight_signals — the raw pre-curation scan (wide net)
  • get_freemium_preview — top-N teaser, narrow fields

Research substrate (V3)

  • get_pool_features — point-in-time feature vectors from the allowlist features view
  • get_opportunity_surface — per-contract realized MFE/MAE excursions, exit-free (the core product surface)
  • query_outcomes — row-level bracket labels (same-day GIGO or 3-day) joined to features
  • get_outcome_summary — grouped aggregates (delta bucket, score, exit reason, ...) with honest exclusion counts
  • get_harvest_curve — touch-probability curve (P(peak ≥ X) w/ CIs), day-of-peak buckets, stop-touch rates, live from the closed-window surface
  • estimate_exit_rule — classify YOUR (target, stop) bracket against the surface; EV bounds, heuristic share reported
  • get_regime_context — VIX/VIX3M/SPY-trend as-of scan date + the fail-closed rail

Methodology

  • list_playbooks / get_playbook — server-versioned playbooks: start-here, daily-workflow, run-your-own-tournament, exit-lab, leakage-and-data-contract, changelog. Also exposed as MCP resources (gammarips://playbooks/{name}).

Performance / receipts

  • get_position_history — the engine's realized paper trades (T+1 receipts; cohort-filtered, default live V7_1_TILTED_GIGO)
  • get_historical_performance — cohort aggregate of the above
  • get_signal_performance / get_win_rate_summary — UNDERLYING-stock direction outcomes for the broad pool (explicitly not option PnL)

Reports & metadata

  • get_daily_report / get_report_list — daily intelligence reports
  • get_available_dates — scan dates with data
  • get_enriched_signal_schema — the machine-readable data contract: every substrate column with its leakage classification (feature | label | opportunity | regime_telemetry | identity) and as-of boundary

Reference / external

  • get_market_calendar_status — NYSE calendar status
  • get_signal_explainer — plain-English definition of any field (deterministic, no LLM)
  • web_search — Google Custom Search (rate-limited, 10 req/min/IP)

Removed in V3

get_todays_pick, list_todays_picks, get_open_position — the engine's own daily selection is no longer published same-day (realized receipts remain via get_position_history).

Prompts

morning_brief, analyze_candidate(ticker), run_your_own_tournament — thin orchestrations over the tools above. None returns a pick.

Quick connect

Claude Code

# Free tier (no key):
claude mcp add --transport http gammarips https://gammarips-mcp-406581297632.us-central1.run.app/mcp

# Pro (with your key):
claude mcp add --transport http gammarips https://gammarips-mcp-406581297632.us-central1.run.app/mcp \
  --header "Authorization: Bearer gr_live_your_key"

Cursor

Easiest — install the plugin. This repo is an Open Plugins-standard plugin (.cursor-plugin/plugin.json): it bundles the hosted MCP server plus a gammarips-options-flow skill that teaches your agent the data-not-advice workflow. Install it from the plugin marketplace (search "GammaRips") or point Cursor at this repo. It connects on the free tier out of the box; add your gr_live_... key for pro tools.

Manual: Settings → MCP → Add new MCP server, or add to .cursor/mcp.json:

{
  "mcpServers": {
    "gammarips": {
      "url": "https://gammarips-mcp-406581297632.us-central1.run.app/mcp",
      "headers": { "Authorization": "Bearer gr_live_your_key" }
    }
  }
}

Omit headers for the free tier.

Cline

MCP Servers → Remote Servers → Add, or add to cline_mcp_settings.json:

{
  "mcpServers": {
    "gammarips": {
      "url": "https://gammarips-mcp-406581297632.us-central1.run.app/mcp",
      "type": "streamableHttp",
      "headers": { "Authorization": "Bearer gr_live_your_key" }
    }
  }
}

Omit headers for the free tier (8 anon tools).

Generic MCP config

{
  "mcpServers": {
    "gammarips": {
      "url": "https://gammarips-mcp-406581297632.us-central1.run.app/mcp"
    }
  }
}

Clients that only speak SSE can use the legacy /sse endpoint during the deprecation window.

Free tier works with no account: get_daily_report, list_playbooks/get_playbook, get_signal_explainer, get_market_calendar_status, get_available_dates, get_report_list, get_freemium_preview. Pro tools require Agent Access ($39/mo) — generate a key at gammarips.com.

Local development

Prerequisites

  • Python 3.10+
  • Optional: Docker

Setup

git clone https://github.com/DevDizzle/gammarips-mcp.git
cd gammarips-mcp
python -m venv .venv
source .venv/bin/activate
pip install -e .
cp .env.example .env

Run locally

PYTHONPATH=src python src/server.py

The server binds to 0.0.0.0:${PORT:-8080}, Streamable HTTP at /mcp (SSE fallback).

Docker

docker build -t gammarips-mcp .
docker run --rm -p 8080:8080 --env-file .env gammarips-mcp

Environment

See .env.example for the current environment variables. Typical values include:

  • GCP_PROJECT_ID
  • FIRESTORE_DATABASE
  • GCS_BUCKET_NAME
  • LOG_LEVEL
  • PORT

Validation

Python compile check

python -m compileall src

Docker build check

docker build -t gammarips-mcp:test .

Deployment

Deployment is manual (the CD workflow was removed; .github/workflows/ci.yml only runs ruff format --check + ruff check on pushes/PRs to main).

Ship a new revision with the deploy script, which uses a Cloud Run source deploy and reproduces the live config exactly (secrets via Secret Manager, REQUIRE_API_KEY=false):

bash scripts/deploy.sh

Equivalent one-liner:

gcloud run deploy gammarips-mcp --source=. \
  --project=profitscout-fida8 --region=us-central1 \
  --set-env-vars="REQUIRE_API_KEY=false" \
  --set-secrets="POLYGON_API_KEY=POLYGON_API_KEY:latest,GOOGLE_API_KEY=GOOGLE_API_KEY:latest,GOOGLE_CSE_ID=GOOGLE_CSE_ID:latest"

The API keys are mounted from Secret Manager — never pass them as plain env vars (that clobbers the secret mounts).

Before any deploy that changes data exposure: run the gammarips-review leakage audit (see docs/MCP-V3-SPEC.md §2.4).

Security

See SECURITY.md for the trust model — read-only guarantee, parameterized-query SQL-injection defense, response-size bounds, per-IP rate limits, sanitized errors, leakage-safe views, and the column-classification data contract.

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选