Zerodha Kite MCP Server
Zerodha Kite MCP Server
将 Claude 连接到你的 Zerodha 账户,用于获取历史K线、周/月度区间水平(PWH/PWL/PMH/PML + CPR 枢轴点)、EMA 交叉检测和期权链数据。
1. 获取你的 Kite Connect 应用凭据
前往 https://developers.kite.trade/apps 并创建一个新应用(你已经有了付费的 ₹500/月套餐,所以这应该已经启用)。
将重定向 URL 设置为:
https://<your-render-app-name>.onrender.com/callback(你将在下面的第 3 步中获得确切的.onrender.comURL——部署一次后回来更新这个)。记下你的 API key 和 API secret。
Related MCP server: Fyers MCP Server
2. 部署到 Render(免费套餐)
在 https://render.com 创建一个免费账户。
将此文件夹推送到一个新的 GitHub 仓库(或使用 Render 的“Deploy from local files”选项,如果可用)。
在 Render 中:New > Web Service,连接仓库。
构建命令:
pip install -r requirements.txt启动命令:
python server.py添加环境变量(Render 仪表盘 > Environment):
KITE_API_KEYKITE_API_SECRET(保持
KITE_ACCESS_TOKEN未设置——它每天通过登录设置,不会被存储)
部署。Render 会给你一个类似
https://kite-mcp-yourname.onrender.com的 URL。返回你的 Kite Connect 应用设置,将重定向 URL 设置为
https://kite-mcp-yourname.onrender.com/callback。
免费套餐说明: Render 的免费 Web 服务在无流量约 15 分钟后进入休眠,下一个请求到来时约需 30-60 秒唤醒。这非常适合这个用例——你是手动检查交易设置,而不是运行高频操作。
3. 每日登录(必需——Kite 令牌每天过期)
每个交易日,在让 Claude 检查某个交易设置之前:
在浏览器中打开
https://kite-mcp-yourname.onrender.com/login使用你的 Zerodha 凭据和 2FA 登录(与 Kite 应用相同)
你会看到“Login successful”——就这样,当天就完成了。
这是 Zerodha/SEBI 的安全要求,不是这个服务器可以跳过的——没有办法让令牌持续超过一天。
4. 将其连接到 Claude
在 Claude 中,前往 Settings > Connectors > Add custom connector
名称:
Zerodha Trading ToolsURL:
https://kite-mcp-yourname.onrender.com/mcp这里不需要 OAuth(身份验证通过上面的每日登录步骤完成,该步骤会在运行中的服务器内设置令牌)——保存。
在你的聊天中启用该连接器。
此服务器向 Claude 暴露的工具
get_historical_candles— OHLC 数据(小时/日线等)get_zone_levels— PWH/PWL/PMH/PML + 周度和月度 CPR 枢轴点(S1/R1 等)detect_ema_crossovers— 小时K线上的 5/20 EMA 看涨/看跌交叉get_option_chain— 标的资产的行权价、LTP、持仓量、买价/卖价 + 到期日
已知限制
免费的 Render 套餐在空闲时会休眠——过一段时间后的第一个请求很慢。
访问令牌必须每个交易日通过
/login刷新。get_option_chain不会直接返回 IV/Greeks(Kite 的行情 API 不提供这些)——一旦你有了期权链数据,Claude 可以通过价格行为和 ATM 跨式期权权利金来估算 IV 背景;如果你以后想要更精确的数据,专门的 IV 数据源(例如 Sensibull、NSE option chain)会更精确。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceIntegrates 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
- AlicenseNot gradedqualityDmaintenanceEnables Claude to interact with the Fyers trading platform for portfolio management, order placement, market data retrieval, and automated OAuth authentication for Indian stock markets.7MIT
- 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
Related MCP Connectors
Brazilian Open Finance MCP — 30+ banks (Itaú, Nubank, etc.) to Claude/Cursor. Read-only.
Trade Robinhood through natural language in Claude Code.
Connect your XP account to AI via Brazil's Open Finance: balances, statements, cards, investments. R
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shankartradebot2020-pixel/kite-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server