{"repo":"sacahan/CasualMarket","free":true,"listed":false,"github":"https://github.com/sacahan/CasualMarket","clone":"git clone https://github.com/sacahan/CasualMarket.git","description":"功能完整的台灣股票交易 Model Context Protocol (MCP) Server，提供即時股價查詢、財務分析、市場資訊等多種功能","language":"Python","stars":30,"topics":["mcp-server","taiwan-stock","finance","quantitative","trading","twse","investment"],"license":"MIT","category":"mcp-servers","readme_excerpt":"CasualMarket - 台灣股票交易 MCP Server 一個功能完整的 台灣股票交易 MCP Server ，提供超過 23 個專業工具 ，涵蓋即時股價查詢、財務分析、市場資訊、模擬交易等多種功能。基於 FastMCP 2.7.0+ 框架開發，具備智慧快取和頻率限制機制。 部署模式 ✅ stdio 模式 : 本地開發與 Claude Desktop 整合 ✅ Docker + SSE 模式 : 容器化部署，HTTP 介面訪問 目錄 - 快速開始 - MCP 安裝與配置 - Docker 部署 - 核心功能 - 工具列表 - 使用範例 - 支援 - 許可證 快速開始 CasualMarket MCP Server 已發佈在 PyPI，您可以直接透過 uvx 安裝並在支援 MCP 的工具中使用，無需本地配置。 系統需求： - Python 3.12+ - uv 套件管理器（用於執行 MCP Server） 最簡單的方式是根據您使用的工具，按照下方「MCP 安裝與配置」部分進行配置即可。 MCP 安裝與配置 Claude Desktop 配置 編輯 Claude Desktop 配置檔： 配置檔位置： - macOS: /Library/Application Support/Claude/claude desktop config.json - Windows: %APPDATA%\\Claude\\claude desktop config.json 配置內容（推薦方式 - 使用 GitHub Repo）： 配置內容（本地開發方式）： Cursor 配置 編輯 Cursor 配置檔： 配置檔位置： - macOS: /Library/Application Support/Cursor/User/settings.json - Windows: %APPDATA%\\Cursor\\User\\settings.json - Linux: /.config/Cursor/User/settings.json 配置內容： 在 settings.json 中加入以下配置： 或者直接編輯 .cursor/mcp.json ： VS Code 配置（通過 Claude 擴展） 如果使用 VS Code 中的 Claude 擴展，配置方法類似： 配置檔位置： - macOS: /Library/Application Support/Code/User/settings.json - Windows: %APPDATA%\\Code\\User\\settings.json - Linux: /.config/Code/User/settings.json 配置內容： CodePilot / 其他 MCP 客戶端 對於支援 MCP 協定的其他工具，通用配置範本： 配置參數說明 MCP Server 支援以下環境變數： API 和快取相關： 參數 說明 預設值 ------ ------ ------- LOG LEVEL 日誌級別 INFO MARKET MCP API TIMEOUT API 請求超時時間（秒） 10 MARKET MCP API RETRIES API 請求重試次數 5 MARKET MCP CACHE TTL 快取存活時間（秒） 1800 MARKET MCP CACHE MAX SIZE 快取最大條目數 1000 MARKET MCP CACHE MAX MEMORY MB 快取最大記憶體使用（MB） 200.0 MARKET MCP CA","default_branch":null,"files":null,"tree":[],"storefront":"/r/sacahan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sacahan/CasualMarket/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}