Uses NumPy for numerical computations in options analysis, including Greeks calculations and probability estimates
Leverages pandas for options data manipulation, strategy analysis, and financial metrics calculations
Runs as a Python-based MCP server that provides options analysis capabilities through Python scripts
Utilizes SciPy for statistical calculations in options probability analysis and Black-Scholes model implementations
OptionsFlow MCP Server
A Model Context Protocol (MCP) server providing advanced options analysis and strategy evaluation through Yahoo Finance. Enables LLMs to analyze options chains, calculate Greeks, and evaluate basic options strategies with comprehensive risk metrics.
Features
Options Analysis
Complete options chain data processing
Greeks calculation (delta, gamma, theta, vega, rho)
Implied volatility analysis
Probability calculations
Risk/reward metrics
Strategy Analysis
Credit Call Spreads (CCS)
Put Credit Spreads (PCS)
Cash Secured Puts (CSP)
Covered Calls (CC)
Position Greeks evaluation
Liquidity analysis
Risk metrics calculation
Risk Management
Bid-ask spread analysis
Volume and open interest validation
Position sizing recommendations
Maximum loss calculations
Probability of profit estimates
Installation
Usage
Add to your Claude configuration:
In your claude-desktop-config.json
, add the following to the mcpServers
section:
Replace "path/to/optionsflow.py" with the full path to where you saved the optionsflow.py file.
Available Tools
analyze_basic_strategies
Strategy Analysis Response Format
Requirements
Python 3.12+
mcp
yfinance
pandas
numpy
scipy
Limitations
Data sourced from Yahoo Finance with potential delays
Options data availability depends on market hours
Rate limits based on Yahoo Finance API restrictions
Greeks calculations are theoretical and based on Black-Scholes model
Early assignment risk not factored into probability calculations
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Todd Wolven - (https://github.com/twolven)
Acknowledgments
Built with the Model Context Protocol (MCP) by Anthropic
Data provided by Yahoo Finance
Developed for use with Anthropic's Claude
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Context Protocol server that enables LLMs to analyze options chains, calculate Greeks, and evaluate basic options strategies through Yahoo Finance data.
- Features
- Installation
- Usage
- Available Tools
- Requirements
- Limitations
- Contributing
- License
- Author
- Acknowledgments
Related Resources
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server providing real-time stock data and options analysis through Yahoo Finance, enabling LLMs to access market data, analyze stocks, and evaluate options strategies.Last updated -20MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables interaction with Yahoo Finance to retrieve stock pricing, company information, and historical financial data through natural language queries.Last updated -1016MIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that enhances LLM capabilities by connecting to Wikipedia, internet search (Tavily), and financial data (Yahoo Finance) tools, enabling contextual responses to user queries.Last updated -3
- AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for interacting with Yahoo Finance, allowing users to retrieve stock prices, company information, and perform financial data comparisons.Last updated -11MIT License