Connect your Zerodha Kite account to access live stock market data and personalized portfolio insights. Retrieve holdings, positions, mutual fund investments, orders, margins, real-time quotes, and historical prices; analyze P&L, sector exposure, and portfolio risk, and manage GTT orders.
The fastmcp library is a Python client for MCP servers. Use it to call MewCP tools from your own scripts and services.
This guide connects Zerodha Kite MCP to Python through MewCP, so Python can use Zerodha Kite MCP 's 8 tools, like alerts, gtt and help, without your Zerodha Kite MCP credentials ever reaching the app.
Zerodha Kite MCP signs in through managed OAuth. MewCP stores the token encrypted, refreshes it before it expires and injects it only at call time. Your agent never holds it, so it can never leak it.
More apps
Access cryptocurrency market data, portfolios and trading operations on Binance. Monitor assets, retrieve market information and automate crypto trading workflows.
Full Google Search Console control for search analytics, sitemaps, sites, and URL inspection, directly from your AI workflows. This MCP server exposes the Google Search Console API for querying search traffic data, managing sitemaps and site properties, and inspecting the indexing status of any URL. It is built for SEO teams monitoring search performance, developers automating sitemap and property management, and analysts pulling search traffic data into reporting pipelines.
Coinfuty provides cryptocurrency market intelligence for tracking digital asset prices, analyzing market trends, monitoring trading activity, and researching crypto opportunities to support data-driven investment decisions.
Trade, check margins, and review orders, portfolio, and fundamentals on Upstox — without leaving your agent. Retrieve user profile and fund/margin balances, estimate pre-trade margin across multiple instruments, look up order books and historical trades, review portfolio positions and holdings, pull company fundamentals by ISIN, and report trade-wise profit and loss by segment and financial year.
Other clients
Zerodha Kite MCP works the same way in every client below. Pick yours for its own guide.
Free to start.
Scope access to the exact Zerodha Kite MCP tools and accounts you allow, work and personal side by side. Anything outside that scope is refused at call time, even when the model asks for it.
Each call is logged: what ran, on which account, and whether it worked. Failures come back structured, so the agent knows whether to retry instead of guessing.
Every app sits behind one secure MCP URL, and there is no server for you to deploy or keep running. Add an integration in the dashboard and it is live on the next call, with no config to change and no new credentials to wire up. Tools load only when a task needs them, so your agent stays fast and focused however many apps you connect.
SDK clients sign in with an API key. Create one in your dashboard and replace API_KEY in the code below.
SDK clients run without a browser, so they sign in with your API key.
Manage Kite price alerts - create, modify, delete, and retrieve alerts with optional history
List mode returns data/pagination with default limit 100 and maximum 500. Manage GTT (Good Till Triggered) orders that persist across trading sessions and execute when a price condition is met. Use mode=list to see all GTTs, mode=place to create a new GTT (single-leg or two-leg OCO), mode=modify to update an existing GTT, mode=delete to remove a GTT. To show a read-only interactive GTT monitor with trigger distances, use open_kite_view when available with view=gtt. Continue to use gtt directly for mutations.
Browse Kite workflows and recipes as a tree. Start with key=/, then /client-integration, /orders, /holdings, /technical-analysis, /daily-review, or /troubleshooting. Follow child keys for focused recipes. Reads bundled Markdown only; does not execute trades or fetch account data.
Retrieve market data and search instruments. Use mode=option_chain with underlying and optional exchange/expiry to discover a complete indexed option chain, paginated by strike with expiries, spot and future references; fetch quotes separately. Use mode=quote for full market snapshots (OHLC, volume, bid/ask depth, OI) for up to 500 instruments, mode=ltp for last traded price only (lighter), mode=ohlc for today's OHLC, mode=historical for historical candle data, mode=search to find instruments by name, symbol, ISIN, or token across all exchanges. Search returns data/pagination/meta, sorted with exact symbol matches first, then by ID and token, with default limit 100 and maximum 500. Quote/LTP/OHLC return data/meta with missing_instruments; entirely unresolved requests return an error. Search results come from the BOD instrument master by default; set include_live_quote=true to enrich returned results with live quote fields and quote_timestamp. For an interactive option chain, quote, historical chart, or instrument finder, use open_kite_view when available with view=option_chain, quote, historical, or search.
Retrieve mutual fund data from Coin (Zerodha's mutual fund platform). Use mode=holdings to get all mutual fund holdings.
Manage orders. Placement, modification, and cancellation require user approval. Clients with form elicitation show a form. Other clients receive a browser approval link automatically. The user signs in to the matching Kite account and confirms the order in any browser; no original-browser requirement. For ChatGPT mobile or a client known not to display forms, set approval_method=browser on the initial call. If future_orders_allowed=true, use auto unless the user explicitly requests another review. Do not ask the user to request a link; share the returned approval_url immediately and do not open or approve it on their behalf. Native failures reported to the server fall back to browser review when possible; explicit decline, cancellation, and negative confirmation stop the request. An approval_required result means no order was submitted: do not repeat the order call. Use approval_status with its approval_id to check the outcome. A status of approved_for_later means approval was saved for this exact order once, but nothing was placed. Wait for a new user instruction before making the matching order request with approval_method=auto. Changed order details require new approval unless future_orders_allowed=true. Saving an exact-order approval does not revoke existing permission for any future order. Users can explicitly allow future orders for this client from the browser approval page. Use permissions to show or manage this permission. Use mode=list to see all orders today, mode=history for an order's status trail, mode=trades for fills on a specific order, mode=all_trades for all trades today, mode=place to place a new order, mode=modify to change an open order, mode=cancel to cancel an open order. List and all_trades modes return data/pagination with default limit 100 and maximum 500. To show a read-only interactive order book with timeline and fills, use open_kite_view when available with view=orders. Only request mutations when the user asks for the action. Approval observations include approval_method_used, approval_outcome, fallback_reason, native_elicitation_attempted, and native_elicitation_completed. Approval is not evidence of successful submission. After approval_status, inspect both status and the nested submission result; failed or declined is not a successful submission. Do not poll indefinitely. Continue to use orders directly for transaction requests.
Retrieve portfolio and account information. Use mode=profile for user details (name, email, account type), mode=margins for available funds and margins, mode=holdings for demat holdings with P&L, mode=positions for open intraday and overnight positions. Position rows include view=day for today's activity or view=net for current exposure; do not sum the two views. Full/compact holdings and positions return data/pagination with default limit 100 and maximum 500. Summary holdings are unpaginated. For visual holdings allocation, position P&L, or funds views, use open_kite_view when available with view=holdings, positions, or funds.
Inspect or invalidate the current authenticated session. Use mode=status to check session state and mode=logout to invalidate the current session.