Zerodha Kite MCP Server
Enables Claude to access a Zerodha trading account for historical candles, weekly/monthly zone levels and CPR pivots, EMA crossover detection, and option chain data.
README
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.
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.txt - Start command:
python server.py - Add 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 browser - Log 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 Tools - URL:
https://kite-mcp-yourname.onrender.com/mcp - No 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.