tag_show
Pack: data-govt-nz · Endpoint: https://gateway.pipeworx.io/data-govt-nz/mcp
New Zealand open data catalogue (data.govt.nz CKAN) — detail for a single tag by name/ID, optionally including the list of datasets tagged with it.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes | |
include_datasets | boolean | no |
Example call
Arguments
{
"id": "gdp"
}
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_show","arguments":{"id":"gdp"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('tag_show', {
"id": "gdp"
});
More examples
{
"id": "employment",
"include_datasets": true
}
Response shape
| Field | Type | Description |
|---|---|---|
id | string | Tag ID |
name | string | Tag name |
vocabulary_id | string | Associated vocabulary ID |
packages | array | Tagged datasets if include_datasets=true |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Tag ID"
},
"name": {
"type": "string",
"description": "Tag name"
},
"vocabulary_id": {
"type": "string",
"description": "Associated vocabulary ID"
},
"packages": {
"type": "array",
"items": {
"type": "object"
},
"description": "Tagged datasets if include_datasets=true"
}
},
"description": "Single tag details"
}
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.