# Indian NSE Stock Insights [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/alokbarnwal/nse-public-mcp  
**GitHub Stars:** 1  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/indian-nse-stock-insights

## Description
12 read-only tools for Indian stock analysis — Nifty 500, 3 timeframes, yfinance.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "indian-nse-stock-insights": {
    "url": "https://stockmcp.alokbarnwal.com/mcp"
  }
}
```

## Documentation

## What Indian NSE Stock Insights does

Indian NSE Stock Insights MCP server provides read-only market-analysis tools for stocks in the Nifty 500 universe. The tool set covers current quote data, historical OHLCV candles, technical indicators, support and resistance, demand and supply zones, candlestick and chart patterns, Fibonacci levels, volume analysis, market-wide summaries, stock comparisons, and filtered screening.

The server is intended for analysis and exploration rather than order placement or portfolio mutation. Its published disclaimer states that the information is educational only and is not investment advice. Symbols are supplied to individual stock tools, while comparison accepts two to five symbols and screening accepts filter criteria such as RSI, ADX, trend, pattern, or sector.

## How it works

The hosted endpoint is available at `https://stockmcp.alokbarnwal.com/mcp`. An MCP client sends requests to the endpoint, and the server reads prepared market data from its database before returning tool results. yfinance supplies OHLCV data to scheduled update jobs; the application then exposes analysis results through FastMCP.

The supported timeframes are `daily`, `15min`, and `5min`. If a tool has an optional timeframe and none is supplied, it uses daily data. Published retention is five years for daily data, two years for 15-minute data, and six months for five-minute data. The dataset covers 500 stocks and is updated at end of day for daily data and during market hours for intraday data.

## Setup and configuration

For a hosted connection, add a custom MCP connector with the server name `Indian NSE Stock Insights` and the URL above. The README specifically demonstrates connection through Claude.ai. No API key or other client credential is documented for that endpoint.

Self-hosting requires cloning the repository, creating a MySQL database named `nse_public`, applying the three SQL schema files, creating a Python virtual environment, and installing the dependencies from `requirements.txt`. The self-hosting instructions also require copying `.env.example` to `.env` and setting `DB_PASSWORD` to match the database user. After setup, operators can load the stock universe and backfill historical data. Scheduled cron jobs keep candles, indicators, and price-action data current.

The repository ships with approximately 100 stocks hardcoded; the provided stock configuration command can fetch the broader Nifty 500 list and load it into the database. Historical backfills and feature computation are separate, potentially long-running steps.

## Tools and capabilities

- Retrieve the latest close, previous close, percentage change, daily range, and volume.
- Query up to 500 OHLCV candles, newest first.
- Inspect EMA, SMA, RSI, MACD, Bollinger Bands, ADX, Stochastic, ATR, OBV, and VWAP values.
- Examine pivots, historical support and resistance, demand and supply zones, Fibonacci swings, and price patterns.
- Review volume hotspots, OBV direction, and volume ratios.
- Summarize indices, gainers, losers, active stocks, and market breadth.
- Compare two to five stocks or screen the supported universe using filters.

## Limitations and notes

Indian NSE Stock Insights MCP server is limited to read operations. It does not document trading, brokerage, order-management, or portfolio tools. Results depend on the stored yfinance feed and the update jobs that populate the database.

The hosted service applies an nginx limit of 20 requests per second per IP, with a burst of 40, and allows 10 simultaneous connections per IP. Five rate-limit violations within two minutes can trigger a one-hour fail2ban ban. Market data follows NSE hours of 09:15–15:30 IST on weekdays, excluding NSE holidays. Treat the output as educational analysis, not investment advice.

## Getting started with this Indian NSE Stock Insights MCP server
Always refer to the official documentation for the most accurate and up-to-date information.

_Full upstream README: https://allmcps.com/mcp/indian-nse-stock-insights/readme_

