kite-mcp
MCP ServerFreeTrade Indian stocks on Zerodha Kite through natural conversation. 14 tools for portfolio management, order execution, market data, and GTT triggers with automated TOTP login.
Capabilities13 decomposed
natural-language-stock-order-execution
Medium confidenceConverts conversational natural language requests into executable stock orders on Zerodha Kite by parsing intent (buy/sell), quantity, price, and order type from user messages and routing them through the Kite API. Uses MCP tool schema to map user utterances to structured order parameters with validation before submission.
Implements MCP tool schema mapping that translates free-form conversational trading intent directly into Kite REST API calls without intermediate form-filling, with TOTP-based session management baked into the server initialization
Simpler than building custom Kite integrations because MCP handles protocol negotiation and tool discovery; more direct than web UI automation because it uses native API calls with session persistence
automated-totp-authenticated-session-management
Medium confidenceManages Zerodha Kite login sessions automatically by intercepting TOTP (Time-based One-Time Password) requirements, generating codes from a stored secret, and maintaining authenticated session state across multiple API calls. Eliminates manual re-authentication by storing and refreshing access tokens server-side.
Embeds TOTP generation directly in the MCP server initialization rather than requiring manual OTP entry or external auth services, using time-synchronized HMAC-SHA1 to generate valid codes on-demand
More secure than storing plaintext passwords; more convenient than manual OTP entry; avoids dependency on third-party OAuth providers that Zerodha doesn't natively support
natural-language-intent-to-trading-action-mapping
Medium confidenceInterprets conversational trading requests and maps them to specific trading actions (buy, sell, modify, cancel) with appropriate parameters. Uses LLM context to disambiguate intent, infer missing parameters from conversation history, and validate trading logic before execution.
Leverages LLM reasoning to parse conversational trading requests and map them to tool invocations, using multi-turn context to infer missing parameters and validate trading logic before execution
More flexible than form-based trading UIs; enables natural conversation flow; allows LLM to ask clarifying questions if intent is ambiguous
multi-leg-order-orchestration-and-sequencing
Medium confidenceCoordinates execution of multi-leg trading strategies (e.g., buy stock + set stop loss + set profit target) by sequencing dependent orders and handling partial failures. Executes primary order first, then conditionally executes secondary orders based on primary execution status.
Implements order sequencing logic that executes primary orders first, then conditionally executes dependent orders (stop loss, profit target) based on primary execution status, handling partial failures gracefully
More reliable than manual order placement because it automates sequencing; more flexible than Kite's native GTT because it supports arbitrary order dependencies; enables complex strategies in conversational interface
trading-session-context-and-conversation-memory
Medium confidenceMaintains conversation context across multiple trading requests, remembering previously mentioned symbols, quantities, and trading preferences. Enables anaphoric references (e.g., 'sell it' referring to previously mentioned stock) and reduces repetition in multi-turn trading conversations.
Leverages LLM's built-in context window to maintain trading session state across multiple turns, enabling anaphoric references and reducing parameter repetition without explicit state management
Simpler than building custom context stores because it relies on LLM's native context; more natural than form-based UIs because users don't repeat parameters; enables fluid multi-turn trading conversations
portfolio-position-retrieval-and-analysis
Medium confidenceFetches current holdings, quantities, entry prices, and P&L metrics from Zerodha Kite API and structures them for natural language querying. Aggregates position data across segments (equity, derivatives) and calculates derived metrics like total portfolio value, unrealized gains, and position-level returns.
Wraps Kite's holdings endpoint in an MCP tool that normalizes response format and calculates derived P&L metrics on-server, making portfolio state directly queryable by LLM agents without additional client-side processing
Faster than scraping Kite web UI; more structured than raw API responses because it aggregates and calculates metrics; enables LLM agents to make context-aware trading decisions based on current portfolio state
market-data-and-quote-retrieval
Medium confidenceFetches real-time stock quotes, OHLC data, and market depth information from Zerodha Kite for specified symbols. Queries the Kite quote API with symbol lookup and returns structured price, volume, and bid-ask spread data suitable for order decision-making.
Integrates Kite's quote API as an MCP tool that accepts natural language symbol references and returns normalized quote objects, enabling LLM agents to fetch live prices without parsing Kite's raw response format
More reliable than web scraping; lower latency than polling external data providers; integrated with Kite's native data feed so prices align with order execution prices
good-till-triggered-gtt-order-creation
Medium confidenceCreates Good-Till-Triggered (GTT) conditional orders on Zerodha Kite that automatically execute when specified price conditions are met. Accepts natural language trigger conditions (e.g., 'buy if price drops to 2000') and converts them into GTT rule objects with order parameters.
Parses natural language conditional expressions ('if price < X then buy Y shares') and maps them to Kite's GTT API schema, which requires explicit trigger type, trigger value, and nested order parameters — abstracting away the schema complexity
Simpler than building custom monitoring bots because Zerodha handles trigger evaluation server-side; more reliable than client-side price monitoring because it doesn't depend on continuous agent uptime
order-history-and-trade-retrieval
Medium confidenceFetches historical order records and executed trades from Zerodha Kite, including order status, execution price, quantity, and timestamp. Structures trade history for analysis and enables LLM agents to understand past trading activity and performance.
Wraps Kite's orders endpoint in an MCP tool that normalizes timestamps and status codes, enabling LLM agents to query trading history in natural language without parsing raw API responses
More structured than exporting CSV from Kite UI; enables real-time history queries without manual export; allows LLM agents to learn from past trades and adjust strategy
account-balance-and-margin-monitoring
Medium confidenceRetrieves real-time account balance, available margin, and margin utilization from Zerodha Kite. Calculates available buying power and alerts when margin usage exceeds safe thresholds, enabling risk-aware order placement.
Integrates Kite's margin API as an MCP tool that calculates available buying power and margin utilization ratios, enabling LLM agents to make margin-aware trading decisions and refuse orders that would exceed safe leverage
More reliable than manual balance checking; enables automated risk gates in trading agents; provides real-time margin state without polling multiple endpoints
symbol-search-and-instrument-lookup
Medium confidenceSearches Zerodha's instrument database to resolve natural language stock names (e.g., 'Tata Consultancy Services') to valid trading symbols (e.g., 'NSE:TCS'). Uses fuzzy matching and exchange-aware lookup to handle ambiguous or partial symbol references.
Implements fuzzy string matching against Kite's instrument master to resolve natural language company names to valid NSE/BSE symbols, handling exchange prefixes and instrument type disambiguation
More user-friendly than requiring users to know exact symbols; faster than manual lookup; enables LLM agents to accept conversational input without symbol knowledge
order-cancellation-and-modification
Medium confidenceCancels pending orders or modifies order parameters (quantity, price, order type) before execution on Zerodha Kite. Accepts natural language cancellation requests (e.g., 'cancel my TCS buy order') and maps them to specific order IDs for API submission.
Parses natural language cancellation requests and resolves them to specific order IDs by querying pending orders, then submits cancellation via Kite API — abstracting away order ID lookup
Faster than manual Kite UI cancellation; enables LLM agents to react to market changes by cancelling orders programmatically; supports batch cancellation of multiple orders
mcp-tool-schema-registry-and-discovery
Medium confidenceExposes all trading capabilities as MCP-compliant tools with standardized JSON schemas, enabling LLM clients to discover available operations, understand required parameters, and invoke tools through the Model Context Protocol. Implements tool metadata including descriptions, parameter types, and return schemas.
Implements MCP server that registers all Zerodha trading operations as discoverable tools with JSON schemas, enabling any MCP-compatible LLM client to automatically discover and invoke trading capabilities without hardcoding tool definitions
More standardized than custom API wrappers because it uses MCP protocol; enables tool discovery and composition by LLM clients; supports multiple LLM backends (Claude, custom agents) without code changes
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with kite-mcp, ranked by overlap. Discovered automatically through the match graph.
Vibe-Trading
"Vibe-Trading: Your Personal Trading Agent"
StockGPT
Revolutionize financial research with AI-driven, real-time market...
CartBuddyGPT
AI-powered shopping assistant with visualization...
Trading Literacy
Leverage conversational Artificial Intelligence to get more insights from your investment...
HeyTraders MCP
Run and backtest quantitative trading strategies using natural language descriptions. Validate and fetch results for spot, perpetual, and cross-sectional strategies with comprehensive guidelines and function specifications. Simplify complex trading strategy testing through AI-powered automation.
GorillaTerminal AI
Streamline complex data analysis with real-time, scalable AI...
Best For
- ✓retail traders using conversational interfaces
- ✓LLM agent builders automating portfolio management
- ✓non-technical investors who prefer chat over UI forms
- ✓automated trading agents that need persistent sessions
- ✓developers building unattended trading bots
- ✓users who want to avoid repeated OTP entry in conversational interfaces
- ✓conversational trading interfaces where users speak naturally
- ✓LLM agents that need to understand trading intent from free-form text
Known Limitations
- ⚠Requires explicit quantity and price specification — no fuzzy intent matching for partial positions
- ⚠Order validation happens client-side before API submission; complex conditional orders need manual Kite UI
- ⚠No order preview or confirmation step — trades execute immediately after parsing
- ⚠TOTP secret must be stored in server configuration — security risk if server is compromised
- ⚠Session tokens have expiration windows (typically 6 hours); long-running agents need token refresh logic
- ⚠Zerodha may rate-limit or block accounts with frequent automated logins from same IP
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
Repository Details
About
Trade Indian stocks on Zerodha Kite through natural conversation. 14 tools for portfolio management, order execution, market data, and GTT triggers with automated TOTP login.
Categories
Alternatives to kite-mcp
Search the Supabase docs for up-to-date guidance and troubleshoot errors quickly. Manage organizations, projects, databases, and Edge Functions, including migrations, SQL, logs, advisors, keys, and type generation, in one flow. Create and manage development branches to iterate safely, confirm costs
Compare →AI-optimized web search and content extraction via Tavily MCP.
Compare →Scrape websites and extract structured data via Firecrawl MCP.
Compare →Are you the builder of kite-mcp?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →