Formosa MCP — Taiwan data

Taiwan data for AI agents: THSR/TRA timetables, TWSE/TPEx stocks, invoice lottery, garbage, outages

Should I use this

Quality & Safety

B
Description quality
79%
Schema completeness
77%
Naming quality
80%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Findings (5)

  • LOWTool 'stock_quote' description lacks action verbin stock_quote
  • LOWTool 'garbage_schedule' description lacks action verbin garbage_schedule
  • LOWTool 'outage_schedule' description lacks action verbin outage_schedule
  • LOWTool 'thsr_timetable' description lacks action verbin thsr_timetable
  • LOWTool 'tra_timetable' description lacks action verbin tra_timetable

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~1,523Tokens (tool definitions)
~742 BTypical response size
Moderate attention impact (1.19% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "formosa-mcp": {
      "command": "npx",
      "args": [
        "formosa-mcp"
      ]
    }
  }
}

Runnable packages

npmformosa-mcp0.2.0stdio

Remote endpoints

https://formosa-mcp.ycsmiley.workers.dev/mcpstreamable-http

What it can do

Tool inventory

Tools (10)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢invoice_get_winning_numbers(period)

查詢統一發票中獎號碼與領獎期間。Get Taiwan invoice winning numbers; omit period for the latest draw.

Input Schema

{
  "type": "object",
  "properties": {
    "period": {
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
🟢invoice_check(number, period)

統一發票對獎;未指定期別時檢查最新一期與仍可領獎的前一期。Check a Taiwan invoice number; 3–7 digits only check sixth prizes.

Input Schema

{
  "type": "object",
  "properties": {
    "number": {
      "type": "string"
    },
    "period": {
      "type": "string"
    }
  },
  "required": [
    "number"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪stock_quote(query)

以股票代號或名稱查詢上市/上櫃盤後行情、本益比與殖利率,非即時。Taiwan TWSE/TPEx end-of-day quote by code or name, not real-time.

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪stock_market_summary

查詢上市加權指數、上櫃指數收盤漲跌、成交金額與融資券餘額(張)。兩市場各有資料日期,盤後資料,非即時;無需參數。Taiwan market closing summary, separately dated TWSE and TPEx; not real-time.

Input Schema

{
  "type": "object",
  "properties": {},
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪stock_dividends(query)

查詢上市/上櫃近期除權息日程,可指定股票代號或名稱。Upcoming Taiwan TWSE/TPEx ex-dividend and ex-right dates; optional code or name.

Input Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string"
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪garbage_schedule(city, district, keyword, weekday, time)

查詢新北市、臺北市、臺中市垃圾車定點收運時刻。

Input Schema

{
  "type": "object",
  "properties": {
    "city": {
      "type": "string",
      "minLength": 1,
      "maxLength": 30,
      "description": "城市名稱"
    },
    "district": {
      "description": "行政區;關鍵字包含行政區時可省略",
      "type": "string",
      "maxLength": 30
    },
    "keyword": {
      "description": "里、路名或地點",
      "type": "string",
      "maxLength": 100
    },
    "weekday": {
      "description": "今天、明天或週一至週日",
      "type": "string",
      "maxLength": 10
    },
    "time": {
      "description": "HH:MM,只顯示此時間及之後的收運點",
      "type": "string",
      "maxLength": 10
    }
  },
  "required": [
    "city"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪outage_schedule(city, district, keyword, type, start_date, ...)

查詢計畫性停水、停電公告;緊急搶修、事故、颱風造成的停水停電不會事先公告。Planned water/power outages only.

Input Schema

{
  "type": "object",
  "properties": {
    "city": {
      "type": "string",
      "minLength": 1,
      "maxLength": 30,
      "description": "縣市名稱"
    },
    "district": {
      "description": "行政區名稱",
      "type": "string",
      "maxLength": 30
    },
    "keyword": {
      "description": "路名或地區關鍵字",
      "type": "string",
      "maxLength": 100
    },
    "type": {
      "default": "all",
      "description": "停水、停電或全部",
      "type": "string",
      "enum": [
        "water",
        "power",
        "all"
      ]
    },
    "start_date": {
      "description": "起日 YYYY-MM-DD,預設臺北時間今天",
      "type": "string",
      "maxLength": 10
    },
    "end_date": {
      "description": "迄日 YYYY-MM-DD,預設今天加六天;最多 31 天",
      "type": "string",
      "maxLength": 10
    }
  },
  "required": [
    "city"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪thsr_timetable(origin, destination, date, time)

查高鐵某日起迄站時刻;站名或代碼,日期預設臺北今天,時間 HH:mm;24:00–29:59 表示營運日隔日凌晨。THSR OD timetable; optional date and departure time.

Input Schema

{
  "type": "object",
  "properties": {
    "origin": {
      "type": "string",
      "maxLength": 50
    },
    "destination": {
      "type": "string",
      "maxLength": 50
    },
    "date": {
      "type": "string"
    },
    "time": {
      "description": "時間 HH:mm;24:00–29:59 表示營運日隔日凌晨",
      "type": "string"
    }
  },
  "required": [
    "origin",
    "destination"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪tra_timetable(origin, destination, date, time)

查臺鐵某日起迄站時刻與車種;站名或代碼,日期預設臺北今天,時間 HH:mm;24:00–29:59 表示營運日隔日凌晨。TRA OD timetable with train types.

Input Schema

{
  "type": "object",
  "properties": {
    "origin": {
      "type": "string",
      "maxLength": 50
    },
    "destination": {
      "type": "string",
      "maxLength": 50
    },
    "date": {
      "type": "string"
    },
    "time": {
      "description": "時間 HH:mm;24:00–29:59 表示營運日隔日凌晨",
      "type": "string"
    }
  },
  "required": [
    "origin",
    "destination"
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
⚪tra_live(train_no, station)

查臺鐵車次目前位置與誤點,或車站即時看板;train_no、station 恰填一項。TRA live train position/delay or station board; provide exactly one argument.

Input Schema

{
  "type": "object",
  "properties": {
    "train_no": {
      "type": "string"
    },
    "station": {
      "type": "string",
      "maxLength": 50
    }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded10 tools