jagmeet1313/zerodha-api
3.2
If you are the rightful owner of zerodha-api and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
This is a Model Context Protocol (MCP) server that provides integration with the Zerodha trading platform.
Tools
4
Resources
0
Prompts
0
Zerodha API MCP Server
This is a Model Context Protocol (MCP) server that provides integration with the Zerodha trading platform. It allows AI assistants to interact with Zerodha's APIs in a secure and controlled manner.
Features
- Get holdings information
- Get positions
- Get margins
- Place orders
Setup
- Clone this repository
- Install dependencies:
npm install
- Configure your Zerodha API credentials in
.env:
ZERODHA_API_KEY=your_api_key_here
ZERODHA_API_SECRET=your_api_secret_here
- Build the project:
npm run build
- Start the server:
npm start
Tools
The server provides the following MCP tools:
zerodha/get_holdings: Get user holdings informationzerodha/get_positions: Get user positionszerodha/get_margins: Get user marginszerodha/place_order: Place a new order
Development
To run in development mode with automatic rebuilding:
npm run dev
License
ISC