Kite MCP Server

by codeglyph

5 281 downloads Not rated yet MIT
GitHub

About

A Model Context Protocol (MCP) server for integrating with Zerodha Kite API. This server provides Claude with tools to interact with your Kite trading account. This is an unofficial integration with Zerodha Kite API. Use at your own risk. Always verify trades and orders before ex

Details

License
MIT

Explore

- Portfolio Management: Get positions, holdings, and orders
- Market Data: Real-time quotes, LTP, and instrument data
- Order Management: Place, modify, and cancel orders
- Account Info: Profile, margins, and authentication status
- Secure Authentication: OAuth 2.0 flow with token persistence

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Kite MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Prerequisites

1. Zerodha Kite Connect App: Create an app at Kite Connect
2. API Credentials: Get your API Key and Secret
3. Bun: Latest version of Bun runtime

get_profile

Get user profile information

get_positions

Get current trading positions

get_holdings

Get long-term holdings

get_margins

Get account margins and funds

get_orders

Get today's orders

place_order

Place a new trading order

cancel_order

Cancel an existing order

get_ltp

Get Last Traded Price for instruments

get_quote

Get detailed market quotes

get_instruments

Get tradable instruments list

get_auth_status

Check authentication status

- get_profile - Get user profile information
- get_positions - Get current trading positions
- get_holdings - Get long-term holdings
- get_margins - Get account margins and funds

- get_orders - Get today's orders
- place_order - Place a new trading order
- cancel_order - Cancel an existing order

- get_ltp - Get Last Traded Price for instruments
- get_quote - Get detailed market quotes
- get_instruments - Get tradable instruments list

- get_auth_status - Check authentication status

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "kite mcp server": {
            "kite-mcp": {
                "command": "bun",
                "args": [
                    "run",
                    "auth"
                ]
            }
        }
    }
}

McpServers

{
    "kite-mcp": {
        "command": "bun",
        "args": [
            "run",
            "auth"
        ]
    }
}

A Model Context Protocol (MCP) server for integrating with Zerodha Kite API. This server provides Claude with tools to interact with your Kite trading account.

Features

- Portfolio Management: Get positions, holdings, and orders
- Market Data: Real-time quotes, LTP, and instrument data
- Order Management: Place, modify, and cancel orders
- Account Info: Profile, margins, and authentication status
- Secure Authentication: OAuth 2.0 flow with token persistence

Prerequisites

1. Zerodha Kite Connect App: Create an app at Kite Connect
2. API Credentials: Get your API Key and Secret
3. Bun: Latest version of Bun runtime

Installation

1. Clone and install dependencies:

bun install

2. Set up environment variables:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.