MCP.so
ログイン

Zerodha MCP Integration

@aptro

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

aptro

Zerodha MCP Integration について

Mcp server to connect with zerodha's kite trade apis

Zerodha MCP Integration の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "zerodha-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@aptro/zerodha-mcp",
        "--client",
        "claude"
      ]
    }
  }
}

Zerodha MCP Integration のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is Zerodha MCP Integration?

This server integrates Zerodha's trading platform with Claude AI using the Model Context Protocol (MCP), allowing you to interact with your Zerodha trading account directly through Claude. It is designed for Zerodha users who want to execute trades, check portfolio details, and manage mutual funds via natural language commands.

How to use Zerodha MCP Integration?

Install via Smithery with npx -y @smithery/cli install @aptro/zerodha-mcp --client claude or manually: create a Zerodha developer account, create an app with redirect URL http://127.0.0.1:5000/zerodha/auth/redirect, obtain API key and secret, set them in a .env file, install dependencies (kiteconnect, fastapi, uvicorn, python-dotenv, httpx), and run mcp install main.py. On first use, Claude will start a local server on port 5000 to handle authentication.

Key features of Zerodha MCP Integration

  • Check and initiate authentication with Zerodha
  • Retrieve portfolio holdings, positions, and margins
  • Place stock trading orders and get quotes
  • Fetch historical price data for symbols
  • View and manage mutual fund holdings and orders
  • Create, modify, and cancel mutual fund SIPs

Use cases of Zerodha MCP Integration

  • Ask Claude to check current margins and open positions
  • Place a market order for shares without leaving the chat
  • View mutual fund holdings and recent orders
  • Set up a new monthly SIP for a specific fund
  • Browse available mutual funds on Zerodha

よくある質問

1

What authentication is required?

You need a Zerodha developer account, an API key and secret from a created app, and a one-time browser login. The access token is stored locally for future sessions.

2

How are credentials stored?

API credentials are stored only in a local `.env` file. Access tokens are saved in a `.tokens` file. No credentials are transmitted to Claude or any third parties.

3

What is the session duration?

The session remains active until the token expires, typically after 24 hours. When expired, Claude automatically reinitiates the login flow.

4

What dependencies are needed?

The server requires Python packages: `kiteconnect`, `fastapi`, `uvicorn`, `python-dotenv`, and `httpx`. It uses a local HTTP server on port 5000 for the authentication redirect.

5

Can I place live trades with this server?

Yes, you can place buy/sell orders, get real-time quotes, and manage mutual fund orders and SIPs. Be aware of the risks of live trading; the server does not add any safeguards beyond what Zerodha provides.

コメント

「その他」の他のコンテンツ