package_show

Pack: data-govt-nz · Endpoint: https://gateway.pipeworx.io/data-govt-nz/mcp

New Zealand open data catalogue (data.govt.nz CKAN) — full metadata for a dataset by ID/slug: title, description, resources (download URLs + formats), organization, tags, and license.

Parameters

NameTypeRequiredDescription
idstringyes

Example call

Arguments

{
  "id": "nz-population-census"
}

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":"package_show","arguments":{"id":"nz-population-census"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('package_show', {
  "id": "nz-population-census"
});

Response shape

FieldTypeDescription
idstringDataset ID
namestringDataset name
titlestringDataset title
notesstringDataset description
authorstringDataset author
organizationobjectPublishing organization details
resourcesarrayDataset resources
tagsarrayAssociated tags
groupsarrayAssociated groups
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Dataset ID"
    },
    "name": {
      "type": "string",
      "description": "Dataset name"
    },
    "title": {
      "type": "string",
      "description": "Dataset title"
    },
    "notes": {
      "type": "string",
      "description": "Dataset description"
    },
    "author": {
      "type": "string",
      "description": "Dataset author"
    },
    "organization": {
      "type": "object",
      "description": "Publishing organization details"
    },
    "resources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Resource ID"
          },
          "name": {
            "type": "string",
            "description": "Resource name"
          },
          "url": {
            "type": "string",
            "description": "Resource URL"
          },
          "format": {
            "type": "string",
            "description": "Resource format"
          }
        }
      },
      "description": "Dataset resources"
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Associated tags"
    },
    "groups": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Associated groups"
    }
  },
  "description": "Single dataset 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.

Regenerated from source · build July 8, 2026