Zerodha MCP Server

MCP Server for Zerodha written in Golang

Local serverstdioGo

What is the Zerodha MCP server?

Zerodha MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. MCP Server for Zerodha written in Golang.

What you get

Protocol to communicate with your Zerodha data written in Golang

Zerodha MCP Server provides an implementation of the Claude MCP (Model Completion Protocol) interface for Zerodha trading data. This allows Claude AI to access your Zerodha trading account information directly.

What the assistant can call

Once Zerodha is connected, these are the calls the assistant has available:

  • Category — Tool
  • Instruments — get_instruments

Configuration and credentials

You will need 2 environment variables: ZERODHA_API_KEY, ZERODHA_API_SECRET. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Zerodha's toolset — Category, Instruments — is a fair guide to whether it matches your workflow. It is maintained by sukeesh; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Zerodha's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the zerodha mcp server does with a few real requests.

Available tools

ToolWhat it does
CategoryTool
Instrumentsget_instruments

Configuration

VariableDescriptionRequired
ZERODHA_API_KEYCredential the server authenticates with.Yes
ZERODHA_API_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • Use Zerodha to Category.
  • Use Zerodha to Instruments.

Frequently asked questions

You can access account profile, margins, holdings, positions, order margins, market quotes (LTP, OHLC), instrument lists, and mutual fund data (holdings, orders, SIPs). All tools are read-only.