Home » Posts » Featured » Connect your Zerodha account to AI assistants with Kite MCP

Connect your Zerodha account to AI assistants with Kite MCP

May 20, 2025

You can now connect your Zerodha account to AI assistants like Claude, Cursor, and Windsurf completely free of charge with the new Kite Model Context Protocol (MCP). With this, you instantly get a personal financial assistant that understands your portfolio and can answer complex questions in any language of your choice.

What is Model Context Protocol (MCP)?

Model Context Protocol (MCP) is a communication standard that enables AI assistants to interact with real-world data and services. Rather than relying only on pre-trained knowledge, AI tools can now access live information from your Zerodha account. 

Similar to Kite Connect APIs which are now free, accessing your Zerodha account through MCP has no additional charges. To learn more about Kite Connect, click here.

In simple terms, MCP enables AI assistants to provide:

  • Real-time data access: Access current market prices, not just historical data
  • Personalised insights: Analyse your specific portfolio, not just give generic insights
  • Interactive capabilities: Not just answer questions – but retrieve precise information you need
  • Natural conversation: Ask about complex market data in plain language

Without MCP, AI assistants are limited to the generic information available on the internet and can’t give responses specific to your account.

MCP is supported by multiple AI platforms including Claude, Windsurf, and Cursor, giving you flexibility in choosing which AI tool works best for your needs

Setting up Kite MCP

Claude (Desktop)

Install Node.js

  • Download and install Node.js from nodejs.org
  • Verify installation by opening Command Prompt and typing node –version

Configure Claude Desktop

  • Open Claude Desktop application
  • Go to Settings (gear icon)
  • Click on Developer in the left sidebar
  • Click Edit Config
  • Add the following configuration:
{
    "mcpServers": {
        "kite": {
            "command": "npx",
            "args": ["mcp-remote", "https://mcp.kite.trade/sse"]
        }
    }
}
  • Save and restart Claude Desktop

For a visual walkthrough of the setup process, check out this step-by-step video guide on configuring MCP for Claude Desktop.

Verify Connection

  • In Claude Desktop, look for the tools/hammer icon in the chat interface
  • Click it to verify Kite MCP tools are available
  • Follow the authorisation prompts to connect to your Zerodha account

Visual Studio Code

If you prefer using Visual Studio Code with AI extensions, you can also configure Kite MCP:

Prerequisites

Configuration Steps

  1. Open VS Code settings (File > Preferences > Settings, or press Ctrl+,)
  2. Search for “copilot chat mcp” or navigate to the GitHub Copilot Chat configuration
  3. Click on Edit in settings.json
  4. Add the following configuration to your settings.json file:
   "mcp": {
        "inputs": [],
        "servers": {
            "kite": {
                "url": "https://mcp.kite.trade/sse"
            }
        }
    }
  1. Save the settings file and restart VS Code
  2. Open the Copilot Chat panel and use the /mcp command to verify that Kite is listed as an available MCP server
  3. When prompted, authorise your Zerodha account to connect with VS Code

For more detailed information on setting up MCP servers in VS Code, refer to the official documentation.

Setup on Linux (Ubuntu/Debian)

There are two unofficial builds for Claude Desktop on Linux:

Using aaddrick’s Debian/Ubuntu build

   git clone https://github.com/aaddrick/claude-desktop-debian.git
    cd claude-desktop-debian
    chmod +x build.sh
    ./build.sh
    sudo dpkg -i ./claude-desktop_*.deb

Using k3d3’s Nix Flake method

   NIXPKGS_ALLOW_UNFREE=1 nix run github:k3d3/claude-desktop-linux-flake --impure

After installing with either method, configure MCP:

   mkdir -p ~/.config/Claude
    nano ~/.config/Claude/claude_desktop_config.json

Add the following:

   {
        "mcpServers": {
            "kite": {
                "command": "npx",
                "args": ["mcp-remote", "https://mcp.kite.trade/sse"]
            }
        }
    }

Alternatively, you can use Claude Code (official Linux support):

   npm install -g @anthropic-ai/claude-code
claude
/mcp add

When prompted, set up the Kite MCP server with the remote URL.

What can you do with Kite MCP?

With Kite MCP connected to Claude, you can have conversations about your portfolio and the markets in natural language. Here are some examples of what is currently available:

Portfolio analysis

  • Ask for a breakdown of your portfolio performance across different time periods
  • Get insights into your sector exposure and diversification

Here are some portfolio insights you can request from Claude:

  • Create alerts when your portfolio drifts from target allocations
  • Check which of your holdings has the highest percentage gain today
  • View your current positions and their unrealised P&L
  • Research stocks in natural language while seeing how they would fit with your existing portfolio
  • Generate portfolio reports, comparisons, and visualisations instead of manual calculations

Research

  • Set up GTT orders to implement systematic entry and exit strategies at predetermined price points
  • Analyse your portfolio performance to identify patterns and improve your approach. You can even plan your trades, refine your strategies, size your positions and risk.

Try these market research capabilities:

  • Create custom technical indicators and overlay them with price charts
  • You can also pull historical data to backtest strategies and visualise their performance
  • Analyse correlations between your holdings and market indices
  • Get current price data, trading volumes, and key statistics for any stock

Account information

  • Check your available margins and buying power
  • Review your account’s P&L for the day
  • Understand your portfolio’s risk profile

Please note: Order placement, historical trade data, portfolio data, and some other features are currently unavailable. Kite MCP primarily provides market data and portfolio analysis capabilities at this time.

Example use cases

Portfolio review

Ask Claude: Could you analyse my current portfolio holdings with the following details: top 5 positions by market value, best and worst performers, sector distribution, overall portfolio beta and volatility, and unrealised P&L summary? Also plot my portfolio curve against an equal-weight composite index of Nifty500, Gold and Nifty 10 year G-Sec index.

Analysing F&O positions

Ask Claude: Please group my open positions based on the underlying and calculate net delta of my option strategies

Market overview

Ask Claude: Please provide a summary of today’s market conditions including major index movements, sector performance, any notable news affecting my holdings, and stocks with unusual volume or price action.

Stock analysis

Ask Claude: What’s the current price of Infosys stock? Show me the day’s high and low, and compare its performance to the Nifty 50 today.

Portfolio insights

Ask Claude: Which sectors am I most heavily invested in? What percentage of my portfolio is in large-cap stocks?

Security and privacy

