statcan_list_cubes

Pack: statcan · Endpoint: https://gateway.pipeworx.io/statcan/mcp

List all available StatCan cubes (tables) — lean: productId + title (en/fr) + CANSIM id + dimension count + release date. Use the productId with statcan_cube_metadata / statcan_cube_data. Response is large (~3,000 cubes); filter client-side.

Example call

Arguments

{}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('statcan_list_cubes', {});

Response shape

Always returns: count, cubes

FieldTypeDescription
countnumberTotal number of cubes
cubesarrayList of available cubes
Full JSON Schema
{
  "type": "object",
  "properties": {
    "count": {
      "type": "number",
      "description": "Total number of cubes"
    },
    "cubes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": [
              "number",
              "null"
            ],
            "description": "Cube product ID"
          },
          "cansim_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "CANSIM identifier"
          },
          "title_en": {
            "type": [
              "string",
              "null"
            ],
            "description": "English cube title"
          },
          "title_fr": {
            "type": [
              "string",
              "null"
            ],
            "description": "French cube title"
          },
          "start_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cube start date"
          },
          "end_date": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cube end date"
          },
          "release_time": {
            "type": [
              "string",
              "null"
            ],
            "description": "Release timestamp"
          },
          "archived": {
            "type": [
              "string",
              "null"
            ],
            "description": "Archive status"
          },
          "subject_codes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Subject classification codes"
          },
          "dimension_count": {
            "type": [
              "number",
              "null"
            ],
            "description": "Number of dimensions"
          }
        },
        "required": [
          "product_id",
          "cansim_id",
          "title_en",
          "title_fr",
          "start_date",
          "end_date",
          "release_time",
          "archived",
          "subject_codes",
          "dimension_count"
        ]
      },
      "description": "List of available cubes"
    }
  },
  "required": [
    "count",
    "cubes"
  ]
}

Connect

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

{
  "mcpServers": {
    "statcan": {
      "url": "https://gateway.pipeworx.io/statcan/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 21, 2026