statcan_changed_series

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

List StatCan series that changed (new release) on a given date (default today). Useful to detect updated cubes for scheduled refreshes.

Parameters

NameTypeRequiredDescription
datestringnoYYYY-MM-DD (default today).

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_changed_series","arguments":{}}}'

TypeScript (@pipeworx/sdk)

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

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

More examples

{
  "date": "2024-01-15"
}

Response shape

Always returns: date, count, series

FieldTypeDescription
datestringQuery date (YYYY-MM-DD or ‘today’)
countnumberNumber of changed series
seriesarrayList of changed series
Full JSON Schema
{
  "type": "object",
  "properties": {
    "date": {
      "type": "string",
      "description": "Query date (YYYY-MM-DD or 'today')"
    },
    "count": {
      "type": "number",
      "description": "Number of changed series"
    },
    "series": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "product_id": {
            "type": [
              "number",
              "null"
            ],
            "description": "Cube product ID"
          },
          "coordinate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Series coordinate"
          },
          "vector_id": {
            "type": [
              "number",
              "null"
            ],
            "description": "Series vector ID"
          },
          "released_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Release timestamp"
          }
        },
        "required": [
          "product_id",
          "coordinate",
          "vector_id",
          "released_at"
        ]
      },
      "description": "List of changed series"
    }
  },
  "required": [
    "date",
    "count",
    "series"
  ]
}

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