What is InvestMCP?
InvestMCP is a suite of Model Context Protocol (MCP) servers that transform Claude AI into a stock analysis assistant. It integrates Claude with financial data sources, enabling natural language investment analysis through conversation. The suite is built for investors and analysts who want to query stock fundamentals, technical indicators, and news sentiment via a chat interface.
How to use InvestMCP?
Install Python 3.10+, clone the repository, install the required Python packages (mcp[cli]>=1.4.0, yfinance, pandas, numpy, requests, nltk), then configure Claude Desktop by adding a JSON configuration for the three MCP servers. Each server is launched with a python3 command pointing to its script; the financial news server additionally requires the NEWS_API_KEY environment variable. Once configured, users can ask Claude natural-language questions about stocks.
Key features of InvestMCP
- Stock Data Server: Access fundamentals like P/E ratios, dividend yields, and revenue growth.
- Technical Analysis Server: Generate RSI, MACD, moving averages, and identify chart patterns.
- Financial News Server: Analyze news sentiment and track breaking stories about companies.
- Planned: Stock Screener, Investment Advisor, and Portfolio Tracker servers (not yet implemented).
- Built on yfinance, NLTK, and the Model Context Protocol by Anthropic.
Use cases of InvestMCP
- Query key financial metrics for a stock (e.g., “What are the key financial metrics for AAPL?”).
- Get technical analysis including RSI and MACD for a ticker (e.g., “Show me technical analysis for MSFT”).
- Check current news sentiment around a company (e.g., “What’s the news sentiment around Tesla?”).
- Compare fundamentals of two companies (e.g., “Compare AMZN and GOOGL fundamentals”).
评论