
Tradernet Mcp
io.github.verbart由 GitHub 帳號 verbart 發布v1.1.1更新於 Oct 24, 2026
MCP server for Tradernet/Freedom24 trading API — portfolio, orders, quotes, and more
概覽
一個本機 MCP 伺服器,將 AI 助理連接到 Tradernet/Freedom24 交易 API,用於查看持倉、行情、下單與價格提醒。
- 可以做什麼
- 查看帳戶資訊、投資組合摘要、未平倉部位、餘額與損益,以及證券詳情和交易時段。下達買進、賣出、放空或融資訂單,取消有效訂單,並為部位設定停損或停利。查詢報價與歷史 OHLCV K 線資料,依名稱或代號搜尋證券。建立與刪除附通知的價格提醒。透過原始呼叫工具直接執行任意 Tradernet API 指令。
- 適用情境
- 適合擁有 Tradernet 或 Freedom24 帳戶、希望在桌面 AI 助理中以對話方式查看部位、研究證券與行情,或下單並管理訂單和提醒的使用者。
- 執行需求
- 透過 stdio 在本機執行,通常使用 npx 與 Node.js。需要 Tradernet/Freedom24 帳戶,以及在個人資料設定中產生的 API 金鑰,透過環境變數 TRADERNET_PUBLIC_KEY 與 TRADERNET_PRIVATE_KEY 提供。需要連線至 Tradernet API 的網路;可選的 TRADERNET_API_URL 可覆寫基礎位址。僅限桌面端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Tradernet Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Tradernet MCP Server
MCP server for the Tradernet / Freedom24 trading platform API. Manage your portfolio, place orders, get quotes, search tickers, set alerts — all through AI assistants like Claude, ChatGPT, and others.
Available Tools
Setup
1. Get API Keys
- Log in to Tradernet or Freedom24
- Go to your profile settings
- Generate API keys (Public Key and Private Key)
2. Configure
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Claude Code
Then set environment variables TRADERNET_PUBLIC_KEY and TRADERNET_PRIVATE_KEY.
ChatGPT
ChatGPT only supports remote MCP servers over HTTP. To connect this stdio server, use supergateway as a bridge and ngrok to expose it publicly:
- Start the server with HTTP transport:
- Expose it via ngrok:
- In ChatGPT: Settings → Connectors → Add Connector, enter your ngrok URL with
/mcppath (e.g.https://abc123.ngrok-free.app/mcp)
Requires ChatGPT Pro, Team, or Enterprise plan with Developer Mode enabled.
Usage Examples
Once connected, you can ask your AI assistant things like:
- "Show my portfolio"
- "What are my open positions?"
- "Buy 10 shares of AAPL"
- "Set stop-loss for SBER at 250"
- "Search for Tesla stock"
- "Show AAPL price history for the last month"
- "Set an alert when MSFT crosses $400"
Environment Variables
API Documentation
This server implements the Tradernet API. For the full API reference, see the official documentation.
License
MIT
來源:README.md,提交 7061eb4
工具
0版本歷史
1- v1.1.1最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。