Zerodha takes security seriously with the Kite MCP implementation:

  • Limited access: Claude can only access data you explicitly authorise
  • No credential storage: Your Zerodha credentials never pass through Claude. Instead, authentication happens externally through Kite’s secure two-factor authentication flow
  • Read-only operations: All operations are read-only – order placement is not available except for GTT orders

If you have any queries about Kite MCP, please post them in the comments below. Alternatively, you can also ask questions on our Trading Q&A thread here.

Tags:


Simple and secure, no nonsense investing and trading.




171 comments
  1. APatil says:

    Error 32603 repeatedly in Windows Claude Desktop.
    I had re-installed Node 22 version and npm 10. version.
    First time it worked after login to Kite MCP login form(did 2FA as well),
    but again Claude Desktop facing issue of access_token or api_key.

    I am on Claude Desktop free version.
    Please help resolve dev team @nadh jee.

  2. Soaham Datta says:

    Thanks for the step by step video. But it is still not working. Getting MCP error – 32603: session not found, try to login again

  3. Nandhitha says:

    Having issue with connecting the claude Desktop.. Please help in solving this issue
    Initializing server…
    2025-05-21T17:47:18.433Z [kite] [info] Server started and connected successfully
    2025-05-21T17:47:18.497Z [kite] [info] Message from client: {\”method\”:\”initialize\”,\”params\”:{\”protocolVersion\”:\”2024-11-05\”,\”capabilities\”:{},\”clientInfo\”:{\”name\”:\”claude-ai\”,\”version\”:\”0.1.0\”}},\”jsonrpc\”:\”2.0\”,\”id\”:0}
    npm WARN exec The following package was not found and will be installed: mcp-remote
    npm WARN EBADENGINE Unsupported engine {
    npm WARN EBADENGINE package: \’[email protected]\’,
    npm WARN EBADENGINE required: { node: \’>=18\’ },
    npm WARN EBADENGINE current: { node: \’v16.15.1\’, npm: \’8.11.0\’ }
    npm WARN EBADENGINE }
    npm WARN EBADENGINE Unsupported engine {
    npm WARN EBADENGINE package: \’[email protected]\’,
    npm WARN EBADENGINE required: { node: \’>=18\’ },
    npm WARN EBADENGINE current: { node: \’v16.15.1\’, npm: \’8.11.0\’ }
    npm WARN EBADENGINE }
    npm WARN EBADENGINE Unsupported engine {
    npm WARN EBADENGINE package: \’[email protected]\’,
    npm WARN EBADENGINE required: { node: \’>=18\’ },
    npm WARN EBADENGINE current: { node: \’v16.15.1\’, npm: \’8.11.0\’ }
    npm WARN EBADENGINE }
    npm WARN EBADENGINE Unsupported engine {
    npm WARN EBADENGINE package: \’[email protected]\’,
    npm WARN EBADENGINE required: { node: \’>=18\’ },
    npm WARN EBADENGINE current: { node: \’v16.15.1\’, npm: \’8.11.0\’ }
    npm WARN EBADENGINE }
    npm WARN EBADENGINE Unsupported engine {
    npm WARN EBADENGINE package: \’[email protected]\’,
    npm WARN EBADENGINE required: { node: \’>=18\’ },
    npm WARN EBADENGINE current: { node: \’v16.15.1\’, npm: \’8.11.0\’ }
    npm WARN EBADENGINE }
    file:///Users/128vignesh/.npm/_npx/705d23756ff7dacc/node_modules/open/index.js:7
    import fs, {constants as fsConstants} from \’node:fs/promises\’;
    ^^^^^^^^^
    SyntaxError: The requested module \’node:fs/promises\’ does not provide an export named \’constants\’
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:194:5)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:385:24)
    at async loadESM (node:internal/process/esm_loader:88:5)
    at async handleMainPromise (node:internal/modules/run_main:61:12)
    2025-05-21T17:47:20.851Z [kite] [info] Server transport closed
    2025-05-21T17:47:20.852Z [kite] [info] Client transport closed
    2025-05-21T17:47:20.852Z [kite] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error(\’…\’)` in JavaScript, `print(\’…\’, file=sys.stderr)` in python) and it will appear in this log.
    2025-05-21T17:47:20.852Z [kite] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {\”context\”:\”connection\”}

  4. vignesh says:

    Initializing server…
    2025-05-21T17:47:18.433Z [kite] [info] Server started and connected successfully
    2025-05-21T17:47:18.497Z [kite] [info] Message from client: {\”method\”:\”initialize\”,\”params\”:{\”protocolVersion\”:\”2024-11-05\”,\”capabilities\”:{},\”clientInfo\”:{\”name\”:\”claude-ai\”,\”version\”:\”0.1.0\”}},\”jsonrpc\”:\”2.0\”,\”id\”:0}
    npm WARN exec The following package was not found and will be installed: mcp-remote
    npm WARN EBADENGINE Unsupported engine {
    npm WARN EBADENGINE package: \’[email protected]\’,
    npm WARN EBADENGINE required: { node: \’>=18\’ },
    npm WARN EBADENGINE current: { node: \’v16.15.1\’, npm: \’8.11.0\’ }
    npm WARN EBADENGINE }
    npm WARN EBADENGINE Unsupported engine {
    npm WARN EBADENGINE package: \’[email protected]\’,
    npm WARN EBADENGINE required: { node: \’>=18\’ },
    npm WARN EBADENGINE current: { node: \’v16.15.1\’, npm: \’8.11.0\’ }
    npm WARN EBADENGINE }
    npm WARN EBADENGINE Unsupported engine {
    npm WARN EBADENGINE package: \’[email protected]\’,
    npm WARN EBADENGINE required: { node: \’>=18\’ },
    npm WARN EBADENGINE current: { node: \’v16.15.1\’, npm: \’8.11.0\’ }
    npm WARN EBADENGINE }
    npm WARN EBADENGINE Unsupported engine {
    npm WARN EBADENGINE package: \’[email protected]\’,
    npm WARN EBADENGINE required: { node: \’>=18\’ },
    npm WARN EBADENGINE current: { node: \’v16.15.1\’, npm: \’8.11.0\’ }
    npm WARN EBADENGINE }
    npm WARN EBADENGINE Unsupported engine {
    npm WARN EBADENGINE package: \’[email protected]\’,
    npm WARN EBADENGINE required: { node: \’>=18\’ },
    npm WARN EBADENGINE current: { node: \’v16.15.1\’, npm: \’8.11.0\’ }
    npm WARN EBADENGINE }
    file:///Users/128vignesh/.npm/_npx/705d23756ff7dacc/node_modules/open/index.js:7
    import fs, {constants as fsConstants} from \’node:fs/promises\’;
    ^^^^^^^^^
    SyntaxError: The requested module \’node:fs/promises\’ does not provide an export named \’constants\’
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:194:5)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:385:24)
    at async loadESM (node:internal/process/esm_loader:88:5)
    at async handleMainPromise (node:internal/modules/run_main:61:12)
    2025-05-21T17:47:20.851Z [kite] [info] Server transport closed
    2025-05-21T17:47:20.852Z [kite] [info] Client transport closed
    2025-05-21T17:47:20.852Z [kite] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error(\’…\’)` in JavaScript, `print(\’…\’, file=sys.stderr)` in python) and it will appear in this log.
    2025-05-21T17:47:20.852Z [kite] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {\”context\”:\”connection\”}

    • APatil says:

      Try to install latest Node JS version from official site.
      Remove current one.
      Rest of the config in MCP remains same.

  5. Sandeep says:

    Nahi chal ra bhai. Login mang ra for every other command. 1 bar chala hai last 20 min try karne pe. Maine to Claude hi uda diya gussa hoke 🙁

  6. Ojas says:

    For someone trying in future who had installed Node way before this. You might face an error like \”could not attach to mcp server\”. Just update the node to the version they have provided the link to (the latest LTS version) and you might be good.

  7. Praveen Aruru says:

    Can I use this with GEMINI?

  8. Praveen Aruru says:

    Is it safe to give our portfolio details to AI tool?

  9. Arun Kumar says:

    This is great initiative. I was able to successfully create and configure MCP server using Claude desktop. Would experiment over next few days to unleash the potential in trading. Thanks Team Zerodha!

  10. Naveen shukla says:

    Hi Zerodha Team,
    hope you find well, i curiously know much more about MCP model .kindly make a video and describe all the feature and potential which can done by MCP. this will be very helpful for us to know about MCP . Define how it work in trading as well as investing. we eagerly waiting for your video on youtube.

  11. Chandrasekar says:

    This is a groundbreaking step forward — bringing MCP connection to Zerodha is more than just a technical upgrade; it’s a leap toward democratizing finance for every retail investor. Now, with the power of natural language AI models, anyone can interact with their real-time portfolio, get insights, and make informed decisions without needing to decode complex charts or jargon.

    Kudos to Zerodha for pioneering this intelligent bridge between personal investing and conversational AI.

    The future of finance is truly here — smart, simple, and accessible!

  12. Vijay Mhetar says:

    This is available only for Kite web platform. Kite web platform is disgusting for various reasons, most important of which is the multiple number of clicks required to switch between the charts of any two watchlist scrips. From the description above this AI assistant is not capable of raising sound alerts for triggers based on simple candlestick chart patterns like bullish or bearish engulfing or close higher/lower than high/low of preceding candle. So coming to final conclusion: For the time being this AI assistant is futile and useless for me.

  13. Satyadarshi behera says:

    Keeps going in a loop asking for repeated authorisation when simply asking to get holdings and give a summary.

    I\’m seeing an issue with retrieving your holdings data. Let me try logging in again to ensure we have a valid session.LloginRequest{}ResponseShow this URL to the user and ask them to login by clicking on it. Wait for the user to complete the login and ask them to let you know to proceed once they have done it in their browser. Try to make sure it is clickable by ideally providing it as a markdown link if your client supports it. URL: https://kite.zerodha.com/connect/login?api_key=kitemcp&v=3&redirect_params=session_id%3D47b7b082-40c3-461d-94e6-b98215bc0125It seems we need to refresh your authorization. Please click on the following link to log in to your Kite account again:
    Login to Kite
    Once you\’ve completed the login, please let me know and I\’ll continue with analyzing your portfolio.RetrySlogin doneEditThank you for confirming. Now let me gather your portfolio information and provide a detailed analysis.Gget_holdingsRequest{}ResponseError executing code: MCP error -32603: session not found, try to login againI\’m still encountering an issue with the session. Let\’s try logging in one more time to establish a proper connection.LloginRequest{}ResponseShow this URL to the user and ask them to login by clicking on it. Wait for the user to complete the login and ask them to let you know to proceed once they have done it in their browser. Try to make sure it is clickable by ideally providing it as a markdown link if your client supports it. URL: https://kite.zerodha.com/connect/login?api_key=kitemcp&v=3&redirect_params=session_id%3Da46bad3c-c85c-412c-a549-2a07cc80c503I apologize for the continued issue. Let\’s try one more time with a fresh login link:
    Login to Kite
    Please complete the login process in your browser. Once you\’ve done that, please confirm by typing \”login complete\” and I\’ll immediately proceed with analyzing your portfolio.

  14. APatil says:

    https://youtu.be/R88yjVGRQEU?si=VVTZcX1Mq-GsqbI1
    I have connected but getting error on Claude Desktop even after auth with Kite.

  15. APatil says:

    Even after successful connection with Kite MCP server.

    Claude Desktop is getting an error of not able to fetch “api_key” or “access_token”.

    I have recorded a video for the same : https://youtu.be/R88yjVGRQEU?si=VVTZcX1Mq-GsqbI1

    Please check and help me resolve it .

  16. Samar says:

    Can I fully automate the my trading? For example I build a strategy and make it live. That automatically sell or buy on my behalf? Full automatically? Can I do this with kite api connect or in anyway.

  17. Moiz says:

    How are you ensuring that Claude is not storing my data (portfolio, margin etc) and sending it to some other servers behind the scene?

  18. devesh says:

    getting error on get_holdings that exceeded maximum length limit everytime on fetching holding

  19. G Naresh Babu says:

    Hello Sir/Madam

    I was trying to setup \”Connect your Zerodha account to AI assistants with Kite MCP\”, with Claude Desktop App. After adding the mcpServer configuration in Edit Config, I\’m getting the following error, when I restart the Claude app.

    \”Could not load app settings
    There was an error reading or parsing
    claude_desktop_config.json: Expected
    property name or \’}\’ in JSON at position
    7 (line 3 column 5)\”

  20. Shashank Pal says:

    Unable to use error is coming not getting path. Please make it proper job card so we can understand or make it separate app for this.

  21. Rishi says:

    Hi, I\’m getting this error while trying it with claude. I dont seem to find an explanation on how to solve it online.

    2025-05-21T13:02:24.655Z [kite] [info] Initializing server…
    2025-05-21T13:02:24.673Z [kite] [error] spawn npx ENOENT {\”context\”:\”connection\”,\”stack\”:\”Error: spawn npx ENOENTn at ChildProcess._handle.onexit (node:internal/child_process:285:19)n at onErrorNT (node:internal/child_process:483:16)n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\”}
    2025-05-21T13:02:24.673Z [kite] [error] spawn npx ENOENT {\”stack\”:\”Error: spawn npx ENOENTn at ChildProcess._handle.onexit (node:internal/child_process:285:19)n at onErrorNT (node:internal/child_process:483:16)n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\”}
    2025-05-21T13:02:24.676Z [kite] [info] Server transport closed
    2025-05-21T13:02:24.676Z [kite] [info] Client transport closed
    2025-05-21T13:02:24.677Z [kite] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error(\’…\’)` in JavaScript, `print(\’…\’, file=sys.stderr)` in python) and it will appear in this log.
    2025-05-21T13:02:24.677Z [kite] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {\”context\”:\”connection\”}
    2025-05-21T13:07:06.193Z [kite] [info] Initializing server…
    2025-05-21T13:07:06.221Z [kite] [error] spawn npx ENOENT {\”context\”:\”connection\”,\”stack\”:\”Error: spawn npx ENOENTn at ChildProcess._handle.onexit (node:internal/child_process:285:19)n at onErrorNT (node:internal/child_process:483:16)n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\”}
    2025-05-21T13:07:06.222Z [kite] [error] spawn npx ENOENT {\”stack\”:\”Error: spawn npx ENOENTn at ChildProcess._handle.onexit (node:internal/child_process:285:19)n at onErrorNT (node:internal/child_process:483:16)n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\”}
    2025-05-21T13:07:06.224Z [kite] [info] Server transport closed
    2025-05-21T13:07:06.224Z [kite] [info] Client transport closed
    2025-05-21T13:07:06.224Z [kite] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error(\’…\’)` in JavaScript, `print(\’…\’, file=sys.stderr)` in python) and it will appear in this log.
    2025-05-21T13:07:06.224Z [kite] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {\”context\”:\”connection\”}

    • Tinkering says:

      ✅ How to Fix It
      1. Install Node.js (if not already installed)
      If Node.js isn’t installed, install it from:
      👉 https://nodejs.org

      This includes npx as part of the package (starting from Node.js 8.2.0).

      2. Ensure npx is in your system PATH
      Run this command in your terminal:

      bash
      Copy
      Edit
      npx –version
      If this fails: Your system can\’t find npx.

      On Windows, make sure C:Program Filesnodejs is included in the PATH environment variable:

      Open System Properties → Environment Variables → Edit Path

      Add: C:Program Filesnodejs

      On macOS/Linux, check with:

      bash
      Copy
      Edit
      echo $PATH
      which npx
      If npx isn\’t found, add Node.js\’s bin path to ~/.bashrc, ~/.zshrc, etc.

      3. Restart your terminal or IDE
      After updating the PATH or installing Node.js, restart your terminal or the Claude/IDE process using the MCP server.

  22. Kamal Gaur says:

    Unable to use it with Claude due to maximum length limits in the free account. Looking for instructions on how to use Cursor to connect to Kite MCP.

  23. V K says:

    i cant find tools/hammer icon in the chat interface.

    • Kamal Gaur says:

      Follow the video instructions as it has minor differences vs the text instructions written above.

      • Jeevitesh says:

        It would have better experience if it was integrated within jite app.. we could have used it more easy

  24. RAJASHEKHARA J M says:

    Is this really useful with safe investing journey..

  25. shambu says:

    what is authentication method kite is using when we connect from claude to Kite MCP? will this be authenticated based on logged in mail from claude?

  26. Dipak says:

    Please post a demo video

  27. Abhishek Maitra says:

    Do I need to kite API account or access or can be done using SSO?

  28. Vijay Goud says:

    Dont Add code in config.json , Just Add in claude_desktop_config.json it will work for windows…

  29. Amit says:

    Guys if you need help with the steps above just copy and paste this website link in Chat GPT and ask it to guide you step by step.

  30. Amit says:

    Thanks Team Zerodha. Works well on Mac

  31. Amit Kumar says:

    I am getting an error in Claude with config given by you. Claude also does not prompt for any Kite authentication. Please find the error.
    My kite login Id is ZH3256.

    2025-05-21T09:46:55.118Z [info] [kite] Initializing server…
    2025-05-21T09:46:55.169Z [info] [kite] Server started and connected successfully
    2025-05-21T09:46:55.418Z [info] [kite] Message from client: {\”method\”:\”initialize\”,\”params\”:{\”protocolVersion\”:\”2024-11-05\”,\”capabilities\”:{},\”clientInfo\”:{\”name\”:\”claude-ai\”,\”version\”:\”0.1.0\”}},\”jsonrpc\”:\”2.0\”,\”id\”:0}
    2025-05-21T09:47:04.332Z [info] [kite] Server transport closed
    2025-05-21T09:47:04.333Z [info] [kite] Client transport closed

    • Amit Kumar says:

      Please ignore, working after https. Please update the config value

    • Amit Kumar says:

      After converting to https, I am getting error in claude desktop Window machine

      Error executing code: MCP error -32603: session not found, try to login again

  32. APatil says:

    On Windows – Claude Desktop. I have connected to Kite successfully. Entered the MCP server config with HTTPS as opposed to HTTP given in the above doc.
    I have even logged in. But, Claude Desktop gives error – MCP Error 32603. It does not get the API Key or access token.
    What wrong ?
    I do not have Kite API account. Do I need to create it ?

  33. Roshan says:

    Thanks Zerodha for enabling access to MCP, appreciate the effort! This initiative opens up exciting possibilities for traders and developers alike.
    Note: The JSON snippet shared earlier contains curly quotes instead of standard double quotes, which causes errors in Claude.

    @Everyone,
    Just replace them with standard double quotes. Also, make sure to use https instead of http in the URL.

  34. Pranav Shah says:

    Not able to see the tools/hammer icon in Claude. How to proceeD?

    • shibu says:

      Same for me. I installed Claude free edition from official site and completed all config as suggested.

    • Ayut Poreddiwar says:

      were you able to find solution

    • Roshan says:

      Click on search & tools icon, besides the upload file icon in the chat window. If configured correctly, you should be able to see Kite & its permissions.

  35. krishanvamsi says:

    I\’m trying with VS code and after configuration while I was trying to type /mcp it is not getting sent. Any help would be highly appreciateed.

  36. Rajkumar says:

    I was trying to connect the MCP server from vs code but end up facing below error.
    \”Error Error reading SSE stream: TypeError: terminated\”

  37. sdf says:

    is the latest data coming for me it is showing incorrect portfolio value

  38. Vivek says:

    I have installed both Node.js & Claude Desktop, configured & Verified Kite MCP Tools but i am not getting any authorisation prompts to connect to Zerodha account, Manually when i entered the a command in the Cluade Chatbox to \’Connect to Zerodha Kite\’Vivel am getting below Message :

    I need to be very clear: Claude cannot connect to Zerodha Kite or any external trading platforms. There is no functionality within Claude\’s interface that allows for direct integration with Zerodha or any other financial services.

  39. Naren says:

    You mentioned we can pull historical data to backtest strategies and visualise their performance. Can you guide how this can be done. Can we get data of Option chain on 1MIN time frame for indices and stocks. Please guide how to get this data.

  40. Saran says:

    It is an awesome feature. Thank you guys.

  41. Smriti Agarwal says:

    Add the following to your settings.json to enable MCP integration:

    {
    \”chat.mcp.enabled\”: true
    }
    Save your settings.json file and reload Visual Studio Code.

    This should make MCP-related commands available.

  42. dude says:

    my only and only suggestion to zerodha is make you streak work like real algo not just like a video game wherein a customer has to put manual order form the streak alert generated. moreover try to listen and take review and amend, customise your platform as i am also a dhan user , i can compare and say honestly that their internal team is by far the best who listen to their customer needs regarding indicator api and other things also. rest is your choice thanks zerodha team

  43. KRISHNAKUMAR says:

    Please post a demo video regarding AI connect.

  44. KRISHNAKUMAR says:

    Please post a demo video

  45. K Biswas says:

    great update from team zerodha, please make video details setup for everyone

    thanks & regards

  46. Arun says:

    Thanks for all the improvements you have been doing in Zerodha..
    I will be Awesome!!!, If you can provide an inbuilt Voice based AI Assistant to execute trades similar to instructions given to Alexa Or Siri
    BUY RELIANCE 100 UNITS ; BUY NIFTY 24800 CALL 500 UNITS..

  47. Ajish says:

    Run the node.js file twice and each time it showed installation successful. However upon running the node –version command on command prompt, it shows the below error. Can you please check.

    C:Usersvajis>node –version
    node:internal/modules/cjs/loader:1404
    throw err;
    ^

    Error: Cannot find module \’C:Usersvajis–version\’
    at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)
    at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)
    at Function._load (node:internal/modules/cjs/loader:1211:37)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5)
    at node:internal/main/run_main_module:36:49 {
    code: \’MODULE_NOT_FOUND\’,
    requireStack: []
    }

  48. Soaham Datta says:

    Need a step by step video for this. Thank you.

  49. ABS says:

    Can you also drop connectivity option for Windsurf AI

  50. saurabh says:

    2025-05-21T09:47:30.093Z [kite] [info] Initializing server…
    2025-05-21T09:47:30.137Z [kite] [error] spawn npx ENOENT {\”context\”:\”connection\”,\”stack\”:\”Error: spawn npx ENOENTn at ChildProcess._handle.onexit (node:internal/child_process:285:19)n at onErrorNT (node:internal/child_process:483:16)n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\”}
    2025-05-21T09:47:30.139Z [kite] [error] spawn npx ENOENT {\”stack\”:\”Error: spawn npx ENOENTn at ChildProcess._handle.onexit (node:internal/child_process:285:19)n at onErrorNT (node:internal/child_process:483:16)n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\”}
    2025-05-21T09:47:30.145Z [kite] [info] Server transport closed
    2025-05-21T09:47:30.146Z [kite] [info] Client transport closed
    2025-05-21T09:47:30.147Z [kite] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error(\’…\’)` in JavaScript, `print(\’…\’, file=sys.stderr)` in python) and it will appear in this log.
    2025-05-21T09:47:30.148Z [kite] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {\”context\”:\”connection\”}
    2025-05-21T09:49:57.283Z [kite] [info] Initializing server…
    2025-05-21T09:49:57.319Z [kite] [error] spawn npx ENOENT {\”context\”:\”connection\”,\”stack\”:\”Error: spawn npx ENOENTn at ChildProcess._handle.onexit (node:internal/child_process:285:19)n at onErrorNT (node:internal/child_process:483:16)n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\”}
    2025-05-21T09:49:57.320Z [kite] [error] spawn npx ENOENT {\”stack\”:\”Error: spawn npx ENOENTn at ChildProcess._handle.onexit (node:internal/child_process:285:19)n at onErrorNT (node:internal/child_process:483:16)n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\”}
    2025-05-21T09:49:57.326Z [kite] [info] Server transport closed
    2025-05-21T09:49:57.327Z [kite] [info] Client transport closed
    2025-05-21T09:49:57.328Z [kite] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error(\’…\’)` in JavaScript, `print(\’…\’, file=sys.stderr)` in python) and it will appear in this log.
    2025-05-21T09:49:57.329Z [kite] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {\”context\”:\”connection\”}
    2025-05-21T09:55:31.677Z [kite] [info] Initializing server…
    2025-05-21T09:55:31.717Z [kite] [error] spawn npx ENOENT {\”context\”:\”connection\”,\”stack\”:\”Error: spawn npx ENOENTn at ChildProcess._handle.onexit (node:internal/child_process:285:19)n at onErrorNT (node:internal/child_process:483:16)n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\”}
    2025-05-21T09:55:31.718Z [kite] [error] spawn npx ENOENT {\”stack\”:\”Error: spawn npx ENOENTn at ChildProcess._handle.onexit (node:internal/child_process:285:19)n at onErrorNT (node:internal/child_process:483:16)n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\”}
    2025-05-21T09:55:31.723Z [kite] [info] Server transport closed
    2025-05-21T09:55:31.724Z [kite] [info] Client transport closed
    2025-05-21T09:55:31.726Z [kite] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error(\’…\’)` in JavaScript, `print(\’…\’, file=sys.stderr)` in python) and it will appear in this log.
    2025-05-21T09:55:31.726Z [kite] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {\”context\”:\”connection\”}

  51. ishwari saraogi says:

    While running it is showing the following message:

    There was an error reading or parsing claude_desktop_config.json: Expected property name or \”}\” in JSON at the position 5 (line 2 column s)

  52. Vishal says:

    Can you please check the configuration for Claude as it is not working. I am getting the following error when opening Claude desktop : \”there was an error reading or parsing claude_desktop_config.json : expected property name or \”{\” in JSON at position 5 (line2 column 3)\”. Can you help fix this?

  53. Anup says:

    After putting in the above said config code and saving/restarting Claude, I am encountering the following error:

    Could not load app settings

    There was an error reading or parsing clause_desktop_config.json: Expected property name or \’}\’ in JSON at position 5 (line 2 column 3)

  54. Raj says:

    Error while connecting. Please help. MacOS

    mcp-server-kite.log:

    2025-05-21T09:49:12.088Z [kite] [info] Initializing server…
    2025-05-21T09:49:12.198Z [kite] [info] Server started and connected successfully
    2025-05-21T09:49:12.202Z [kite] [info] Message from client: {\”method\”:\”initialize\”,\”params\”:{\”protocolVersion\”:\”2024-11-05\”,\”capabilities\”:{},\”clientInfo\”:{\”name\”:\”claude-ai\”,\”version\”:\”0.1.0\”}},\”jsonrpc\”:\”2.0\”,\”id\”:0}
    npx: installed 79 in 9.62s
    file:///Users/rajchaudhary/.npm/_npx/8305/lib/node_modules/mcp-remote/node_modules/open/index.js:7
    import fs, {constants as fsConstants} from \’node:fs/promises\’;
    ^^^^^^^^^
    SyntaxError: The requested module \’node:fs/promises\’ does not provide an export named \’constants\’
    at ModuleJob._instantiate (internal/modules/esm/module_job.js:124:21)
    at async ModuleJob.run (internal/modules/esm/module_job.js:179:5)
    at async Loader.import (internal/modules/esm/loader.js:178:24)
    at async Object.loadESM (internal/process/esm_loader.js:68:5)
    at async handleMainPromise (internal/modules/run_main.js:59:12)
    2025-05-21T09:49:21.953Z [kite] [info] Server transport closed
    2025-05-21T09:49:21.953Z [kite] [info] Client transport closed
    2025-05-21T09:49:21.954Z [kite] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error(\’…\’)` in JavaScript, `print(\’…\’, file=sys.stderr)` in python) and it will appear in this log.
    2025-05-21T09:49:21.954Z [kite] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {\”context\”:\”connection\”}
    2025-05-21T09:49:21.954Z [kite] [info] Client transport closed

    mcp.log

    2025-05-21T09:49:12.088Z [info] [kite] Initializing server…
    2025-05-21T09:49:12.198Z [info] [kite] Server started and connected successfully
    2025-05-21T09:49:12.202Z [info] [kite] Message from client: {\”method\”:\”initialize\”,\”params\”:{\”protocolVersion\”:\”2024-11-05\”,\”capabilities\”:{},\”clientInfo\”:{\”name\”:\”claude-ai\”,\”version\”:\”0.1.0\”}},\”jsonrpc\”:\”2.0\”,\”id\”:0}
    2025-05-21T09:49:21.953Z [info] [kite] Server transport closed
    2025-05-21T09:49:21.954Z [info] [kite] Client transport closed
    2025-05-21T09:49:21.954Z [info] [kite] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error(\’…\’)` in JavaScript, `print(\’…\’, file=sys.stderr)` in python) and it will appear in this log.
    2025-05-21T09:49:21.954Z [error] [kite] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging)
    2025-05-21T09:49:21.954Z [info] [kite] Client transport closed

  55. Satya says:

    Hey, the session time is too low. I need to login for every other prompt. Can you please increase it? thanks!

  56. jay says:

    can i use it with chatgpt

  57. Vijay S says:

    This is brilliant.

    A how to video would be HIGHLY APPRECIATED 🙏🏽

  58. Prakash says:

    THe mcp-remote server should use a https endpoint, Got the below error with http endpoint

    [34676] Error: Non-HTTPS URLs are only allowed for localhost or when –allow-http flag is provided
    [34676] Usage: npx tsx proxy.ts [callback-port] [–debug]

  59. Sumit Kumar says:

    Will the AI models collects my data when I interact with them through kite MCP? How zerodha is preventing it ?

  60. Ashwin says:

    Is anyone able to set up on Claude windows ? I am facing connection issues.

  61. Rishikesh Ajit says:

    This is Brilliant ! I would call this Blog \”Jarvis for Kite\”. MCP all the way.

  62. Jai kishan Singh says:

    Wow

  63. Tarun says:

    Update the url in config for claude desktop from http to https.

  64. Ajin G Thomas says:

    Please provide an option to use the same in Mobile version.

  65. Suresh Kumar says:

    please provide video for better understanding

  66. saravanakumar says:

    no update in chartiq platform

  67. Shantanu Das says:

    Woh! Something new to learn… Model Context Protocol..
    Excited to give a try and see what results I will get out of my portfolio.

    Kudos to Zerodha team.

  68. Aman says:

    2025-05-21T09:08:22.030Z [kite] [info] Initializing server…
    2025-05-21T09:08:22.063Z [kite] [info] Server started and connected successfully
    2025-05-21T09:08:22.064Z [kite] [info] Message from client: {\”method\”:\”initialize\”,\”params\”:{\”protocolVersion\”:\”2024-11-05\”,\”capabilities\”:{},\”clientInfo\”:{\”name\”:\”claude-ai\”,\”version\”:\”0.1.0\”}},\”jsonrpc\”:\”2.0\”,\”id\”:0}
    npm warn exec The following package was not found and will be installed: [email protected]
    [63857] Error: Non-HTTPS URLs are only allowed for localhost or when –allow-http flag is provided
    [63857] Usage: npx tsx proxy.ts [callback-port] [–debug]
    2025-05-21T09:08:26.924Z [kite] [info] Server transport closed
    2025-05-21T09:08:26.925Z [kite] [info] Client transport closed
    2025-05-21T09:08:26.925Z [kite] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error(\’…\’)` in JavaScript, `print(\’…\’, file=sys.stderr)` in python) and it will appear in this log.
    2025-05-21T09:08:26.925Z [kite] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {\”context\”:\”connection\”}
    2025-05-21T09:08:26.925Z [kite] [info] Client transport closed
    2025-05-21T09:11:46.899Z [kite] [info] Initializing server…
    2025-05-21T09:11:46.914Z [kite] [info] Server started and connected successfully
    2025-05-21T09:11:46.915Z [kite] [info] Message from client: {\”method\”:\”initialize\”,\”params\”:{\”protocolVersion\”:\”2024-11-05\”,\”capabilities\”:{},\”clientInfo\”:{\”name\”:\”claude-ai\”,\”version\”:\”0.1.0\”}},\”jsonrpc\”:\”2.0\”,\”id\”:0}
    [64196] Error: Non-HTTPS URLs are only allowed for localhost or when –allow-http flag is provided
    [64196] Usage: npx tsx proxy.ts [callback-port] [–debug]
    2025-05-21T09:11:47.624Z [kite] [info] Server transport closed
    2025-05-21T09:11:47.624Z [kite] [info] Client transport closed
    2025-05-21T09:11:47.624Z [kite] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error(\’…\’)` in JavaScript, `print(\’…\’, file=sys.stderr)` in python) and it will appear in this log.
    2025-05-21T09:11:47.624Z [kite] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {\”context\”:\”connection\”}
    2025-05-21T09:11:47.625Z [kite] [info] Client transport closed

  69. G V C Naidu says:

    It is impossible to install and use this since it is too complicated- spent two hours and went nowhere. Can you provide a link by which we can download whatever that is required and use it hassle-free. While your innovative initiatives are highly appreciated, frankly speaking, this is very USER-UNFRIENDLY. If this is the case for someone with Ph.D, you can imagine the plight of ordinary mortals.
    best
    gvcnaidu

  70. Ahmad says:

    The integration of AI with conventional trading setups certainly offers a better edge to the trading community. In today’s market, traders can only win by outsmarting operators and stock exchange mechanisms—a task that is extremely challenging.
    Let’s hope emerging technologies and AI tools create a more balanced and transparent playing field, enabling fair access to opportunities.
    Kudos to Zerodha for taking a step forward in this direction.

  71. Thomas Gerard A says:

    Okay very nice

  72. SHAMBHOO KUMAR PATEL says:

    Yes

  73. Ayush says:

    I don’t find claud app on MacOS

  74. Vigneshwaran S says:

    your Json Config is mis-correct,
    After Entering the Correct Json file getting a error like \”

    Error from mcm-server-kite.
    2025-05-21T09:00:49.797Z [kite] [info] Initializing server…
    2025-05-21T09:00:49.870Z [kite] [info] Server started and connected successfully
    2025-05-21T09:00:50.040Z [kite] [info] Message from client: {\”method\”:\”initialize\”,\”params\”:{\”protocolVersion\”:\”2024-11-05\”,\”capabilities\”:{},\”clientInfo\”:{\”name\”:\”claude-ai\”,\”version\”:\”0.1.0\”}},\”jsonrpc\”:\”2.0\”,\”id\”:0}
    npm warn exec The following package was not found and will be installed: [email protected]
    [26496] Error: Non-HTTPS URLs are only allowed for localhost or when –allow-http flag is provided
    [26496] Usage: npx tsx proxy.ts [callback-port] [–debug]
    npm notice
    npm notice New major version of npm available! 10.9.2 -> 11.4.0
    npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.0
    npm notice To update run: npm install -g [email protected]
    npm notice
    2025-05-21T09:00:58.159Z [kite] [info] Server transport closed
    2025-05-21T09:00:58.160Z [kite] [info] Client transport closed
    2025-05-21T09:00:58.161Z [kite] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error(\’…\’)` in JavaScript, `print(\’…\’, file=sys.stderr)` in python) and it will appear in this log.
    2025-05-21T09:00:58.161Z [kite] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {\”context\”:\”connection\”}
    2025-05-21T09:00:58.162Z [kite] [info] Client transport closed

  75. most of us are not using AI now .
    So please make it more user friendly
    Details required are genrally for all portfoio scrips Support and demand zone os scrip
    GTT order placement suggestion based on maximum loss in any scrip (say 8 %)
    similarly strategic orofit booking point with first target orofit booking and then onwrads identification of trailing stop loss pint in both Profit or loss
    Rotation of sectors and Relative strenght better then its comparable index for that sector
    Similarly Top 5 or 10 scrips from each index say Nifty 50, Nifty small cap 50 etc
    ON weekly and daily frequency basis or with variable frequency like daily, weekllt, monthly and quaterly etc
    So many useful features an be explored with
    3 type of investors 1 Positional trader, long term investor, Intra day traders
    Make module for each type of investors
    so after deciding by investor/trader he focus only on module of his interest to suit his personality.
    I may be contacted on 9920617729 or gandhirameshc @gmail.com for further suggestons

  76. Naveen G Naini says:

    How is instalation with kit app

  77. Aryan Khera says:

    Update the url in config for claude desktop from http to https.

  78. Ayush Chhajed says:

    Can anybody from the team help me with the installation process and show me how it works.
    \”Connect your Zerodha account to AI assistants with Kite MCP\”

  79. Shaifali Tyagi says:

    Do I need Kite Connect APIs to use AI assistant?

  80. Sumeet Vankadkar says:

    I am interested in AI but this is too difficult for me, can we have some simpler form of it for windows desktop.

  81. Aayush Shah says:

    Not working on VS Code + Copilot. could you please provide proper documentation ?
    – I\’ve .vscode/setings.json file and the file content was what you\’ve given in this doc.
    – I was not able to apply /mcp command in copilot after vscode restart.
    Thank you!

    • Sai Kiran says:

      You should not replace entire file content, keep the existing configuration as is and append the new content related to mcp as an addition.

    • Sai Kiran says:

      Also, check in tools whether kite mcp related commands are visible. `/mcp` doesn\’t work for me either. Just post your prompt and let the llm start your journey with kite mcp server. As soon as you prompt, the copilot asks for you to login and then the journey starts.

  82. sarthak says:

    Hey folks, got all the steps done, but whenever i try in a query it says that i have hit the maximum length of the conversation…

  83. Sumit Kumar says:

    Now Kite is nailing it.. Very few brokers are having AI connections and Kite is now advancing.
    Hope Kite will launch Indicator based order placement too very soon.

  84. Rahul says:

    Can we not connect this to Deepseek? The most famous AI model, responsible for my portfolio crash few weeks ago?

  85. Andy W says:

    You mentioned about creating custom indicators, will the pine scripts will work on Kite trading view chart else in which language we create indicators and can we plot them on Kite

  86. Heads up to anyone copying code snippets – replace the left/right double quotes with a straight double quote.

    • Karthikeyan Radhakrishnan says:

      Did that still getting MCP error2025-05-21T09:15:31.528Z [kite] [info] Initializing server…
      2025-05-21T09:15:31.551Z [kite] [info] Server started and connected successfully
      2025-05-21T09:15:31.554Z [kite] [info] Message from client: {\”method\”:\”initialize\”,\”params\”:{\”protocolVersion\”:\”2024-11-05\”,\”capabilities\”:{},\”clientInfo\”:{\”name\”:\”claude-ai\”,\”version\”:\”0.1.0\”}},\”jsonrpc\”:\”2.0\”,\”id\”:0}
      npm warn exec The following package was not found and will be installed: [email protected]
      [22960] Error: Non-HTTPS URLs are only allowed for localhost or when –allow-http flag is provided
      [22960] Usage: npx tsx proxy.ts [callback-port] [–debug]
      npm notice
      npm notice New major version of npm available! 10.9.2 -> 11.4.0
      npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.4.0
      npm notice To update run: npm install -g [email protected]
      npm notice
      2025-05-21T09:15:34.873Z [kite] [info] Server transport closed
      2025-05-21T09:15:34.873Z [kite] [info] Client transport closed
      2025-05-21T09:15:34.874Z [kite] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error(\’…\’)` in JavaScript, `print(\’…\’, file=sys.stderr)` in python) and it will appear in this log.
      2025-05-21T09:15:34.874Z [kite] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {\”context\”:\”connection\”}
      2025-05-21T09:15:34.874Z [kite] [info] Client transport closed
      2025-05-21T09:22:44.555Z [kite] [info] Initializing server…
      2025-05-21T09:22:44.578Z [kite] [info] Server started and connected successfully
      2025-05-21T09:22:44.579Z [kite] [info] Message from client: {\”method\”:\”initialize\”,\”params\”:{\”protocolVersion\”:\”2024-11-05\”,\”capabilities\”:{},\”clientInfo\”:{\”name\”:\”claude-ai\”,\”version\”:\”0.1.0\”}},\”jsonrpc\”:\”2.0\”,\”id\”:0}
      [12172] Error: Non-HTTPS URLs are only allowed for localhost or when –allow-http flag is provided
      [12172] Usage: npx tsx proxy.ts [callback-port] [–debug]
      2025-05-21T09:22:45.506Z [kite] [info] Server transport closed
      2025-05-21T09:22:45.506Z [kite] [info] Client transport closed
      2025-05-21T09:22:45.506Z [kite] [info] Server transport closed unexpectedly, this is likely due to the process exiting early. If you are developing this MCP server you can add output to stderr (i.e. `console.error(\’…\’)` in JavaScript, `print(\’…\’, file=sys.stderr)` in python) and it will appear in this log.
      2025-05-21T09:22:45.507Z [kite] [error] Server disconnected. For troubleshooting guidance, please visit our [debugging documentation](https://modelcontextprotocol.io/docs/tools/debugging) {\”context\”:\”connection\”}
      2025-05-21T09:22:45.507Z [kite] [info] Client transport closed

  87. Payel Karar says:

    Id it possible to ask for analysis of any stock which is not in my portfolio

  88. Abhishek mehra says:

    Available for mobile kite app?

  89. Ananthakrishnan T N says:

    Awesome guys. Really appreciate such cutting edge features

  90. Akshay kumar says:

    Really good implementation in this field will be very helpful for investors.

  91. Kokila Bai says:

    By when you will be able to add indicator – \”Relative strength\” in the indicator list

  92. Meena says:

    Do AI has access to holdings in kite platform

  93. Praveen Reddy says:

    Man this is awesome, maybe you watched Harkirat\’s video a month ago 😄

  94. vaishali says:

    very complicated…..

  95. Gowtham Dasari says:

    I’m currently using kite API which is available at 500 INR per month to access historical data. Does kite MCP provide it for free ?

  96. Subhas Roy says:

    Go ahead

  97. Milind Pandit says:

    Please provide video for better understanding

  98. Bindu says:

    How can I activate the same om Mobile Kite App

  99. Ayush says:

    Can we analyze our past trades like for previous 30 or 60 days and calculate and visualize risk metrices with it?

  100. AZ says:

    Why not enable a simpler access to AI thru the app instead of expecting everyone to know coding and IT?

  101. Mohd Shamsuddin says:

    I am not a coder, Maths is my childhood enemy, Please make the things easy.

  102. Surya Allada says:

    If I upload a book in this Claude prompt . Is this kite mcp draw support and resistance on kite charts ,according to the principles by the book uploaded ?

  103. Keerthan says:

    Will this also work on Family holdings ? mutual funds constituent breakdown

  104. Pushpa panda says:

    Is it possible to get Demand & Supply zone of a scrip through this

  105. Ashutosh Malpani says:

    This is great, however the quotes in the JSON are curly not normal quotes. Might want to fix that 🙂

    • Team Zerodha says:

      Hey Ashutosh, can you be more specific, please? We just checked and see the content above to be correct.

  106. Kishorkumar Shah says:

    please make a video for better explanation.

  107. rk says:

    Pls share a video of complete setup as it is very much complex

  108. BONNY LAIREN says:

    THIS IS GREAT DEVELOPMENT!

  109. deepak s says:

    I am 65 years Male, got the notification at Zerodha reg AI, spoke to your rep, but itS really tough..one Person should be for senior citizens to explain, its really difficult, kindly consider, REGARDS

  110. Robin says:

    Does this means i can create bots for my personal trading and execute my orders ?

  111. Ashok Devaraddi says:

    I am interested in going with kite MCP

  112. Vishnu Prakash Prasannan says:

    Cool stuff was waiting for this. Even though I tried creating my own kite MCP.

  113. Vidhya says:

    I have no pc can I do it on mobile

  114. Mahesh says:

    Update

  115. Dhruv Mukeshkumar Barot says:

    Any additional charges

  116. megha says:

    is this available for android users on mobile?

  117. Shagufta ali says:

    is it possible to ask for analysis of any stock which is not in my portfolio?

  118. SALAVUDDEEN says:

    Very good & useful update…..Thanks to team

  119. B padmavathamma says:

    Use AI

  120. TWPPARMAR says:

    Nice. koi ek optiontrading ka modal bana de har ghante mein paisa double. 😛

  121. Sourabh Das says:

    This is good initiative ..what is the data set for training these AI models

  122. Ankita says:

    This excellent article however is more technical to understand end user to hook up this AI plugin into their portfolio.

  123. ANSHUL SRIVASTAVA says:

    VERY NICE, KEEP UPDATING LIKE THIS FOR SUBSCRIBERS.

  124. Ashwani Sinha says:

    Is this facility also available on MacOS?

Leave a Reply

Your email address will not be published. Required fields are marked *