Indian Stocks
FreeNot checkedEnables real-time and historical Indian stock market data retrieval, including prices, news, recommendations, and top gainers/losers.
About
Enables real-time and historical Indian stock market data retrieval, including prices, news, recommendations, and top gainers/losers.
README
An MCP (Model Context Protocol) server built in Python that provides real-time and historical data from the Indian Stock Market (BSE and NSE).
🚀 Quick Start Guide
1. Get Your API Key
- Go to IndianAPI.in - Indian Stock Market API.
- Sign up and copy your API key.
2. Set Up the .env File
- Clone this repository to your computer.
- In the root of the project folder, create a new file named exactly
.env. - Open the
.envfile and paste your API key like this:
INDIAN_STOCK_API_KEY=your_api_key_here
3. Connect to Claude Desktop
To use this with Claude Desktop, update your configuration file.
(On Windows, this is usually at %APPDATA%\Claude\claude_desktop_config.json)
Add this to the mcpServers section:
{
"mcpServers": {
"IndiaStockExchange": {
"command": "uv",
"args": [
"run",
"--with",
"fastmcp",
"fastmcp",
"run",
"<file-path>\\main.py"
],
"env": {}
}
}
}
Important: Replace
<file-path>with the actual path where you saved this repository (e.g.,C:\\Users\\yourname\\mcp-indian-stocks).
🛠️ Available Tools
get-market-news- Get the latest general market news.get-news- Get specific Indian Stock Exchange news.get-stock-details- Get comprehensive details for a specific stock.get-stock-history- Get historical pricing data for a stock.get-stock-price- Get the real-time stock price.get-stock-recommendations- Get stock recommendations based on market trends.get-top-gainers- Get a list of the top gaining stocks.get-top-losers- Get a list of the top losing stocks.
Installing Indian Stocks
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/NagrajADesai/mcp-indian-stocksFAQ
Is Indian Stocks MCP free?
Yes, Indian Stocks MCP is free — one-click install via Unyly at no cost.
Does Indian Stocks need an API key?
No, Indian Stocks runs without API keys or environment variables.
Is Indian Stocks hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Indian Stocks in Claude Desktop, Claude Code or Cursor?
Open Indian Stocks on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Indian Stocks with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
