Skip to main content

FastMCP server for NSE India market data using NseKit

Project description

NseKit-MCP — NSE India Real-time & Historical Data Server

NseKit-MCP is a high-performance FastMCP (Model Context Protocol) server that exposes 100+ tools for accessing live and historical data from the National Stock Exchange of India (NSE) using the powerful NseKit Python library.

Perfect for AI agents (Claude, Grok, GPT, Gemini CLI etc.), trading bots, backtesters, and research platforms.


Features

  • 100+ ready-to-use tools
  • Live & historical equity, F&O, indices, IPOs, corporate actions
  • Full option chains with OI, Volume, IV, PCR, Max Pain
  • EOD bhavcopy, delivery data, FII/DII, bulk/block deals
  • Built-in NSE-safe rate limiting (~3 req/sec)
  • Clean JSON output (Pandas → list of dicts)
  • Works with Claude Desktop, Cursor, Cline, Windsurf, etc. via FastMCP

Installation

Use this MCP server via uv (Python package installer)

pip install uv

Add the following configuration to your MCP server configuration file:

{
  "mcpServers": {
    "NseKit-MCP": {
      "command": "uvx",
      "args": ["nsekit-mcp@latest"]
    }
  }
}

Popular Tools

Tool Description
market_live_status() Market open/close, Nifty, Gift Nifty, Mcap
equity_live_stock_info("RELIANCE") Live price + 5-level depth + delivery
fno_live_option_chain("NIFTY","27-Jan-2026") Nifty/BankNifty option chain data
equity_eod_bhavcopy_delivery("02-12-2025") Full day closing + delivery %
fii_dii_activity() Latest FII/DII net buying/selling
ipo_current_list() All live Mainboard + SME IPOs with subscription
equity_52week_high_live() Stocks hitting 52-week high today

All tools return clean JSON arrays.


Tool Categories

NSE_Live • Pre_Market • Index_Live • Equity_Live
FnO_Live • Corporate_Events • IPO • Historical
Equity_EOD • FnO_EOD • Regulatory (SEBI)


Safety & Compliance

  • Thread-safe rate limiting (0.35s delay between NSE calls)
  • Respects NSE's fair usage policy
  • For research, personal trading, and AI agent use only

Credits

  • Data powered by NseKit
  • Server powered by FastMCP
  • Made with ❤️ for the Indian Quant & Algo community

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nsekit_mcp-0.0.23.tar.gz (13.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nsekit_mcp-0.0.23-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file nsekit_mcp-0.0.23.tar.gz.

File metadata

  • Download URL: nsekit_mcp-0.0.23.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for nsekit_mcp-0.0.23.tar.gz
Algorithm Hash digest
SHA256 f4b1e7d108ddb3c4a3026edcfcbb9156e77c34190c7d4c217854ee0d9d74b3e4
MD5 e227fc61e90da9f6d49358fa43f35c34
BLAKE2b-256 0119bf29e97450ae609414896d30fb31cc12bfac3118d624dce93015b3e80613

See more details on using hashes here.

File details

Details for the file nsekit_mcp-0.0.23-py3-none-any.whl.

File metadata

  • Download URL: nsekit_mcp-0.0.23-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for nsekit_mcp-0.0.23-py3-none-any.whl
Algorithm Hash digest
SHA256 62841c95ab32e49983e5f5abecefe0d34afb0811d92c3c775debcd9ab1d2f3da
MD5 4dc7d49db502dfded6a529ab4a5b7015
BLAKE2b-256 4deddcfa720f7fcaf2328357bbf3c7bd1d44bdfbbc1b8188f636d104a1d1b8f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page