package
Pack: opendata-canada · Endpoint: https://gateway.pipeworx.io/opendata-canada/mcp
Dataset by id/slug.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | yes |
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
| Field | Type | Description |
|---|---|---|
id | string | Package ID |
name | string | Package name/slug |
title | string | Package title |
notes | string | Package description |
author | string | Package author |
author_email | string | Author email |
maintainer | string | Package maintainer |
maintainer_email | string | Maintainer email |
license_id | string | License ID |
url | string | Package URL |
version | string | Package version |
private | boolean | Whether package is private |
owner_org | string | Owner organization ID |
tags | array | Array of tags |
resources | array | Array of resources |
groups | array | Array of group/theme objects |
organization | object | Organization object |
metadata_created | string | Creation timestamp |
metadata_modified | string | Modification 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.