Zerodha Kite MCP Server
Provides access to Zerodha trading data, including historical candles, zone levels, EMA crossovers, and option chain information.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Zerodha Kite MCP ServerCheck for EMA crossovers on BANKNIFTY hourly candles"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Zerodha Kite MCP Server
Connects Claude to your Zerodha account for historical candles, weekly/monthly zone levels (PWH/PWL/PMH/PML + CPR pivots), EMA crossover detection, and option chain data.
1. Get your Kite Connect app credentials
Go to https://developers.kite.trade/apps and create a new app (you already have the paid ₹500/month plan, so this should already be enabled).
Set the Redirect URL to:
https://<your-render-app-name>.onrender.com/callback(you'll get the exact.onrender.comURL in step 3 below — come back and update this after deploying once).Note down your API key and API secret.
Related MCP server: Fyers MCP Server
2. Deploy to Render (free tier)
Create a free account at https://render.com
Push this folder to a new GitHub repo (or use Render's "Deploy from local files" option if available).
In Render: New > Web Service, connect the repo.
Build command:
pip install -r requirements.txtStart command:
python server.pyAdd environment variables (Render dashboard > Environment):
KITE_API_KEYKITE_API_SECRET(leave
KITE_ACCESS_TOKENunset — it's set daily via login, not stored)
Deploy. Render will give you a URL like
https://kite-mcp-yourname.onrender.com.Go back to your Kite Connect app settings and set the Redirect URL to
https://kite-mcp-yourname.onrender.com/callback.
Free tier note: Render's free web services sleep after ~15 minutes of no traffic and take ~30-60 seconds to wake up on the next request. Fine for this use case — you're checking setups manually, not running high-frequency stuff.
3. Daily login (required — Kite tokens expire every day)
Each trading day, before asking Claude to check a setup:
Open
https://kite-mcp-yourname.onrender.com/loginin your browserLog in with your Zerodha credentials + 2FA (same as the Kite app)
You'll see "Login successful" — that's it, you're done for the day
This is a Zerodha/SEBI security requirement, not something this server can skip — there's no way to make the token last longer than a day.
4. Connect it to Claude
In Claude, go to Settings > Connectors > Add custom connector
Name:
Zerodha Trading ToolsURL:
https://kite-mcp-yourname.onrender.com/mcpNo OAuth needed here (auth happens via the daily login step above, which sets the token inside the running server) — save.
Enable the connector in your chat.
Tools this exposes to Claude
get_historical_candles— OHLC data (hourly/daily/etc.)get_zone_levels— PWH/PWL/PMH/PML + weekly & monthly CPR pivots (S1/R1/etc.)detect_ema_crossovers— 5/20 EMA bullish/bearish crossovers on hourly candlesget_option_chain— strikes, LTP, OI, bid/ask for an underlying + expiry
Known limitations
Free Render tier sleeps when idle — first request after a while is slow.
Access token must be refreshed every trading day via
/login.get_option_chaindoesn't return IV/Greeks directly (Kite's quote API doesn't provide these) — Claude can estimate IV context using price action and ATM straddle premium once you have chain data; a dedicated IV feed (e.g. Sensibull, NSE option chain) would be more precise if you want that later.
This server cannot be deployed
Maintenance
Related MCP Connectors
Brazilian Open Finance MCP — 30+ banks (Itaú, Nubank, etc.) to Claude/Cursor. Read-only.
Connect your portfolio to Claude, ChatGPT, or Codex to analyze it and make smarter investments.
Trade Robinhood through natural language in Claude Code.
OAuth LeanTrading tools for eligible Pro, Elite, Blueprint, and Admin users.
Related MCP Servers
- AlicenseAqualityDmaintenanceIntegrates Zerodha's trading platform with Claude AI using the Multi-Cloud Plugin framework, allowing users to interact with their Zerodha trading account directly through Claude for stock trading and mutual fund operations.1846MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to interact with the Fyers trading platform for portfolio management, order placement, market data retrieval, and automated OAuth authentication for Indian stock markets.7MIT
- FlicenseNot gradedqualityDmaintenanceEnables trading automation through Zerodha Kite Connect API, allowing users to place buy/sell orders and fetch holdings via MCP tools accessible to Claude Desktop and other MCP-compatible clients.-
- FlicenseNot gradedqualityDmaintenanceEnables natural language access to Zerodha trading accounts for retrieving portfolio holdings, positions, orders, funds, and real-time market prices. Supports secure authentication for Indian stock market trading operations via Claude, Cursor, and other MCP-compatible AI tools.1-