Volver al catálogo

NSE MCP

nse_mcp

Official National Stock Exchange of India MCP for end-of-day capital-market bhavcopy data: quotes, history, index snapshots, market breadth, movers, corporate actions and 52-week highs/lows.

Acciones
21
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (21)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Compare indicesNSE_MCP_COMPARE_INDICESAcción

Compare 2 to 10 NSE indices side by side over the same period: return, annualised volatility, maximum drawdown and current valuation (P/E, P/B, dividend yield). Ranked best to worst by return. Example: Nifty 50 vs Nifty Midcap 100 vs NIFTY Smallcap 100. Every index is measured between the same base_date and date, both returned. An index with no value on either date is not ranked — it is listed under not_compared with the reason; say so rather than estimating it. Returns are price-only (dividends excluded) and not annualised. Valuation fields are absent for indices NSE publishes no ratios for. Always quote 'date' and 'base_date'; if a 'warning' is present, tell the user. SEBI Disclaimer: This information is for educational and research purposes only. It does not constitute investment advice or a recommendation to buy, sell, or hold any securities. Past performance is not indicative of future results. Please consult a SEBI-registered investment advisor before making any investment decisions.

Parámetros de entrada

  • datestringObligatorio

    End date in yyyy-MM-dd format. Omit or pass 'today' for the latest available day.

  • monthsintegerObligatorio

    Number of months to compare. 1–24. Default: 6. Pass 0 for default.

  • indexNamesstring[]Obligatorio

    List of 2 to 10 NSE index names, case-insensitive. Example: ["Nifty 50", "Nifty Midcap 100", "NIFTY Smallcap 100"]

Parámetros de salida

Sin parámetros.

Compare stocksNSE_MCP_COMPARE_STOCKSAcción

Compare multiple NSE stocks side-by-side over a time period. Returns % return for each stock ranked best to worst, plus max drawdown per stock. Pass up to 10 valid NSE symbols. IMPORTANT — UNADJUSTED PRICES + CORPORATE ACTION CHECK: Prices are raw NSE bhavcopy data with NO corporate action adjustment. A split or bonus issue within the comparison window distorts return_pct severely (e.g., 1:1 bonus in the period makes return appear −50% lower than reality). Before presenting results: call get_corporate_actions(symbol, fromDate, toDate) for each symbol in the list. If any CA ex-date falls within the comparison window, flag it clearly: e.g. "INFY return_pct is distorted — 1:1 bonus ex-date 2018-06-14 falls in window (NSE data). Adjustment factor: 0.5. Actual return may differ." Disclaimer: Information/Data made available through the NSEIL MCP server is for informational and educational purposes only and does not constitute investment advice or recommendation. NSEIL is not responsible for any AI generated Output or predictions

Parámetros de entrada

  • monthsintegerObligatorio

    Number of months to compare. 1–24. Default: 6

  • symbolsstring[]Obligatorio

    List of NSE symbols to compare. Example: ["TCS", "INFY", "WIPRO"]. Max 10.

Parámetros de salida

Sin parámetros.

Get 52 week high lowNSE_MCP_GET_52_WEEK_HIGH_LOWAcción

Get the 52-week high and low prices for an NSE stock. Returns: 52w high/low with dates, current price position within range, % distance from each extreme. IMPORTANT — UNADJUSTED PRICES + CORPORATE ACTION CHECK: High/low values are from raw unadjusted bhavcopy data. A split or bonus ex-date within the 52-week window causes an artificial low (the post-event price is a fraction of the pre-event price), which distorts the true 52-week range. Before presenting results: call get_corporate_actions(symbol) (covers last 5 years). Check if any CA ex-date falls within the past 52 weeks (today − 365 days). If yes, flag: e.g. "52W low for INFY may be distorted — 1:1 bonus ex-date 2024-06-14 falls in range (NSE data). The post-bonus price level is not comparable to pre-bonus prices." Disclaimer: Information/Data made available through the NSEIL MCP server is for informational and educational purposes only and does not constitute investment advice or recommendation. NSEIL is not responsible for any AI generated Output or predictions.

