TradePilot MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π TradePilot MCP Server v3.0
Advanced 18-Layer Trading Intelligence Engine
A production-grade MCP (Model Context Protocol) server that combines Polygon.io real-time market data with an 18-layer technical analysis engine for autonomous options trading intelligence.
π What is This?
TradePilot is a FastAPI-based MCP server that:
Fetches real-time and historical market data from Polygon.io
Runs analysis through 18 specialized layers (Technical + Price Action + Options + Master Brain)
Provides 14 high-probability playbooks targeting 85-95% win rates
Delivers actionable options trading signals with precise strike/expiry recommendations
Includes multi-ticker scanning, risk management, and alert notifications
Think of it as your AI options trading copilot powered by institutional-grade analysis.
Related MCP server: ThinChain
π― Key Features
18-Layer Analysis System
Layers 1-10: Technical indicators (Momentum, Volume, Trend, Structure)
Layers 11-13: Price action (Support/Resistance, VWAP, Volume Profile)
Layers 14-17: Options analysis (IV, Greeks, Gamma, Put/Call ratios)
Layer 18: Master Brain with 14 playbooks
Trading Modes
SCALP: 0-2 DTE options
SWING: 7-45 DTE options
INTRADAY: Same-day trades
Advanced Features
Multi-ticker scanner with filtering
Kelly Criterion position sizing
Risk management with drawdown protection
Discord/Slack/Telegram alerts
Backtesting engine
AI-ready JSON output
π Quick Start
# Clone the repository
git clone https://github.com/Sakhir786/tradepilot-mcp-server.git
cd tradepilot-mcp-server
# Set up environment
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Configure environment variables
cp .env.example .env
# Edit .env and add your POLYGON_API_KEY
# Run the server
python main.py
# Or with uvicorn:
uvicorn main:app --host 0.0.0.0 --port 10000Access documentation at: http://localhost:10000/docs
π‘ API Endpoints
18-Layer Analysis
GET /engine18/analyze- Full 18-layer analysisGET /engine18/quick- Quick signal checkGET /engine18/scan- Multi-ticker scannerGET /engine18/playbooks- List all 14 playbooksGET /engine18/health- System health check
Market Data (Polygon.io)
GET /candles- OHLCV dataGET /options- Options chainGET /news- Latest newsGET /ticker-details- Company info
π§ Environment Variables
POLYGON_API_KEY=your_api_key_here
TRADEPILOT_PRODUCTION_PATH=/path/to/tradepilot-mcp-server
TRADEPILOT_LAYERS_PATH=/path/to/layers
TRADEPILOT_PORTFOLIO_VALUE=100000
TRADEPILOT_DISCORD_WEBHOOK=your_webhook_urlπ Example Usage
import requests
# Full analysis
response = requests.get(
"http://localhost:10000/engine18/analyze",
params={"symbol": "SPY", "mode": "swing"}
)
analysis = response.json()
print(f"Direction: {analysis['analysis_summary']['direction']}")
print(f"Win Probability: {analysis['analysis_summary']['win_probability']}%")π― 14 High-Probability Playbooks
Bullish (CALLS):
Liquidity Sweep + BOS (85-95%)
CHoCH Reversal (82-92%)
Trend Continuation (80-90%)
FVG Fill + Rejection (81-88%)
Order Block Bounce (79-87%)
Divergence + Structure (80-88%)
VWAP Reclaim (77-85%)
Bearish (PUTS): 8-14. Mirror patterns for bearish setups
π Security & Best Practices
Never commit
.envfilesKeep API keys secure
Use environment variables for sensitive data
Enable rate limiting for production deployments
π License
MIT License - See LICENSE file for details
π€ Contributing
Contributions welcome! Please open an issue or submit a pull request.
π§ Support
For issues or questions, please open a GitHub issue.
TradePilot v3.0 - Professional Options Trading Intelligence ππ
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Production MCP server for US equity and options intelligence: real-time IV radar, Monte Carlo simulation, options pressure, strategy backtesting, AI prediction, pre-trade risk analysis, and automated stock research reports.
Hosted MCP server for Indian market quotes, option-chain Greeks and multi-broker telemetry.
Hosted MCP server for SEC, FRED, Polymarket, Deribit, OKX, and FMP.
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA comprehensive MCP server for professional trading operations with Alpaca, providing 31 tools for account management, market data, order execution, custom strategy execution, and advanced portfolio analytics with intelligent position classification.3-
- AlicenseBqualityDmaintenanceMCP server that sanitizes bad broker data and compresses 500-row options chains to strategy-specific slices for AI trading agents. 95% token reduction. Handles ghost quotes, inverted spreads, and impossible greeks automatically.326 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceA production-ready MCP server for algorithmic trading with Dhan broker API, providing market data, order management, portfolio tracking, and real-time trading capabilities.1MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables autonomous AI agents to connect to Tastytrade for market scanning, option strategies, account management, and optionally placing trades with built-in safety controls.9MIT