Skip to main content
Glama
MCP Stock Analysis Server

MCP Stock Analysis Server

by giptilabs

Akshay Bavkar 的 MCP 股票分析服务器

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

可用功能

  • getStockQuote :获取印度股票的当前报价。

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


Related MCP server: Indian Stock Exchange MCP Server

设置

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 :数据的时间间隔( daily 、 weekly或monthly )(可选,默认值: daily )

输出:

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

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

贡献

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

执照

麻省理工学院

Related MCP Connectors

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    Enables real-time and historical Indian stock market data retrieval, including prices, news, recommendations, and top gainers/losers.
    11
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides live market data from Indian Stock Exchanges (BSE & NSE) via MCP, powered by IndianAPI. Enables querying stock data, trending stocks, and more through natural language.
    14
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables LLM clients to perform fundamental analysis of NSE/BSE-listed Indian stocks, covering financial statements, ratios, valuation, screening, and investment memos using Yahoo Finance data.
    28
    1
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Enables self-hosted Indian stock research for Claude or any MCP client, pulling quotes, fundamentals, financials, a screener, option chains, FII/DII flows, and more from NSE India and Yahoo Finance without API keys, plus optional Zerodha Kite portfolio pairing.
    23
    MIT