InvestMCP
@arrpitk
About InvestMCP
A suite of Model Context Protocol (MCP) servers that enhance Claude's capabilities with real-time stock analysis, technical indicators, and financial news sentiment for smarter investment decisions.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"stock-data": {
"command": "python3",
"args": [
"/path/to/InvestMCP/servers/stock_data_server.py"
]
},
"technical-analysis": {
"command": "python3",
"args": [
"/path/to/InvestMCP/servers/technical_analysis_server.py"
]
},
"financial-news": {
"command": "python3",
"args": [
"/path/to/InvestMCP/servers/financial_news_server.py"
],
"env": {
"NEWS_API_KEY": ""
}
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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”).
FAQ from InvestMCP
What are the requirements to run InvestMCP?
Python 3.10+ and the Claude Desktop app with MCP support are required. Several Python packages must be installed: mcp[cli]>=1.4.0, yfinance>=0.2.30, pandas>=2.0.0, numpy>=1.24.0, requests>=2.31.0, and nltk>=3.8.1.
How do I configure Claude Desktop for InvestMCP?
Open Claude Desktop settings, navigate to the Developer tab, click “Edit Config”, and add a JSON block defining the three MCP servers (stock-data, technical-analysis, financial-news) with their respective commands and arguments as shown in the README.
Which servers are currently available?
Three servers are implemented: Stock Data Server (fundamentals), Technical Analysis Server (indicators and patterns), and Financial News Server (news sentiment and breaking stories). Additional servers (Stock Screener, Investment Advisor, Portfolio Tracker) are planned for the future.
Do I need an API key for any of the servers?
Only the Financial News Server requires an API key. It expects a NEWS_API_KEY environment variable to be set in the server configuration.
What license does InvestMCP use?
InvestMCP is licensed under the MIT License.
More Finance & Commerce MCP servers
Financial Modeling Prep MCP Server
cdtaitFinancial Modeling Prep MCP Server
AKShare One MCP Server
zwldarrenMCP server that provides access to Chinese stock market data using akshare-one
Yahoo Finance MCP Server
Alex2Yang97This is a Model Context Protocol (MCP) server that provides comprehensive financial data from Yahoo Finance. It allows you to retrieve detailed information about stocks, including historical prices, company information, financial statements, options data, and market news.
China Stock MCP Server
peikuoAlpaca Trading MCP Server
laukikkMCP for the Alpaca trading API to manage stock and crypto portfolios, place trades, and access market data
Comments