英國 開放資料 資料集 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 安裝步驟。
查看使用者設定文件