zerodha-mcp-go
8
Zerodha MCP Server is a protocol designed to communicate and access Zerodha trading data using Claude MCP, allowing integration with Claude AI. It offers a range of functionalities to retrieve portfolio, market, and mutual funds data while requiring Go and Zerodha API credentials for setup. The project supports read-only operations and requires daily authentication renewal.
Overview
Zerodha MCP Server provides an implementation of the Claude MCP interface for Zerodha trading data. This allows Claude AI to access your Zerodha trading account information directly.### Prerequisites
- Go (version 1.21 or later)
- A Zerodha Kite trading account
- Claude Desktop App
- API credentials from the Kite Connect developer portal### Configuration
- Obtain
ZERODHA_API_KEY
andZERODHA_API_SECRET
- Configure a redirect URL
- Edit
claude_desktop_config.json
to add MCP server details - Restart Claude Desktop and authenticate with Zerodha### Available Tools
- Account Information: get_user_profile, get_user_margins, get_user_segment_margins
- Portfolio & Positions: get_kite_holdings, get_positions, get_order_margins
- Market Data: get_ltp, get_quote, get_ohlc
- Instruments: get_instruments, get_instruments_by_exchange, get_auction_instruments
- Mutual Funds: get_mf_instruments, get_mf_holdings, get_mf_holdings_info, get_mf_orders, get_mf_order_info, get_mf_sip_info, get_mf_allotted_isins### Limitations
- Only read operations are supported; trading is not yet available.
- Authentication token requires daily renewal.