statcan_series
Pack: statcan · Endpoint: https://gateway.pipeworx.io/statcan/mcp
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 list their vectors). Returns recent observations + series title.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
vector_id | string | yes | StatCan vector id, numeric (with or without a leading “v”), e.g. “41690973”. |
recent | number | no | Recent observations to return (1-120, default 12). |
Example call
Arguments
{
"vector_id": "41690973"
}
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_series","arguments":{"vector_id":"41690973"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('statcan_series', {
"vector_id": "41690973"
});
More examples
{
"vector_id": "v14195325",
"recent": 36
}
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.