Sponsored by Deepsite.site

InvestMCP

Created By
arrpitk9 months ago
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.
Content

InvestMCP

MCP Python License

InvestMCP is a comprehensive suite of Model Context Protocol (MCP) servers that transform Claude AI into a powerful stock analysis assistant. This project enables seamless integration between Claude and financial data sources, allowing for natural language investment analysis through conversation.

🚀 Features

Implemented Servers

  • Stock Data Server: Access fundamental financial data including P/E ratios, dividend yields, revenue growth, and more.

  • Technical Analysis Server: Generate technical indicators like RSI, MACD, moving averages, and identify chart patterns.

  • Financial News Server: Analyze news sentiment and track breaking stories about companies to incorporate market sentiment into investment decisions.

Planned Servers

  • Stock Screener Server: Filter stocks based on custom criteria to discover investment opportunities.

  • Investment Advisor Server: Receive personalized investment recommendations based on risk tolerance and goals.

  • Portfolio Tracker Server: Track portfolio performance and get rebalancing suggestions.

📋 Requirements

  • Python 3.10+
  • Claude Desktop app with MCP support
  • Required Python packages:
    • mcp[cli]>=1.4.0
    • yfinance>=0.2.30
    • pandas>=2.0.0
    • numpy>=1.24.0
    • requests>=2.31.0
    • nltk>=3.8.1

🔧 Installation

  1. Clone this repository:
git clone https://github.com/arrpitk/InvestMCP.git
cd InvestMCP

Configure Claude Desktop:

  • Open Claude Desktop settings
  • Navigate to Developer tab
  • Click "Edit Config"
  • Add the MCP server configuration (see example below)

🔍 Usage

Claude Desktop Configuration

json
{
  "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": "your-news-api-key-here"
      }
    }
  }
}

Example Conversations

Once configured, you can talk to Claude naturally about stocks:

  • "What are the key financial metrics for AAPL?"
  • "Show me the technical analysis for MSFT including RSI and MACD."
  • "What's the current news sentiment around Tesla?"
  • "Compare the fundamentals of AMZN and GOOGL."

🔜 Roadmap

  1. Add Stock Screener functionality
  2. Implement Investment Advisor capabilities
  3. Add Portfolio Tracking and management
  4. Create interactive visualizations for technical analysis
  5. Add historical backtesting of investment strategies

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📢 Acknowledgements

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Serper MCP ServerA Serper MCP Server
ChatWiseThe second fastest AI chatbot™
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
DeepChatYour AI Partner on Desktop
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Playwright McpPlaywright MCP server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
CursorThe AI Code Editor
WindsurfThe new purpose-built IDE to harness magic
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Tavily Mcp
Amap Maps高德地图官方 MCP Server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.