MCP Stock Analysis Server
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
Hosted MCP server for Indian NSE/BSE stock research: 59 tools for quotes, financials and ratios, peers, shareholding and pledge, filings with extracted facts, screens, F&O and FII/DII context. Source and freshness on every answer; no buy/sell calls.
Yahoo Finance for AI agents: quotes, price history, options with Greeks, financials, news, movers.
Financial data MCP server for Claude, ChatGPT, Cursor and Codex. Real-time stock quotes, financial statements, options flow, SEC filings, insider trades, 13F holdings, macro data and market news from gloom.sh, the open-source Bloomberg Terminal alternative.
Yahoo Finance stock quotes and multi-ticker comparison as agent tools.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables real-time and historical Indian stock market data retrieval, including prices, news, recommendations, and top gainers/losers.11-
- AlicenseNot gradedqualityDmaintenanceProvides 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.14MIT
- AlicenseAqualityBmaintenanceEnables 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.281MIT
- AlicenseBqualityCmaintenanceEnables 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.23MIT
Appeared in Searches
- Stock Market Analysis and Market Sentiment Prediction Tools
- A server for stock market data and analysis using ChainGPT MCP protocol
- A resource for stock market news and stock market APIs
- Comparison or Use of Alpaca, Alpha Vantage, and yFinance for Financial or Data Analysis
- Services for Getting Stock Market Data Using yFinance, Alpaca, Alpha Vantage, and RapidAI