table_data

Pack: singstat-sg · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/table_data for the schema, then POST the same URL with its arguments for the data.

Fetch the time-series data rows for a Singapore statistics table.

Parameters

NameTypeRequiredDescription
resourceIdstringnoA table id you already have (from search_tables or table_metadata). Omit this and use search instead when you only
searchstringnoFree-text topic to resolve a resourceId automatically when you do not already have one, e.g. “resident unemployment rate”.
offsetintegernoNumber of rows to skip (pagination).
limitintegernoMax number of rows to return.
timeFilterstringnoComma-separated specific periods to return, e.g. “2020,2021,2022”.
betweenstringnoInclusive period range “from,to”, e.g. “2010,2020”.
sortBystringnoSort expression, e.g. “rowtext asc”.
seriesNoORrowNostringnoComma-separated series/row numbers to limit which series are returned.

Example call

Arguments

{
  "resourceId": "M810001"
}

curl

curl -X POST https://gateway.pipeworx.io/singstat-sg/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"table_data","arguments":{"resourceId":"M810001"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('table_data', {
  "resourceId": "M810001"
});

More examples

{
  "resourceId": "M810001",
  "timeFilter": "2020,2021,2022",
  "limit": 10
}
{
  "search": "resident unemployment rate"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the singstat-sg pack
{
  "mcpServers": {
    "singstat-sg": {
      "url": "https://gateway.pipeworx.io/singstat-sg/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 15, 2026