Twinkle HubTwinkle Hub
Sign in

📌 2026-08-17 added: ⚖️ Taiwan statute time machine — historical article text · revision history · full-text search · citation graph (935 datasets · 35,454+ rows)

View full changelog →

HK datasets search

hk_search_datasets

TW-specificMIT

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`.

Input 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"
}

How to call

Once your Twinkle Hub MCP client is configured, your agent will see hk_search_datasets. Just ask it to call — example:

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

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

Haven't set up a client yet?

Claude Desktop in 3 minutes — download the .mcpb and double-click, or see docs for other clients.

See user docs