get_data
Pack: cbs-nl · Endpoint: https://gateway.pipeworx.io/cbs-nl/mcp
Fetch observations from a table (TypedDataSet). Supports OData v3 query params. Use $select to pick columns (from table_dimensions keys) and $filter to subset, e.g. filter=“Periods eq ‘2020JJ00’”. Always set a $top to avoid huge responses.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
table | string | yes | CBS table id, e.g. “37296eng”. |
select | string | no | OData $select, comma-separated dimension/topic keys, e.g. “Periods,TotalPopulation_1”. |
filter | string | no | OData $filter, e.g. “Periods eq ‘2020JJ00’” or “substringof(‘2020’,Periods)”. |
top | number | no | OData $top, max rows to return (default 50). |
skip | number | no | OData $skip, rows to skip for paging. |
Example call
Arguments
{
"table": "37296eng",
"select": "Periods,TotalPopulation_1",
"top": 100
}
curl
curl -X POST https://gateway.pipeworx.io/cbs-nl/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_data","arguments":{"table":"37296eng","select":"Periods,TotalPopulation_1","top":100}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_data', {
"table": "37296eng",
"select": "Periods,TotalPopulation_1",
"top": 100
});
More examples
{
"table": "37296eng",
"select": "Periods,TotalPopulation_1",
"filter": "Periods eq '2023JJ00'",
"top": 50
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"cbs-nl": {
"url": "https://gateway.pipeworx.io/cbs-nl/mcp"
}
}
}
See Getting Started for client-specific install steps.