Twinkle HubTwinkle Hub
登入

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

查看完整 Changelog →

政府 OpenData 跨領域 niche 語意檢索

tw_search_niche_corpora

台灣​專屬MIT

**關鍵字 / Keywords**: 特殊 corpus 小眾 niche corpora search 附屬 語料

跨領域 niche 政府 OpenData 語意檢索 (5,468 entries, 9 sources).

Catch-all corpus 涵蓋 5 個 topic / 9 個小 dataset 的混合集合:
    文化     客委會文獻刻契 / 國立臺灣歷史博物館法規
    環境     環保政策月刊 / 環境教育人員認證課程
    稅務     中區國稅局復查決定書 / 行政救濟 FAQ
    智財     智慧財產局智權知識問答 / 專利年費 FAQ
    公司治理 違反董事會議事辦法常見缺失

Args:
    query: 自然語言 (e.g. "客家伙房", "PM2.5", "復查行政救濟",
                        "薪資所得免稅")
    topic: 主題 filter — "文化"/"環境"/"稅務"/"智財"/"公司治理"
    agency: 機關名稱必含字串(寬鬆 match)
    dataset_id: 鎖定特定 dataset_id
    limit: top-K (1..100)

Returns:
    {n_corpus, n_returned, query, hits: [{topic, agency, dataset_id,
     title, content, date, link, similarity}, ...]}

輸入 schema

{
  "properties": {
    "query": {
      "title": "Query",
      "type": "string"
    },
    "topic": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Topic"
    },
    "agency": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Agency"
    },
    "dataset_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Dataset Id"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    },
    "mode": {
      "default": "hybrid",
      "title": "Mode",
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "title": "tw_search_niche_corporaArguments",
  "type": "object"
}

呼叫​方式

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

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

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

尚未​設定 Client?

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

查看使用者設定​文件