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.
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.
Frequently asked questions
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.
Basic information
More Finance & Commerce MCP servers
Futu Stock MCP Server
shuizhengqi1mcp server for futuniuniu stock
Octagon: MCP for Market Data
OctagonAIAn MCP server for public & prediction markets research. Ask natural-language questions and get structured, source-backed answers across SEC filings, earnings transcripts, company financials, stock & crypto market data, and prediction markets news & research. Built for investors,
Boba MCP
Able-labs-xyzBoba CLI - The bridge between agents and decentralized trading.
✅ Official Alpha Vantage MCP Server
calvernazA MCP server for the stock market data API, Alphavantage API.
MetaTrader 5 MCP Server
QoyyuumA Model Context Protocol (MCP) server for interacting with the MetaTrader 5 trading platform. This server provides AI assistants with tools and resources to access market data, perform trading operations, and analyze trading history.
Comments