query_dataset

Pack: data-gov-sg · Endpoint: https://gateway.pipeworx.io/data-gov-sg/mcp

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

Parameters

NameTypeRequiredDescription
dataset_idstringyesDataset ID
limitnumberno1-10000 (default 100)
offsetnumberno0-based row offset
filtersobjectnoColumn-value filter map
additionalPropertiesstringno

Example call

Arguments

{
  "dataset_id": "d_8b84c4ee58e3cfc0ece0d773c8ca6abc"
}

curl

curl -X POST https://gateway.pipeworx.io/data-gov-sg/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"query_dataset","arguments":{"dataset_id":"d_8b84c4ee58e3cfc0ece0d773c8ca6abc"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('query_dataset', {
  "dataset_id": "d_8b84c4ee58e3cfc0ece0d773c8ca6abc"
});

More examples

{
  "dataset_id": "d_8b84c4ee58e3cfc0ece0d773c8ca6abc",
  "limit": 500,
  "offset": 0,
  "filters": {
    "region": "central"
  }
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Rows and metadata from dataset query"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "data-gov-sg": {
      "url": "https://gateway.pipeworx.io/data-gov-sg/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026