I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

MCP-Optionsflow
Un servidor MCP que proporciona un análisis de opciones avanzadas a través de la financiación de Yahoo, el soporte de los cálculos de los griegos, la evaluación de la estrategia (CCS/PCS/CSP/CC) y las métricas de riesgo. Construido para MCP con Claude.ai.
1
Github Watches
3
Github Forks
7
Github Stars
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
# Install dependencies
pip install -r requirements.txt
# Clone the repository
git clone https://github.com/twolven/mcp-optionsflow.git
cd mcp-optionsflow
Usage
Add to your Claude configuration:
In your claude-desktop-config.json
, add the following to the mcpServers
section:
{
"mcpServers": {
"optionsflow": {
"command": "python",
"args": ["path/to/optionsflow.py"]
}
}
}
Replace "path/to/optionsflow.py" with the full path to where you saved the optionsflow.py file.
Available Tools
-
analyze_basic_strategies
{
"symbol": str, # Required: Stock symbol
"strategy": str, # Required: "ccs", "pcs", "csp", or "cc"
"expiration_date": str, # Required: "YYYY-MM-DD"
"delta_target": float, # Optional: Target delta for CSP/CC (default: 0.3)
"width_pct": float # Optional: Width for spreads (default: 0.05)
}
Strategy Analysis Response Format
{
"symbol": str,
"strategy": str,
"current_price": float,
"expiration": str,
"days_to_expiration": int,
"analysis": {
# Credit Call Spread / Put Credit Spread
"strikes": {
"short_strike": float,
"long_strike": float
},
"metrics": {
"credit": float,
"max_loss": float,
"max_profit": float,
"probability_of_profit": float,
"risk_reward_ratio": float
},
"greeks": {
"net_delta": float,
"net_theta": float,
"net_gamma": float
}
# Cash Secured Put
"strike": float,
"metrics": {
"premium": float,
"max_loss": float,
"assigned_cost_basis": float,
"return_if_otm": float,
"downside_protection": float
},
"greeks": {
"delta": float,
"theta": float,
"gamma": float
}
# Covered Call
"strike": float,
"metrics": {
"premium": float,
"max_profit": float,
"max_profit_percent": float,
"upside_cap": float,
"premium_yield": float
},
"greeks": {
"position_delta": float,
"theta": float,
"gamma": float
}
}
}
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
相关推荐
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
This GPT assists in finding a top-rated business CPA - local or virtual. We account for their qualifications, experience, testimonials and reviews. Business operators provide a short description of your business, services wanted, and city or state.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Espejo dehttps: //github.com/agentience/practices_mcp_server
Una puerta de enlace de API unificada para integrar múltiples API de explorador de blockchain similar a Esterscan con soporte de protocolo de contexto modelo (MCP) para asistentes de IA.
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
Reviews

user_icgnKS4P
I recently started using mcp-optionsflow by twolven, and it has been a game-changer for my options trading strategies. The tool efficiently tracks and displays options flow data, providing invaluable insights. It's user-friendly, well-documented, and seamlessly integrates into my workflow. Highly recommend for anyone serious about options trading! Check it out on GitHub.