India Stock Analysis Skill
Analyze Indian stocks listed on NSE and BSE using broker MCP tools and web search. All analysis is denominated in INR and follows Indian fiscal year conventions (April-March). No API keys are required.
Data Sources
Use whichever broker MCP is connected. Both provide equivalent data for stock analysis.
Option A: Groww MCP (if connected)
fetch_stocks_fundamental_data-- Financials, ratios, shareholding, mutual fund holdingsfetch_historical_candle_data-- OHLCV price historyget_historical_technical_indicators-- RSI, MACD, Bollinger, SMA, EMA, SuperTrend, VWAP, ADX, and moreget_ltp-- Live/last traded price and open interestget_quotes_and_depth-- Real-time bid/ask and market depthcurate_symbols-- Resolve stock symbols and exchangefetch_market_movers_and_trending_stocks_funds-- Market movers, gainers, losersfetch_fundamentals_screener-- Screen stocks by fundamental criteriafetch_technical_screener-- Screen stocks by technical signalssearch_stock_and_others_symbol-- Search for stocks, indices, and companiesresolve_market_time_and_calendar-- Current market time, trading days, holidays
Option B: Zerodha Kite MCP (if connected)
get_ltp-- Last traded price for instrumentsget_quotes-- Real-time market quotes with depthget_ohlc-- OHLC data for instrumentsget_historical_data-- Historical OHLCV candle datasearch_instruments-- Search and resolve trading instrumentsget_holdings-- User's portfolio holdingsget_positions-- Current trading positionsget_margins-- Account margin detailsget_profile-- User profile information
Supplementary
- Web search for news, analyst reports, sector developments, and regulatory updates
- yfinance (free, no API key) as fallback for historical data
Workflow
When a user requests stock analysis, determine which analysis type is needed and follow the corresponding workflow below. If the user does not specify, default to Comprehensive Investment Report.
Analysis Type 1: Basic Stock Information
Use when the user asks for a quick overview, current price, or summary of a stock.
Steps:
-
Resolve the symbol. Call
curate_symbolsorsearch_stock_and_others_symbolwith the company name to obtain the correct trading symbol and exchange (NSE/BSE). -
Fetch current price. Call
get_ltpwith the resolved trading symbol to get the last traded price, day change, and percentage change. -
Fetch key fundamental stats. Call
fetch_stocks_fundamental_datawithview='stats_only'and include stats:marketCap,peRatio,pbRatio,roe,epsTtm,dividendYieldInPercent,industryPe,bookValue,debtToEquity,faceValue. -
Fetch recent price history. Call
fetch_historical_candle_datafor the last 1 year with daily interval (interval_in_minutes='1440') to determine 52-week high/low and YTD performance. -
Search for recent news. Use web search for recent news about the company (last 30 days).
-
Present the output in this format:
## [Company Name] ([Exchange]: [Symbol])
**Current Price:** Rs.[LTP] ([+/-change] / [+/-change%])
**Market Cap:** Rs.[value] Cr
**Sector:** [sector]
### Key Metrics
| Metric | Value |
|--------------------|---------------|
| PE Ratio | [value] |
| Industry PE | [value] |
| PB Ratio | [value] |
| EPS (TTM) | Rs.[value] |
| ROE | [value]% |
| Debt/Equity | [value] |
| Dividend Yield | [value]% |
| Book Value | Rs.[value] |
| Face Value | Rs.[value] |
### 52-Week Range
- **High:** Rs.[value] ([date])
- **Low:** Rs.[value] ([date])
- **Current vs High:** [x]% below 52W high
### YTD Performance
- **1 Jan to Today:** [+/-x]%
### Recent News
- [headline 1] -- [source, date]
- [headline 2] -- [source, date]
- [headline 3] -- [source, date]
Analysis Type 2: Fundamental Analysis
Use when the user asks for fundamental analysis, business quality, financials, valuation, or investment merit.
Steps:
-
Resolve the symbol as in Analysis Type 1.
-
Fetch full fundamental data. Call
fetch_stocks_fundamental_datawithview='all'and stats:marketCap,peRatio,pbRatio,roe,epsTtm,dividendYieldInPercent,industryPe,bookValue,debtToEquity,faceValue,returnOnAssets,returnOnEquity,operatingProfitMargin,netProfitMargin,quickRatio,cashRatio,debtToAsset,evToSales,evToEbitda,earningsYield,sectorPe,sectorPb,sectorDivYield,sectorRoe,sectorRoce,priceToOcf,priceToFcf,pePremiumVsSector,pbPremiumVsSector,divYieldVsSector,currentRatio,priceToSales,pegRatio,roic. Include optional financial items['*']to get complete financial statements. -
Fetch shareholding data. Call
fetch_stocks_fundamental_datawithview='shareholders_and_mutual_funds'to get promoter holding, FII/DII breakdown, pledge percentage, and top mutual fund holders. -
Perform web search for analyst reports, management commentary, and sector outlook.
-
Analyze and present using the framework in
references/fundamental-analysis.md:a. Business Quality Assessment
- What does the company do? What is its competitive moat?
- Management quality and promoter track record
- Market position and competitive advantages
- Corporate governance indicators
b. Financial Health
- Revenue and profit trends (3-5 year view using financial statements)
- Margin analysis (operating, net, EBITDA)
- Cash flow quality (operating cash flow vs reported profit)
- Balance sheet strength (debt levels, current ratio, interest coverage)
c. Shareholding Pattern (India-Specific)
- Promoter holding percentage (>50% generally positive, <30% caution)
- Promoter pledge percentage (>20% is a red flag, >50% is a serious concern)
- FII holding trend (increasing = positive signal)
- DII holding trend
- Change in shareholding over recent quarters
d. Valuation
- PE vs Industry PE and Sector PE (premium/discount)
- PB vs Sector PB
- PEG ratio assessment
- EV/EBITDA comparison
- Earnings yield vs risk-free rate (India 10Y government bond yield ~7%)
e. Growth Assessment
- Revenue growth trajectory
- EPS growth trend
- Order book / pipeline visibility (if applicable)
- Capex plans and return on invested capital
f. Risk Factors
- Company-specific risks
- Sector/regulatory risks
- Promoter-related risks (pledge, related party transactions)
- Macro risks (currency, interest rates, commodity prices)
-
Assign a fundamental score from 1-10 based on the framework in
references/fundamental-analysis.md.
Analysis Type 3: Technical Analysis
Use when the user asks for technical analysis, chart patterns, entry/exit levels, or trading signals.
Steps:
-
Resolve the symbol as in Analysis Type 1.
-
Determine the market time context. Call
resolve_market_time_and_calendarto get the current date and market status. -
Fetch price history. Call
fetch_historical_candle_datafor multiple timeframes:- Daily candles for the last 6 months (trend analysis)
- Weekly candles for the last 2 years (long-term trend)
- If intraday analysis is needed: 5-minute or 15-minute candles for the last few days
-
Fetch technical indicators. Call
get_historical_technical_indicatorswith these indicators:- Trend:
sma(20, 50, 200 period),ema(20 period),supertrend - Momentum:
rsi(14 period),macd(12, 26, 9),stochastic,williams_r,adx - Volatility:
bollinger(20 period, 2 std),atr,keltner - Volume:
vwap,obv,mfi - Reversal:
parabolic_sar - Support/Resistance:
pivot_points
Note: Run multiple calls if needed for diffe
- Trend: