TWSE MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| getStockDailyB | Get daily trading information for all listed stocks on TWSE |
| getStockPERatiosA | Get P/E ratios, dividend yields, and price-to-book ratios for all stocks |
| getMarketIndexA | Get daily market index statistics including TAIEX and other indices |
| getTopForeignHoldingsC | Get top 20 foreign and mainland investor stock holdings |
| getMonthlyStatsB | Get monthly stock trading statistics including high/low prices and volumes |
| searchStockC | Search for specific stock information by code or name |
| getStockDayAvgB | Get daily closing prices and monthly average prices for all stocks |
| getMarginTradingC | Get margin trading and short selling statistics |
| getTop20VolumeA | Get top 20 stocks by daily trading volume |
| getFiveSecondStatsB | Get real-time 5-second bid/ask and transaction statistics |
| getHolidayScheduleA | Get TWSE market holiday schedule and trading days |
| getNewListingsA | Get recently listed companies on TWSE |
| getSuspendedListingsB | Get companies that have been delisted or suspended |
| getETFRankingB | Get top ETFs by regular investment accounts |
| getForeignCategoryHoldingsC | Get foreign investor holdings by industry category |
| getIndexHistoryB | Get historical TAIEX index data (open, high, low, close) |
| getMonthlyRevenueB | Get monthly revenue reports for all listed companies |
| getIncomeStatementB | Get quarterly income statements for all listed companies (general industry) |
| getBalanceSheetA | Get quarterly balance sheets for all listed companies (general industry) |
| getIndustryEPSA | Get earnings per share (EPS) statistics by industry |
| getProfitAnalysisA | Get comprehensive profitability analysis including ROE, ROA, profit margins |
| searchFinancialsC | Search financial reports for specific company |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 22 tools
Tools target distinct data categories (financial statements, trading stats, indices, etc.) with clear descriptions. Minor overlap between daily, real-time, and monthly stock stats, but each serves a specific purpose.
Most tools follow a 'get' + noun phrase pattern. Two search tools (searchFinancials, searchStock) break the pattern, but overall naming is predictable.
22 tools cover a wide range of TWSE data without being excessive. Each tool seems necessary for comprehensive market and financial reporting.
Covers fundamental statements, daily/monthly/real-time trading, indices, EPS, PER, margin trading, foreign holdings. Lacks some advanced data like order book or corporate actions, but solid for typical investor needs.