Skip to main content
MCP server CX Codex

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

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http statscan-mcp https://statscan-mcp--pranaviate.run.tools
Open on GitHub

What 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 unemployment and show me the metadata of the first one.
  • Pull values for vector 41690973 between 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.tools

Step 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.

Similar MCP servers

All MCP servers for Data and databases →

Project sponsors

Companies that keep this analytics open