home / mcp / optionsflow mcp server

OptionsFlow MCP Server

An MCP server providing advanced options analysis through Yahoo Finance, supporting Greeks calculations, strategy evaluation (CCS/PCS/CSP/CC), and risk metrics. Built for MCP with Claude.ai.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "twolven-mcp-optionsflow": {
      "command": "python",
      "args": [
        "path/to/optionsflow.py"
      ]
    }
  }
}

You can harness the OptionsFlow MCP Server to analyze option chains, calculate Greeks, evaluate basic strategies, and manage risk using automated tooling. It’s designed to help you perform in-depth options analysis and strategy assessment, integrating with your MCP client to deliver structured insights and actionable metrics.

How to use

You connect to the OptionsFlow MCP Server from your MCP client by configuring a local (stdio) server entry that runs the Python script responsible for the analysis. Once connected, you can request analysis for common option strategies and receive structured results with pricing, Greeks, risk metrics, and profit potential.

To set up the connection in your client, add a server entry that points to the local Python script you will run. The example below demonstrates how to register the server so your client can communicate with it.

{
  "mcpServers": {
    "optionsflow": {
      "command": "python",
      "args": ["path/to/optionsflow.py"]
    }
  }
}

Available tools and what you can do

The server exposes an option analysis capability that you can invoke to evaluate basic strategies such as Credit Call Spreads, Put Credit Spreads, Cash Secured Puts, and Covered Calls, along with associated risk metrics and Greeks.

Available tools

analyze_basic_strategies

Runs analysis for a given symbol and strategy, returning current price, expiration, Greeks, risk metrics, and profit potential for CCS, PCS, CSP, and CC strategies.