Zerodha Kite Connect

Zerodha Kite Connect

MCP server for Zerodha Kite Connect API - India's leading stock broker trading platform. Execute trades, manage portfolios, and access real-time market data for NSE, BSE, and other Indian exchanges.

114

15 Tools

Signed
Built by Docker
Requires Configuration
Requires Secrets
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

About

Zerodha Kite Connect MCP Server

MCP server for Zerodha Kite Connect API - India's leading stock broker trading platform. Execute trades, manage portfolios, and access real-time market data for NSE, BSE, and other Indian exchanges.

What is an MCP Server?

Characteristics

AttributeDetails
Docker Imagemcp/zerodha-kite
Authoranshuljain90
Repositoryhttps://github.com/anshuljain90/zerodha-kite-mcp
Dockerfilehttps://github.com/anshuljain90/zerodha-kite-mcp/blob/main/Dockerfile
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/zerodha-kite --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceMIT License

Available Tools (15)

Tools provided by this ServerShort Description
place_orderPlace a new order in the market
modify_orderModify an existing pending order
cancel_orderCancel a pending order
get_positionsGet all open positions (intraday and overnight)
get_holdingsGet long-term holdings in demat account
get_marginsGet account margins and available funds
get_quoteGet real-time market quotes for a symbol
get_historical_dataGet historical candlestick data
get_instrumentsGet list of all tradeable instruments
get_ordersGet list of all orders for the day
get_tradesGet list of all executed trades
get_order_historyGet complete history of an order including modifications
get_profileGet user profile information
get_ltpGet last traded price for multiple instruments
get_market_statusCheck if markets are open or closed

Tools Details

Tool: place_order

Place a new order in the market

ParametersTypeDescription
exchangestringTrading exchange (NSE, BSE, NFO, CDS, MCX)
tradingsymbolstringTrading symbol (e.g., RELIANCE, INFY)
transaction_typestringBUY or SELL
quantitynumberNumber of shares/lots
order_typestringOrder type (MARKET, LIMIT, SL, SL-M)
productstringProduct type (CNC for delivery, MIS for intraday, NRML for F&O)
pricenumberPrice for LIMIT orders (optional)
trigger_pricenumberTrigger price for SL orders (optional)

Tool: modify_order

Modify an existing pending order

ParametersTypeDescription
order_idstringUnique order ID
quantitynumberNew quantity (optional)
pricenumberNew price (optional)
order_typestringNew order type (optional)
trigger_pricenumberNew trigger price (optional)

Tool: cancel_order

Cancel a pending order

ParametersTypeDescription
order_idstringUnique order ID to cancel

Tool: get_positions

Get all open positions (intraday and overnight)

Tool: get_holdings

Get long-term holdings in demat account

Tool: get_margins

Get account margins and available funds

Tool: get_quote

Get real-time market quotes for a symbol

ParametersTypeDescription
exchangestringExchange (NSE, BSE, etc.)
tradingsymbolstringTrading symbol

Tool: get_historical_data

Get historical candlestick data

ParametersTypeDescription
instrument_tokenstringUnique instrument identifier
from_datestringStart date (YYYY-MM-DD)
to_datestringEnd date (YYYY-MM-DD)
intervalstringTime interval (minute, 3minute, 5minute, 10minute, 15minute, 30minute, 60minute, day)

Tool: get_instruments

Get list of all tradeable instruments

ParametersTypeDescription
exchangestringExchange to fetch instruments for

Tool: get_orders

Get list of all orders for the day

Tool: get_trades

Get list of all executed trades

Tool: get_order_history

Get complete history of an order including modifications

ParametersTypeDescription
order_idstringUnique order ID

Tool: get_profile

Get user profile information

Tool: get_ltp

Get last traded price for multiple instruments

ParametersTypeDescription
instrumentsarrayArray of exchange:tradingsymbol pairs

Tool: get_market_status

Check if markets are open or closed

Use this MCP Server

{
  "mcpServers": {
    "zerodha-kite": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "KITE_API_KEY",
        "-e",
        "KITE_ACCESS_TOKEN",
        "-e",
        "KITE_REDIRECT_URL",
        "-e",
        "KITE_API_SECRET",
        "mcp/zerodha-kite"
      ],
      "env": {
        "KITE_API_KEY": "your_api_key_here",
        "KITE_ACCESS_TOKEN": "your_access_token_here",
        "KITE_REDIRECT_URL": "http://localhost:3000/redirect",
        "KITE_API_SECRET": "your_api_secret_here"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Manual installation

You can install the MCP server using:

Installation for

Related servers