Twinkle HubTwinkle Hub
登入

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

查看完整 Changelog →

英國 開放資料 資料集 metadata (欄位/資源/授權)

uk_get_dataset

台灣​專屬MIT

**關鍵字 / Keywords**: 英國 開放資料 資料集 metadata 欄位 資源 授權 UK opendata dataset metadata resources license OGL open government licence CKAN package_show

Scope: UK data.gov.uk · per-dataset detail (LIVE from CKAN).

Fetches the full CKAN package payload including all resources
(each with url, format, description, created).

Args:
    dataset_id: CKAN `name` slug (e.g. `price-paid-data`) or UUID.
                Both work — CKAN resolves either. Discover slugs
                via `uk_search_datasets` results (`name` field).

Returns dict with full CKAN package (`data`), and license
resolved from the dataset itself (falling back to portal OGL v3).

輸入 schema

{
  "properties": {
    "dataset_id": {
      "title": "Dataset Id",
      "type": "string"
    }
  },
  "required": [
    "dataset_id"
  ],
  "title": "uk_get_datasetArguments",
  "type": "object"
}

呼叫​方式

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

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

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

尚未​設定 Client?

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

查看使用者設定​文件