alokbarnwal avatar

Indian NSE Stock Insights

alokbarnwal/nse-public-mcp

Gives Claude access to technical analysis for all 500 stocks in India's Nifty index across daily, 15-minute, and 5-minute timeframes. You get 12 tools covering OHLC data, indicators like RSI and MACD, support and resistance levels, demand and supply zones, candlestick and chart patterns, Fibonacci retracements, volume analysis, market overview, stock comparison, and a screener. Built on FastMCP with yfinance data, stored in MySQL, and updated via cron jobs during market hours. Useful if you're building trading workflows that need real-time Indian market data without managing the infrastructure yourself. The repo includes a full self-hosting guide if you want to run your own instance with custom retention or stocks.

GitHub stars
1
tools
12
transport
HTTP
last updated
Apr 30, 2026

Install

From registry metadata
$ npx add-mcp https://stockmcp.alokbarnwal.com/mcp --name nse-public-mcp

Run in your terminal. add-mcp asks which agents to add it to (Claude Code, Codex, Cursor and more). Add -g to install it for every project.

Review the command, arguments and environment values before installing. MCP servers run with your local permissions.

Other ways

Claude Code

$ claude mcp add --transport http nse-public-mcp https://stockmcp.alokbarnwal.com/mcp

Run in your terminal. Add --scope user to make it available in every project.

Tools

Verified live · 12 tools

Verified live against the running server on Nov 6, 2026.

get_stock_quoteLatest price snapshot for an NSE stock — last close, prev close, change %, day H/L, volume.1 params

Latest price snapshot for an NSE stock — last close, prev close, change %, day H/L, volume.

Parameters* required
symbol*string
get_ohlc_dataRecent OHLCV candles. timeframe in {daily, 15min, 5min}; limit capped at 500; newest first.3 params

Recent OHLCV candles. timeframe in {daily, 15min, 5min}; limit capped at 500; newest first.

Parameters* required
limitinteger
default: 50
symbol*string
timeframestring
default: daily
get_technical_indicatorsLatest technical indicators (EMAs, SMAs, RSI, MACD, BB, ADX, Stoch, ATR, OBV, VWAP).2 params

Latest technical indicators (EMAs, SMAs, RSI, MACD, BB, ADX, Stoch, ATR, OBV, VWAP).

Parameters* required
symbol*string
timeframestring
default: daily
get_support_resistancePivot points + historical support/resistance levels, ordered by price desc.2 params

Pivot points + historical support/resistance levels, ordered by price desc.

Parameters* required
symbol*string
timeframestring
default: daily
get_demand_supply_zonesDemand/supply zones (DBR/RBR/RBD/DBD) split into demand_zones and supply_zones.3 params

Demand/supply zones (DBR/RBR/RBD/DBD) split into demand_zones and supply_zones.

Parameters* required
statusstring
default: ACTIVE
symbol*string
timeframestring
default: daily
get_candlestick_patternsRecent single-bar candlestick patterns (HAMMER, DOJI, ENGULFING, ...) newest first.3 params

Recent single-bar candlestick patterns (HAMMER, DOJI, ENGULFING, ...) newest first.

Parameters* required
limitinteger
default: 20
symbol*string
timeframestring
default: daily
get_chart_patternsMulti-bar chart patterns (DOUBLE_TOP, HEAD_AND_SHOULDERS, ...). 'ACTIVE' = PENDING/CONFIRMED.3 params

Multi-bar chart patterns (DOUBLE_TOP, HEAD_AND_SHOULDERS, ...). 'ACTIVE' = PENDING/CONFIRMED.

Parameters* required
statusstring
default: ACTIVE
symbol*string
timeframestring
default: daily
get_fibonacci_levelsLatest fibonacci retracement swings (UP/DOWN) with 236/382/500/618/786 levels.2 params

Latest fibonacci retracement swings (UP/DOWN) with 236/382/500/618/786 levels.

Parameters* required
symbol*string
timeframestring
default: daily
get_volume_analysisVolume diagnostic: top 5min hotspots + peak slot + OBV 20-day trend + today/20-day volume ratio.1 params

Volume diagnostic: top 5min hotspots + peak slot + OBV 20-day trend + today/20-day volume ratio.

Parameters* required
symbol*string
get_market_overviewMarket-wide snapshot: indices, top_gainers, top_losers, most_active, breadth.

Market-wide snapshot: indices, top_gainers, top_losers, most_active, breadth.

No parameters. Call it with no arguments.

compare_stocksSide-by-side comparison of 2-5 symbols: quote, RSI/MACD/ADX, trend, 30d return, latest pattern.2 params

Side-by-side comparison of 2-5 symbols: quote, RSI/MACD/ADX, trend, 30d return, latest pattern.

Parameters* required
symbols*array
timeframestring
default: daily
screen_stocksFilter the active universe. Keys: rsi_min, rsi_max, adx_min, trend, near_demand_zone, pattern, min_volume_ratio, sector. At least one required.1 params

Filter the active universe. Keys: rsi_min, rsi_max, adx_min, trend, near_demand_zone, pattern, min_volume_ratio, sector. At least one required.

Parameters* required
filters*object

Sponsors

Readme

Indian NSE Stock Insights 🇮🇳📈

Public MCP server for Indian stock market analysis — Nifty 500 universe, 12 tools, 3 timeframes.

Built with FastMCP · Data from yfinance · Hosted at stockmcp.alokbarnwal.com

Educational only. Not investment advice. See DISCLAIMER.md.


Quick Connect — 30 Seconds

Claude.ai → Settings → Connectors → Add custom MCP connector:

Name: Indian NSE Stock Insights
URL:  https://stockmcp.alokbarnwal.com/mcp

That's it. Start asking questions about Indian stocks.


12 Tools


View the full README on GitHub

Details

Repository
github.com/alokbarnwal/nse-public-mcp
Transport
HTTP
Registry
MCP registry, active
Tools verified
Nov 6, 2026