MCP.so
登录

Indian Stock Analysis MCP Server

@ingpoc

基本信息

分类

金融与商务

传输方式

stdio

作者

ingpoc

关于 Indian Stock Analysis MCP Server

暂无概览

#stock-analysis#mcp-server#portfolio-recommendations

Indian Stock Analysis MCP Server 配置

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

{
  "mcpServers": {
    "stock_mcp_server": {
      "command": "python",
      "args": [
        "server.py"
      ]
    }
  }
}

Indian Stock Analysis MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

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

概览

What is Indian Stock Analysis MCP Server?

A Model Context Protocol (MCP) server that integrates with MongoDB, the Alpha Vantage API, and a knowledge graph to provide portfolio recommendations and market insights exclusively for the Indian stock market (NSE/BSE). It enables Claude to access your Indian stock portfolio holdings, analyze performance, and give personalised recommendations directly from the Claude Desktop app.

How to use Indian Stock Analysis MCP Server?

Install prerequisites (Python 3.9+, MongoDB on localhost:27017, Alpha Vantage free API key, Claude Desktop), clone the repository, install dependencies, configure the .env file, then run python server.py. Configure Claude Desktop by editing claude_desktop_config.json (located in ~/Library/Application Support/Claude/ on macOS or %APPDATA%\Claude\ on Windows) to point to the server script. After restarting Claude, start a new conversation and ask about your portfolio.

Key features of Indian Stock Analysis MCP Server

  • Exclusive Indian market focus (NSE and BSE listed stocks)
  • Direct MongoDB access without an API layer
  • Knowledge graph integration for persistent analysis data
  • Automatic rate handling for Alpha Vantage free tier
  • Modular architecture with environment configuration
  • Segmented portfolio analysis to prevent timeouts

Use cases of Indian Stock Analysis MCP Server

  • Get a summary of your Indian stock portfolio holdings
  • Analyze portfolio segments one at a time for large portfolios
  • Request market trends and stock recommendations for NSE/BSE
  • Ask about specific stocks like Reliance or TCS
  • Identify which sectors are most represented in your portfolio

常见问题

1

What are the prerequisites to run this server?

Python 3.9+, a running MongoDB instance on localhost:27017 with a `stock_data` database, an Alpha Vantage API key (free tier), and the Claude Desktop app.

2

Where does my stock data live?

All stock data is stored locally in your MongoDB instance on `stock_data` database. The server queries this database directly; no external cloud storage is used.

3

What are the Alpha Vantage API limits?

The free tier allows 5 requests per minute and 500 requests per day. The server automatically respects these limits and queues requests accordingly.

4

How do I handle large portfolios (20+ stocks)?

Use the segmented approach: first run `get_portfolio_summary` to see an overview, then analyze segments one at a time with `portfolio_analysis` using the segment parameter. Default segment size is 5 stocks, adjustable via `segment_size`.

5

Why aren't the MCP tools appearing in Claude Desktop?

Check that the server key in `claude_desktop_config.json` uses hyphens, the `MCP_SERVER_NAME` environment variable matches, paths are absolute, and you start a new conversation after making changes. Also enable developer mode in Claude's settings.

评论

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