BN

bshada/nse-bse-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

13 stars 9 forks 품질 69 트렌드 20MIT

Streamable HTTP 전송을 사용하여 NSE 및 BSE India Stock Market API에 대한 모델 Context Protocol 서버.

개요

Streamable HTTP 전송을 사용하여 NSE 및 BSE India Stock Market API에 대한 모델 Context Protocol 서버. 실시간 인디언 재고 시장 데이터를 가져 와서 LLMs가 당신을 위해 분석 할 수 있습니다. 서버는 http://localhost:3000/mcp에서 사용할 수 있습니다. - (38 NSE + 20 BSE + 2 문서) - 큰 응답에 대한 메타 데이터를 반환, LLM은 어떻게 fetch를 결정 - - 다운로드 및 추출 IPO 전망, 보고서, 원형 - 운송 (무선) - 브라우저에 대한 지원 - 엔드포인트 - - nse get market status - 현재 시장 상태 및 거래 시간 - nse equity quote - 실시간 주식 따옴표 - nse get quote - 세그먼트 사양 (equities, sme, mf, 부채) - nse lookup symbol - 이름 또는 부분 일치에 의한 검색 기호 - nse get gainers - 시장 데이터의 Top Gainers - nse get losers - nse equity historical - 날짜 범위를 가진 역사적인 equity 자료 - nse fno historical - 역사 F&O 자료 - nse vix historical - 역사 VIX (volatility 색인) 자료 -...

개요(AI 번역)

Streamable HTTP 전송을 사용하여 NSE 및 BSE India Stock Market API에 대한 모델 Context Protocol 서버.

실시간 인디언 재고 시장 데이터를 가져 와서 LLMs가 당신을 위해 분석 할 수 있습니다.

빠른 시작

또는 소스에서 실행:

Docker 배포

서버는 http://localhost:3000/mcp에서 사용할 수 있습니다.

MCP 클라이언트 설정 (Gemini CLI, Claude 데스크탑, ChatGPT)

특징

  • 60 도구 (38 NSE + 20 BSE + 2 문서) -Smart Response Limiting - 큰 응답을 위한 메타데이터를 반환하고, LLM은 어떻게 fetch를 결정합니다.
  • Document Downloader - 다운로드 및 추출 IPO 전망, 보고서, 원형
  • Streamable HTTP 수송 (무선)
  • CORS 브라우저 지원
  • ** 건강 검사 ** 엔드포인트 -제품 준비

도구 (60 총)

NSE 도구 (38)

시장 자료 (6개의 공구)

  • nse_get_market_status - 현재 시장현황 및 거래시간
  • nse_equity_quote - 실시간 주식 견적
  • nse_get_quote - 세그먼트 사양 (equities, sme, mf, 부채) 인용
  • nse_lookup_symbol - 이름이나 부분 일치에 의한 검색 기호
  • nse_get_gainers - 시장 데이터의 Top Gainers
  • nse_get_losers - 시장 데이터의 최고 잃어버린

역사 자료 (3개의 공구)

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 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

  • 60 Tools (38 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 (60 Total)

NSE Tools (38)

Market Data (6 tools)

  • nse_get_market_status - Current market status and trading hours
  • nse_equity_quote - Real-time equity quotes
  • nse_get_quote - Quote with segment specification (equities, sme, mf, debt)
  • nse_lookup_symbol - Search symbols by name or partial match
  • nse_get_gainers - Top gainers from market data
  • nse_get_losers - Top losers from market data

Historical Data (3 tools)

  • nse_equity_historical - Historical equity data with date range
  • nse_fno_historical - Historical F&O data
  • nse_vix_historical - Historical VIX (volatility index) data

Options & Derivatives (7 tools)

  • nse_get_expiry_dates - Get available expiry dates for a symbol (call first!)
  • nse_option_chain - Complete option chain with all strikes (V3 API)
  • nse_filtered_option_chain - Compact option chain around ATM strikes (~90% smaller)
  • nse_compile_option_chain - Pre-calculated analytics (ATM, max pain, PCR, OI)
  • nse_calculate_max_pain - Max pain strike price calculation
  • nse_fno_lots - F&O lot sizes for all symbols
  • nse_futures_expiry - Futures expiry dates

Corporate Information (5 tools)

  • nse_corporate_actions - Dividends, splits, bonuses
  • nse_corporate_announcements - Corporate announcements
  • nse_board_meetings - Board meeting information
  • nse_annual_reports - Company annual reports
  • nse_circulars - NSE circulars

IPO Tools (4 tools)

  • nse_current_ipos - Current/ongoing IPOs
  • nse_upcoming_ipos - Upcoming IPOs
  • nse_past_ipos - Past IPOs with date range
  • nse_ipo_details - Detailed IPO information

Market Activity (3 tools)

  • nse_block_deals - Block deals data
  • nse_bulk_deals - Bulk deals data
  • nse_holidays - Market holidays (trading/clearing)

Lists & Metadata (6 tools)

  • nse_list_indices - All NSE indices
GitHub에서 전체 README 보기

설치

npx -y mcp-remote@latest http://localhost:3000/mcp --allow-http
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "nse-bse-mcp": { "command": "npx", "args": ["-y", "mcp-remote@latest", "http://localhost:3000/mcp", "--allow-http"] } } }