resource_show

Pack: data-govt-nz · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/resource_show for the schema, then POST the same URL with its arguments for the data.

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 — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the data-govt-nz pack
{
  "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 October 5, 2026