tag_list
Pack: data-govt-nz · Endpoint: https://gateway.pipeworx.io/data-govt-nz/mcp
New Zealand open data catalogue (data.govt.nz CKAN) — list all dataset tags, optionally filtered by query string. Use to browse taxonomy before filtering package_search by tag.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | |
all_fields | boolean | no | |
vocabulary_id | string | no |
Example call
Arguments
{
"query": "climate"
}
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":"tag_list","arguments":{"query":"climate"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('tag_list', {
"query": "climate"
});
More examples
{
"all_fields": true
}
Response shape
Always returns: items, count
| Field | Type | Description |
|---|---|---|
items | array | List of tags |
count | integer | Number of items returned. |
Full JSON Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Tag ID"
},
"name": {
"type": "string",
"description": "Tag name"
},
"vocabulary_id": {
"type": "string",
"description": "Associated vocabulary ID"
}
}
},
"description": "List of tags"
},
"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.