Twinkle HubTwinkle Hub
登入

📌 2026-08-17 新增:⚖️ 台灣法條時光機 — 歷史法條原文 · 修法沿革 · 全文檢索 · 條文關聯圖(935 個 dataset · 35,454+ 筆 row)

查看完整 Changelog →

即時災害告警 (NCDR 整合)

tw_rt_ncdr_active_alerts

台灣​專屬MIT

**關鍵字 / Keywords**: 災害警報 國家災防中心 NCDR alert warning 即時 disaster active

即時災害告警 — 整合氣象署 / 水利署 / 公路局 / 農業部 CAP feed.

涵蓋: 雷雨 / 大雨 / 豪雨 / 颱風 / 淹水 / 河川水位 / 土石流 / 地震 / 海嘯 / 空品 / 公路 etc.

Args:
    CountyId: 5 碼縣市代碼 ("63000" 臺北市) 或縣市名 ("臺北市", 自動轉碼). None=全國.
    limit: max entries (default 20).

⚠ NCDR 強制 3 秒存取間隔, 5-min cache 吸收掉. License: Public Domain.

輸入 schema

{
  "properties": {
    "CountyId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Countyid"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    }
  },
  "title": "tw_rt_ncdr_active_alertsArguments",
  "type": "object"
}

呼叫​方式

配置​好 Twinkle Hub 的 MCP client 後,​agent 會​看到 tw_rt_ncdr_active_alerts。直接讓它呼叫​即可,​例如:

# Ask Claude / any MCP client:
請用 tw_rt_ncdr_active_alerts 處理 "…"。

# It will call:
tw_rt_ncdr_active_alerts(input="…")

尚未​設定 Client?

Claude Desktop 約 3 分鐘即可完成​設定 — 下載 .mcpb 檔案並雙擊​即可,或參閱​文件中的各 Client 安裝​步驟。

查看使用者設定​文件