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
Server Terkait
Product Hunt
Discover and search for the latest products and tech using the Product Hunt API.
ContextWire
Free search API for AI agents — 105 engines, 22 profiles, 94.3% SimpleQA accuracy, MCP server with 5 tools
Campertunity
Search campgrounds around the world on campertunity, check availability, and provide booking links.
Enhanced PubMed Search
A search server for PubMed, the biomedical literature database, using a pure Node.js implementation.
Simple Files Vectorstore
Provides semantic search across local files by creating vector embeddings from watched directories.
Banana Prompts MCP Server
MCP server that allows you to search for high-quality AI art prompts directly from Banana Prompts (bananaprompts.fun).
StatPearls
Fetches peer-reviewed medical and disease information from StatPearls.
SearchAPI Agent
An MCP agent that integrates various search tools using the SearchAPI service. Requires SearchAPI and Google API keys.
Facebook Ads Library
Get any answer from the Facebook Ads Library, conduct deep research including messaging, creative testing and comparisons in seconds.
medRxiv
Search and retrieve articles from medRxiv, the preprint server for health sciences.