data.gov.sg

liveGovernmentAsia

Singapore open data — ~2000 datasets + real-time weather, air quality, taxi positions, traffic. No auth.

9tools
0msauth
free tier50 calls/day

Tools

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

Parameters
NameTypeDescription
queryoptstring—
pageoptnumber—
page_sizeoptnumber—
▶Try it
get_datasetrequired: dataset_id

Dataset metadata + column schema.

Parameters
NameTypeDescription
dataset_idreqstring—
▶Try it
query_datasetrequired: dataset_id

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

Parameters
NameTypeDescription
dataset_idreqstring—
limitoptnumber—
offsetoptnumber—
filtersoptobject—
▶Try it
weather_now

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

No parameters required.

▶Try it
air_quality_psi

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

No parameters required.

▶Try it
air_quality_pm25

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

No parameters required.

▶Try it
uv_index

Current UV index.

No parameters required.

▶Try it
taxi_availability

Live taxi positions across Singapore.

No parameters required.

▶Try it
traffic_incidents

Current incidents on expressways and major roads.

No parameters required.

▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/data-gov-sg/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/data-gov-sg/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_datasets","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_datasets", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("singapore open data — ~2000 datasets + real-time weather, air quality, taxi positions, traffic");