MCP.so
登录

InvestMCP

@arrpitk

关于 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.

基本信息

分类

金融与商务

运行时

python

传输方式

stdio

发布者

arrpitk

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "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": ""
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

金融与商务 分类下的更多 MCP 服务器