by twjackysu
台灣證交所OpenAPI 的 MCP Server 同時整合部分即時報價和櫃檯買賣中心TPEx OpenAPI, 臺灣期貨交易所TAIFEX OpenAPI
# Add to your Claude Code skills
git clone https://github.com/twjackysu/TWSEMCPServerGuides for using mcp servers skills like TWSEMCPServer.
Last scanned: 5/30/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-30T17:04:18.354Z",
"npmAuditRan": true,
"pipAuditRan": false
}TWSEMCPServer is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by twjackysu. 台灣證交所OpenAPI 的 MCP Server 同時整合部分即時報價和櫃檯買賣中心TPEx OpenAPI, 臺灣期貨交易所TAIFEX OpenAPI. It has 151 GitHub stars.
Yes. TWSEMCPServer passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/twjackysu/TWSEMCPServer" and add it to your Claude Code skills directory (see the Installation section above).
TWSEMCPServer is primarily written in Python. It is open-source under twjackysu on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh TWSEMCPServer against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
一個全面的模型上下文協議 (MCP) 伺服器,專為台灣證券交易所 (TWSE) 數據分析設計,提供即時股票資訊、財務報表、ESG 數據和趨勢分析功能。


觀看 TWStockMCPServer 功能展示
短中長期技術面、基本面、籌碼面綜合分析
"分析台積電(2330)最近的走勢" / "鴻海(2317)適合長期投資嗎?"
外資持股、產業流向、個股進出追蹤
"外資最近在買什麼股票?" / "半導體業外資投資趨勢如何?"
重大訊息、異常成交、權證活躍度監控
"今天有什麼重大消息?" / "哪些股票交易量異常活躍?"
高殖利率篩選、除權息行事曆、配息穩定性分析
"推薦一些高殖利率股票" / "下個月有哪些公司要除權息?"
價值股/成長股篩選、ESG風險評估
"幫我找一些被低估的價值股" / "ESG表現好的公司有哪些?"
Put/Call Ratio、大額交易人未沖銷部位、三大法人期貨/選擇權部位
"台指期籌碼現在偏多還是偏空?" / "選擇權大額交易人在哪個價位布局?"
上市/上櫃三大法人買賣超、外資產業配置
"三大法人今天買超哪些股票?" / "外資在哪個產業加碼?"
獲利能力、成長性、財務結構、配息政策、公司治理五面向分析
"幫我做台積電的財報體檢" / "這家公司的財務體質健不健康?"
處置股、注意股、當沖限制、停資停券名單比對
"這檔股票買進前有沒有被列處置或注意?"
openapi.taifex.com.tw 僅提供最新一個交易日,本專案額外串接期交所網站下載頁面
(www.taifex.com.tw),可回溯查詢台指期等期貨每日OHLC歷史、三大法人期貨部位歷史
"幫我拉台指期最近一個月的每日OHLC" / "外資期貨部位過去三個月怎麼變化?"
本專案由 Prefect Horizon 提供支援,免費託管線上 remote MCP Server:
{
"twstockmcpserver": {
"transport": "streamable_http",
"url": "https://TW-Stock-MCP-Server.fastmcp.app/mcp"
}
}
⚠️ 使用限制:為維持服務永續,此線上服務設有合理使用量上限(非無限制)。若需商業使用或較高呼叫量,強烈建議改用下方 Docker/本機方式自行架設伺服器,或使用 Prefect Horizon 的付費方案。
🙏 感謝 Prefect Horizon 支援本開源專案,讓社群能免費輕鬆試用。
{
"twstockmcpserver": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--pull=always",
"-e",
"MCP_STDIO=1",
"ghcr.io/twjackysu/twsemcpserver:latest"
]
}
}
git clone https://github.com/twjackysu/TWStockMCPServer.git
cd TWStockMCPServer
uv sync && uv run fastmcp dev server.py
| 來源 | 說明 | Tools |
|---|---|---|
| TWSE OpenAPI | 台灣證交所官方 API — 公司治理、ESG、財報、交易、指數等 | 143 個 |
| TWSE Web API | 證交所網頁 API — 個股日K、月均價、估值、融資融券、上市三大法人買賣超(金額/股數)、全市場收盤行情、加權指數歷史、外資持股歷史、個股月/年成交彙總、鉅額交易明細、融券借券餘額/成交 | 16 個 |
| MIS 即時報價 | 盤中即時多股報價(上市+上櫃) | 1 個 |
| TPEx OpenAPI | 櫃買中心 — 上櫃日收盤、三大法人(個股/彙總)、本益比、融資融券、注意/處置股、除權息、零股、指數 | 10 個 |
| TAIFEX OpenAPI | 期交所 — 三大法人系列、大額交易人部位、每日行情、選擇權分析、保證金、年月統計 | 16 個 |
| TAIFEX 網站下載 | 期交所網站歷史資料下載頁面 — 期貨每日OHLC歷史、三大法人期貨部位歷史、Put/Call Ratio歷史、三大法人選擇權買賣權分計歷史、大額交易人未沖銷部位歷史、選擇權每日OHLC歷史、三大法人期貨+選擇權總表歷史、三大法人期貨/選擇權分計歷史、三大法人各選擇權契約歷史(openapi.taifex.com.tw 僅提供最新一日,無歷史查詢功能) | 9 個 |
歡迎PR!
MIT授權 | 僅供參考,不構成投資建議