Indian Stock Exchange MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Indian Stock Exchange MCP Server Compare TCS, Infosys and Wipro on valuation, margins and momentum"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Indian Stock Exchange MCP Server
An MCP server that gives Claude (and any MCP client) live access to the Indian market: NSE/BSE equities, fundamentals, analyst targets, IPOs, mutual funds and commodities. Ask things like:
"Compare TCS, Infosys and Wipro on valuation, margins and momentum."
"Give me a research note on Reliance: financials, shareholding changes, analyst targets and recent filings."
"What's moving the market today? Any IPOs opening this week?"
"Shortlist the best mid-cap mutual funds by 3-year return and compare the top three."
Data comes from the Indian Stock Market API.

Real output from the compare-stocks tool. Regenerate it with node scripts/capture-demo.mjs && scripts/render-demo.sh.
Features
27 tools, all read-only and annotated as such, with compact, analysis-ready output instead of raw API dumps
One-call stock snapshot: price, ranges, valuation, profitability, growth, leverage, returns, moving-average trend, analyst consensus and peers
Fundamentals: multi-year P&L, balance sheet, cash flow, ratios, shareholding pattern, analyst estimates and price targets
Market: gainers/losers, most active, price shockers, 52-week highs/lows, news, IPO calendar, commodity futures
Mutual funds: search, browse by category and return, full scheme details
5 prompts (
analyze-stock,compare-stocks,market-briefing,dividend-and-events,mutual-fund-picks) and 3 resources (news, IPO calendar,ise://stock/{name})Reliable client: request timeout, retry with backoff on 429/5xx, in-memory TTL cache, in-flight de-duplication, clear error messages, and the API key is never exposed in output
stdio transport for desktop clients and stateless Streamable HTTP for remote use
Related MCP server: EODHD MCP Server
Tools
Area | Tool | What it does |
Stocks |
| Resolve a name to NSE/BSE codes and ISIN |
| Condensed overview of a stock (start here) | |
| Latest price, day range, 52-week range | |
| Profile, key metrics, shareholding, actions, news by section | |
| Price, P/E, P/B, margins or EV history over 1m to max | |
| Side-by-side comparison of 2-5 stocks | |
| Peer companies with valuation and returns | |
| Analyst rating breakdown and trend | |
Fundamentals |
| Quarterly/annual results, balance sheet, cash flow, ratios |
| Promoter/FII/DII/public holding over time | |
| Consensus forecasts or actuals (EPS, sales, net income, EBITDA, ROE, ...) | |
| Mean/high/low targets and consensus recommendation | |
| Dividends, bonus, splits, rights, board meetings | |
| Recent exchange filings with links | |
Market |
| Movers, activity, shockers and headlines in one call |
| Today's biggest movers | |
| Highest-volume stocks (NSE or BSE) | |
| Unusual price moves (NSE or BSE) | |
| Stocks at 52-week extremes | |
| Latest headlines with summaries | |
| Upcoming, active, closed and listed IPOs | |
| MCX futures with open-interest signal | |
Mutual funds |
| Find schemes by name |
| NAV, returns, risk, expense ratio, holdings | |
| Browse and rank by category and return period |
Setup
Requires Node.js 20+ and an API key from indianapi.in.
git clone <this repo> && cd Indian-Stock-Exchange-MCP
cp .env.example .env # then set ISE_API_KEY
npm install
npm run buildThe key is read from the ISE_API_KEY environment variable, .env, or src/.env. Never commit it; all three files are git-ignored.
Claude Desktop
Settings > Developer > Edit Config:
{
"mcpServers": {
"indian-stock-exchange": {
"command": "node",
"args": ["/absolute/path/to/Indian-Stock-Exchange-MCP/build/index.js"],
"env": { "ISE_API_KEY": "your_api_key_here" }
}
}
}Restart Claude Desktop.
Claude Code
claude mcp add indian-stock-exchange --env ISE_API_KEY=your_api_key_here -- node /absolute/path/to/build/index.jsHTTP mode
npm run start:http # http://127.0.0.1:3000/mcp (health check: /health)Stateless Streamable HTTP, bound to localhost by default (HOST and PORT override). It has no authentication, so put it behind a reverse proxy with auth before exposing it beyond your machine.
Development
npm test # build + unit tests (mocked HTTP, no key needed)
npm run smoke # calls every tool against the live API (needs ISE_API_KEY)src/
index.ts entry point: stdio or --http
server.ts builds the McpServer and registers everything
client.ts API client: auth, timeout, retry, cache
tools/ stocks, fundamentals, market, funds
prompts.ts reusable analysis prompts
resources.ts news, IPO and per-stock resourcesNotes
Amounts are in INR; market caps are in crore.
get-top-gainers/get-top-loserscome from the API's trending list, which is BSE-listed; useget-price-shockerswithexchange: NSEfor NSE.Responses are cached for 60 seconds by default (
ISE_CACHE_TTL_MS); history and fundamentals for longer.This server provides information, not investment advice.
License
MIT
Available Tools
27 toolscompare-stocksCompare stocksARead-onlyIdempotent
Side-by-side comparison of 2-5 stocks on price, valuation, profitability, growth, risk and analyst views.
Inputs: names (required).
get-52-week-highs-lows52-week highs and lowsCRead-onlyIdempotent
Stocks trading at their 52-week high or low.
Inputs: type, limit, exchange.
get-analyst-estimatesAnalyst estimatesBRead-onlyIdempotent
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).
Inputs: symbol (required), age, measure, data_type, +1 more.
get-announcementsCompany announcementsBRead-onlyIdempotent
Recent exchange filings and announcements (BSE) for a company, with links to the PDFs.
Inputs: name (required), limit.
get-commoditiesCommodity futuresBRead-onlyIdempotent
Commodity futures and options quotes (MCX) with open interest and buildup signal. Optionally filter by product, e.g. 'GOLD' or 'CRUDEOIL'.
Inputs: limit, product.
get-corporate-actionsCorporate actionsARead-onlyIdempotent
Dividends, bonus, splits, rights issues and board meetings for a company, most recent first.
Inputs: name (required), limit.
get-financial-statementsFinancial statementsARead-onlyIdempotent
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.
Inputs: name (required), statement (required).
get-iposIPOsBRead-onlyIdempotent
IPO calendar: upcoming, active, pre-apply, recently closed and listed issues with price band and listing gains.
Inputs: limit, status.
get-market-newsMarket news (alias)ARead-onlyIdempotent
Alias of get-news: the latest market news.
Inputs: limit.
get-market-overviewMarket overviewARead-onlyIdempotent
Dashboard of the day: top gainers and losers, most active NSE stocks, price shockers and headlines in one call.
Inputs: limit.
get-most-activeMost active stocksBRead-onlyIdempotent
Most actively traded stocks by volume on the chosen exchange.
Inputs: limit, exchange.
get-mutual-fund-detailsMutual fund detailsBRead-onlyIdempotent
NAV, returns, risk metrics, expense ratio (recent history), exit load, SIP limits, fund manager and top holdings for a scheme.
Inputs: name (required), holdings.
get-newsMarket newsBRead-onlyIdempotent
Latest Indian stock-market and business news headlines with summaries.
Inputs: limit.
get-peersPeer companiesARead-onlyIdempotent
Listed peers of a company with their price, market cap, P/E, P/B, ROE and margins.
Inputs: name (required), limit.
get-price-shockersPrice shockersCRead-onlyIdempotent
Stocks with unusually large price moves today on the chosen exchange.
Inputs: limit, exchange.
get-price-targetAnalyst price targetBRead-onlyIdempotent
Mean/median/high/low analyst price targets and the consensus recommendation, with recent revisions.
Inputs: symbol (required).
get-stock-detailsStock detailsARead-onlyIdempotent
Detailed data for a stock, by section. Defaults to profile, key_metrics and analyst. 'financials' is very large; prefer get-financial-statements.
Inputs: name (required), sections.
get-stock-historyPrice and valuation historyBRead-onlyIdempotent
Historical series for a stock: price, P/E, price-to-book, sales/margins or EV multiples.
Inputs: name (required), metric, period.
get-stock-priceStock priceARead-onlyIdempotent
Latest price (NSE and BSE), day change and 52-week range for a stock.
Inputs: name (required).
get-stock-recommendationsAnalyst recommendationsBRead-onlyIdempotent
Analyst rating breakdown (strong buy to strong sell) and its trend over recent months for a stock.
Inputs: name (required).
get-stock-snapshotStock snapshotARead-onlyIdempotent
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.
Inputs: name (required).
get-top-gainersTop gainersARead-onlyIdempotent
Today's top gaining stocks (BSE-listed; use get-price-shockers for NSE).
Inputs: limit.
get-top-losersTop losersARead-onlyIdempotent
Today's top losing stocks (BSE-listed; use get-price-shockers for NSE).
Inputs: limit.
list-mutual-fundsBrowse mutual fundsARead-onlyIdempotent
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.
Inputs: limit, sort_by, category, sub_category.
search-mutual-fundsSearch mutual fundsCRead-onlyIdempotent
Find mutual fund schemes by name.
Inputs: query (required), limit.
search-stocksSearch stocksARead-onlyIdempotent
Find listed Indian companies by name or partial name. Returns NSE/BSE codes and ISIN; use it to resolve ambiguous names.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
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.
Maintenance
Related MCP Connectors
Live market data, financial analysis, and portfolio research tools across 10,000+ tickers.
Market reports, earnings history, research, portfolio analysis and read-only Workspace tools.
Read-only market research: index funds, event cards, CLOB data, fund analytics. No orders.
Indian stock research on real NSE and BSE data: fundamentals, screens, FII flows and F&O. Read-only.
Related MCP Servers
- FlicenseCqualityDmaintenanceEnables access to comprehensive Indian stock market data from the NSE and BSE, including historical statistics, corporate actions, and IPO information. It also provides tools for mutual fund searches, analyst recommendations, and tracking market-active or trending stocks.16-
- AlicenseNot gradedqualityDmaintenanceEnables access to financial market data including EOD, intraday, fundamentals, news, and more via 75 read-only MCP tools.5MIT
- FlicenseAqualityCmaintenanceEnables analysis of Indian stocks listed on BSE/NSE through real-time quotes, fundamentals, historical data, stock discovery, market overview, and news integration.13-
- AlicenseAqualityCmaintenanceGives AI assistants live Indian market data without any API keys, spanning NSE quotes and indices, option chains with Greeks, max pain and OI analytics, company financials, shareholding and corporate actions, plus mutual fund NAVs and trailing returns. It also ships research, market-brief and options-positioning prompts so users can compare stocks, trace sector leadership or size up an expiry through natural language.1013MIT