# india-stock-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/Akhilgovind02/india-stock-mcp  
**GitHub Stars:** 5  
**npm Downloads (last month):** 345  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/india-stock-mcp

## Description
Indian stock market: NSE/BSE quotes, fundamentals, mutual fund NAV, F&O chains, IPOs. No API keys.

## Tools
Capabilities this server exposes over MCP:

- **get_quote** — Get live price, volume, 52-week range, and basic stats for an NSE/BSE stock. Examples: RELIANCE, TCS, HDFCBANK, NIFTY 50 (index), ^NSEI (Nifty index code).
- **get_historical** — Get OHLCV historical price data for a stock. Returns date, open, high, low, close, volume.
- **search_symbol** — Search for a stock symbol by company name. Returns matching symbols with exchange info.
- **search_funds** — Search Indian mutual funds by name. Returns scheme codes and names for use with other fund tools.
- **get_fund_nav** — Get NAV (Net Asset Value) history for a mutual fund scheme. Use search_funds first to get scheme code.
- **get_fundamentals** — Get fundamental financial data: P/E ratio, EPS, ROE, revenue, profit margins, debt, and more.
- **compare_stocks** — Compare 2–5 stocks side by side: price, P/E, EPS, market cap, margins, growth rates.
- **get_index** — Get live data for a market index: price, change, P/E, P/B, year high/low, advances/declines. Available: NIFTY 50, NIFTY BANK, NIFTY IT, NIFTY MIDCAP 100, NIFTY SMALLCAP 100, NIFTY AUTO, NIFTY PHARMA, SENSEX, and all other NSE indices.
- **get_market_status** — Check if NSE market is currently open or closed, and get trading session info.
- **get_gainers_losers** — Get top gainers or losers among NIFTY 50 stocks, ranked by % change (live Yahoo quotes).
- **get_corporate_actions** — Get dividends, stock splits, bonus issues, and rights issues. Pass a symbol for one stock, or omit it for recent market-wide corporate actions.
- **get_options_chain** — Get F&O options chain for a stock or index: calls and puts around the ATM strike with last price, OI, OI change, IV, and volume. Works for NIFTY, BANKNIFTY, and F&O stocks like RELIANCE.
- **get_ipo_list** — Get list of current, upcoming, or recently listed (past 3 months) IPOs on NSE.
- **get_fund_details** — Get mutual fund details: fund house, category, current NAV. Includes Morningstar rating, expense ratio, and AUM when the rich data source is available.
- **compare_funds** — Compare 2–4 mutual funds side by side: latest NAV and % return over the chosen period.
- **portfolio_summary** — Analyze a stock portfolio. Pass holdings with buy price and quantity, get current value, P&L, allocation breakdown, and gain/loss per holding. Max 20 holdings.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "india-stock-mcp": {
    "command": "npx",
    "args": ["-y","india-stock-mcp"]
  }
}
```

## Documentation

## What india-stock-mcp MCP server does

The india-stock-mcp MCP server provides a single MCP interface for researching Indian equities, indices, derivatives, IPOs, mutual funds, and user-supplied portfolios. It covers NSE and BSE symbols, SENSEX, NSE indices, NIFTY 50 movers, corporate actions, and F&O option chains. Fund tools support searching more than 15,000 Indian schemes, reviewing NAV history and fund details, and comparing multiple funds over a selected period.

Portfolio analysis accepts holdings and calculates current value, profit or loss, and allocation breakdown. The server is intended for information retrieval and analysis inside an MCP-compatible client rather than order execution or brokerage connectivity.

## How it works

The server combines several public data providers. Yahoo Finance supplies most equity quotes, historical prices, fundamentals, and symbol searches. NSE India supplies market status, index information, corporate actions, IPO records, and option-chain data. Mutual-fund search and NAV data come primarily from mfapi.in, while mfdata.in may provide ratings or expense-ratio information when available.

Some quote values can be delayed by a few minutes. Requests to mfapi.in are retried once when needed, and unavailable fund metadata can fall back to another source. NSE endpoints may be rate-limited or blocked, so the server can fall back to Yahoo Finance for some quote and autocomplete requests.

## Setup and configuration

Node.js 22 or newer is required. The simplest setup runs the package through npx:

```bash
npx -y india-stock-mcp
```

For Claude Code, register that command with the MCP configuration. In Claude Desktop, add an MCP server entry using `npx` as the command and `-y india-stock-mcp` as its arguments, then restart the application. The repository can also be cloned, installed with npm, built, and started from its generated `dist/index.js` file.

No API keys, authentication values, or environment variables are specified for normal operation. The india-stock-mcp MCP server uses free public sources, so availability and response quality depend on those upstream services.

## Tools and capabilities

- Retrieve a stock or index quote with price, volume, change data, and 52-week range.
- Request daily, weekly, or monthly OHLCV history.
- Search company names for symbols and inspect valuation, profitability, leverage, and growth metrics.
- Compare two to five stocks or two to four mutual funds.
- Inspect NSE index statistics, SENSEX data, market sessions, NIFTY 50 gainers and losers, and corporate actions.
- Query F&O chains around the at-the-money strike, including LTP, open interest, changes in open interest, implied volatility, and volume.
- List current, upcoming, or recently listed IPOs.
- Search schemes, retrieve fund NAV history and details, and summarize portfolio value, P&L, and allocation.

## Limitations and notes

The india-stock-mcp MCP server is not suitable for decisions that require guaranteed real-time prices. Free Yahoo Finance data may be delayed, and public NSE services can restrict heavy traffic. The built-in NIFTY 50 ranking universe must be updated when NSE changes the index constituents. Data can be incomplete or incorrect, and the project states that its output is not financial advice or a substitute for a licensed broker or adviser.

_Full upstream README: https://allmcps.com/mcp/india-stock-mcp/readme_

