Twinkle HubTwinkle Hub
登入

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

查看完整 Changelog →

香港資料集搜尋 (data.gov.hk)

hk_search_datasets

台灣​專屬MIT

Scope: Hong Kong public datasets and government data.

Keyword search HK data.gov.hk catalog (3,799 datasets · FTS BM25 · 3 langs).




Args:
    query: keyword(s) · en / 繁 / 简 all indexed together
           (e.g. "交通", "typhoon", "金融統計", "藥物", "醫院").
    agency: filter by `organization_name` (e.g. "hk-censtatd" for 政府
    fmt: filter by resource format (e.g. "CSV", "JSON", "XML").
    limit: default 20 · raise to 50+ for exhaustive scans.

Returns dict with `results`, each with: name, title (en/tc/sc), org
(en/tc), num_resources, tags, metadata_modified, score. Pass `name` to
`hk_list_resources` or `hk_query_rows`.

輸入 schema

{
  "properties": {
    "query": {
      "title": "Query",
      "type": "string"
    },
    "agency": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Agency"
    },
    "fmt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Fmt"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    }
  },
  "required": [
    "query"
  ],
  "title": "hk_search_datasetsArguments",
  "type": "object"
}

呼叫​方式

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

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

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

尚未​設定 Client?

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

查看使用者設定​文件