
MCP Server for Zerodha written in Golang
MCP Server for Zerodha written in Golang
·
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.
go install github.com/sukeesh/zerodha-mcp@latestgit clone https://github.com/sukeesh/zerodha-mcp.git
cd zerodha-mcp
go installThe binary will be installed to your GOBIN directory, which should be in your PATH.
https://github.com/user-attachments/assets/849c4aca-0ca2-4aed-a9be-3df135f8a5c5
Get your ZERODHA_API_KEY and ZERODHA_API_SECRET from the Kite Connect developer portal
Set up a redirect URL in the Kite developer portal:
http://127.0.0.1:5888/authConfigure Claude Desktop:
claude_desktop_config.json:{
"mcpServers": {
"zerodha": {
"command": "<path-to-zerodha-mcp-binary>",
"env": {
"ZERODHA_API_KEY": "<api_key>",
"ZERODHA_API_SECRET": "<api_secret>"
}
}
}
}The logs for MCP Server are available at ~/Library/Logs/Claude
When the Claude desktop is shutdown, the underlying MCP Server is not getting killed.
kill -9 $(lsof -t -i:5888)| Category | Tool | Status | Description |
|---|---|---|---|
| Account Information | get_user_profile | ✅ | Get basic user profile information |
get_user_margins | ✅ | Get all user margins | |
get_user_segment_margins | ✅ | Get segment-wise user margins | |
| Portfolio & Positions | get_kite_holdings | ✅ | Get current holdings in Zerodha Kite account |
get_positions | ✅ | Get current day and net positions | |
get_order_margins | ✅ | Get margin requirements for specific orders | |
| Market Data | get_ltp | ✅ | Get Last Traded Price for specific instruments |
get_quote | ✅ | Get detailed quotes for specific instruments | |
get_ohlc | ✅ | Get Open, High, Low, Close quotes | |
| Instruments | get_instruments | ✅ | Get list of all available instruments on Zerodha |
get_instruments_by_exchange | ✅ | Get instruments filtered by exchange | |
get_auction_instruments | ✅ | Get instruments available for auction sessions | |
| Mutual Funds | get_mf_instruments | ✅ | Get list of all available mutual fund instruments |
get_mf_holdings | ✅ | Get list of mutual fund holdings | |
get_mf_holdings_info | ✅ | Get detailed information about mutual fund holdings | |
get_mf_orders | ✅ | Get list of all mutual fund orders | |
get_mf_order_info | ✅ | Get detailed information about specific mutual fund orders | |
get_mf_sip_info | ✅ | Get information about mutual fund SIPs | |
get_mf_allotted_isins | ✅ | Get allotted mutual fund ISINs |
After setup, you can interact with your Zerodha account data directly through Claude. For example:
Pick your client and paste the snippet. Each one is the same server, written the way that client expects it.
claude mcp add zerodha -- <path-to-zerodha-mcp-binary>{
"mcpServers": {
"zerodha": {
"env": {
"ZERODHA_API_KEY": "",
"ZERODHA_API_SECRET": ""
},
"command": "<path-to-zerodha-mcp-binary>"
}
}
}code --add-mcp '{"name":"zerodha","env":{"ZERODHA_API_KEY":"","ZERODHA_API_SECRET":""},"command":"<path-to-zerodha-mcp-binary>"}'[mcp_servers.zerodha]
command = "<path-to-zerodha-mcp-binary>"Runs locally on your device. Your client starts the server itself, so nothing has to be hosted.
Paste this prompt into your agent. It reads this page and does the setup for you.
Read https://aiagentslisting.com/mcp/zerodha-mcp-server to learn what the "Zerodha MCP Server" MCP server does and how to install it. Add it to my coding agent's MCP configuration as documented on that page, then confirm the server connects and list the tools it exposes.Agents can also browse this directory over MCP at https://aiagentslisting.com/api/mcp
go install github.com/sukeesh/zerodha-mcp@latestThis server runs locally, so we can't read its tool list over the web yet.
We could not run this server: it ships no npx package for our sandbox and no public endpoint. The four checks that need a live server are left out, and the grade tops out at B until one exists.
Maintain this server? Claiming proves you own the listing and earns the last 4 points.
Claim this listingPaste this line near the top of your repository's README. The badge always renders the current score.
[](https://aiagentslisting.com/mcp/zerodha-mcp-server)Nothing comparable is listed yet.
v0.0.2Release notesv0.0.1Release notesConnect to the AI Agents Listing MCP server at https://aiagentslisting.com/api/mcp using the HTTP transport and complete the sign-in when it asks. Then call the submit_review tool for the listing "zerodha-mcp-server" with a rating from 1 to 5 and a short note on what worked and what did not.No reviews yet
Be the first to share your experience with this tool.
One email a week. New agents, MCP servers and skills, and what is actually getting traction.