India Markets

v0.3.0
io.github.Aarya-Mhatre69/india-markets-mcp Checked 2 days ago Published 9 days ago

NSE/BSE quotes, technical signals, valuation and sector peers for AI agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_symbol Search Indian stocks by name

Find the ticker for a company name. Returns NSE/BSE equities, indices and ETFs, NSE listings first. Use this when you only have a name. Each match has `symbol` (pass it straight to the other tools), `name`, `exchange` (NSE or BSE) and `type` (equity, index or etf). Returns an empty list when nothing matches. Several listings can match one company (for example the Tata Motors demerger), so check the names before choosing.

ParameterTypeDescription
query *stringCompany name or partial ticker, for example "Infosys", "HDFC Bank" or "nifty bank".
limitintegerMaximum number of matches to return.

get_quote Get quote

Latest close, daily change and 52-week range for a stock or index. Returns `close`, `change_pct` (vs the previous close), `high_52w`, `low_52w`, `pct_from_52w_high`, `volume` and the `as_of` trading date. Prices are in INR (index levels for indices) and end-of-day, so they can lag the live market. Raises a clear "no data" error for an unknown ticker.

ParameterTypeDescription
symbol *stringNSE ticker without suffix (RELIANCE, TCS), a BSE ticker with .BO (TCS.BO), or NIFTY, BANKNIFTY, SENSEX.

get_signals Get technical signals

RSI(14), 30-day volatility, max drawdown, 12-1 momentum and a rule-based trend regime. The `regime` comes from a plain rule on the 50 and 200-day averages and the 200-day slope, and the result includes `rules` text explaining it, so relay the reason, not just the label. `rsi_state` is overbought (70 or above), oversold (30 or below), or neutral. These describe the past and do not predict returns. Volatility and drawdown are fractions (0.25 = 25%).

ParameterTypeDescription
symbol *stringNSE ticker without suffix (RELIANCE, TCS), a BSE ticker with .BO (TCS.BO), or NIFTY, BANKNIFTY, SENSEX.

compare_symbols Compare returns

Rank 2 to 10 symbols by total return over a period, best first, with volatility and drawdown. Use this for "which did better" questions about price performance. For valuation use compare_fundamentals instead. `return_pct` is in percent, adjusted for splits and dividends.

ParameterTypeDescription
symbols *arrayBetween 2 and 10 tickers, in the same formats as a single symbol, for example ["TCS", "INFY", "WIPRO"].
periodstringLook-back window: 1mo, 3mo, 6mo, 1y, 2y or 5y.

get_fundamentals Get fundamentals

Valuation snapshot: market cap, P/E, P/B, ROE, debt/equity, dividend yield, sector and industry. `market_cap_crore` is in INR crore (1 crore = 10 million rupees), not dollars. `roe_pct` and `dividend_yield_pct` are percentages; the dividend yield is the indicated annual dividend per share divided by price. Fields are null when unavailable (loss-making companies, new listings, gaps in the source). Treat null as "not available" and never estimate it.

ParameterTypeDescription
symbol *stringNSE ticker without suffix (RELIANCE, TCS), a BSE ticker with .BO (TCS.BO), or NIFTY, BANKNIFTY, SENSEX.

compare_fundamentals Compare valuations

Side-by-side valuation of 2 to 10 symbols, cheapest trailing P/E first; stocks without a P/E go last. Same fields and units as get_fundamentals. Use this for "which looks cheaper" questions across a list you choose. For one stock against its sector use sector_peers.

ParameterTypeDescription
symbols *arrayBetween 2 and 10 tickers, in the same formats as a single symbol, for example ["TCS", "INFY", "WIPRO"].

sector_peers Compare with sector peers

Place a large-cap stock against illustrative same-sector peers: median P/E and P/B and its premium. Peers come from a small hand-picked list of large caps (IT services, banks, autos, FMCG, pharma, energy, metals and more), not an official sector classification, so say the group is illustrative. The stock and up to 5 peers are fetched; peers with no data are listed in `skipped_peers`. If the stock is not in a built-in group the error says so; use compare_fundamentals with a peer list you choose instead. `pe_premium_to_peers_pct` is positive when the stock is pricier than the peer median.

ParameterTypeDescription
symbol *stringNSE ticker without suffix (RELIANCE, TCS), a BSE ticker with .BO (TCS.BO), or NIFTY, BANKNIFTY, SENSEX.