Indian Stock Exchange MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Host for HTTP mode; defaults to localhost. | |
| PORT | No | Port for HTTP mode; defaults to 3000. | |
| ISE_API_KEY | Yes | API key from indianapi.in for the Indian Stock Market API. Read from the environment variable, .env, or src/.env. | |
| ISE_CACHE_TTL_MS | No | Cache TTL in milliseconds. Responses are cached for 60 seconds by default. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Data for Indian equities (NSE/BSE), IPOs, mutual funds and commodities. Start with get-stock-snapshot for a company, get-market-overview for the market, and search-stocks if a name is ambiguous. Amounts are in INR; market caps in crore. Data is informational and not investment advice.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search-stocksA | Find listed Indian companies by name or partial name. Returns NSE/BSE codes and ISIN; use it to resolve ambiguous names. |
| get-stock-snapshotA | One-call overview of a stock: price, ranges, valuation, profitability, growth, balance-sheet health, returns, technical trend, analyst consensus and peers. Best first call for any stock question. |
| get-stock-priceA | Latest price (NSE and BSE), day change and 52-week range for a stock. |
| get-stock-detailsA | Detailed data for a stock, by section. Defaults to profile, key_metrics and analyst. 'financials' is very large; prefer get-financial-statements. |
| get-stock-historyB | Historical series for a stock: price, P/E, price-to-book, sales/margins or EV multiples. |
| compare-stocksA | Side-by-side comparison of 2-5 stocks on price, valuation, profitability, growth, risk and analyst views. |
| get-peersA | Listed peers of a company with their price, market cap, P/E, P/B, ROE and margins. |
| get-stock-recommendationsB | Analyst rating breakdown (strong buy to strong sell) and its trend over recent months for a stock. |
| get-financial-statementsA | Multi-year financials as metric -> period series. quarterly_results and annual_results hold the P&L (sales, profit, EPS), plus balance_sheet, cash_flow and ratios. |
| get-shareholding-patternC | Promoter, FII, DII and public holding percentages over time. |
| get-analyst-estimatesB | Consensus forecasts or reported actuals for a financial measure. Measures: EPS (Earnings per share), SAL (Sales / revenue), NET (Net income), EBI (EBIT), EBT (EBITDA), DPS (Dividend per share), CPS (Cash flow per share), CPX (Capex), GPS (Gross profit per share), GRM (Gross margin), NAV (Net asset value), NDT (Net debt), PRE (Pre-tax profit), ROA (Return on assets), ROE (Return on equity). |
| get-price-targetB | Mean/median/high/low analyst price targets and the consensus recommendation, with recent revisions. |
| get-corporate-actionsA | Dividends, bonus, splits, rights issues and board meetings for a company, most recent first. |
| get-announcementsB | Recent exchange filings and announcements (BSE) for a company, with links to the PDFs. |
| get-top-gainersA | Today's top gaining stocks (BSE-listed; use get-price-shockers for NSE). |
| get-top-losersA | Today's top losing stocks (BSE-listed; use get-price-shockers for NSE). |
| get-most-activeB | Most actively traded stocks by volume on the chosen exchange. |
| get-price-shockersC | Stocks with unusually large price moves today on the chosen exchange. |
| get-52-week-highs-lowsC | Stocks trading at their 52-week high or low. |
| get-newsB | Latest Indian stock-market and business news headlines with summaries. |
| get-market-newsA | Alias of get-news: the latest market news. |
| get-market-overviewA | Dashboard of the day: top gainers and losers, most active NSE stocks, price shockers and headlines in one call. |
| get-iposB | IPO calendar: upcoming, active, pre-apply, recently closed and listed issues with price band and listing gains. |
| get-commoditiesB | Commodity futures and options quotes (MCX) with open interest and buildup signal. Optionally filter by product, e.g. 'GOLD' or 'CRUDEOIL'. |
| search-mutual-fundsC | Find mutual fund schemes by name. |
| get-mutual-fund-detailsB | NAV, returns, risk metrics, expense ratio (recent history), exit load, SIP limits, fund manager and top holdings for a scheme. |
| list-mutual-fundsA | Browse funds by category (Equity, Debt, Hybrid, Index Funds, Solutions Oriented, Other) and sub-category, ranked by a return period. Call without arguments to list the categories. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| analyze-stock | Research report on a stock: valuation, quality, growth, risks, analyst view and news. |
| compare-stocks | Head-to-head comparison of several companies. |
| market-briefing | Summary of today's Indian market: movers, activity, news and IPOs. |
| dividend-and-events | Dividends, board meetings and filings to watch for a company. |
| mutual-fund-picks | Shortlist funds in a category by returns, size and risk. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| market-news | Top 20 current headlines |
| ipo-calendar | Upcoming, active and recent IPOs |
TDQS
Scored across 27 tools
Most tools target distinct data types, but get-market-overview duplicates top gainers/losers, most active, price shockers and headlines that also exist as standalone tools; get-market-news is an explicit alias of get-news. Stock snapshot/details/price/history/financials overlap somewhat, though descriptions help guide selection.
All names use kebab-case and are predominantly verb-first (get-, search-, list-, compare-), with no camelCase/snake_case mixing. Minor plural/alias variations such as get-ipos and get-market-news do not break the overall pattern.
27 tools is heavy for a single MCP server, though the broad Indian-market domain (stocks, funds, IPOs, commodities, news, analyst data) justifies many. Overlap between aggregate and standalone market-mover tools means not every tool is strictly necessary.
Coverage is broad: stock discovery, snapshots, financials, shareholding, analyst views, corporate actions, market movers, news, IPOs, commodities and mutual funds. Minor gaps remain around index/sector-level data and per-stock news, but core workflows are covered.