Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts.
Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts. Exposed over MCP by the for zerodha kite connect api mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.
Give Claude or ChatGPT direct access to your Zerodha Kite trading account — with order placement, paper trading, options Greeks, backtesting, Telegram alerts, and 11 pre-trade safety checks. 110+ tools. Open source, MIT.
Being a remote server, there is no local install. You register the endpoint with your client, authorise it once, and the tools appear.
Everything the assistant can do here goes through one of these:
AES-256 — GCM encryption** at rest for every sensitive value — Kite tokens, API secrets, OAuth client secrets — key derived via HKDF from OAUTH_JWT_SECRETPer-tool — call audit trail** with 90-day retention — every MCP call logged to SQLite, CSV/JSON export via dashboardOptions — Black-Scholes Greeks (delta, gamma, theta, vega, IV), option chain, 8 multi-leg strategy templatesBacktesting — 4 built-in strategies (SMA crossover, RSI reversal, breakout, mean reversion) with Sharpe ratio and max drawdownAlerts — price above/below, percentage drop/rise, composite conditions, volume spike, Telegram delivery + native Kite GTT alertsRiskGuard — 11 pre-trade checks run before every order hits the exchange (kill switch, order value cap, quantity limit, daily count, rate limit, per-second rateDevelopment — bashCERT — In Directions (April 2022) — cybersecurity incident reportingMulti — user hosting** = empanelment required under §III(a) + broker-hosting mandate under NSE/INVG/67858 §I(h). Not supported by this repository.Algo — ID tagging** (mandatory from April 1, 2026): injected server-side by Zerodha OMS for <10 OPS retail users — no client-side action requiredVariable — RequiredOAUTH_JWT_SECRET — Yes (HTTP)You will need 8 environment variables: OAUTH_JWT_SECRET, KITE_API_KEY, KITE_API_SECRET, KITE_ACCESS_TOKEN, EXTERNAL_URL, ALERT_DB_PATH, TELEGRAM_BOT_TOKEN, GOOGLE_CLIENT_ID. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
npx (Node.js 18+) for mcp-remote — or Go 1.25+ to self-host from sourceThis sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. For Zerodha Kite Connect API's toolset — AES-256, Per-tool, Options and 11 more — is a fair guide to whether it matches your workflow. It is maintained by Sundeepg98; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| AES-256 | GCM encryption** at rest for every sensitive value — Kite tokens, API secrets, OAuth client secrets — key derived via HKDF from OAUTH_JWT_SECRET |
| Per-tool | call audit trail** with 90-day retention — every MCP call logged to SQLite, CSV/JSON export via dashboard |
| Options | Black-Scholes Greeks (delta, gamma, theta, vega, IV), option chain, 8 multi-leg strategy templates |
| Backtesting | 4 built-in strategies (SMA crossover, RSI reversal, breakout, mean reversion) with Sharpe ratio and max drawdown |
| Alerts | price above/below, percentage drop/rise, composite conditions, volume spike, Telegram delivery + native Kite GTT alerts |
| RiskGuard | 11 pre-trade checks run before every order hits the exchange (kill switch, order value cap, quantity limit, daily count, rate limit, per-second rate limit, duplicate detection, daily notional cap, idempotency dedup, anom |
| Development | bash |
| CERT | In Directions (April 2022) — cybersecurity incident reporting |
| Multi | user hosting** = empanelment required under §III(a) + broker-hosting mandate under NSE/INVG/67858 §I(h). **Not supported by this repository.** |
| Algo | ID tagging** (mandatory from April 1, 2026): injected server-side by Zerodha OMS for <10 OPS retail users — no client-side action required |
| Variable | Required |
| OAUTH_JWT_SECRET | Yes (HTTP) |
| KITE_API_KEY | No |
| KITE_API_SECRET | No |
npx (Node.js 18+) for mcp-remote — or Go 1.25+ to self-host from source| Variable | Description | Required |
|---|---|---|
| OAUTH_JWT_SECRET | Credential the server authenticates with. | Yes |
| KITE_API_KEY | Credential the server authenticates with. | Yes |
| KITE_API_SECRET | Credential the server authenticates with. | Yes |
| KITE_ACCESS_TOKEN | Credential the server authenticates with. | Yes |
| EXTERNAL_URL | Endpoint or connection string the server talks to. | Yes |
| ALERT_DB_PATH | Filesystem location the server is allowed to use. | Optional |
| TELEGRAM_BOT_TOKEN | Credential the server authenticates with. | Yes |
| GOOGLE_CLIENT_ID | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.