Skip to main content
Glama
fi222

tradier-mcp

by fi222

tradier-mcp

Tradierの証券ツールをClaudeに公開するMCPサーバー。

セットアップ

cd ~/mcp-servers/tradier-mcp
npm install
cp .env.example .env   # then fill in real values

.env

TRADIER_API_TOKEN=your_api_token_here
TRADIER_ACCOUNT_ID=your_account_id_here
TRADIER_ENV=sandbox    # change to "live" for real trading

認証情報の取得: https://developer.tradier.com/user/sign\\\\_up

Related MCP server: ibkr-mcp-server

Claude Codeへの登録

~/.claude/claude_desktop_config.json に追加してください(READMEの結合ブロックまたは以下を参照):

{
  "mcpServers": {
    "tradier": {
      "command": "node",
      "args": ["/home/aribarbari/mcp-servers/tradier-mcp/index.js"]
    }
  }
}

ツール

ツール

エンドポイント

説明

get_balance

GET /accounts/{id}/balances

現金および証拠金残高

get_positions

GET /accounts/{id}/positions

保有ポジション

get_orders

GET /accounts/{id}/orders

すべての注文

get_gainloss

GET /accounts/{id}/gainloss

確定損益履歴

get_profile

GET /user/profile

ユーザープロフィール情報

get_quotes

GET /markets/quotes

リアルタイム相場 (symbolsパラメータ)

get_option_expirations

GET /markets/options/expirations

シンボルの満期日

get_option_chain

GET /markets/options/chains

完全なオプションチェーン

place_equity_order

POST /accounts/{id}/orders

株式注文の送信

cancel_order

DELETE /accounts/{id}/orders/{id}

未決済注文のキャンセル

警告

TRADIER_ENV=live は、実際に注文を行う場合にのみ設定してください。必ず最初に sandbox でテストを行ってください。

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server for integrating with Zerodha Kite API that provides Claude with tools to interact with your Kite trading account, enabling portfolio management, market data access, and order execution.
    81 npm
    5
    MIT
  • A
    license
    A
    quality
    F
    maintenance
    MCP server for Interactive Brokers API integration, enabling account management, trading, market data, and short selling analysis through Claude.
    8
    35
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A read-only MCP server that connects Claude to your eToro account, enabling queries about your portfolio, P\&L, balances, watchlists, live prices, and price history.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that gives Claude direct access to TradersPost webhook trading. Send trade signals, inspect strategy configs, query trade history, and monitor positions.
    MIT