The TWSE MCP Server provides comprehensive tools for analyzing Taiwan Stock Exchange data, including company fundamentals, trading statistics, market intelligence, and ESG metrics.
• Company Analysis: Access detailed profiles, financial statements (income statements, balance sheets), dividend data, monthly revenue reports, and major announcements. Financial data automatically adapts to industry types (general, financial, insurance).
• Trading & Valuation: Retrieve daily, monthly, and yearly trading data, real-time 5-second statistics, closing prices, and key valuation metrics (P/E ratio, dividend yield, P/B ratio). Track ex-dividend/ex-rights schedules.
• Market Intelligence: Monitor TAIEX historical data, market indices, margin trading balances, foreign investment holdings by industry, and identify top 20 companies with highest foreign investment.
• ESG & Governance: Obtain climate management, risk policies, supply chain transparency, information security indicators, and corporate governance data for sustainability analysis.
• Derivatives & ETFs: Access warrant trading data, daily trader participation counts, and ETF rankings based on regular investment accounts.
• News & Events: Retrieve official TWSE announcements, company material disclosures, and market events for timely market context.
Enables configuration of the server using environment variables stored in a .env file for setting workspace paths and other parameters.
Provides tools for contributing to the TWStockMCPServer project through GitHub Issues, Discussions, and Pull Requests for bug reporting and feature suggestions.
Runs on Python 3.8+ with support for Python packages and libraries for implementing stock data analysis tools.
Displays status badges in the README for license, Python version, and MCP compatibility information.
🚀 TWStockMCPServer
一個全面的模型上下文協議 (MCP) 伺服器,專為台灣證券交易所 (TWSE) 數據分析設計,提供即時股票資訊、財務報表、ESG 數據和趨勢分析功能。
🌏 語言版本
English | 繁體中文
🎬 示範影片
VSCode Copilot demo

Gemini CLI demo

觀看 TWStockMCPServer 功能展示
✨ 五大投資分析情境
📊 個股趨勢研判
短中長期技術面、基本面、籌碼面綜合分析
"分析台積電(2330)最近的走勢" / "鴻海(2317)適合長期投資嗎?"
💰 外資投資解讀
外資持股、產業流向、個股進出追蹤
"外資最近在買什麼股票?" / "半導體業外資投資趨勢如何?"
🔥 市場熱點捕捉
重大訊息、異常成交、權證活躍度監控
"今天有什麼重大消息?" / "哪些股票交易量異常活躍?"
💎 股利投資規劃
高殖利率篩選、除權息行事曆、配息穩定性分析
"推薦一些高殖利率股票" / "下個月有哪些公司要除權息?"
🎯 投資標的篩選
價值股/成長股篩選、ESG風險評估
"幫我找一些被低估的價值股" / "ESG表現好的公司有哪些?"
📈 API 整合進度
目前進度:143/143 (100.0%) 已完成 ✅
想了解詳細的API覆蓋情況?查看我們的 API TODO List 追蹤實作進度!
💡 執行
python generate_todo.py可自動更新進度統計
⚙️ 快速開始
🚀 線上使用(推薦)
🔧 本地安裝
🤝 參與貢獻
歡迎PR!查看現有API列表了解可擴展的功能。
📄 授權 & 免責聲明
MIT授權 | 僅供參考,不構成投資建議
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.
Tools
台灣證交所MCPServer
Related Resources
Related MCP Servers
- -security-license-qualitySatellite Tracking MCP ServerLast updated -1MIT License
- -security-license-qualityMarineTraffic MCP ServerLast updated -6MIT License
- MIT License