groups

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

List all subject-area theme groups on open.canada.ca (e.g. Agriculture, Economy, Health), returning group name, title, description, and dataset count (up to optional limit, default 100).

Parameters

NameTypeRequiredDescription
limitnumberno

Example call

Arguments

{
  "limit": 15
}

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":"groups","arguments":{"limit":15}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('groups', {
  "limit": 15
});

Response shape

Always returns: items, count

FieldTypeDescription
itemsarrayList of themes/groups
countintegerNumber of items returned.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "List of themes/groups",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Group/theme ID"
          },
          "name": {
            "type": "string",
            "description": "Group/theme name"
          },
          "title": {
            "type": "string",
            "description": "Group/theme title"
          },
          "description": {
            "type": "string",
            "description": "Group/theme description"
          },
          "image_display_url": {
            "type": "string",
            "description": "Group image URL"
          },
          "created": {
            "type": "string",
            "description": "Creation timestamp"
          }
        }
      }
    },
    "count": {
      "type": "integer",
      "description": "Number of items returned."
    }
  },
  "required": [
    "items",
    "count"
  ]
}

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