Enables installation and execution of the MCP server via npm packages, making it accessible through npx commands.
MCP Stock Analysis Server by Akshay Bavkar
This is an MCP server that provides access to real-time and historical Indian stock data using the Yahoo Finance API. It allows stock data retrieval to be used as context by local LLMs via Claude Desktop, Cursor, and other MCP-compatible agents.
Available Features
getStockQuote: Get the current quote for an Indian stock.
getHistoricalData: Get historical data for an Indian stock with custom intervals and periods.
Related MCP server: StockFlow MCP Server
Setup
Usage in Host
Configure your MCP client (e.g., Claude Desktop) to connect to the server:
Tools
getStockQuote
Get the current quote for a stock.
Input:
symbol: The stock symbol (e.g., RELIANCE.NS)
Output:
getHistoricalData
Get historical data for a stock.
Input:
symbol: the stock symbol (e.g., RELIANCE.NS)interval: the time interval for the data (daily,weekly, ormonthly) (optional, default:daily)
Output:
JSON object containing the historical data. The structure of the output depends on the interval parameter.
Contributing
Contributions are welcome! Please open an issue or pull request.
License
MIT
Appeared in Searches
- A server for finding financial data
- 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