Basic information
About Kite MCP Server
Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts.
Kite MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by rhnvrm. It exposes 22 tools, including cancel_order, delete_gtt_order, get_gtts, get_historical_data and more. Supported transport: stdio. Runtime: go. License: MIT. The repository has 280 GitHub stars. Source code is hosted on github.com.
Connection details
https://kite-mcp-server.fly.dev/mcp
Setup
claude mcp add kite-mcp-server --transport http https://kite-mcp-server.fly.dev/mcp
[mcp_servers.kite-mcp-server] url = "https://kite-mcp-server.fly.dev/mcp"
{
"mcpServers": {
"kite-mcp-server": {
"url": "https://kite-mcp-server.fly.dev/mcp"
}
}
}
{
"servers": {
"kite-mcp-server": {
"type": "http",
"url": "https://kite-mcp-server.fly.dev/mcp"
}
}
}
Kite MCP Server — by rhnvrm config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"kite": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.kite.trade/mcp"
]
}
}
}
Kite MCP Server — by rhnvrm tools
-
cancel_order
— Cancel an existing order
order_id:string*, variety:string* -
delete_gtt_order
— Delete an existing GTT (Good Till Triggered) order
trigger_id:number* -
get_gtts
— Get all active GTT orders. Supports pagination for large datasets.
from:number, limit:number -
get_historical_data
— Get historical price data for an instrument
continuous:boolean, from_date:string*, instrument_token:number*, interval:string*, oi:boolean, to_date:string* -
get_holdings
— Get holdings for the current user. Supports pagination for large datasets.
from:number, limit:number -
get_ltp
— Get latest trading prices for a list of instruments
instruments:array* -
get_margins
— Get margins
(no parameters) -
get_mf_holdings
— Get all mutual fund holdings. Supports pagination for large datasets.
from:number, limit:number -
get_ohlc
— Get OHLC (Open, High, Low, Close) data for a list of instruments
instruments:array* -
get_order_history
— Get order history for a specific order
order_id:string* -
get_order_trades
— Get trades for a specific order
order_id:string* -
get_orders
— Get all orders. Supports pagination for large datasets.
from:number, limit:number -
get_positions
— Get current positions. Supports pagination for large datasets.
from:number, limit:number -
get_profile
— Retrieve the user's profile information, including user ID, name, email, and account details like products orders, and exchanges available to the user. Use this to get basic user details.
(no parameters) -
get_quotes
— Get market data quotes for a list of instruments
instruments:array* -
get_trades
— Get trading history. Supports pagination for large datasets.
from:number, limit:number -
login
— Login to Kite API. This tool helps you log in to the Kite API. If you are starting off a new conversation call this tool before hand. Call this if you get a session error. Returns a link that the user should click to authorize access, present as markdown if your client supports so that they can click it easily when rendered.
(no parameters) -
modify_gtt_order
— Modify an existing GTT (Good Till Triggered) order
exchange:string*, last_price:number*, limit_price:number, lower_limit_price:number, lower_quantity:number, lower_trigger_value:number, quantity:number, tradingsymbol:string*, transaction_type:string*, trigger_id:number*, trigger_type:string*, trigger_value:number, … -
modify_order
— Modify an existing order
disclosed_quantity:number, order_id:string*, order_type:string*, price:number, quantity:number, trigger_price:number, validity:string, variety:string* -
place_gtt_order
— Place a GTT (Good Till Triggered) order
exchange:string*, last_price:number*, limit_price:number, lower_limit_price:number, lower_quantity:number, lower_trigger_value:number, product:string*, quantity:number, tradingsymbol:string*, transaction_type:string*, trigger_type:string*, trigger_value:number, … -
place_order
— Place an order
disclosed_quantity:number, exchange:string*, iceberg_legs:number, iceberg_quantity:number, order_type:string*, price:number, product:string*, quantity:number*, tag:string, tradingsymbol:string*, transaction_type:string*, trigger_price:number, … -
search_instruments
— Search instruments. Supports pagination for large result sets.
filter_on:string, from:number, limit:number, query:string*
Overview
What is Kite MCP Server?
Kite MCP Server is a Go-based Model Context Protocol (MCP) server that provides AI assistants with secure access to the Kite Connect trading API. It enables AI agents to retrieve market data, manage portfolios, and execute trades through a standardized interface, targeting traders who want to use AI with their Kite trading account.
How to use Kite MCP Server?
For the easiest setup, add the hosted URL https://mcp.kite.trade/mcp to your MCP client configuration—no installation or API keys required. For self-hosting, clone the repository, configure a .env file with your Kite Connect API key and secret, and run the server locally using Go 1.21+.
Key features of Kite MCP Server
- Portfolio management: view holdings, positions, margins, and mutual funds
- Order management: place, modify, cancel orders with full history
- GTT (Good Till Triggered) order management
- Market data: real‑time quotes, historical data, OHLC data
- Automatic pagination for large datasets (holdings, orders, trades)
- Multiple deployment modes: stdio, HTTP, SSE, and hybrid
Use cases of Kite MCP Server
- AI‑powered trading assistant that can view portfolio and place orders
- Automated portfolio monitoring and market data querying
- Voice or chat‑based order management through an AI client
- Custom risk management tools by excluding sensitive trading tools
- Backtesting and historical data analysis via AI agents
Frequently asked questions
1 What is the hosted version and how do I connect?
The hosted version runs at https://mcp.kite.trade/mcp and requires no installation or API keys on your end. Just add that URL to your MCP client configuration (e.g., using mcp-remote with Claude Desktop).
2 How do I self‑host the server?
Clone the repository, create a .env file with KITE_API_KEY and KITE_API_SECRET, then build and run with Go 1.21+ (e.g., go build && ./kite-mcp-server). The server will serve a status page at http://localhost:8080/.
3 What trading tools are available?
The server provides tools for authentication (login), market data (get_quotes, get_ltp, get_ohlc, get_historical_data, search_instruments), portfolio (get_profile, get_margins, get_holdings, get_positions, get_mf_holdings), orders (place_order, modify_order, cancel_order, get_orders, get_trades, get_order_history, get_order_trades), and GTT orders (get_gtts, place_gtt_order, modify_gtt_order, delete_gtt_order).
4 Can I exclude some tools (e.g., for read‑only access)?
Yes. Set the EXCLUDED_TOOLS environment variable to a comma‑separated list of tool names (e.g., place_order,modify_order,cancel_order). The hosted version excludes potentially destructive trading operations for security.
5 What runtime dependencies are required?
For the hosted version none. For self‑hosting, you need Go 1.21+ and valid Kite Connect API credentials. Tests require Go 1.23+ with GOEXPERIMENT=synctest for timing‑dependent tests.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In