TWSEMCPServer
mcp
Pass
Health Pass
- License — License: MIT
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 64 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
Purpose
This is a Model Context Protocol (MCP) server that provides large language models with real-time access to the Taiwan Stock Exchange (TWSE) OpenAPI. It allows AI assistants to fetch and analyze stock prices, financial reports, foreign investment trends, and ESG data.
Security Assessment
Overall risk: Low. The tool acts as a bridge to fetch public financial market data, meaning it does not inherently interact with your private, sensitive files or local infrastructure. A scan of its codebase found no hardcoded secrets and no dangerous execution patterns like arbitrary shell commands. However, because its core function involves making external network requests to the TWSE API and an optional hosted endpoint, it requires internet access. Users should be aware that their stock queries will be sent over the network.
Quality Assessment
Overall quality: Good. The project is highly active, with its most recent code push happening just today. It enjoys a solid foundation of community trust, evidenced by 64 GitHub stars. The repository is properly standardized, featuring the permissive MIT license, a clear description, and an automated API testing workflow via GitHub Actions. It is well-documented and provides clear instructions for both local installation and remote usage.
Verdict
Safe to use.
This is a Model Context Protocol (MCP) server that provides large language models with real-time access to the Taiwan Stock Exchange (TWSE) OpenAPI. It allows AI assistants to fetch and analyze stock prices, financial reports, foreign investment trends, and ESG data.
Security Assessment
Overall risk: Low. The tool acts as a bridge to fetch public financial market data, meaning it does not inherently interact with your private, sensitive files or local infrastructure. A scan of its codebase found no hardcoded secrets and no dangerous execution patterns like arbitrary shell commands. However, because its core function involves making external network requests to the TWSE API and an optional hosted endpoint, it requires internet access. Users should be aware that their stock queries will be sent over the network.
Quality Assessment
Overall quality: Good. The project is highly active, with its most recent code push happening just today. It enjoys a solid foundation of community trust, evidenced by 64 GitHub stars. The repository is properly standardized, featuring the permissive MIT license, a clear description, and an automated API testing workflow via GitHub Actions. It is well-documented and provides clear instructions for both local installation and remote usage.
Verdict
Safe to use.
台灣證交所OpenAPI 的 MCP Server
README.md
🚀 TWStockMCPServer
一個全面的模型上下文協議 (MCP) 伺服器,專為台灣證券交易所 (TWSE) 數據分析設計,提供即時股票資訊、財務報表、ESG 數據和趨勢分析功能。
🌏 語言版本
- English | 繁體中文
🎬 示範影片
VSCode Copilot demo

Gemini CLI demo

觀看 TWStockMCPServer 功能展示
✨ 五大投資分析情境
📊 個股趨勢研判
短中長期技術面、基本面、籌碼面綜合分析
"分析台積電(2330)最近的走勢" / "鴻海(2317)適合長期投資嗎?"
💰 外資投資解讀
外資持股、產業流向、個股進出追蹤
"外資最近在買什麼股票?" / "半導體業外資投資趨勢如何?"
🔥 市場熱點捕捉
重大訊息、異常成交、權證活躍度監控
"今天有什麼重大消息?" / "哪些股票交易量異常活躍?"
💎 股利投資規劃
高殖利率篩選、除權息行事曆、配息穩定性分析
"推薦一些高殖利率股票" / "下個月有哪些公司要除權息?"
🎯 投資標的篩選
價值股/成長股篩選、ESG風險評估
"幫我找一些被低估的價值股" / "ESG表現好的公司有哪些?"
⚙️ 快速開始
🚀 線上使用(推薦)
{
"twstockmcpserver": {
"transport": "streamable_http",
"url": "https://TW-Stock-MCP-Server.fastmcp.app/mcp"
}
}
🔧 本地安裝
git clone https://github.com/twjackysu/TWStockMCPServer.git
cd TWStockMCPServer
uv sync && uv run fastmcp dev server.py
🤝 參與貢獻
歡迎PR!查看現有API列表了解可擴展的功能。
📄 授權 & 免責聲明
MIT授權 | 僅供參考,不構成投資建議
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found