# Zerodha Kite Connect

Bridges Zerodha Kite Connect trading accounts with AI assistants via MCP. It checks portfolio balances, streams Indian market data, and executes stock orders.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: anshuljain90
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/anshuljain90/zerodha-kite-mcp
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/zerodha-kite-connect

## What it does

This server exposes Kite Connect API endpoints directly to AI coding agents. The assistant gains tools to monitor portfolio holdings, verify available margin, and fetch historical OHLC bars for NSE and BSE equities. It also handles order actions, supporting `MARKET`, `LIMIT`, `SL`, and `SL-M` types alongside standard product codes like `CNC` or `MIS`.

Authentication relies on standard OAuth 2.0. You need a registered Kite Connect developer application providing `KITE_API_KEY` and `KITE_API_SECRET`, plus active TOTP two-factor security on Zerodha. Without valid developer credentials, API calls fail immediately. Indian trading sessions run on weekdays between 9:15 AM and 3:30 PM IST, which makes the built-in `get_market_status` tool useful before attempting live trades.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- fetch real-time quotes and historical OHLC bars from NSE and BSE
- inspect demat holdings and margin limits inside the chat
- submit, adjust, and revoke equity orders through AI tools
- verify market session hours before running trading actions

## Example prompts
- Check if Indian markets are currently open and fetch live quotes for INFY.
- Inspect my demat holdings and report the remaining cash margin in Zerodha.
- Place a CNC market buy order for 10 shares of RELIANCE on the NSE.

## Similar
- [market-environment-analysis](https://affpapa.org/en/nevibecode/skills/market-environment-analysis.md) — skill · 4300 installs
- [longbridge-watchlist](https://affpapa.org/en/nevibecode/skills/longbridge-watchlist.md) — skill · 3800 installs
- [trader-memory-core](https://affpapa.org/en/nevibecode/skills/trader-memory-core.md) — skill · 3700 installs
- [alpaca-trading-mcp-server](https://affpapa.org/en/nevibecode/skills/alpaca-trading-mcp-server.md) — skill · 186 installs
- [alpaca-mcp-server-trading](https://affpapa.org/en/nevibecode/skills/alpaca-mcp-server-trading.md) — skill · 185 installs
- [trayd-mcp](https://affpapa.org/en/nevibecode/mcp/trayd-mcp.md) — MCP server · ★ 41 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
