- Home
- MCP servers
- OptionsFlow
OptionsFlow
- python
1
GitHub Stars
python
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"jazastry-mcp-trade": {
"command": "python",
"args": [
"path/to/optionsflow.py"
]
}
}
}You can run the OptionsFlow MCP Server to enable advanced options analysis and strategy evaluation directly via an MCP client. It processes options chains, computes Greeks, analyzes risk, and supports strategy evaluation for common spreads and covered calls, all driven by data from Yahoo Finance.
How to use
You connect to this MCP server from your MCP client by adding it as an MCP endpoint. Once configured, you can request analyses for individual symbols, specify a strategy (credit call spreads, put credit spreads, cash secured puts, or covered calls), and receive structured results that include current price, expiration details, greeks, risk metrics, and profit/loss estimates. Use this server to compare strategy outcomes, assess risk, and guide decision making before placing trades.
How to install
Prerequisites you need before installation: Python 3.12 or newer, Git, and network access to install Python packages.
Step 1: Install dependencies locally.
pip install -r requirements.txt
Step 2: Clone the OptionsFlow MCP Server repository.
git clone https://github.com/twolven/mcp-optionsflow.git
cd mcp-optionsflow
Step 3: Prepare the server to run. Ensure you are in the project directory and install any additional dependencies if prompted.
Configuration and running
To enable the MCP server in your Claude (or compatible) client, configure the MCP endpoint with the following JSON snippet. Replace path/to/optionsflow.py with the full path to where you saved the optionsflow.py file.
{
"mcpServers": {
"optionsflow": {
"command": "python",
"args": ["path/to/optionsflow.py"]
}
}
}
Available tools
analyze_basic_strategies
Analyses basic options strategies (CCS, PCS, CSP, CC) and returns current price, expiration, strategy metrics, greeks, and profit/risk insights.