group_list
Pack: data-govt-nz · Endpoint: https://gateway.pipeworx.io/data-govt-nz/mcp
New Zealand open data catalogue (data.govt.nz CKAN) — list thematic groups/categories used to organise NZ open datasets. Pass all_fields=true for names and descriptions.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
all_fields | boolean | no | |
limit | number | no | |
offset | number | no |
Example call
Arguments
{
"limit": 20
}
curl
curl -X POST https://gateway.pipeworx.io/data-govt-nz/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"group_list","arguments":{"limit":20}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('group_list', {
"limit": 20
});
More examples
{
"all_fields": true
}
Response shape
Always returns: items, count
| Field | Type | Description |
|---|---|---|
items | array | List of groups/categories |
count | integer | Number of items returned. |
Full JSON Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Group ID"
},
"name": {
"type": "string",
"description": "Group name"
},
"title": {
"type": "string",
"description": "Group title"
}
}
},
"description": "List of groups/categories"
},
"count": {
"type": "integer",
"description": "Number of items returned."
}
},
"required": [
"items",
"count"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"data-govt-nz": {
"url": "https://gateway.pipeworx.io/data-govt-nz/mcp"
}
}
}
See Getting Started for client-specific install steps.