search_datasets

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

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).

Parameters

NameTypeRequiredDescription
querystringnoKeyword search, e.g. “rainfall”, “COE prices”, “population”. Omit to browse unfiltered.
pagenumberno1-based page (10 results per page either way)

Example call

Arguments

{
  "query": "rainfall"
}

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":"search_datasets","arguments":{"query":"rainfall"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('search_datasets', {
  "query": "rainfall"
});

More examples

{
  "page": 1
}

Response shape

Full JSON Schema
{
  "type": "object",
  "description": "Dataset search results from data.gov.sg catalog"
}

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 August 21, 2026