OptionsFlow MCP server

OptionsFlow MCP server

mcp-optionsflow•bytwolven

A FastMCP server that analyzes option strategies using Yahoo Finance data, supporting local stdio and containerized Streamable HTTP transports.

License: Not specified•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Exposes an analyze_basic_strategies tool taking a symbol, strategy, expiration date, delta target, and width percentage, supporting strategy values ccs, pcs, csp, and cc.
  • •Returns breakeven, maximum profit and loss, return on capital, probability at breakeven, position Greeks, provider metadata, warnings, and rejection reasons, distinguishing per-share amounts from the contract multiplier.
  • •Can run locally over stdio or in a container serving Streamable HTTP, with Host and Origin header validation against DNS rebinding.

BEST FOR

  • •Evaluating basic covered call and cash-secured put style strategies with theoretical pricing and Greeks.
  • •MCP clients that need to connect either locally over stdio or to a containerized Streamable HTTP endpoint.

ABOUT MCP-OPTIONSFLOW

OptionsFlow MCP server is cataloged as an MCP server attributed to twolven. A FastMCP server that analyzes option strategies using Yahoo Finance data, supporting local stdio and containerized Streamable HTTP transports. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for OptionsFlow MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What market data source does the server use?

It uses Yahoo Finance, described as an unofficial personal-use source that may be delayed, incomplete, rate-limited, or structurally changed.

Are the returned values guaranteed or investment advice?

No; the README states that nothing returned is investment advice or guaranteed real-time data, and Black-Scholes values are theoretical estimates.

Is the Streamable HTTP endpoint secured?

The endpoint has no authentication or TLS and must not be exposed to an untrusted network without a configured reverse proxy and access control.

Upstream README

View this exact version on GitHub

README.md · 1fc0976d5ad3 · Fetched 2026-11-13 09:45:04 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

OptionsFlow MCP

A typed FastMCP server that analyzes option strategies from Yahoo Finance data. It supports local stdio and containerized Streamable HTTP transports.

Tool

analyze_basic_strategies(symbol, strategy, expiration_date, delta_target=0.3, width_pct=0.05) preserves the original public tool name, required arguments, defaults, and strategy values: ccs, pcs, csp, and cc. Prices and payoff values distinguish per-share amounts from the standard 100-share contract multiplier. Results include breakeven, maximum profit/loss, return on capital, probability evaluated at the actual breakeven, position Greeks, provider/as-of metadata, warnings, and rejection reasons.

uv sync --locked
uv run python optionsflow.py

The server uses stdio and writes no protocol-unrelated content to stdout. Black-Scholes values are theoretical European-model estimates; dividends and American-style early assignment may make them differ materially from realized outcomes. Yahoo Finance is an unofficial personal-use source and may be delayed, incomplete, rate-limited, or structurally changed. Nothing returned is investment advice or guaranteed real-time data.

Docker / Streamable HTTP

The container runs as an unprivileged user, installs the locked production dependencies, and serves MCP at http://127.0.0.1:8000/mcp. Start it with:

docker compose up --build -d
Invoke-RestMethod http://127.0.0.1:8000/health

Connect a Streamable HTTP-capable MCP client to http://127.0.0.1:8000/mcp. To avoid a port collision when running multiple servers, set MCP_HOST_PORT before starting Compose, for example $env:MCP_HOST_PORT=8001. Stop and remove the container with docker compose down.

The Compose mapping intentionally binds to localhost. The endpoint has no authentication or TLS and must not be exposed to an untrusted network without a properly configured reverse proxy and access control.

Binding to loopback alone does not make the endpoint private: a browser can still reach it through DNS rebinding, so the server validates Host and Origin headers before a request reaches an MCP session. Requests carrying a foreign Host are answered with 421 Misdirected Request and those carrying a foreign Origin with 403 Forbidden, while same-origin loopback traffic and non-browser clients that send no Origin are unaffected.

VariableDefaultPurpose
MCP_TRANSPORTstdiostdio, http, or streamable-http.
MCP_HOST127.0.0.1Interface the HTTP server binds.
MCP_PORT8000Port inside the container.
MCP_PATH/mcpStreamable HTTP endpoint path.
MCP_HOST_PORT8000Host port Compose publishes on 127.0.0.1.
MCP_HOST_ORIGIN_PROTECTIONtruetrue, auto, or false. Disable only behind a proxy that performs the same validation.
MCP_ALLOWED_HOSTSunsetComma-separated extra hostnames permitted in Host.
MCP_ALLOWED_ORIGINSunsetComma-separated extra browser origins permitted in Origin.

Put the reverse-proxy hostname in MCP_ALLOWED_HOSTS when fronting the container, otherwise the guard rejects the proxied Host. Running uv run python optionsflow.py remains the stdio-compatible default outside Docker.

Run validation with uv lock --check, uv run ruff check ., uv run mypy ., uv run pytest, uv build, and uv run python scripts/verify_wheel.py. CI also builds the container and performs health plus MCP tool-discovery checks over Streamable HTTP. Domain/provider branch coverage is gated at 90%. Set YFINANCE_LIVE=1 to opt into non-price-asserting live smoke tests.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for OptionsFlow MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-optionsflow)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics