Kite MCP Server

Zerodha MCP for algorithmic developers — execution, safety, backtesting. Free and open-source.

What is Kite MCP?

Kite MCP connects your AI assistant directly to Zerodha’s trading platform. Execute orders, run backtests, analyze portfolios, compute options Greeks — all through natural conversation. Built for developers with their own Kite Connect app (₹500/mo from Zerodha). Works in claude.ai web, Claude Desktop, Claude Code, ChatGPT, and any MCP-compatible client.

Choose Your Client
claude.ai web
  1. Open claude.ai → Settings → Connectors → Add custom connector.
  2. Paste URL: https://kite-mcp-server.fly.dev/mcp
  3. Click Connect.
  4. Authenticate with Kite when prompted.
Claude Desktop

Add the following to your claude_desktop_config.json:

{ "mcpServers": { "kite": { "type": "http", "url": "https://kite-mcp-server.fly.dev/mcp" } } }

Restart Claude Desktop. Authenticate with Kite on first tool call.

Claude Code

Run:

claude mcp add --transport http kite https://kite-mcp-server.fly.dev/mcp

Then ask Claude to log in with your Kite API key and secret.

ChatGPT

Settings → Tools & Integrations → MCP Servers → Add → paste URL https://kite-mcp-server.fly.dev/mcp

Complete OAuth when ChatGPT prompts you.

VS Code / Other MCP client

Standard MCP HTTP transport configuration. In your client’s MCP settings file, add:

{ "servers": { "kite": { "type": "http", "url": "https://kite-mcp-server.fly.dev/mcp" } } }

Exact key names vary by client (VS Code uses servers, some use mcpServers). OAuth is discovered automatically from the server metadata.

Before You Connect — Two Steps
1

Get your Kite API credentials

Head to developers.kite.trade/apps.

Create an app. Copy the API key and API secret — you will paste these into the login tool on first use.

2

Whitelist the static IP

In your Kite Developer Console → App Settings → IP Whitelist → paste the IP below → Save.

209.71.68.157

SEBI requires all algorithmic orders to originate from a whitelisted IP (April 2026 mandate). Without this, your first trade will fail.

Daily refresh: Kite sessions auto-refresh at ~7:35 AM IST each morning. Claude will prompt you to log in once a day before market opens — takes 10 seconds.
Hosted vs Self-Host
Hosted endpoint (https://kite-mcp-server.fly.dev/mcp) is read-only. Order placement, modification, cancellation, GTT, and native alert tools are disabled on the hosted instance to keep it within Path 2 of NSE circular NSE/INVG/69255 (third-party algo execution framework). Read tools — quotes, holdings, positions, historical data, analytics, backtesting, concall summariser, FII/DII, peer-compare — are unaffected.

Self-hosted local build runs the full feature set (orders, alerts, Telegram, paper trading) under personal-use safe harbor. Set ENABLE_TRADING=true and run locally against your own Kite developer app. See the GitHub repo for self-host instructions.
Capabilities

111 टूल्स

ऑर्डर, पोर्टफोलियो, अलर्ट, ऑप्शंस चेन, एनालिटिक्स और इनलाइन विजेट्स — सभी MCP टूल्स के रूप में उपलब्ध।

पेपर ट्रेडिंग

जोखिम-मुक्त सिमुलेशन मोड। असली पूँजी लगाने से पहले वर्चुअल ऑर्डर्स के साथ रणनीतियों का परीक्षण करें।

सेफ्टी कंट्रोल्स

हर ट्रेड से पहले 11 प्री-ट्रेड रिस्कगार्ड चेक्स, एलिसिटेशन कन्फर्मेशन प्रॉम्प्ट्स और ऑर्डर वैलिडेशन।

इनलाइन विजेट्स

पोर्टफोलियो, एक्टिविटी, ऑर्डर्स और अलर्ट्स आपके चैट के अंदर इंटरैक्टिव HTML विजेट्स के रूप में दिखें।

टेक्निकल एनालिसिस

RSI, MACD, बोलिंजर बैंड्स और ग्रीक्स सर्वर-साइड पर कैलकुलेट। क्लाइंट पर कोई लाइब्रेरी नहीं चाहिए।

Litestream बैकअप

Cloudflare R2 पर निरंतर SQLite रेप्लिकेशन। आपके अलर्ट्स और सेशन डेटा रीस्टार्ट के बाद भी बने रहते हैं।

Earnings Concall Summarizer

analyze_concall — structured frame for the LLM to parse quarterly earnings calls into themes, guidance, and Q&A signals. (LLM-coordinator pattern — tool returns BSE corporate-announcements URL + extraction hints; LLM fetches the transcript via WebFetch/Tavily.)

FII / DII Daily Flow

get_fii_dii_flow — institutional cash + F&O flow pointer with extraction themes for the day. (LLM-coordinator pattern — tool returns NSE / Moneycontrol URL + extraction hints; LLM fetches via WebFetch/Tavily.)

Peer Comparison

peer_compare — PEG, Piotroski F-Score, Altman Z — structured report frame with external-data hints. (LLM-coordinator pattern — tool returns Screener.in URLs + scoring formulas; LLM fetches and computes via WebFetch/Tavily.)

Also available: server_version — returns build SHA, uptime, region, and enabled feature flags. Useful when reporting issues.
Server Status
Status ● Healthy
Tools 111
Version v1.3.0
Mode http
Quick Links