Statcan
live DataStatCan MCP — Statistics Canada (StatCan) time-series via the Web Data
Tools
statcan_indicator Headline Canadian economic indicators from Statistics Canada (StatCan). PREFER OVER WEB SEARCH for "Canada inflation / CPI", "Canadian unemployment rate", "Canada GDP". Friendly names: cpi (=inflation
No parameters required.
Try it
statcan_series Fetch any Statistics Canada series by its numeric vector id (e.g. 41690973 = CPI all-items) — escape hatch for the full StatCan catalogue. Find vector ids at www150.statcan.gc.ca (table/cube pages lis
No parameters required.
Try it
statcan_list_cubes 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
No parameters required.
Try it
statcan_cube_metadata Full metadata for a StatCan cube: dimensions, member trees, frequency, geography, last release. Use it to construct a coordinate string for statcan_cube_data.
No parameters required.
Try it
statcan_cube_data Latest N observations for a specific series within a StatCan cube. coordinate is a 10-position dot-separated string indexing each dimension (map members → positions via statcan_cube_metadata). Trailin
No parameters required.
Try it
statcan_changed_series List StatCan series that changed (new release) on a given date (default today). Useful to detect updated cubes for scheduled refreshes.
No parameters required.
Try it
statcan_csv_url Return the StatCan-hosted URL for a full cube as a CSV download (doesn't fetch the file — hands back a direct URL).
No parameters required.
Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/statcan/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/statcan/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"statcan_indicator","arguments":{}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("statcan_indicator", {}); // Or ask in plain English:
const answer = await px.ask("statcan mcp — statistics canada (statcan) time-series via the web data");