Statcan List Cubes
statcan_list_cubesList 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. StatCan has ~8,000 cubes and its endpoint has no paging of its own, so this tool pages for you: pass title to search by name (recommended — it is the fast way to the handful you want), or walk page. Default 200 per page; has_more tells you whether more exist.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "statcan_list_cubes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 1-based (default 1). | |
| limit | No | Cubes per page (1-500, default 200). | |
| title | No | Case-insensitive substring match against the English and French cube titles, e.g. "egg" or "population". Applied to the cubes scanned on this page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Present when the scan was truncated: says what was scanned and how to narrow | |
| page | Yes | 1-based page number returned | |
| count | Yes | Cubes returned on THIS page (not the catalogue total -- StatCan's endpoint has no paging, so this tool streams and pages; use has_more/next_page) | |
| cubes | Yes | List of available cubes | |
| limit | Yes | Cubes per page (1-500, default 200) | |
| licence | No | Statistics Canada Open Licence | |
| scanned | No | Cubes read off the upstream stream before stopping -- the bound that keeps this call from holding StatCan's whole 8 MB array in memory | |
| has_more | Yes | True when more cubes exist beyond this page | |
| next_page | No | Next page number, or null at the end | |
| title_filter | No | The lower-cased title substring applied, or null | |
| scan_truncated | No | True when the read stopped at the cap rather than the end of the upstream array, so a short page is OUR ceiling and not proof the list ended | |
| upstream_bytes_read | No | Bytes actually pulled from StatCan WDS for this call |