Indian Market MCP
Enables live trading and portfolio management through Zerodha, including order placement, viewing holdings, margin, GTT orders, and open positions.
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 Market MCP What's the price of Reliance?"
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.
Covers NSE, BSE, MCX, Mutual Funds, F&O, ETFs, IPOs, Sovereign Gold Bonds, Commodities, Currency, Technical Analysis, Stock Screener, Company Financials, Candlestick Patterns, News & Sentiment — plus optional broker integration for live trading via Angel One or Zerodha.
Why this over other Indian market MCPs?
Feature | indian-market-mcp | Tapetide | bshada/nse-bse | NseKit | Zerodha Official |
Total tools | 68 | 26 | 60 | 100+ | ~20 |
API key required | No | No | No | No | Yes |
Stocks + History | Yes | Yes | Yes | Yes | Yes |
F&O / Option Chain | Yes | No | Yes | Yes | No |
PCR + Max Pain | Yes | No | No | No | No |
Mutual Funds | Yes | No | No | No | Partial |
Commodities (MCX) | Yes | No | No | No | No |
Currency (INR pairs) | Yes | No | No | No | No |
Sovereign Gold Bonds | Yes | No | No | No | No |
Stock Screener | Yes | Yes | No | No | No |
Company Financials | Yes | Yes | No | No | No |
Candlestick Patterns | Yes | Yes | No | No | No |
News & Sentiment | Yes | Yes | No | No | No |
Shareholding Pattern | Yes | Yes | No | No | No |
Technical Analysis | Yes | Yes | No | No | No |
Order Placement | Yes | No | No | No | Yes |
Portfolio / Holdings | Yes | No | No | No | Yes |
Market Depth | Yes | No | No | No | Yes |
Multi-broker support | Yes | No | No | No | No |
Quick Start
Option 1: Use the hosted server (zero install)
{
"mcpServers": {
"indian-market": {
"type": "url",
"url": "https://indian-market-mcp-wweh.onrender.com/mcp"
}
}
}Option 2: Install from PyPI
pip install indian-market-mcp
indian-market-mcpOption 3: Run without installing
uvx indian-market-mcpOption 4: Self-host HTTP
MCP_TRANSPORT=http uvx indian-market-mcp
# Server at http://localhost:8000/mcpOption 5: Docker
docker build -t indian-market-mcp .
docker run -p 8000:8000 indian-market-mcpRelated MCP server: india-stock-mcp
Connect to Your AI Tool
Claude Code
Add to ~/.mcp.json:
{
"mcpServers": {
"indian-market": {
"command": "uvx",
"args": ["indian-market-mcp"]
}
}
}Claude Desktop
Go to Settings > MCP Servers > Add. Use the hosted URL or local config:
{
"mcpServers": {
"indian-market": {
"type": "url",
"url": "https://indian-market-mcp-wweh.onrender.com/mcp"
}
}
}Cursor
Add to .cursor/mcp.json in your project:
{
"mcpServers": {
"indian-market": {
"command": "uvx",
"args": ["indian-market-mcp"]
}
}
}VS Code (Copilot)
Add to your VS Code settings.json:
{
"mcp": {
"servers": {
"indian-market": {
"command": "uvx",
"args": ["indian-market-mcp"]
}
}
}
}Windsurf / Cline / Any MCP Client
Use stdio config (command + args) or remote URL (https://indian-market-mcp-wweh.onrender.com/mcp) depending on what your client supports.
Examples
Ask your AI assistant in natural language:
Stocks
"What's the price of Reliance?"
"Show me top gainers today"
"Get historical data for TCS from Jan to June 2025"
"Which stocks hit 52-week high today?"
"Search for stocks related to EV"Derivatives & Options
"Show me NIFTY 50 option chain"
"What's the Put-Call Ratio for Bank Nifty?"
"Calculate max pain for NIFTY"
"Get futures data for Reliance"
"Show open interest across all expiries for NIFTY"Mutual Funds
"Search for SBI Bluechip mutual fund"
"Compare SBI Bluechip vs Axis Bluechip — 1Y returns"
"Get NAV history for scheme code 119598"
"Show me top equity mutual fund categories"MF Analysis & Recommendations
"I want to invest in a mutual fund for 3 years — suggest the best one"
"Find hidden gems in mid-cap mutual funds"
"Analyze SBI Bluechip Fund — risk, returns, consistency"
"If I did Rs 10,000 SIP in this fund for 3 years, what would be my returns?"
"Compare these 3 funds and tell me which is best for moderate risk"Screener
"Find stocks with PE < 15 and ROE > 20%"
"Screen for penny stocks under Rs 50"
"Show me large cap value stocks"
"Find stocks near their 52-week high"
"Screen IT sector stocks with high dividend yield"Technical Analysis
"Get technical indicators for RELIANCE — RSI, MACD, Bollinger"
"What are the support and resistance levels for TCS?"
"Detect candlestick patterns for INFY in the last 3 months"
"Scan RELIANCE, TCS, INFY for Bullish Engulfing patterns"Financials
"Show me TCS income statement"
"Get quarterly balance sheet for Reliance"
"What are the key financial ratios for HDFC Bank?"
"Compare TCS with its industry peers"Commodities & Currency
"What's the gold price right now?"
"Get silver price history for last 6 months"
"What's the USD/INR exchange rate?"
"Show me all commodity prices"Market & News
"Is the market open right now?"
"Show FII/DII data for today"
"Get latest market news"
"Show me news about Reliance"
"What's happening in the banking sector?"
"Get upcoming IPOs"Bonds
"Show all Sovereign Gold Bond prices"
"Get price history for SGBJAN30IX"Broker Mode (with credentials)
"Buy 10 shares of Reliance at market price"
"Show my portfolio holdings"
"What's my available margin?"
"Create a GTT order for TCS at Rs 3500"
"Show my open positions"All 68 Tools
Stocks (NSE/BSE) — 9 tools
Tool | Description |
| Live price, volume, day high/low, 52-week range, market cap |
| Fuzzy search stocks by name or symbol |
| Historical OHLC candle data with date range |
| Today's top gaining stocks on NSE |
| Today's top losing stocks on NSE |
| All stocks at their 52-week high |
| All stocks at their 52-week low |
| Most traded stocks by volume or value |
| Dividends, stock splits, bonus issues, rights |
Derivatives (F&O) — 5 tools
Tool | Description |
| Full option chain — strike prices, premiums, OI, change in OI, IV. Works for indices (NIFTY, BANKNIFTY) and stocks |
| Put-Call Ratio with bullish/bearish interpretation |
| Max pain strike price calculation — where option writers face minimum loss |
| Futures contracts with lot size, expiry dates, OI, price |
| Open Interest data across all expiries and strike prices |
Indices — 5 tools
Tool | Description |
| Live index value with advances/declines (NIFTY 50, BANK NIFTY, NIFTY IT, etc.) |
| All stocks in an index with live prices |
| Every NSE index with current value and change |
| Historical data for any index with date range |
| All sectoral indices ranked by performance |
Mutual Funds — 6 tools
Tool | Description |
| Search 47,000+ schemes by name, AMC, or category |
| Latest NAV for any mutual fund scheme |
| Full historical NAV data or filtered by date range |
| All fund categories — Equity, Debt, Hybrid, etc. |
| Side-by-side comparison — NAV, returns (1M, 3M, 6M, 1Y) |
| Top performing funds in any category |
ETFs — 3 tools
Tool | Description |
| Every ETF listed on NSE — Gold, Debt, Equity, International |
| Detailed quote for a specific ETF |
| Historical price data for any ETF |
Commodities (MCX) — 3 tools
Tool | Description |
| Live price for Gold, Silver, Crude Oil, Natural Gas, Copper, Aluminium, Zinc, Lead, Nickel, Cotton |
| All commodity prices in one call |
| Historical OHLC data. Periods: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, max |
Currency — 3 tools
Tool | Description |
| Live exchange rate for USDINR, EURINR, GBPINR, JPYINR |
| All INR currency pair rates |
| Historical exchange rate data with configurable period |
IPO — 2 tools
Tool | Description |
| Upcoming and ongoing IPOs with dates, price band, issue size |
| Recently listed IPOs with listing price and returns |
Bonds / SGBs — 3 tools
Tool | Description |
| All Sovereign Gold Bonds listed on NSE with maturity dates |
| Detailed quote for a specific SGB tranche |
| Historical price data for any SGB |
Market Overview — 3 tools
Tool | Description |
| Market open/closed/pre-market status for all segments |
| Foreign & Domestic Institutional Investor buy/sell data |
| Market breadth — advancing, declining, unchanged stocks |
Technical Analysis — 2 tools
Tool | Description |
| All-in-one: SMA (20/50/200), EMA (12/26/50), RSI 14, MACD, Bollinger Bands, VWAP, trend signal |
| Pivot point based support (S1/S2/S3) and resistance (R1/R2/R3) levels |
Stock Screener — 3 tools
Tool | Description |
| Custom screener with filters: price range, % change, volume, sector, near 52w high/low. Sortable results |
| Screen by PE, PB, ROE, market cap, dividend yield. Uses Yahoo Finance fundamentals |
| 8 pre-built strategies: |
News & Sentiment — 5 tools
Tool | Description |
| Latest Indian stock market news from Google News |
| News for a specific stock |
| News for a sector — IT, Banking, Pharma, Auto, FMCG |
| Official NSE corporate announcements and filings |
| Upcoming and past board meeting dates for any stock |
Company Financials — 6 tools
Tool | Description |
| P&L statement — revenue, expenses, net income, EPS. Annual or quarterly |
| Assets, liabilities, equity, debt. Annual or quarterly |
| Operating, investing, financing cash flows. Annual or quarterly |
| 30+ financial ratios: PE, PB, ROE, ROA, debt/equity, margins, growth, EPS, dividend yield, beta, etc. |
| Compare any stock with its industry peers on key metrics |
| Quarterly/annual results as filed with NSE |
Candlestick Patterns — 2 tools
Tool | Description |
| Detect 12+ patterns: Doji, Hammer, Inverted Hammer, Hanging Man, Shooting Star, Bullish Engulfing, Bearish Engulfing, Morning Star, Evening Star, Marubozu, Three White Soldiers, Three Black Crows. Includes bullish/bearish bias summary |
| Scan up to 20 stocks at once for specific patterns. E.g., find all stocks showing Bullish Engulfing |
MF Analysis — 5 tools
Tool | Description |
| Deep analysis — returns (1M to 10Y CAGR), risk metrics (Sharpe, Sortino, max drawdown, volatility), rolling returns, consistency score |
| Smart ranking by investment horizon + risk appetite. Weighted scoring across returns, consistency, and risk-adjusted performance |
| Discover overlooked funds with exceptional risk-adjusted returns. Explains WHY each fund is a gem |
| Backtest SIP — total invested, current value, XIRR, units accumulated, month-by-month log |
| Head-to-head comparison with risk metrics, rolling returns, and summary (best returns, most consistent, lowest risk) |
Shareholding & Profile — 3 tools
Tool | Description |
| Promoter, FII, DII, public holding percentages from NSE |
| Full company overview: sector, industry, employees, description, fundamentals |
| Recent bulk and block deals on NSE |
Broker Mode
Unlock 11 additional tools for live trading by adding your broker credentials. Both brokers are free for API access.
Angel One (Recommended — completely free)
{
"mcpServers": {
"indian-market": {
"command": "uvx",
"args": ["indian-market-mcp[angel]"],
"env": {
"ANGEL_API_KEY": "your-api-key",
"ANGEL_CLIENT_ID": "your-client-id",
"ANGEL_PASSWORD": "your-password",
"ANGEL_TOTP_SECRET": "your-totp-secret"
}
}
}
}To get credentials:
Open an Angel One account (free)
Go to SmartAPI and generate an API key
Set up TOTP in your Angel One app and note the secret
Zerodha Kite Connect
{
"mcpServers": {
"indian-market": {
"command": "uvx",
"args": ["indian-market-mcp[zerodha]"],
"env": {
"KITE_API_KEY": "your-api-key",
"KITE_ACCESS_TOKEN": "your-access-token"
}
}
}
}To get credentials:
Sign up at Kite Connect
Create an app and get your API key
Generate an access token through the login flow
Broker Tools (11 additional tools)
Tool | Description |
| Place buy/sell orders — MARKET, LIMIT, SL, SL-M. Supports DELIVERY, INTRADAY, MARGIN |
| Cancel any pending order by order ID |
| All orders placed today — pending, executed, cancelled |
| Good Till Triggered — auto-executes when price hits your target |
| View all active GTT orders |
| Complete portfolio — stocks owned, buy price, current price, P&L |
| Open intraday and overnight positions with live P&L |
| Available cash, used margin, and free margin for trading |
| Account details — name, client ID, registered exchanges |
| Level 2/3 order book — top 5/20 bid-ask with quantities |
| Fastest last traded price via broker API |
Remote HTTP Server
Host as a public URL so anyone can use it without installing anything — just like https://mcp.tapetide.com/mcp.
Use the hosted server
{
"mcpServers": {
"indian-market": {
"type": "url",
"url": "https://indian-market-mcp-wweh.onrender.com/mcp"
}
}
}Self-host with Docker
docker build -t indian-market-mcp .
docker run -p 8000:8000 indian-market-mcp
# Endpoint: http://localhost:8000/mcpSelf-host without Docker
MCP_TRANSPORT=http MCP_PORT=8000 uvx indian-market-mcpDeploy to cloud
Platform | How |
Railway | Connect GitHub repo, add env |
Fly.io |
|
Google Cloud Run |
|
AWS ECS / Fargate | Push Docker image, create service |
Render | Connect repo, select Docker, deploy |
Environment variables
Variable | Default | Description |
|
| Set to |
|
| Host to bind |
|
| Port to bind |
| — | Angel One API key (enables broker mode) |
| — | Angel One client ID |
| — | Angel One password |
| — | Angel One TOTP secret |
| — | Zerodha API key (enables broker mode) |
| — | Zerodha access token |
Data Sources
All public market data is free with no API keys or sign-ups:
Source | Data | Update Frequency |
Stocks, F&O, option chains, indices, ETFs, IPOs, SGBs, FII/DII, shareholding, corporate actions, announcements | Real-time (with 3-min cache) | |
Mutual fund NAVs for 47,000+ schemes, historical NAV | Daily | |
Commodities, currencies, historical OHLC, fundamentals, financials, technicals | Real-time | |
Market news, stock news, sector news | Real-time |
Rate limiting & caching
NSE aggressively rate-limits requests (~3 per minute). The server uses intelligent disk-based caching:
Data Type | Cache TTL |
Live quotes | 60 seconds |
Option chains, gainers/losers | 120 seconds |
Indices, ETFs, FII/DII | 300 seconds |
Historical data, MF NAVs | 300–3600 seconds |
IPOs, SGBs, shareholding | 600 seconds |
Cache is stored at ~/.cache/indian-market-mcp/ (configurable, max 500MB).
Architecture
indian-market-mcp/
├── src/indian_market_mcp/
│ ├── server.py # FastMCP entry point (stdio + HTTP)
│ ├── tools/ # 20 tool modules
│ │ ├── stocks.py # 9 tools — quotes, history, search, gainers/losers
│ │ ├── derivatives.py # 5 tools — option chain, PCR, max pain, futures, OI
│ │ ├── indices.py # 5 tools — indices, constituents, sectors
│ │ ├── mutual_funds.py # 6 tools — NAV, history, compare, categories
│ │ ├── etfs.py # 3 tools — ETF list, quotes, history
│ │ ├── commodities.py # 3 tools — gold, silver, crude, natural gas
│ │ ├── currency.py # 3 tools — USDINR, EURINR, GBPINR, JPYINR
│ │ ├── ipo.py # 2 tools — upcoming, past IPOs
│ │ ├── bonds.py # 3 tools — SGBs
│ │ ├── market.py # 3 tools — status, FII/DII, breadth
│ │ ├── technicals.py # 2 tools — indicators, support/resistance
│ │ ├── screener.py # 3 tools — custom, fundamental, preset screens
│ │ ├── news.py # 5 tools — market, stock, sector news
│ │ ├── financials.py # 6 tools — P&L, balance sheet, ratios, peers
│ │ ├── candlestick.py # 2 tools — pattern detection, bulk scan
│ │ ├── shareholding.py # 3 tools — holding pattern, profile
│ │ ├── mf_analysis.py # 5 tools — MF recommendations, hidden gems, SIP backtest
│ │ ├── trading.py # 5 tools — orders, GTT (broker mode)
│ │ ├── portfolio.py # 4 tools — holdings, positions, margins (broker mode)
│ │ └── market_depth.py # 2 tools — depth, LTP (broker mode)
│ └── sources/ # Data source layer
│ ├── nse.py # NSE India scraper with session management
│ ├── amfi.py # AMFI mutual fund data
│ ├── mcx.py # Commodities & currency via Yahoo Finance
│ ├── cache.py # Disk-based caching with TTL
│ └── broker/
│ ├── angel.py # Angel One SmartAPI integration
│ └── zerodha.py # Zerodha Kite Connect integration
├── Dockerfile # Production container
├── pyproject.toml # Dependencies and build config
└── LICENSE # MITDevelopment
# Clone
git clone https://github.com/afthabvp/indian-market-mcp.git
cd indian-market-mcp
# Install all dependencies including broker extras
uv sync --all-extras
# Run in stdio mode (for local MCP clients)
uv run indian-market-mcp
# Run as HTTP server
MCP_TRANSPORT=http uv run indian-market-mcp
# Run with broker mode
ANGEL_API_KEY=xxx ANGEL_CLIENT_ID=xxx ANGEL_PASSWORD=xxx ANGEL_TOTP_SECRET=xxx uv run indian-market-mcpRunning tests
# Full validation of all 68 tools against live data
uv run python test_all_tools.py
# Unit tests
uv run pytestCode formatting
uv run ruff check --fix .
uv run ruff format .Roadmap
Publish to PyPI (
pip install indian-market-mcp)Hosted public server (
https://indian-market-mcp-wweh.onrender.com/mcp)BSE-specific tools (more granular BSE data)
Options Greeks calculator
Backtesting tools
Watchlist management (persistent)
Alert system (price/volume triggers)
Tax calculator (STCG/LTCG for holdings)
Upstox / Groww broker integration
Contributing
Contributions welcome! Please open an issue first to discuss what you'd like to add.
Fork the repo
Create a feature branch (
git checkout -b feat/amazing-feature)Commit your changes
Push and open a PR
Disclaimer
This tool is for informational and educational purposes only. It does not constitute financial advice. Always do your own research before making investment decisions. The authors are not responsible for any financial losses incurred through the use of this tool.
Market data is sourced from publicly available APIs and may have delays. Broker mode executes real trades — use with caution.
License
MIT — use it however you want.
Available Tools
68 toolsanalyze_mutual_fundA
Deep analysis of a mutual fund — returns across all periods, risk metrics (Sharpe, Sortino, max drawdown, volatility), rolling returns, and a consistency score. Use search_mutual_funds first to get the scheme code. Example: analyze_mutual_fund("119598")
Inputs: scheme_code (required).
compare_mf_detailedA
Deep comparison of multiple mutual funds — returns, risk, rolling returns, SIP performance, consistency score. Perfect for "which fund should I choose" questions. Example: compare_mf_detailed(["119598", "120503", "118989"])
Inputs: scheme_codes (required).
compare_mutual_fundsC
Compare multiple mutual funds side by side. Pass a list of scheme codes. Example: compare_mutual_funds(["119598", "120503"])
Inputs: scheme_codes (required). Returns: result
detect_candlestick_patternsA
Detect candlestick patterns for a stock — Doji, Hammer, Engulfing, Morning Star, Evening Star, Marubozu, Three White Soldiers, Three Black Crows, and more. Periods: 1mo, 3mo, 6mo, 1y. Example: detect_candlestick_patterns("RELIANCE", "3mo")
Inputs: symbol (required), period.
find_best_mutual_fundsB
Find the best mutual funds based on investment horizon and risk appetite. Analyzes returns, consistency, risk-adjusted performance, and rolling returns to find hidden gems.
Parameters:
category: Fund category keyword (e.g. "Equity", "Large Cap", "Mid Cap", "Small Cap", "Flexi Cap", "ELSS", "Debt", "Hybrid"). Leave empty for all.
investment_horizon: "1Y", "3Y", "5Y", "7Y", "10Y"
risk_appetite: "low" (prefers low volatility), "moderate" (balanced), "high" (max returns)
top_n: Number of top funds to return
Example: find_best_mutual_funds("Mid Cap", "3Y", "moderate", 10) Example: find_best_mutual_funds("", "5Y", "high", 5)
Inputs: top_n, category, risk_appetite, investment_horizon. Returns: result
get_52week_highB
Get stocks at their 52-week high.
Inputs: no named parameters. Returns: result
get_52week_lowA
Get stocks at their 52-week low.
Inputs: no named parameters. Returns: result
get_advances_declinesA
Get market breadth — number of advancing, declining, and unchanged stocks.
Inputs: no named parameters.
get_all_commodity_pricesA
Get live prices for all supported commodities.
Inputs: no named parameters. Returns: result
get_all_currency_ratesA
Get live rates for all supported INR currency pairs.
Inputs: no named parameters. Returns: result
get_all_etfsA
Get all ETFs listed on NSE with their prices and NAV — Gold ETFs, Debt ETFs, Equity ETFs etc.
Inputs: no named parameters. Returns: result
get_all_indicesA
Get all NSE indices with current values — Nifty 50, Bank Nifty, sectoral indices etc.
Inputs: no named parameters. Returns: result
get_balance_sheetA
Get balance sheet — assets, liabilities, equity, debt. Example: get_balance_sheet("INFY")
Inputs: symbol (required), quarterly.
get_board_meetingsC
Get upcoming and past board meeting dates for a stock. Example: get_board_meetings("RELIANCE")
Inputs: symbol (required).
get_bulk_dealsA
Get recent bulk and block deals on NSE.
Inputs: no named parameters.
get_cash_flowA
Get cash flow statement — operating, investing, financing cash flows. Example: get_cash_flow("HDFCBANK")
Inputs: symbol (required), quarterly.
get_commodity_historyB
Get historical price data for a commodity. Periods: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, max. Example: get_commodity_history("GOLD", "6mo")
Inputs: commodity (required), period.
get_commodity_priceA
Get live price for a commodity — GOLD, SILVER, CRUDE_OIL, NATURAL_GAS, COPPER, ALUMINIUM, ZINC, LEAD, NICKEL, COTTON. Example: get_commodity_price("GOLD")
Inputs: commodity (required).
get_company_profileA
Get comprehensive company profile — sector, industry, fundamentals, and current quote in one call. Example: get_company_profile("TCS")
Inputs: symbol (required).
get_corporate_actionsB
Get corporate actions (dividends, splits, bonus) for a stock. Example: get_corporate_actions("TCS")
Inputs: symbol (required).
get_currency_historyA
Get historical exchange rate data. Periods: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, max. Example: get_currency_history("USDINR", "6mo")
Inputs: pair (required), period.
get_currency_rateA
Get live exchange rate — USDINR, EURINR, GBPINR, JPYINR. Example: get_currency_rate("USDINR")
Inputs: pair (required).
get_etf_historyC
Get historical data for an ETF. Dates in DD-MM-YYYY format. Example: get_etf_history("GOLDBEES", "01-01-2025", "01-06-2025")
Inputs: symbol (required), to_date, from_date.
get_etf_quoteA
Get detailed quote for a specific ETF. Example: get_etf_quote("GOLDBEES") or get_etf_quote("NIFTYBEES")
Inputs: symbol (required).
get_fii_dii_dataA
Get Foreign Institutional Investor (FII) and Domestic Institutional Investor (DII) buy/sell data for today.
Inputs: no named parameters.
get_futures_dataB
Get futures data — lot size, expiry, OI, price for a stock or index. Example: get_futures_data("NIFTY") or get_futures_data("RELIANCE")
Inputs: symbol (required).
get_income_statementA
Get income statement (P&L) — revenue, expenses, net income, EPS. Set quarterly=True for quarterly results. Example: get_income_statement("TCS") or get_income_statement("RELIANCE", quarterly=True)
Inputs: symbol (required), quarterly.
get_indexA
Get live data for an NSE index — value, change, advances/declines. Common indices: NIFTY 50, NIFTY BANK, NIFTY NEXT 50, NIFTY IT, NIFTY FINANCIAL SERVICES. Example: get_index("NIFTY 50")
Inputs: name (required).
get_index_constituentsB
Get all stocks in an index with their live prices. Example: get_index_constituents("NIFTY 50")
Inputs: name (required). Returns: result
get_index_historyB
Get historical data for an NSE index. Dates in DD-MM-YYYY format. Example: get_index_history("NIFTY 50", "01-01-2025", "01-06-2025")
Inputs: index (required), to_date, from_date.
get_key_ratiosB
Get key financial ratios — PE, PB, ROE, ROCE, debt/equity, dividend yield, EPS, market cap. Example: get_key_ratios("RELIANCE")
Inputs: symbol (required).
get_market_newsB
Get latest Indian stock market news from Google News. Example: get_market_news(15)
Inputs: limit. Returns: result
get_market_statusA
Get current market status — open, closed, or pre-market for all segments (equity, derivatives, currency).
Inputs: no named parameters.
get_max_painA
Calculate max pain strike price for an index option. Max pain is the strike price where option writers (sellers) face minimum losses. Example: get_max_pain("NIFTY")
Inputs: symbol (required).
get_mf_categoriesA
Get all mutual fund categories — Equity, Debt, Hybrid, Solution Oriented etc.
Inputs: no named parameters. Returns: result
get_mf_historyA
Get historical NAV data for a mutual fund. Dates in YYYY-MM-DD format. Returns full history if no dates specified. Example: get_mf_history("119598", "2025-01-01", "2025-06-01")
Inputs: scheme_code (required), to_date, from_date.
get_most_active_stocksA
Get most active stocks by volume or value. Example: get_most_active_stocks("volume") or get_most_active_stocks("value")
Inputs: by. Returns: result
get_nse_announcementsA
Get official NSE corporate announcements/filings. If symbol is provided, get announcements for that stock. Otherwise get latest announcements across all stocks. Example: get_nse_announcements("TCS")
Inputs: symbol.
get_nse_financial_resultsC
Get quarterly/annual financial results filed with NSE. Example: get_nse_financial_results("RELIANCE")
Inputs: symbol (required).
get_oi_dataC
Get Open Interest data for all expiries of a derivative. Example: get_oi_data("NIFTY")
Inputs: symbol (required).
get_option_chainA
Get full option chain for an index or stock — strike prices, premiums, OI, change in OI, IV. For indices: NIFTY, BANKNIFTY, FINNIFTY. For stocks: any NSE symbol. Example: get_option_chain("NIFTY") or get_option_chain("RELIANCE", is_index=False)
Inputs: symbol (required), is_index.
get_past_iposA
Get recently listed IPOs with listing price and performance.
Inputs: no named parameters.
get_pcrB
Get Put-Call Ratio for an index. Example: get_pcr("NIFTY")
Inputs: symbol (required).
get_peer_comparisonA
Compare a stock with its industry peers — PE, PB, market cap, ROE side by side. Example: get_peer_comparison("TCS")
Inputs: symbol (required). Returns: result
get_sector_newsA
Get latest news for a sector — IT, Banking, Pharma, Auto, FMCG etc. Example: get_sector_news("Banking", 10)
Inputs: sector (required), limit. Returns: result
get_sector_performanceB
Get performance of all sectoral indices — IT, Bank, Pharma, Auto, FMCG etc.
Inputs: no named parameters. Returns: result
get_sgb_historyC
Get historical price data for a Sovereign Gold Bond. Example: get_sgb_history("SGBJAN30IX", "01-01-2025", "01-06-2025")
Inputs: symbol (required), to_date, from_date.
get_sgb_quoteA
Get detailed quote for a specific Sovereign Gold Bond. Example: get_sgb_quote("SGBJAN30IX")
Inputs: symbol (required).
get_sovereign_gold_bondsA
Get all Sovereign Gold Bonds (SGBs) listed on NSE with prices and maturity dates.
Inputs: no named parameters.
get_stock_historyB
Get historical OHLC data for a stock. Dates in DD-MM-YYYY format. Example: get_stock_history("TCS", "01-01-2025", "01-06-2025")
Inputs: symbol (required), to_date, from_date.
get_stock_newsA
Get latest news for a specific stock. Example: get_stock_news("RELIANCE", 10)
Inputs: symbol (required), limit. Returns: result
get_stock_quoteA
Get live stock quote from NSE — price, volume, day high/low, 52-week range, market cap. Example: get_stock_quote("RELIANCE")
Inputs: symbol (required).
get_support_resistanceC
Get support and resistance levels for a stock based on pivot points. Example: get_support_resistance("RELIANCE")
Inputs: symbol (required), period.
get_technical_indicatorsA
Get key technical indicators for an NSE stock — SMA, EMA, RSI, MACD, Bollinger Bands, VWAP. Periods: 1mo, 3mo, 6mo, 1y, 2y. Example: get_technical_indicators("RELIANCE", "6mo")
Inputs: symbol (required), period.
get_top_funds_by_categoryC
Get top mutual funds in a category. Example: get_top_funds_by_category("Equity Scheme")
Inputs: category (required), limit. Returns: result
get_top_gainersA
Get today's top gaining stocks on NSE.
Inputs: no named parameters. Returns: result
get_top_losersA
Get today's top losing stocks on NSE.
Inputs: no named parameters. Returns: result
get_upcoming_iposA
Get all upcoming and ongoing IPOs on NSE with dates, price band, and issue size.
Inputs: no named parameters.
mf_sip_returnsA
Calculate what your SIP returns would have been if you had invested in this fund. Shows month-by-month investment, units accumulated, and final value.
Example: mf_sip_returns("119598", 10000, 3) Means: Rs 10,000/month SIP for 3 years in scheme 119598
Inputs: scheme_code (required), years, monthly_amount.
run_preset_screenA
Run a pre-built screener strategy. Presets:
"top_gainers" — stocks up > 3% today
"top_losers" — stocks down > 3% today
"high_volume" — unusual volume (top 20)
"near_52w_high" — within 5% of 52-week high
"near_52w_low" — within 5% of 52-week low
"penny_stocks" — price < 50, sorted by change
"large_cap_value" — large caps with PE < 20
"high_dividend" — dividend yield > 2% Example: run_preset_screen("top_gainers")
Inputs: preset (required). Returns: result
scan_patterns_bulkA
Scan multiple stocks for candlestick patterns. Optionally filter by pattern name. Example: scan_patterns_bulk(["RELIANCE", "TCS", "INFY"], "Bullish Engulfing")
Inputs: symbols (required), pattern_filter. Returns: result
screen_by_fundamentalsB
Screen stocks by fundamental metrics using Yahoo Finance data. Filters: PE ratio, PB ratio, market cap (in Cr), dividend yield (%), ROE (%). Example: screen_by_fundamentals(min_pe=5, max_pe=20, min_roe=15, limit=10) Note: This is slower as it fetches data per stock. Works best with sector filter.
Inputs: limit, max_pb, max_pe, min_pb, +5 more. Returns: result
screen_stocksA
Screen stocks with multiple filters. Works on any NSE index. Filters:
min_price/max_price: price range
min_change_percent/max_change_percent: % change range
min_volume: minimum traded volume
sector: filter by sector keyword (e.g. "IT", "Bank", "Pharma")
near_52w_high: stocks within 5% of 52-week high
near_52w_low: stocks within 5% of 52-week low
sort_by: change_percent, price, volume (default: change_percent)
sort_order: asc or desc Example: screen_stocks(min_price=100, max_price=500, min_change_percent=2, sort_by="change_percent")
Inputs: index, limit, sector, sort_by, +8 more. Returns: result
search_mutual_fundsB
Search mutual funds by name, AMC, or category. Example: search_mutual_funds("SBI Bluechip") or search_mutual_funds("axis flexi cap")
Inputs: query (required). Returns: result
search_stocksB
Search stocks by name or symbol on NSE. Example: search_stocks("reliance") or search_stocks("INFY")
Inputs: query (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 68 tools
Most tools have distinct purposes, but there is some overlap (e.g., multiple mutual fund comparison tools like compare_mutual_funds and compare_mf_detailed, and separate top gainers tools vs. preset screeners). Agents may occasionally confuse similar tools.
Tools consistently use a verb_noun pattern with underscores (e.g., get_stock_quote, search_mutual_funds, detect_candlestick_patterns). While verbs vary (get, search, analyze, find), the pattern is uniform and predictable.
With 68 tools, the count is high but reasonable given the broad scope covering stocks, mutual funds, commodities, derivatives, and more. However, some tools could be consolidated, and the sheer number may overwhelm agents.
The tool set is exceptionally comprehensive, covering almost all aspects of Indian markets: stock fundamentals, technicals, derivatives, news, mutual funds, IPOs, and more. There are no obvious gaps for the intended domain.
Related MCP Connectors
Hosted MCP server for Indian market quotes, option-chain Greeks and multi-broker telemetry.
Hosted MCP server for Indian NSE/BSE stock research: 59 tools for quotes, financials and ratios, peers, shareholding and pledge, filings with extracted facts, screens, F&O and FII/DII context. Source and freshness on every answer; no buy/sell calls.
Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts.
Stock analysis MCP: 38 indicators, 7 optimizers, 8 backtests, US + India sectors.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides comprehensive Indian stock market data from the NSE and BSE, including live quotes, historical trends, and fundamental analysis. Users can compare stock performance, track major indices, and access financial statements without the need for an API key.2MIT
- AlicenseAqualityDmaintenanceMCP server for Indian stock market data. Provides 16 tools for quotes, history, fundamentals, mutual funds, indices, corporate actions, options, IPOs, and portfolio analysis.1690 npm5MIT
- AlicenseBqualityCmaintenanceComprehensive MCP server for Indian stock market with 60 tools covering NSE/BSE, derivatives, mutual funds, technicals, and more, requiring no API keys. Enables users to access live market data, analyze indicators, and manage investments through natural language.601MIT
- AlicenseNot gradedqualityDmaintenancePublic MCP server for Indian stock market analysis covering Nifty 500 stocks with 12 tools (quotes, technical indicators, patterns, screening) across daily, 15-minute, and 5-minute timeframes.1MIT