package

Pack: opendata-canada · Endpoint: https://gateway.pipeworx.io/opendata-canada/mcp

Dataset by id/slug.

Parameters

NameTypeRequiredDescription
idstringyes

Example call

Arguments

{
  "id": "air-quality-data"
}

curl

curl -X POST https://gateway.pipeworx.io/opendata-canada/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"package","arguments":{"id":"air-quality-data"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('package', {
  "id": "air-quality-data"
});

Response shape

FieldTypeDescription
idstringPackage ID
namestringPackage name/slug
titlestringPackage title
notesstringPackage description
authorstringPackage author
author_emailstringAuthor email
maintainerstringPackage maintainer
maintainer_emailstringMaintainer email
license_idstringLicense ID
urlstringPackage URL
versionstringPackage version
privatebooleanWhether package is private
owner_orgstringOwner organization ID
tagsarrayArray of tags
resourcesarrayArray of resources
groupsarrayArray of group/theme objects
organizationobjectOrganization object
metadata_createdstringCreation timestamp
metadata_modifiedstringModification timestamp
Full JSON Schema
{
  "type": "object",
  "description": "CKAN package details",
  "properties": {
    "id": {
      "type": "string",
      "description": "Package ID"
    },
    "name": {
      "type": "string",
      "description": "Package name/slug"
    },
    "title": {
      "type": "string",
      "description": "Package title"
    },
    "notes": {
      "type": "string",
      "description": "Package description"
    },
    "author": {
      "type": "string",
      "description": "Package author"
    },
    "author_email": {
      "type": "string",
      "description": "Author email"
    },
    "maintainer": {
      "type": "string",
      "description": "Package maintainer"
    },
    "maintainer_email": {
      "type": "string",
      "description": "Maintainer email"
    },
    "license_id": {
      "type": "string",
      "description": "License ID"
    },
    "url": {
      "type": "string",
      "description": "Package URL"
    },
    "version": {
      "type": "string",
      "description": "Package version"
    },
    "private": {
      "type": "boolean",
      "description": "Whether package is private"
    },
    "owner_org": {
      "type": "string",
      "description": "Owner organization ID"
    },
    "tags": {
      "type": "array",
      "description": "Array of tags",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "vocabulary_id": {
            "type": [
              "string",
              "null"
            ]
          }
        }
      }
    },
    "resources": {
      "type": "array",
      "description": "Array of resources",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "last_modified": {
            "type": "string"
          }
        }
      }
    },
    "groups": {
      "type": "array",
      "description": "Array of group/theme objects",
      "items": {
        "type": "object"
      }
    },
    "organization": {
      "type": "object",
      "description": "Organization object"
    },
    "metadata_created": {
      "type": "string",
      "description": "Creation timestamp"
    },
    "metadata_modified": {
      "type": "string",
      "description": "Modification timestamp"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "opendata-canada": {
      "url": "https://gateway.pipeworx.io/opendata-canada/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 6, 2026