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
Serveurs connexes
ClimateTriage
Search for open source issues related to climate change and sustainability using the ClimateTriage API.
Manticore Search
Provides access to Manticore Search, an open-source database for real-time, full-text search.
招投标大数据服务
Provides comprehensive bidding and tender information query services, including statistics, searches, and planned project queries.
tteg
Unsplash without registration. Search and save real stock photos with zero API keys.
Semantic Search Of Reddit
MCP server that enables AI assistants to search Reddit conversations, explore subreddits, and access trending topics.
Tavily Search
A search API tailored for LLMs, providing web search, RAG context generation, and Q&A capabilities through the Tavily API.
Perplexity Search
Access the Perplexity search API for real-time information and answers.
KnyazevAI MCP Catalog
Search and discover 24,500+ MCP servers and AI agents. Semantic search, trust scores, vulnerability tracking.
Web Search MCP Server
Free web search using Google search results, no API key required.
Brave Search
An MCP server for web and local search using the Brave Search API.