data.gov.sg
liveGovernmentAsiaSingapore open data — ~2000 datasets + real-time weather, air quality, taxi positions, traffic. No auth.
9tools
0msauth
free tier50 calls/day
Tools
search_datasetsBrowse / search the dataset catalog.
Parameters
NameTypeDescription
queryoptstring—pageoptnumber—page_sizeoptnumber—Try it
Response
get_datasetrequired: dataset_idDataset metadata + column schema.
Parameters
NameTypeDescription
dataset_idreqstring—Try it
Response
query_datasetrequired: dataset_idFetch rows from a dataset.
Parameters
NameTypeDescription
dataset_idreqstring—limitoptnumber—offsetoptnumber—filtersoptobject—Try it
Response
weather_nowCurrent temperature, humidity, wind, rain across Singapore weather stations.
No parameters required.
Try it
Response
air_quality_psiPSI by region.
No parameters required.
Try it
Response
air_quality_pm25PM2.5 µg/m³ by region.
No parameters required.
Try it
Response
uv_indexCurrent UV index.
No parameters required.
Try it
Response
taxi_availabilityLive taxi positions.
No parameters required.
Try it
Response
traffic_incidentsCurrent expressway / road incidents.
No parameters required.
Try it
Response
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");