Formosa MCP — Taiwan data

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

我该使用它吗

质量与安全性

B
描述质量
79%
模式完整度
77%
命名质量
80%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(5)

  • LOWTool 'stock_quote' description lacks action verb在 stock_quote 中
  • LOWTool 'garbage_schedule' description lacks action verb在 garbage_schedule 中
  • LOWTool 'outage_schedule' description lacks action verb在 outage_schedule 中
  • LOWTool 'thsr_timetable' description lacks action verb在 thsr_timetable 中
  • LOWTool 'tra_timetable' description lacks action verb在 tra_timetable 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,523token 数(工具定义)
~742 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.19%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

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

可运行的软件包

npmformosa-mcp0.2.0stdio

远程端点

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

它能做什么

工具清单

工具(10)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢invoice_get_winning_numbers(period)

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

输入模式

{
  "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.

输入模式

{
  "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.

输入模式

{
  "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.

输入模式

{
  "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.

输入模式

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

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

输入模式

{
  "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.

输入模式

{
  "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.

输入模式

{
  "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.

输入模式

{
  "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.

输入模式

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

社区

评价此服务器

证据

最近观测

已验证未记录版本10 个工具