sk2you-kite-mcp-server
v1.0.1
Published
MCP server for Zerodha Kite Connect API — plug and play with Claude Desktop
Maintainers
Readme
sk2you-kite-mcp-server
MCP server for Zerodha Kite Connect API. Plug and play with Claude Desktop — no cloning, no build steps.
Setup
1. Get Zerodha API Credentials
- Go to https://developers.kite.trade
- Create a new app (select Connect type)
- Set Redirect URL to
http://127.0.0.1:3000/callback - Note your API Key and API Secret
2. Configure Claude Desktop
Open your Claude Desktop config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add the following:
{
"mcpServers": {
"zerodha": {
"command": "npx",
"args": ["-y", "sk2you-kite-mcp-server"],
"env": {
"API_KEY": "your_api_key",
"API_SECRET": "your_api_secret"
}
}
}
}Replace your_api_key and your_api_secret with your actual credentials.
3. Restart Claude Desktop
Restart the app. You should see a hammer icon with 9 available tools.
First Login
When you use any tool for the first time, your browser will open the Zerodha login page. Log in, and the server will capture the token automatically. The token is stored in memory and expires daily — you'll be prompted to log in again the next day.
Available Tools
Read-Only
| Tool | Description |
|------|-------------|
| get_profile | Get your Zerodha profile |
| get_holdings | Get your portfolio holdings |
| get_positions | Get day and net positions |
| get_margins | Get account margins |
| get_orders | Get all orders for the day |
| get_trades | Get all trades for the day |
Trading (requires confirm: true)
| Tool | Description |
|------|-------------|
| place_order | Place a new order |
| modify_order | Modify an existing order |
| cancel_order | Cancel an existing order |
All trading tools require confirm: true to execute. This prevents accidental trades.
Example Prompts
- "Show my holdings"
- "What's my available margin?"
- "Show today's orders"
- "Buy 10 shares of INFY on NSE at market price"
License
MIT
