GL

girishkumardv/live-nse-bse-mcp

Developer tools

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

18 stars 8 forks 품질 72 트렌드 10MIT

MCP 소개 인도 증권 거래소 데이터를 제공하는 서버. 최신 시장 뉴스, ipos, 최고 성과 주식, MFs, ETF 및 더 많은 것을 얻기 위하여 MCP 서버에 말하는.

개요

이 서버는 IndianAPI에 의해 구동되는 Model Context Protocol (MCP)을 통해 Indian Stock Exchanges (BSE & NSE)의 실시간 시장 데이터를 제공합니다. - Python 3.8+ - pip (Python package installer) - : https://indianapi.in/]에 가입하고 Stock Market API의 API 키를 얻습니다. : 이 패키지는 아직 PyPI에 게시되지 않습니다. 지금 소스 설치를 사용하십시오. 패키지를 설치하지 않는 경우: : 패키지가 PyPI에 없으므로 모듈 실행 (python -m ise mcp.server)을 사용하거나 콘솔 스크립트에 소스를 설치하십시오. 1. : - 방문 https://indianapi.in/ - 무료 계정에 가입 - Stock Market API 섹션에 Navigate - API 키를 얻기 위해 구독 설치 후, 여러 가지 방법으로 서버를 실행할 수 있습니다. : PyPI (ise-mcp-server)의 콘솔 스크립트는 아직 사용할 수 없습니다. 대신 모듈 실행 또는 일괄 스크립트를 사용합니다.

개요(AI 번역)

이 서버는 IndianAPI에 의해 구동되는 Model Context Protocol (MCP)을 통해 Indian Stock Exchanges (BSE & NSE)의 실시간 시장 데이터를 제공합니다.

⭐ 빠른 시작

# 필수품

  • 파이썬 3.8+
  • pip (Python 패키지 설치자) -API Key from IndianAPI: https://indianapi.in/]에 가입하고 Stock Market API의 API 키 취득

설치

** 참고**: 이 패키지는 아직 PyPI에 게시되지 않습니다. 지금 소스 설치를 사용하십시오.

옵션 1: 소스에서 빠른 설치 (추천)

옵션 2: 개발 설치

옵션 3: 수동 실행 (설치 없음)

패키지를 설치하지 않는 경우:

Important: 패키지가 PyPI에 아니지만, 모듈 실행 (python -m ise_mcp.server)을 사용하거나 콘솔 스크립트에 대한 소스를 설치합니다.

윤곽

  1. ** API 키 받기**:
  • 방문 https://indianapi.in/
  • 무료 계정 가입
  • 주식 시장 API 단면도에 Navigate
  • API 키 받기
  1. ** 환경 변수 구성 **:

사용법

HTTP 서버 모드 (커서, VSCode, Dify와 같은 웹 클라이언트를 위해)

설치 후, 여러 가지 방법으로 서버를 실행할 수 있습니다

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

README

원문 README의 일부입니다. 원문 보기.

Indian Stock Exchange MCP Server

This server provides access to live market data from Indian Stock Exchanges (BSE & NSE) through the Model Context Protocol (MCP), powered by IndianAPI.

🚀 Quick Start

Prerequisites

  • Python 3.8+
  • pip (Python package installer)
  • API Key from IndianAPI: Sign up at https://indianapi.in/ and obtain an API key for the Stock Market API

Installation

Note: This package is not yet published to PyPI. Please use source installation for now.

git clone https://github.com/GirishKumarDV/Live-NSE-BSE-MCP.git
cd Live-NSE-BSE-MCP
pip install -e .

Option 2: Development Installation

git clone https://github.com/GirishKumarDV/Live-NSE-BSE-MCP.git
cd Live-NSE-BSE-MCP
pip install -r requirements.txt
pip install -e .

Option 3: Manual Execution (No Installation)

If you prefer not to install the package:

git clone https://github.com/GirishKumarDV/Live-NSE-BSE-MCP.git
cd Live-NSE-BSE-MCP
pip install -r requirements.txt
# Run directly with: python -m ise_mcp.server

Important: Since the package isn’t on PyPI yet, use module execution (python -m ise_mcp.server) or install from source for the console scripts to work.

Configuration

  1. Get your API key:

    • Visit https://indianapi.in/
    • Sign up for a free account
    • Navigate to the Stock Market API section
    • Subscribe to get your API key
  2. Configure environment variables:

    # Copy the example environment file
    cp env.example .env
    
    # Edit .env and add your IndianAPI key
    # ISE_API_KEY=your_indianapi_key_here
    

Usage

HTTP Server Mode (for web clients like Cursor, VSCode, Dify)

After installation, you can run the server in several ways:

Method 1: Module Execution (Recommended)

# From the project root directory
python -m ise_mcp.server

Method 2: Using Batch Script (Windows)

# Use the provided batch script (note the .\ prefix for PowerShell)
.\ise-mcp-server.bat

# Or with environment variables
$env:ISE_HTTP_PORT=9000; .\ise-mcp-server.bat

Method 3: Development Mode

# If not installed, run as module from parent directory
cd ..
python -m ise_mcp.server

Note: Console scripts from PyPI (ise-mcp-server) are not available yet. Use module execution or the batch script instead.

The server will start on http://localhost:8000 by default.

Stdio Mode (for direct MCP clients like Claude Desktop)

Method 1: Module Execution (Recommended)

# From the project root directory
python -m ise_mcp.stdio_server

Method 2: Using Batch Script (Windows)

# Use the existing batch script (note the .\ prefix for PowerShell)
.\ise-mcp-stdio.bat
GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "ise-mcp": { "command": "C:\\path\\to\\your\\project\\venv\\Scripts\\python.exe", "args": ["-m", "ise_mcp.stdio_server"], "cwd": "C:\\path\\to\\your\\project", "env": { "ISE_API_KEY": "your_indianapi_key_here" } } } }