Kite MCP Server
Provides tools for trading on Zerodha via Kite Connect, including getting quotes, positions, orders, placing/modifying/canceling orders, and managing GTTs.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
Claude, ChatGPT, Grok or Perplexity: draw on live charts, backtest and trade on your own broker
Create Python strategies and backtest crypto, stocks and ETFs in Claude. Premiss account required.
Trade Papertrade BTC and ETH perps from Claude, ChatGPT, Codex, Cursor and any MCP client.
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-