Parámetros de entrada

  • symbolstringObligatorio

    NSE stock symbol in uppercase. Example: RELIANCE, TCS, INFY

Parámetros de salida

Sin parámetros.

Get bulk quoteNSE_MCP_GET_BULK_QUOTEAcción

Get the latest available price snapshot for multiple NSE stocks in one call. Returns: open, high, low, close, prev close, % change, volume, and date for each symbol. Disclaimer: Information/Data made available through the NSEIL MCP server is for informational and educational purposes only and does not constitute investment advice or recommendation. NSEIL is not responsible for any AI generated Output or predictions.

Parámetros de entrada

  • symbolsstring[]Obligatorio

    List of NSE symbols. Example: ["RELIANCE", "TCS", "INFY", "HDFCBANK"]. Max 50.

Parámetros de salida

Sin parámetros.

Get corporate actionsNSE_MCP_GET_CORPORATE_ACTIONSAcción

Fetch actual NSE corporate action events for a stock directly from NSE India. Returns splits, bonus issues, dividends, and other events with exact ex-dates. Only events with an ex-date inside the requested from/to range are returned. If the response has an 'error', the lookup failed — do not treat that as "no corporate actions". If it has a 'warning', the list is incomplete. ALWAYS call this before get_stock_history or get_price_performance when the user asks about historical prices, returns, or performance for any symbol. Use the returned exDate values to cross-check price discontinuities in the history. The adjustmentFactor field tells you how to interpret pre-event prices: 1:1 bonus → adjustmentFactor=0.5 (pre-bonus prices are 2× the post-bonus equivalent) 10→2 split → adjustmentFactor=0.2 (pre-split prices are 5× the post-split equivalent) Returns: list of CA events with exDate, purpose (raw NSE text), actionType (SPLIT/BONUS/DIVIDEND/OTHER), adjustmentFactor. SEBI Disclaimer: This information is for educational and research purposes only. It does not constitute investment advice. Please consult a SEBI-registered investment advisor before making any investment decisions.

Parámetros de entrada

  • symbolstringObligatorio

    NSE stock symbol in uppercase. Example: INFY, BRIGADE, RELIANCE

  • toDatestringObligatorio

    End date yyyy-MM-dd. Default: today.

  • fromDatestringObligatorio

    Start date yyyy-MM-dd. Default: 5 years ago.

Parámetros de salida

Sin parámetros.

Get index historyNSE_MCP_GET_INDEX_HISTORYAcción

Get daily history for an NSE index: open, high, low, close, points change, % change, volume, turnover (₹ Cr), P/E, P/B and dividend yield. Returns up to 12 months per call. For longer periods, chain calls using next_end_date from each response. Index names are the official NSE names, case-insensitive. Examples: Nifty 50, Nifty Bank, Nifty Next 50, Nifty IT, Nifty Midcap 100, NIFTY Smallcap 100, India VIX. If the index is not found, the response lists close matches; get_index_snapshot returns every available name. Some fields are omitted where NSE does not publish them (e.g. no volume / P/E / P/B / dividend yield for bond, USD and strategy indices; no open/high/low for rate indices). SEBI Disclaimer: This information is for educational and research purposes only. It does not constitute investment advice or a recommendation to buy, sell, or hold any securities. Past performance is not indicative of future results. Please consult a SEBI-registered investment advisor before making any investment decisions.

Parámetros de entrada

  • monthsintegerObligatorio

    Months to fetch in this chunk. Max 12. Default: 3. Pass 0 for default.

  • endDatestringObligatorio

    End date for this chunk in yyyy-MM-dd format. Omit or pass 'today' for latest data. Pass next_end_date from a previous response to fetch older chunks.

  • indexNamestringObligatorio

    NSE index name, case-insensitive. Examples: Nifty 50, Nifty Bank, Nifty IT, India VIX

Parámetros de salida

Sin parámetros.

Get index moversNSE_MCP_GET_INDEX_MOVERSAcción

