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
| Name | Type | Required | Description |
|---|---|---|---|
resourceId | string | no | A table id you already have (from search_tables or table_metadata). Omit this and use search instead when you only |
search | string | no | Free-text topic to resolve a resourceId automatically when you do not already have one, e.g. “resident unemployment rate”. |
offset | integer | no | Number of rows to skip (pagination). |
limit | integer | no | Max number of rows to return. |
timeFilter | string | no | Comma-separated specific periods to return, e.g. “2020,2021,2022”. |
between | string | no | Inclusive period range “from,to”, e.g. “2010,2020”. |
sortBy | string | no | Sort expression, e.g. “rowtext asc”. |
seriesNoORrowNo | string | no | Comma-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.