Statistics Canada
live GovernmentStatisticsCanadian official statistics via the StatCan WDS. No auth.
5 tools
0ms auth
free tier 50 calls/day
Tools
list_cubes Lean list of all StatCan cubes.
No parameters required.
Try it
Response
get_cube_metadata
required: product_id Dimensions and member positions for a cube.
Parameters
Name Type Description
product_id req number Cube product ID Try it
Response
get_latest_data
required: product_id, coordinate Recent observations for a coordinate.
Parameters
Name Type Description
product_id req number Cube product ID coordinate req string 10-position coordinate string n_periods opt number Latest N periods (default 12) Try it
Response
get_changed_series Series updated on a date.
Parameters
Name Type Description
date opt string YYYY-MM-DD Try it
Response
get_csv_download_url
required: product_id Direct CSV download URL for a cube.
Parameters
Name Type Description
product_id req number Cube product ID language opt string en | fr Try it
Response
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
List available tools
bash
curl -X POST https://gateway.pipeworx.io/statscan/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' Call a tool
bash
curl -X POST https://gateway.pipeworx.io/statscan/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"list_cubes","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("list_cubes", {}); ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("canadian official statistics via the statcan wds");