Get the top gaining and top losing NSE indices for a day or a period — useful for sector and theme rotation. Returns both lists in one call. period: 1D (default), 1W, 1M, 3M, 6M or 1Y. 1D uses NSE's published daily change; longer periods are close-to-close price change from base_date to date, both returned. scope: 'equity' (default) ranks equity indices only; 'all' also includes India VIX, G-Sec/bond, USD, leverage, inverse and futures indices, which are not comparable with equity indices. Indices that did not exist on base_date are left out and counted in indices_excluded. If the date is a holiday/weekend, the nearest earlier trading day is used — always quote the 'date' field; if a 'warning' is present, tell the user. SEBI Disclaimer: This information is for educational and research purposes only. It does not constitute investment advice or a recommendation to buy, sell, or hold any securities. Past performance is not indicative of future results. Please consult a SEBI-registered investment advisor before making any investment decisions.

Parámetros de entrada

  • nintegerObligatorio

    Number of gainers and of losers to return. Default: 10, Max: 50. Pass 0 for default.

  • datestringObligatorio

    Date in yyyy-MM-dd format. Omit or pass 'today' for the latest available day.

  • scopestringObligatorio

    'equity' (default) for equity indices only, or 'all' for every index in the NSE file.

  • periodstringObligatorio

    Period: 1D (default), 1W, 1M, 3M, 6M or 1Y.

Parámetros de salida

Sin parámetros.

Get index performanceNSE_MCP_GET_INDEX_PERFORMANCEAcción

Get the price performance of one NSE index: 1-day change plus returns over 1 week, 1 month, 3 months, 6 months, 1 year and 2 years, and the 52-week high/low with dates and distance from each. Each period return is the close-to-close price change against the last trading day on or before the period start; the response gives that base_date and base_close so the figure can be checked. Returns are not annualised and exclude dividends. Periods the index has no data for are listed under unavailable_periods — do not estimate them. If high_low_52w.complete_52_weeks is false, the high/low cover only the shorter window shown. Always quote the 'date' field as the as-of date; if a 'warning' is present, tell the user. SEBI Disclaimer: This information is for educational and research purposes only. It does not constitute investment advice or a recommendation to buy, sell, or hold any securities. Past performance is not indicative of future results. Please consult a SEBI-registered investment advisor before making any investment decisions.

Parámetros de entrada

  • datestringObligatorio

    As-of date in yyyy-MM-dd format. Omit or pass 'today' for the latest available day.

  • indexNamestringObligatorio

    NSE index name, case-insensitive. Examples: Nifty 50, Nifty Bank, Nifty IT, Nifty Midcap 100

Parámetros de salida

Sin parámetros.

Get index snapshotNSE_MCP_GET_INDEX_SNAPSHOTAcción

Get the end-of-day values of NSE indices on a specific date: open, high, low, close, points change, % change, volume, turnover (₹ Cr), P/E, P/B and dividend yield. Returns all ~170 indices by default, in NSE's published order (broad market first). Pass a filter to narrow by name, e.g. 'bank', 'midcap', 'nifty 50'. If the exact date is a holiday/weekend, returns the nearest earlier trading day — check the 'date' field in the response. Use this to list valid index names for get_index_history. SEBI Disclaimer: This information is for educational and research purposes only. It does not constitute investment advice or a recommendation to buy, sell, or hold any securities. Past performance is not indicative of future results. Please consult a SEBI-registered investment advisor before making any investment decisions.

Parámetros de entrada

  • datestringObligatorio

    Date in yyyy-MM-dd format. Omit or pass 'today' for the latest available day.

  • filterstringObligatorio

    Optional case-insensitive substring to match against index names. Omit or pass empty for all indices.

Parámetros de salida

Sin parámetros.

Get index valuationNSE_MCP_GET_INDEX_VALUATIONAcción

