Singapore open data dataset metadata
sg_get_dataset
TW-specificMIT
**關鍵字 / Keywords**: 新加坡 開放資料 資料集 metadata 欄位 描述 覆蓋 更新 singapore sg opendata dataset metadata columns coverageStart coverageEnd lastUpdatedAt columnMetadata
Scope: Singapore data.gov.sg · per-dataset metadata (LIVE).
Fetches the full metadata document for one SG dataset — name,
description, format, coverage period, column metadata (each
column's name / type / description), contact emails, and the
managing agency. Data is live from the v2 REST API (not cached).
Endpoint:
https://api-production.data.gov.sg/v2/public/api/datasets/{id}/metadata
Args:
dataset_id: e.g. `d_9e7de44094f876f6804b8b5bcee45c81` — obtain
from `sg_search_datasets` results (`datasetId` field)
or from a data.gov.sg URL.
Returns dict with:
data: {datasetId, name, description, format, lastUpdatedAt,
managedBy, coverageStart, coverageEnd, columnMetadata,
...}
License: Singapore Open Data Licence v1.0.Input schema
{
"properties": {
"dataset_id": {
"title": "Dataset Id",
"type": "string"
}
},
"required": [
"dataset_id"
],
"title": "sg_get_datasetArguments",
"type": "object"
}How to call
Once your Twinkle Hub MCP client is configured, your agent will see sg_get_dataset. Just ask it to call — example:
# Ask Claude / any MCP client: 請用 sg_get_dataset 處理 "…"。 # It will call: sg_get_dataset(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