Data Gov Sg

v0.2.1
io.github.pipeworx-io/data-gov-sg Checked 1 day ago Published 1 month ago

data.gov.sg MCP — Singapore open data + real-time environment/transport feeds

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_datasets

Search the data.gov.sg dataset catalog by keyword (e.g. "rainfall", "hawker centres", "resale flat prices") — real text search via data.gov.sg's own site search, since the official v2 catalog API has none. Returns matching COLLECTIONS (topics that may bundle several datasets, e.g. one per year) with each dataset's real dataset_id for get_dataset / query_dataset. Omit `query` to browse the raw catalog unfiltered instead, paged 10/page (~4,600 datasets total).

ParameterTypeDescription
pagenumber1-based page (10 results per page either way)
querystringKeyword search, e.g. "rainfall", "COE prices", "population". Omit to browse unfiltered.

get_dataset

Dataset metadata + column schema.

ParameterTypeDescription
dataset_id *stringDataset ID (e.g. "d_8b84c4ee58e3cfc0ece0d773c8ca6abc")

query_dataset

Fetch rows from a dataset. Supports limit, offset, and filter map (column → value).

ParameterTypeDescription
dataset_id *stringDataset ID
filtersobjectColumn-value filter map
limitnumber1-10000 (default 100)
offsetnumber0-based row offset

weather_now

Current temperature, humidity, wind, rain across Singapore weather stations.

air_quality_psi

Current Pollutant Standards Index (PSI) by region (north, south, east, west, central).

air_quality_pm25

Current PM2.5 µg/m³ readings by region.

uv_index

Current UV index.

taxi_availability

Live taxi positions across Singapore.

traffic_incidents

Current incidents on expressways and major roads.