Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Stock Market Real-Time AnalyzerCompare the real-time price of NVDA across all available sources"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π Stock Market Real-Time Analyzer
A comprehensive Python tool for fetching and analyzing real-time stock market data from multiple public APIs. Features include a command-line interface, web dashboards, and an MCP (Model Context Protocol) server for AI assistant integration.
β¨ Features
Multi-Source Data Fetching: Get stock data from Yahoo Finance, Alpha Vantage, and Finnhub
Real-Time Analysis: Compare prices across different sources
Multiple Interfaces:
Command-line tool
Web dashboard (Flask)
Standalone HTML dashboard
Streamlit dashboard
MCP server for AI assistants (Claude, Kiro)
Comprehensive Data: Price, change, volume, market cap, day high/low, and more
Easy Integration: Works with Claude Desktop and other MCP-compatible clients
π Quick Start
Installation
Basic Usage
Command Line:
Standalone Dashboard:
Web Dashboard:
π API Keys (Optional)
Yahoo Finance works without API keys. For additional sources:
Copy
.env.exampleto.envAdd your API keys:
Alpha Vantage - Free tier: 25 requests/day
Finnhub - Free tier available
π€ MCP Server Integration
Use this tool with AI assistants like Claude Desktop or Kiro.
Setup for Claude Desktop
Run the setup script:
Restart Claude Desktop
Ask Claude: "Get the stock price for AAPL"
See CLAUDE_DESKTOP_SETUP.md for detailed instructions.
Setup for Kiro
The MCP server is pre-configured in .kiro/settings/mcp.json. Just restart Kiro and ask:
"Get the stock price for AAPL"
"Compare TSLA across all sources"
π Available Tools
Command Line
MCP Server Tools
When integrated with AI assistants, you get access to:
get_stock_quote - Get quote from specific sources
compare_stock_sources - Compare data across all sources
get_best_quote - Get most reliable quote
get_multiple_quotes - Get quotes for multiple symbols
ποΈ Project Structure
π Documentation
MCP Setup Guide - Detailed MCP server configuration
Claude Desktop Setup - Claude Desktop integration
Workflow Diagram - Complete data flow explanation
Quick Start Guide - Getting started quickly
π§ Requirements
Python 3.9+
Internet connection for API access
Optional: API keys for Alpha Vantage and Finnhub
π¦ Dependencies
requests- HTTP requestspandas- Data manipulationyfinance- Yahoo Finance APIpython-dotenv- Environment variablesflask- Web dashboard (optional)streamlit- Streamlit dashboard (optional)mcp- Model Context Protocol server
π― Use Cases
Real-time stock monitoring - Track multiple stocks simultaneously
Price comparison - Verify prices across different data sources
AI assistant integration - Ask AI for stock data in natural language
Data analysis - Export data for further analysis
Portfolio tracking - Monitor your investments
π€ Contributing
Contributions are welcome! Feel free to:
Report bugs
Suggest new features
Submit pull requests
Improve documentation
π License
MIT License - feel free to use this project for personal or commercial purposes.
π Acknowledgments
Yahoo Finance - Primary data source
Alpha Vantage - Financial data API
Finnhub - Stock market data
Model Context Protocol - AI integration standard
π§ Contact
For questions or support, please open an issue on GitHub.
β οΈ Disclaimer
This tool is for informational purposes only. Stock market data may be delayed. Always verify information before making investment decisions. Not financial advice.
Made with β€οΈ for stock market enthusiasts and AI developers