NSE-BSE MCP Server
Provides real-time and historical Indian stock market data from NSE and BSE exchanges with 66 tools covering quotes, options chains, corporate actions, IPOs, and market analytics for LLM-powered financial analysis.
README

NSE-BSE MCP Server
Model Context Protocol server for NSE and BSE India stock market APIs using Streamable HTTP transport.
Get real-time Indian stock market data and let LLMs do the analysis for you.
Quick Start
npx nse-bse-mcp
Or run from source:
# Requires Bun: https://bun.sh
bun install
bun run build
bun start
Docker Deployment
cd docker
docker-compose up -d
Server will be available at http://localhost:3000/mcp
MCP Client Setup (Gemini CLI, Claude Desktop, ChatGPT)
{
"mcpServers": {
"nse-bse-mcp": {
"command": "npx",
"args": ["-y", "mcp-remote@latest", "http://localhost:3000/mcp", "--allow-http"]
}
}
}
Features
- 66 Tools (44 NSE + 20 BSE + 2 Document)
- Smart Response Limiting - Returns metadata for large responses, letting LLM decide what to fetch
- Document Downloader - Download and extract IPO prospectus, reports, circulars
- Streamable HTTP transport (stateless)
- CORS support for browsers
- Health check endpoint
- Production ready
Tools (66 Total)
NSE Tools (44)
Market Data (6 tools)
nse_get_market_status- Current market status and trading hoursnse_equity_quote- Real-time equity quotesnse_get_quote- Quote with segment specification (equities, sme, mf, debt)nse_lookup_symbol- Search symbols by name or partial matchnse_get_gainers- Top gainers from market datanse_get_losers- Top losers from market data
Historical Data (4 tools)
nse_equity_historical- Historical equity data with date rangense_index_historical- Historical index datanse_fno_historical- Historical F&O datanse_vix_historical- Historical VIX (volatility index) data
Options & Derivatives (6 tools)
nse_option_chain- Complete option chain for symbolsnse_filtered_option_chain- Option chain with strike range filteringnse_compile_option_chain- Option chain for specific expiry datense_calculate_max_pain- Max pain calculation for optionsnse_fno_lots- F&O lot sizes for all symbolsnse_futures_expiry- Futures expiry dates
Corporate Information (5 tools)
nse_corporate_actions- Dividends, splits, bonusesnse_corporate_announcements- Corporate announcementsnse_board_meetings- Board meeting informationnse_annual_reports- Company annual reportsnse_circulars- NSE circulars
IPO Tools (4 tools)
nse_current_ipos- Current/ongoing IPOsnse_upcoming_ipos- Upcoming IPOsnse_past_ipos- Past IPOs with date rangense_ipo_details- Detailed IPO information
Market Activity (3 tools)
nse_block_deals- Block deals datanse_bulk_deals- Bulk deals datanse_holidays- Market holidays (trading/clearing)
Lists & Metadata (6 tools)
nse_list_indices- All NSE indicesnse_list_stocks_by_index- Stocks in specific indexnse_list_etf- All ETFsnse_list_sme- All SME stocksnse_list_sgb- All Sovereign Gold Bondsnse_equity_meta_info- Equity symbol metadata
Download Tools (4 tools)
nse_download_equity_bhavcopy- Equity bhavcopy reportsnse_download_delivery_bhavcopy- Delivery bhavcopy reportsnse_download_indices_bhavcopy- Indices bhavcopy reportsnse_download_fno_bhavcopy- F&O bhavcopy reports
BSE Tools (20)
Market Data (6 tools)
bse_quote- Real-time stock quotes by scrip codebse_quote_weekly_hl- 52-week and monthly high/low databse_gainers- Top gainers with group/index filteringbse_losers- Top losers with group/index filteringbse_advance_decline- Advance/decline values for all indicesbse_near_52week- Stocks near 52-week high/low
Historical Data (2 tools)
bse_index_historical- Historical index data (daily/weekly/monthly)bse_all_indices_by_date- All indices data for specific date
Corporate Information (3 tools)
bse_corporate_actions- Corporate actions with advanced filteringbse_announcements- Corporate announcements with categoriesbse_result_calendar- Corporate result calendar
Search & Lookup (4 tools)
bse_lookup_symbol- Search by name, symbol, ISIN, or scrip codebse_get_scrip_name- Get symbol name from scrip codebse_get_scrip_code- Get scrip code from symbol namebse_list_securities- List securities with industry/group filters
Report Downloads (2 tools)
bse_download_bhavcopy- Daily bhavcopy reportsbse_download_delivery- Daily delivery reports
Metadata (2 tools)
bse_fetch_index_names- List of all BSE indicesbse_fetch_index_metadata- Index report metadata
Document Tools (2)
Document Processing (2 tools)
download_document- Download and extract documents (PDFs, text, compressed files)read_document_pages- Read specific pages from cached or new documents
All tools support Smart Response Limiting with max_items and fields parameters to handle large datasets efficiently.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。