Kite MCP Server
Provides tools for trading on Zerodha via Kite Connect, including getting quotes, positions, orders, placing/modifying/canceling orders, and managing GTTs.
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., "@Kite MCP ServerWhat are my current holdings and their P&L?"
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.
Kite MCP Server — Setup Guide
Prerequisites
Node.js 18+ installed
ngrok account (free at ngrok.com)
Zerodha Kite Connect app credentials
Related MCP server: Kite MCP Server
Step 1 — Install dependencies
npm installStep 2 — Add your API Secret to .env
Open .env and replace your_api_secret_here with your actual API secret from:
https://developers.kite.trade/apps → click Jahangeer Shaik app → copy API Secret
Step 3 — Set Redirect URL in Kite Connect
Go to your app settings on developers.kite.trade and set:
Redirect URL: http://127.0.0.1:5000/callback
Step 4 — Get daily access token (do this every morning)
npm run authThis opens Zerodha login in your browser → logs in → saves token automatically.
Step 5 — Start MCP server
npm startServer runs on: http://localhost:3000/mcp
Step 6 — Start ngrok tunnel
ngrok http 3000Copy the HTTPS URL shown e.g: https://abc123.ngrok-free.app
Step 7 — Add to Claude.ai
Go to Claude.ai → Settings → Connectors → Add custom connector
Name:
Kite ZerodhaURL:
https://abc123.ngrok-free.app/mcpClick Add ✅
Daily Routine (market days)
npm run auth→ login oncenpm start→ keep runningngrok http 3000→ keep runningStart chatting with Claude about your trades!
Available Tools in Claude
get_quote, get_ltp, get_ohlc, get_historical_data
get_positions, get_holdings, get_margins
get_orders, get_trades, place_order, modify_order, cancel_order
get_gtts, place_gtt, modify_gtt, delete_gtt
search_instruments
This server cannot be deployed
Maintenance
Related MCP Connectors
Trade Robinhood through natural language in Claude Code.
Global stock research, ML forecasts, valuation signals, screeners & portfolio tracking in Claude
Connect your portfolio to Claude, ChatGPT, or Codex to analyze it and make smarter investments.
- Era ContextOAuthapp.era
Personal finance, bank account, and shared memory connector for Claude, ChatGPT, Gemini Spark & more
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
- AlicenseBqualityDmaintenanceEnables trading and portfolio management on Zerodha Kite Connect through natural language. Supports placing orders, viewing positions/holdings, accessing real-time market data, and managing GTT orders.24MIT
- 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-