Taiwan data for AI agents: THSR/TRA timetables, TWSE/TPEx stocks, invoice lottery, garbage, outages
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Optional: your own TDX (Taiwan MOTC Transport Data eXchange) client ID for THSR/TRA tools. Not stored or logged.
Optional: your own TDX client secret, sent together with X-TDX-Client-Id. Not stored or logged.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
查詢新北市、臺北市、臺中市垃圾車定點收運時刻。
城市名稱
HH:MM,只顯示此時間及之後的收運點
里、路名或地點
今天、明天或週一至週日
行政區;關鍵字包含行政區時可省略
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http formosa-mcp https://formosa-mcp.ycsmiley.workers.dev/mcp
Headers
X-TDX-Client-Id (optional, not in the config above): Optional: your own TDX (Taiwan MOTC Transport Data eXchange) client ID for THSR/TRA tools. Not stored or logged.X-TDX-Client-Secret (optional, not in the config above): Optional: your own TDX client secret, sent together with X-TDX-Client-Id. Not stored or logged.查詢新北市、臺北市、臺中市垃圾車定點收運時刻。
| Argument | Type | Description |
|---|---|---|
| city* | string | 城市名稱 |
| time | string | HH:MM,只顯示此時間及之後的收運點 |
| keyword | string | 里、路名或地點 |
| weekday | string | 今天、明天或週一至週日 |
| district | string | 行政區;關鍵字包含行政區時可省略 |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"city"
],
"properties": {
"city": {
"type": "string",
"maxLength": 30,
"minLength": 1,
"description": "城市名稱"
},
"time": {
"type": "string",
"maxLength": 10,
"description": "HH:MM,只顯示此時間及之後的收運點"
},
"keyword": {
"type": "string",
"maxLength": 100,
"description": "里、路名或地點"
},
"weekday": {
"type": "string",
"maxLength": 10,
"description": "今天、明天或週一至週日"
},
"district": {
"type": "string",
"maxLength": 30,
"description": "行政區;關鍵字包含行政區時可省略"
}
}
}統一發票對獎;未指定期別時檢查最新一期與仍可領獎的前一期。Check a Taiwan invoice number; 3–7 digits only check sixth prizes.
| Argument | Type | Description |
|---|---|---|
| number* | string | |
| period | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"number"
],
"properties": {
"number": {
"type": "string"
},
"period": {
"type": "string"
}
}
}查詢統一發票中獎號碼與領獎期間。Get Taiwan invoice winning numbers; omit period for the latest draw.
| Argument | Type | Description |
|---|---|---|
| period | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"period": {
"type": "string"
}
}
}查詢計畫性停水、停電公告;緊急搶修、事故、颱風造成的停水停電不會事先公告。Planned water/power outages only.
| Argument | Type | Description |
|---|---|---|
| city* | string | 縣市名稱 |
| type | string | 停水、停電或全部 |
| keyword | string | 路名或地區關鍵字 |
| district | string | 行政區名稱 |
| end_date | string | 迄日 YYYY-MM-DD,預設今天加六天;最多 31 天 |
| start_date | string | 起日 YYYY-MM-DD,預設臺北時間今天 |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"city"
],
"properties": {
"city": {
"type": "string",
"maxLength": 30,
"minLength": 1,
"description": "縣市名稱"
},
"type": {
"enum": [
"water",
"power",
"all"
],
"type": "string",
"default": "all",
"description": "停水、停電或全部"
},
"keyword": {
"type": "string",
"maxLength": 100,
"description": "路名或地區關鍵字"
},
"district": {
"type": "string",
"maxLength": 30,
"description": "行政區名稱"
},
"end_date": {
"type": "string",
"maxLength": 10,
"description": "迄日 YYYY-MM-DD,預設今天加六天;最多 31 天"
},
"start_date": {
"type": "string",
"maxLength": 10,
"description": "起日 YYYY-MM-DD,預設臺北時間今天"
}
}
}查詢上市/上櫃近期除權息日程,可指定股票代號或名稱。Upcoming Taiwan TWSE/TPEx ex-dividend and ex-right dates; optional code or name.
| Argument | Type | Description |
|---|---|---|
| query | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"query": {
"type": "string"
}
}
}以股票代號或名稱查詢上市/上櫃盤後行情、本益比與殖利率,非即時。Taiwan TWSE/TPEx end-of-day quote by code or name, not real-time.
| Argument | Type | Description |
|---|---|---|
| query* | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"query"
],
"properties": {
"query": {
"type": "string"
}
}
}查高鐵某日起迄站時刻;站名或代碼,日期預設臺北今天,時間 HH:mm;24:00–29:59 表示營運日隔日凌晨。THSR OD timetable; optional date and departure time.
| Argument | Type | Description |
|---|---|---|
| date | string | |
| time | string | 時間 HH:mm;24:00–29:59 表示營運日隔日凌晨 |
| origin* | string | |
| destination* | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"origin",
"destination"
],
"properties": {
"date": {
"type": "string"
},
"time": {
"type": "string",
"description": "時間 HH:mm;24:00–29:59 表示營運日隔日凌晨"
},
"origin": {
"type": "string",
"maxLength": 50
},
"destination": {
"type": "string",
"maxLength": 50
}
}
}查臺鐵車次目前位置與誤點,或車站即時看板;train_no、station 恰填一項。TRA live train position/delay or station board; provide exactly one argument.
| Argument | Type | Description |
|---|---|---|
| station | string | |
| train_no | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"station": {
"type": "string",
"maxLength": 50
},
"train_no": {
"type": "string"
}
}
}查臺鐵某日起迄站時刻與車種;站名或代碼,日期預設臺北今天,時間 HH:mm;24:00–29:59 表示營運日隔日凌晨。TRA OD timetable with train types.
| Argument | Type | Description |
|---|---|---|
| date | string | |
| time | string | 時間 HH:mm;24:00–29:59 表示營運日隔日凌晨 |
| origin* | string | |
| destination* | string |
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"origin",
"destination"
],
"properties": {
"date": {
"type": "string"
},
"time": {
"type": "string",
"description": "時間 HH:mm;24:00–29:59 表示營運日隔日凌晨"
},
"origin": {
"type": "string",
"maxLength": 50
},
"destination": {
"type": "string",
"maxLength": 50
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 4, 2026.
No readOnlyHint / destructiveHint annotations, so clients can't tell a read from a write without asking.
Fix: Add annotations to each tool, e.g. { readOnlyHint: true } for tools that only read.