Get the valuation ratios of an NSE equity index — P/E, P/B and dividend yield as published by NSE — and where today's value sits within its own recent range: min, max (with dates), median, mean and percentile. percentile = share of trading days in the window on which the ratio was lower than the current value (e.g. P/E percentile 90 means P/E was lower on 90% of days). The window is the look-back requested, limited to the data available: always state window_from / window_to when quoting a percentile, and do not describe it as a long-term or historical average. Not available for India VIX, bond, USD, leverage or inverse indices. Always quote the 'date' field as the as-of date; if a 'warning' is present, tell the user. SEBI Disclaimer: This information is for educational and research purposes only. It does not constitute investment advice or a recommendation to buy, sell, or hold any securities. Past performance is not indicative of future results. Please consult a SEBI-registered investment advisor before making any investment decisions.

Parámetros de entrada

  • datestringObligatorio

    As-of date in yyyy-MM-dd format. Omit or pass 'today' for the latest available day.

  • monthsintegerObligatorio

    Look-back window in months. Default: 24. Max: 60. Pass 0 for default.

  • indexNamestringObligatorio

    NSE index name, case-insensitive. Examples: Nifty 50, Nifty Bank, Nifty IT, Nifty Midcap 100

Parámetros de salida

Sin parámetros.

Get ltp by dateNSE_MCP_GET_LTP_BY_DATEAcción

Returns the last traded price (close price) for a given NSE symbol on a specific date. If the date is a non-trading day, returns the previous available trading day's price. Disclaimer: Information/Data made available through the NSEIL MCP server is for informational and educational purposes only and does not constitute investment advice or recommendation. NSEIL is not responsible for any AI generated Output or predictions.

Parámetros de entrada

  • datestringObligatorio

    Date in yyyy-MM-dd format.

  • symbolstringObligatorio

    NSE stock symbol in uppercase. Example: RELIANCE

Parámetros de salida

Sin parámetros.

Get market breadthNSE_MCP_GET_MARKET_BREADTHAcción

Get overall NSE market breadth for a trading date. Returns: total stocks, advances, declines, unchanged count, A/D ratio, total market volume. A/D ratio > 1.5 indicates a bullish day; A/D ratio < 0.7 indicates a bearish day. Disclaimer: Information/Data made available through the NSEIL MCP server is for informational and educational purposes only and does not constitute investment advice or recommendation. NSEIL is not responsible for any AI generated Output or predictions

Parámetros de entrada

  • datestringObligatorio

    Date in yyyy-MM-dd format. Returns nearest trading day if holiday.

Parámetros de salida

Sin parámetros.

Get market moodNSE_MCP_GET_MARKET_MOODAcción

Get a factual read of NSE market mood for a day: India VIX level, its change over 1 day / 1 week / 1 month and where it sits in its recent range; how many equity indices rose vs fell; how many mainboard stocks advanced vs declined (when available); and the day's change in the main benchmarks. The 'reading' fields (broad advance / mixed / broad decline) and VIX 'direction' (rising / falling / flat) follow the fixed rules given in 'method'. They describe the day; they are not a forecast or a buy/sell signal — present them that way. A section is omitted when its data is not available for the date; do not fill it in. If the date is a holiday/weekend, the nearest earlier trading day is used — always quote the 'date' field; if a 'warning' is present, tell the user. SEBI Disclaimer: This information is for educational and research purposes only. It does not constitute investment advice or a recommendation to buy, sell, or hold any securities. Past performance is not indicative of future results. Please consult a SEBI-registered investment advisor before making any investment decisions.

Parámetros de entrada

  • datestringObligatorio

    Date in yyyy-MM-dd format. Omit or pass 'today' for the latest available day.

Parámetros de salida

Sin parámetros.

Get stock historyNSE_MCP_GET_STOCK_HISTORYAcción

