Skip to main content
Glama
HyprerNova

Zerodha Trading MCP Server

by HyprerNova

Zerodha Trading MCP Server

This project implements a Model Context Protocol (MCP) server for trading on the Zerodha platform using the KiteConnect API. The server allows users to execute buy and sell stock commands programmatically.

Prerequisites Before setting up the MCP server, ensure you have the following:

  1. Node.js: Install from nodejs.org.

  2. Install the Clause Desktop Application

  3. Zerodha Developer App: Create an app on Zerodha's Developer Portal to obtain your API key and secret.

  4. Access Token: Generate an access token for your Zerodha account. Refer to this YouTube tutorial for step-by-step instructions.

  5. Have the developer mode switched on in clause desktop version

Installation

Clone this repository:

git clone https://github.com/kingnavneeth094/Zerodha-MCP.git
cd Zerodha-MCP

Install dependencies: npm install

Configure the MCP server:Create or update the MCP configuration file with the following structure:

{
  "mcpServers": {
    "trader": {
      "command": "<path-to-node-executable>",
      "args": ["<path-to-index.js>"]
    }
  }
}

Replace with the path to your Node.js executable (e.g., C:\Program Files\nodejs\node.exe). Replace <path-to-index.js> with the path to the index.js file in your project folder (e.g., C:\Projects\mcp-servers\zero\index.js).

Usage

  1. Ensure your Zerodha access token is available and configured in your application.

  2. Open claude and check the tools menu to see if the server tools are available.

  3. If yes, Send commands to the server to buy or sell stocks as per your implementation.

References This project is built using the following SDKs and libraries:

KiteConnectJS: Official JavaScript SDK for Zerodha's KiteConnect API. MCP TypeScript SDK: SDK for implementing MCP servers in TypeScript.

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    -
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI models to interact with the Zerodha trading platform, allowing users to execute trades, view portfolio holdings, and manage positions through a standardized interface.
    3
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    An MCP server for integrating with Zerodha Kite API that provides Claude with tools to interact with your Kite trading account, enabling portfolio management, market data access, and order execution.
    108
    5
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    A command-based MCP server that enables programmatic stock trading on Zerodha through natural language interfaces like Claude, allowing users to buy and sell stocks via API calls.

View all related MCP servers

Related MCP Connectors

  • Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts.

  • MCP server exposing the Backtest360 engine API as tools for AI agents.

  • MCP server for Gainium — manage trading bots, deals, and balances via AI assistants

View all MCP Connectors

Latest Blog Posts

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/HyprerNova/Zerodha_MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server