MCP Stock Analysis Server

Integrations

  • Enables installation and execution of the MCP server via npm packages, making it accessible through npx commands.

Akshay Bavkar 的 MCP 股票分析服务器

这是一个 MCP 服务器,使用 Yahoo Finance API 提供对印度股票实时和历史数据的访问。它允许本地 LLM 通过 Claude Desktop、Cursor 和其他兼容 MCP 的代理将股票数据检索用作上下文。

可用功能

  • getStockQuote :获取印度股票的当前报价。
  • getHistoricalData :获取具有自定义间隔和周期的印度股票的历史数据。

设置

npm install mcp-stock-analysis

在主机中使用

配置您的 MCP 客户端(例如,Claude Desktop)以连接到服务器:

{ "mcpServers": { "mcp-stock-analysis": { "command": "npx", "args": ["-y", "mcp-stock-analysis"], } } }

工具

getStockQuote

获取股票的当前报价。

输入:

symbol :股票代码(例如,RELIANCE.NS)

输出:

{ "symbol": "RELIANCE.NS", "price": 2748.15, "name": "Reliance Industries Ltd" }

getHistoricalData

获取股票的历史数据。

输入:

  • symbol :股票代码(例如,RELIANCE.NS)
  • interval :数据的时间间隔( dailyweeklymonthly )(可选,默认值: daily

输出:

{ "date": "2025-03-21T00:00:00+05:30", "open": 2735, "high": 2750, "low": 2725, "close": 2748.15, "volume": 21780769 }

包含历史数据的 JSON 对象。输出的结构取决于间隔参数。

贡献

欢迎贡献!请提交 issue 或 pull request。

执照

麻省理工学院

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

通过 Yahoo Finance API 提供对实时和历史印度股票数据的访问,使本地 LLM 能够通过与 MCP 兼容的代理(如 Claude Desktop 和 Cursor)检索股票信息。

  1. Available Features
    1. Setup
      1. Usage in Host
        1. Tools
          1. getStockQuote
          2. getHistoricalData
        2. Contributing
          1. License

        Related MCP Servers

        • A
          security
          F
          license
          A
          quality
          This is an MCP server that provides access to the Alpha Vantage API, allowing stock data retrieval to be used as context to LLMs.
          Last updated -
          2
          15
          6
          JavaScript
        • -
          security
          A
          license
          -
          quality
          Provides comprehensive stock screening capabilities through Yahoo Finance. Enables LLMs to screen stocks based on technical, fundamental, and options criteria, with support for watchlist management and result storage.
          Last updated -
          13
          Python
          MIT License
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server providing real-time stock data and options analysis through Yahoo Finance, enabling LLMs to access market data, analyze stocks, and evaluate options strategies.
          Last updated -
          4
          Python
          MIT License
        • -
          security
          F
          license
          -
          quality
          Integrates Yahoo Finance API with LLaMA 3.2 3B, allowing users to retrieve real-time stock prices, company information, historical data, and market news while maintaining the model's original capabilities.
          Last updated -
          Python

        View all related MCP servers

        ID: v35utpi7bf