Get daily OHLCV (Open, High, Low, Close, Volume) price history for an NSE stock. Returns up to 3 months per call to keep response size manageable. For longer periods, chain calls using next_end_date from each response. Example — fetch 1 year of RELIANCE: Call 1: symbol=RELIANCE, months=3 (end_date omitted → uses today) Call 2: symbol=RELIANCE, months=3, end_date={next_end_date from call 1} Call 3: symbol=RELIANCE, months=3, end_date={next_end_date from call 2} Call 4: symbol=RELIANCE, months=3, end_date={next_end_date from call 3} For 2 years: repeat 8 times. Each call returns next_end_date for the next chunk. If symbol not found, use search_symbols to find the correct symbol. IMPORTANT — UNADJUSTED PRICES: All prices are raw NSE bhavcopy data with NO corporate action adjustment. Before presenting history results, call get_corporate_actions(symbol) to get actual NSE-sourced CA events. Cross-check returned ex-dates with any single-day drop > 20% in the price series. If matched, inform the user: e.g. "Note: INFY shows a -50% drop on 2018-06-14 which is the 1:1 bonus issue ex-date (NSE data) — prices before that date are unadjusted. Adjustment factor: 0.5." Disclaimer: Information/Data made available through the NSEIL MCP server is for informational and educational purposes only and does not constitute investment advice or recommendation. NSEIL is not responsible for any AI generated Output or predictions.

Parámetros de entrada

  • monthsintegerObligatorio

    Months to fetch in this chunk. Max 3. Default: 3. Pass 0 for default.

  • symbolstringObligatorio

    NSE stock symbol in uppercase. Examples: RELIANCE, TCS, INFY, HDFCBANK, WIPRO

  • endDatestringObligatorio

    End date for this chunk in yyyy-MM-dd format. Omit or pass 'today' for latest data. Pass next_end_date from a previous response to fetch older chunks.

Parámetros de salida

Sin parámetros.

Get stock vs indexNSE_MCP_GET_STOCK_VS_INDEXAcción

Compare one NSE stock against a benchmark index over a period: return of each, outperformance in percentage points, beta and correlation. The stock's return is already adjusted for splits and bonus issues using NSE corporate-action data — do not adjust it again. Events applied are listed under corporate_actions_applied. If that data cannot be obtained, or does not match the price move, the tool returns an error and no figures: report the error, do not substitute numbers from other tools. If 'warnings' or 'other_corporate_actions' are present (e.g. a demerger or rights issue, which is NOT adjusted for), state them alongside the figures. Both returns are price-only between the same base_date and date; dividends excluded. Beta and correlation use daily changes and need at least 30 common trading days. Always quote 'date' and 'base_date'; if a 'warning' is present, tell the user. SEBI Disclaimer: This information is for educational and research purposes only. It does not constitute investment advice or a recommendation to buy, sell, or hold any securities. Past performance is not indicative of future results. Please consult a SEBI-registered investment advisor before making any investment decisions.

Parámetros de entrada

  • datestringObligatorio

    End date in yyyy-MM-dd format. Omit or pass 'today' for the latest available day.

  • monthsintegerObligatorio

    Number of months. 1–24. Default: 12. Pass 0 for default.

  • symbolstringObligatorio

    NSE stock symbol. Examples: RELIANCE, TCS, HDFCBANK

  • indexNamestringObligatorio

    Benchmark NSE index name, case-insensitive. Default: Nifty 50. Examples: Nifty 50, Nifty Bank, Nifty IT, Nifty 500

Parámetros de salida

Sin parámetros.

Get top by volumeNSE_MCP_GET_TOP_BY_VOLUMEAcción

Get the top N most actively traded NSE stocks on a specific date, sorted descending. Sort by 'volume' (traded quantity) or 'value' (turnover in ₹). If the exact date is a holiday/weekend, returns the nearest trading day. Disclaimer: Information/Data made available through the NSEIL MCP server is for informational and educational purposes only and does not constitute investment advice or recommendation. NSEIL is not responsible for any AI generated Output or predictions

Parámetros de entrada

  • nintegerObligatorio

    Number of stocks to return. Default: 10, Max: 50

  • datestringObligatorio

    Date in yyyy-MM-dd format. Use today's date for current data.

  • sortBystringObligatorio

    Sort metric: 'volume' (traded quantity, default) or 'value' (turnover in ₹).

Parámetros de salida

Sin parámetros.

Get top moversNSE_MCP_GET_TOP_MOVERSAcción

