Statistics Canada — Claude Code MCP server: what it does
Gives the agent Statistics Canada datasets and time series: cube search, metadata, release tracking and links to full tables.
no license 642 installs updated 2026-02-26
claude mcp add --transport http statscan-mcp https://statscan-mcp--pranaviate.run.toolsWhat Statistics Canada does
The server is remote. Your client talks to https://statscan-mcp--pranaviate.run.tools over HTTP. Fifteen tools cover the ground: keyword search over datasets (list_cubes returns a short list, list_cubes_full adds dimensions, frequency and survey details), metadata for a cube, vector or series, and values for one vector between two dates.
A table slice needs a product_id and a coordinate string such as 1.12.0.0.0.0.0.0.0.0, plus how many recent periods you want. Another set of tools tracks releases: cubes changed on a given date, series updated today, fresh points for a vector. Full tables come back as a link to a ZIP archive, either CSV or SDMX, the bilingual XML used for statistical exchange.
Nothing works until you have the product_id, the vector_id and a valid coordinate string, so the first move is a keyword search and a look at cube metadata. Titles are searched in English, and result lists are capped to keep responses small; list_cubes_full is where the complete fields live.
What it helps with
- find a Statistics Canada data cube by keyword
- pull a time series for a vector across a date range
- check which tables were updated on a given date
- download a full table as CSV or SDMX
- read a dataset's dimensions before slicing it
Example prompts for the agent
- Search Statistics Canada for cubes about
unemploymentand show me the metadata of the first one. - Pull values for vector
41690973between 2020-01-01 and 2024-01-01. - Which cubes changed on 2024-01-15?
How to install Statistics Canada
Platform CLI: remote server
claude mcp add --transport http statscan-mcp https://statscan-mcp--pranaviate.run.toolsPlatform CLI: remote server
codex mcp add statistics-canada --url https://statscan-mcp--pranaviate.run.toolsConfig file
{
"mcpServers": {
"statistics-canada": {
"url": "https://statscan-mcp--pranaviate.run.tools"
}
}
}Config file
{
"servers": {
"statistics-canada": {
"type": "http",
"url": "https://statscan-mcp--pranaviate.run.tools"
}
}
}Platform CLI: remote server
gemini mcp add -t http statistics-canada https://statscan-mcp--pranaviate.run.toolsStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Statistics Canada
How do I install Statistics Canada in Claude Code?
Run claude mcp add --transport http statscan-mcp https://statscan-mcp--pranaviate.run.tools. That registers the remote HTTP endpoint.
What does this MCP server do?
It lets the agent search Statistics Canada datasets, read cube and vector metadata, fetch time series values, follow new releases and get download links for full tables.
How do I request a table slice?
Pass the product_id, a coordinate string like 1.12.0.0.0.0.0.0.0.0 and the number of recent periods. Both IDs and coordinates come from the cube metadata.