
TWSEMCPServer
by twjackysu·★ 90·综合分 48
台湾股票市场数据MCP服务器,提供实时报价和金融分析功能。
概述
TWStockMCPServer是一个专为台湾股票市场数据分析设计的模型上下文协议服务器。它整合了台湾证券交易所(TWSE)、柜台买卖中心(TPEx)和台湾期货交易所(TAIFEX)的多个金融API。该服务器提供实时股票信息、财务报表、ESG数据和趋势分析工具,涵盖五大投资分析场景:个股趋势研判、外资投资解读、市场热点捕捉、股利投资规划和投资标的筛选。
试试问 AI
装完之后,这里有 7 个你可以让 AI 做的事:
什么时候选它
如果你需要全面的台股市场数据,包括实时行情和金融分析工具,并希望通过MCP协议集成,这是最佳选择。
什么时候不要选它
如果你需要台湾以外市场的数据,或需要向金融系统写入数据,这个服务器不适合你(它仅提供只读数据)。
此 server 暴露的工具
从 README 抽取出 12 个工具get_stock_daily_infoGet daily trading information for a specific stock
get_stock_monthly_avgGet monthly average prices for a stock
get_three_major_tradesGet three major investors' buying and selling data
get_eshg_dataGet ESG (Environmental, Social, Governance) data for companies
get_financial_statementsGet financial statements of a company
get_dividend_infoGet dividend information and ex-dividend dates
get_stock_indexGet Taiwan stock market index data
get_otc_trading_infoGet trading information for OTC (over-the-counter) stocks
get_realtime_quotesGet real-time stock quotes during market hours
get_futures_dataGet futures market data from Taiwan Futures Exchange
get_stock_valuationGet stock valuation metrics and ratios
get_margin_trading_infoGet margin trading information for stocks
说明:Tool names inferred from data sources section and feature descriptions rather than explicit tool documentation
可对比工具
安装
安装步骤
在线使用(推荐)
{
"twstockmcpserver": {
"transport": "streamable_http",
"url": "https://TW-Stock-MCP-Server.fastmcp.app/mcp"
}
}Docker 使用(stdio,免自架服务器)
{
"twstockmcpserver": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--pull=always",
"-e",
"MCP_STDIO=1",
"ghcr.io/twjackysu/twsemcpserver:latest"
]
}
}Docker 使用(HTTP,自架服务器)
docker run -d -p 8000:8000 -e PORT=8000 ghcr.io/twjackysu/twsemcpserver:latest本地安装
git clone https://github.com/twjackysu/TWStockMCPServer.git
cd TWStockMCPServer
uv sync && uv run fastmcp dev server.pyFAQ
- 这个MCP服务器整合了哪些API?
- 该服务器整合了台湾证券交易所(TWSE) OpenAPI、TWSE网页API、MIS实时报价、柜台买卖中心(TPEx) OpenAPI和期货交易所(TAIFEX) OpenAPI,提供超过168个市场数据分析工具。
- 我如何使用这个MCP服务器?
- 您可以通过提供的URL在线使用,使用Docker通过stdio或HTTP传输方式,或使用uv包管理器在本地安装Python版。
TWSEMCPServer 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。