statcan_cube_vectors

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

Enumerate the vector IDs inside a StatCan cube (table) — the missing link between a table number/name (e.g. “32-10-0121-01” or “Production and disposition of eggs”) and statcan_series, which needs a specific vector id. Every StatCan question starts with a table, but nothing else in this pack lists a table’s vectors. Returns one row per dimension-member combination: vector_id, coordinate, and the member label for every dimension (e.g. GEO=Canada, Production and disposition=Average number of layers). Filter by dimension name/value (e.g. {“GEO”:“Canada”}) to narrow a large table — unfiltered dimensions include ALL their members, which can be thousands of rows, so use filters plus limit/page. Then pass any returned vector_id to statcan_series for the actual data.

Parameters

NameTypeRequiredDescription
product_idstringyesCube product ID, either form: “32100121” or the table number “32-10-0121-01”.
filtersobjectnoOptional dimension filters, e.g. {“GEO”: “Canada”} or {“Geography”: “British Columbia”}. Keys match by case-insensitive substring against the cube’s dimension names (so “GEO” matches “Geography”); values match by case-insensitive substring against member names. Dimensions with no filter include every member.
additionalPropertiesstringno
limitnumbernoMax vector rows per page (default 100, max 500).
pagenumbernoPage number, 1-based (default 1).

Example call

Arguments

{
  "product_id": "32100121",
  "filters": {
    "GEO": "Canada"
  }
}

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_cube_vectors","arguments":{"product_id":"32100121","filters":{"GEO":"Canada"}}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('statcan_cube_vectors', {
  "product_id": "32100121",
  "filters": {
    "GEO": "Canada"
  }
});

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 September 3, 2026