Zerodha トレーディング MCP
AIモデルがZerodha取引プラットフォームと連携できるようにするモデルコンテキストプロトコル(MCP)サーバー。このプロジェクトは、標準化されたインターフェースを通じて、Zerodha上で取引の実行、ポートフォリオの閲覧、ポジション管理を行うためのツールセットを提供します。
特徴
- 🔐 Zerodha API による安全な認証
- 📊 ポートフォリオ保有状況を見る
- 📈 空きポジションを確認する
- 💹 売買注文を出す
- 👤 ユーザープロフィール情報にアクセスする
前提条件
- Node.js (v14以上)
- Zerodha取引口座
- ZerodhaからのAPI認証情報
インストール
- リポジトリをクローンします。
- 依存関係をインストールします:
- Zerodha の資格情報を使用して、ルート ディレクトリに
.env
ファイルを作成します。
クロードデスクトップMCP構成
Claude DesktopでこのMCPサーバーを使用するには、MCPサーバーの詳細を設定する必要があります。設定方法は次のとおりです。
- プロジェクトルートにある
claude_desktop_config.json
を開きます。 - 次の構成を追加します。
必ず次の点に注意してください:
index.ts
ファイルへのパスを更新します- 環境変数を実際のZerodhaの資格情報に置き換えます
使用法
MCP サーバーは次のツールを提供します。
プロフィールを取得
Zerodha からユーザーのプロフィール情報を取得します。
株式を購入する
指定された在庫と数量の購入注文を出します。
株式を売る
指定された株式と数量の売り注文を出します。
ポートフォリオを表示
ユーザーの完全なポートフォリオ保有状況を表示します。
ポジションを表示
ユーザーのオープンポジションを表示します。
発達
このプロジェクトは以下を使用して構築されます:
- タイプスクリプト
- カイトコネクトAPI
- モデルコンテキストプロトコル(MCP)SDK
- スキーマ検証のためのZod
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。
免責事項
このプロジェクトは教育目的のみに使用されます。金融市場での取引には大きなリスクが伴います。必ずご自身で調査を行い、責任ある取引を行ってください。
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
AI モデルが Zerodha 取引プラットフォームと対話できるようにするモデル コンテキスト プロトコル サーバー。これにより、ユーザーは標準化されたインターフェースを通じて取引を実行し、ポートフォリオの保有状況を表示し、ポジションを管理できます。
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that enables interaction with the Tradovate API for managing trading contracts, positions, orders, and accounts.Last updated -1JavaScriptMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI models to interact with the Monad testnet for checking token balances, sending transactions, and deploying smart contracts.Last updated -78TypeScriptApache 2.0
- -securityAlicense-qualityA Model Context Protocol server that extends AI capabilities by providing tools to interact with the Solana blockchain, enabling operations like transactions, account queries, and wallet management.Last updated -1Apache 2.0
- -securityFlicense-qualityImplements a Model Context Protocol server that connects with Zerodha Kite API, allowing users to buy/sell stocks and retrieve holdings and positions information.Last updated -1TypeScript