Stock Analysis
Access real-time and historical Indian stock data using the Yahoo Finance API.
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.
Setup
npm install mcp-stock-analysis
Usage in Host
Configure your MCP client (e.g., Claude Desktop) to connect to the server:
{
"mcpServers": {
"mcp-stock-analysis": {
"command": "npx",
"args": ["-y", "mcp-stock-analysis"],
}
}
}
Tools
getStockQuote
Get the current quote for a stock.
Input:
symbol: The stock symbol (e.g., RELIANCE.NS)
Output:
{
"symbol": "RELIANCE.NS",
"price": 2748.15,
"name": "Reliance Industries Ltd"
}
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:
{
"date": "2025-03-21T00:00:00+05:30",
"open": 2735,
"high": 2750,
"low": 2725,
"close": 2748.15,
"volume": 21780769
}
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
Servidores relacionados
Exa
Exa AI Search API
Langflow Document Q&A Server
A document question-and-answer server powered by Langflow.
Fish MCP Server
Search for fish species using the FishBase database. Supports natural language queries in both Japanese and English.
Wikipedia Simple English MCP Server
Access Wikipedia content, prioritizing Simple English with a fallback to regular English.
Google Maps Extractor MCP
AI-powered lead generation from Google Maps. Search businesses, enrich with emails/phones/socials, score leads 0-100, export CSV. Free alternative to Apollo.io. No API keys required.
arch-mcp
An AI-powered bridge to the Arch Linux ecosystem that enables intelligent package management, AUR access, and Arch Wiki queries through the Model Context Protocol (MCP).
RAGMap
RAG-focused MCP subregistry and server to discover and route to retrieval-capable MCP servers with semantic search, filters, and explainable ranking.
Google News
Google News search capabilities with automatic topic categorization and multi-language support via SerpAPI integration.
Baidu Map
A Location-Based Service (LBS) providing geospatial APIs for geocoding, POI search, route planning, and more.
Aviationstack
An MCP server using the AviationStack API to fetch real-time flight data including airline flights, airport schedules, future flights and aircraft types.