MCP Server: Technical Analysis - PDF & Web Report
MCP Server to run technical analysis taking Yahoo finance symbol as input. PDF and Web Report output
MCP Server: Technical Analysis - PDF & Web Report
Multi-purpose backend server combining FastAPI and MCP capabilities for technical analysis report generation with flexible integration options.
What It Does
A comprehensive technical analysis platform that combines FastAPI endpoints, Model Context Protocol (MCP) integration, and a Flask frontend:
- Exposes three types of endpoints:
/(Flask UI),/api/*(FastAPI), and/mcp(MCP/LLM). - Enhanced with MCP capabilities using fastapi-mcp package.
- Includes detailed API documentation and Pydantic models.
- Provides both synchronous and asynchronous processing.
- Generates professional PDF and HTML reports.
How to Use
- Available Endpoints
- Base URL:
https://ta.hosting.tigzig.com/ - MCP Endpoint:
https://ta.hosting.tigzig.com/mcp - API Endpoint:
https://ta.hosting.tigzig.com/api
- Base URL:
- Access Methods
- Web Interface: Visit
/for Flask frontend. - Direct API: Make HTTP requests to
/api/technical-analysis. - MCP/LLM: Connect to
/mcpusing any MCP-compatible client.
- Web Interface: Visit
- API Documentation: Please refer to the GitHub repository README for detailed information.
How It Works
- Data Collection: Historical price data fetched from Yahoo Finance API. Supports both daily and weekly timeframes. Uses custom FastAPI server (yfin.hosting.com).
- Technical Analysis: Calculates key technical indicators (EMAs, MACD, RSI, Bollinger Bands). Custom chart generation for both timeframes. Pattern recognition algorithms.
- AI Integration: Data and charts processed by Google's Gemini AI. Comprehensive market interpretation. Enhanced with MCP for AI/LLM interactions.
How to Replicate
- Installation Steps: Clone the repository. Install dependencies from
requirements.txt. Configure environment variables (GEMINI_API_KEY,GEMINI_MODEL_NAME). Run the server with uvicorn. - Key Dependencies: MCP Server : Yahoo Finance, FastAPI Server : ReportLab.