opendosm_get_dataset

Pack: opendosm-my · Endpoint: https://gateway.pipeworx.io/opendosm-my/mcp

Fetch records from an official Malaysian statistics dataset (data.gov.my / OpenDOSM, Dept of Statistics Malaysia).

Parameters

NameTypeRequiredDescription
idstringyesDataset id, e.g. “cpi_headline”, “lfs_month”, “fuelprice”. Required.
filterstringnoExact-match filter, format value@column, e.g. “overall@division”.
rangestringnoNumeric range, format column[start:end] (bounds optional), e.g. “index[130:140]”. Numeric columns only — not dates.
sortstringnoSort column; prefix ”-” for descending, e.g. “-date” for newest first.
limitintegernoMax records to return. Omit for full series (can be large).

Example call

Arguments

{
  "id": "cpi_headline",
  "limit": 12,
  "sort": "-date"
}

curl

curl -X POST https://gateway.pipeworx.io/opendosm-my/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"opendosm_get_dataset","arguments":{"id":"cpi_headline","limit":12,"sort":"-date"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('opendosm_get_dataset', {
  "id": "cpi_headline",
  "limit": 12,
  "sort": "-date"
});

More examples

{
  "id": "lfs_month",
  "filter": "overall@division",
  "range": "index[130:140]"
}

Connect

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

{
  "mcpServers": {
    "opendosm-my": {
      "url": "https://gateway.pipeworx.io/opendosm-my/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 31, 2026