Get the top N gaining or losing NSE stocks on a specific date. Returns stocks sorted by % change with OHLCV details. If the exact date is a holiday/weekend, returns the nearest trading day. IMPORTANT — UNADJUSTED PRICES + CORPORATE ACTION CHECK: % change is computed from raw unadjusted prevClose vs close. A stock with a split or bonus ex-date on the requested date will appear as a top loser with a large negative % (e.g., −50% for 1:1 bonus) even though no actual loss occurred. When presenting top losers: for any stock showing a drop > 20%, call get_corporate_actions(symbol, date, date) to check if the NSE CA data lists an ex-date matching that day. If matched, inform the user: e.g. "BRIGADE shows −50% on 2019-07-26 — confirmed CA: Bonus 1:1 ex-date (NSE data). Not a real market loss." Only flag as CA if confirmed by actual NSE data. Disclaimer: Information/Data made available through the NSEIL MCP server is for informational and educational purposes only and does not constitute investment advice or recommendation. NSEIL is not responsible for any AI generated Output or predictions

Parámetros de entrada

  • nintegerObligatorio

    Number of stocks to return. Default: 10, Max: 50

  • datestringObligatorio

    Date in yyyy-MM-dd format. Use today's date for current data.

  • directionstringObligatorio

    Direction: 'gain' for top gainers, 'loss' for top losers.

Parámetros de salida

Sin parámetros.

Get volume analysisNSE_MCP_GET_VOLUME_ANALYSISAcción

Analyse trading volume trends for an NSE stock over N trading days. Returns: average volume, max/min volume, volume spike days (>2× avg), 5-day recent trend. Disclaimer: Information/Data made available through the NSEIL MCP server is for informational and educational purposes only and does not constitute investment advice or recommendation. NSEIL is not responsible for any AI generated Output or predictions.

Parámetros de entrada

  • daysintegerObligatorio

    Number of trading days to analyse. Min: 5, Max: 252. Default: 30

  • symbolstringObligatorio

    NSE stock symbol in uppercase. Example: RELIANCE, ICICIBANK

Parámetros de salida

Sin parámetros.

Moving averageNSE_MCP_MOVING_AVERAGEAcción

Calculates the simple moving average (SMA) of close prices for a stock over the last N trading days. Common periods: 20-day (short-term), 50-day (medium-term), 200-day (long-term). Disclaimer: Information/Data made available through the NSEIL MCP server is for informational and educational purposes only and does not constitute investment advice or recommendation. NSEIL is not responsible for any AI generated Output or predictions.

Parámetros de entrada

  • daysintegerObligatorio

    Number of trading days. Common values: 20, 50, 100, 200

  • symbolstringObligatorio

    NSE stock symbol in uppercase. Example: HINDALCO

Parámetros de salida

Sin parámetros.

Nse lookup symbolNSE_MCP_NSE_LOOKUP_SYMBOLAcción

Look up NSE ticker symbols by partial name or keyword. Returns matching ticker list only — no price data. Use this to find the exact NSE symbol before calling other tools. Faster and lighter than search_symbols when you only need the ticker. Examples: query=HDFC → [HDFC, HDFCBANK, HDFCLIFE, HDFCAMC, ...] query=TATA → [TATA, TATASTEEL, TATAMOTORS, TATACOMM, ...] query=BANK → [BANKBARODA, BANKINDIA, CANBK, ...]

Parámetros de entrada

  • querystringObligatorio

    Partial symbol or keyword to search. Case-insensitive. Examples: 'HDFC', 'TATA', 'RELIANCE'

Parámetros de salida

Sin parámetros.

Search symbolsNSE_MCP_SEARCH_SYMBOLSAcción

Search for NSE stock symbols by company name or partial symbol. Returns matching symbols with latest close price and % change. Use this when you do not know the exact NSE symbol for a company. Disclaimer: Information/Data made available through the NSEIL MCP server is for informational and educational purposes only and does not constitute investment advice or recommendation. NSEIL is not responsible for any AI generated Output or predictions.

Parámetros de entrada

  • querystringObligatorio

    Search query — company name, partial symbol, or keyword. Examples: 'TATA', 'HDFC', 'BANK'

Parámetros de salida

Sin parámetros.