Kite MCP Server

by codeglyph

5 stars
281 downloads
Not rated
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

Author
codeglyph
GitHub stars
5
Downloads
281
Categories
Other

- Portfolio management: positions, holdings, orders
- Real-time market data: quotes, LTP, instrument list
- Order management: place, modify, cancel orders
- Account info: profile, margins, authentication status
- Secure OAuth 2.0 authentication with token persistence
- Single Responsibility Principle architecture for maintainability

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

Install dependencies with bun install, set your API Key and Secret in a .env file, then run bun run auth to log in via OAuth and save an access token. Start the server with bun start. Finally, add the server to your Claude Desktop configuration using the bun command and the path to src/index.ts.

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"
        ]
    }
}

Kite MCP Server

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.