resource_show

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

New Zealand open data catalogue (data.govt.nz CKAN) — metadata for a single resource (file/download) by resource ID: URL, format, size, description, and last modified date.

Parameters

NameTypeRequiredDescription
idstringyes

Example call

Arguments

{
  "id": "resource-12345"
}

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":"resource_show","arguments":{"id":"resource-12345"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('resource_show', {
  "id": "resource-12345"
});

Response shape

FieldTypeDescription
idstringResource ID
namestringResource name
urlstringResource URL
formatstringResource format (e.g. CSV, JSON)
descriptionstringResource description
package_idstringParent dataset ID
createdstringCreation timestamp
last_modifiedstringLast modification timestamp
Full JSON Schema
{
  "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 (e.g. CSV, JSON)"
    },
    "description": {
      "type": "string",
      "description": "Resource description"
    },
    "package_id": {
      "type": "string",
      "description": "Parent dataset ID"
    },
    "created": {
      "type": "string",
      "description": "Creation timestamp"
    },
    "last_modified": {
      "type": "string",
      "description": "Last modification timestamp"
    }
  },
  "description": "Single resource 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