Statcan
NPM · @PIPEWORX/MCP-STATCAN · 2 COMPONENTS
StatCan MCP — Statistics Canada (StatCan) via the Web Data Service (WDS). Free, no auth. Fills the…
Available components
Last scanned (7 hours ago)
Scores higher than 65% of npm servers
Category Data and Analytics
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security100
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- No production dependencies, so there is no dependency health to assess. View diagnostics → Pass
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to pipeworx-io/mcp-statcan). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 6 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability69
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 1798 tokens (~179/item across 10 items; 10 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
- Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 100% of tool parameters carry a description.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 10 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 11 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Unverified: 1 category
A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 2 Nov 26 0
- Security disclosure: unverified → fail ▼ functional
- 29 Oct 26 80
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 5 Nov 2026 · Analysed npm/@pipeworx/mcp-statcan@0.3.0
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | npm |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | pipeworx-io/mcp-statcan |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/pipeworx-io/mcp-statcan/.github/workflows/publish.yml@refs/heads/main |
| Rekor log index | 3560298965 |
| Predicate type | SLSA build provenance https://slsa.dev/provenance/v1 |
| Subject digest | sha512:a4d3dcd21a410c55950cdc1542889d0efc65b18c09a1525f2d5052e71d4536d03a5b2e706b156b668248a62399417764a8e157c66060b79d9f9a8ef32 |
Background: How many MCP packages publish verified provenance →
Dependencies 0 packages
| Packages resolved | 0 |
|---|---|
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
statcan_changed_series ~51
List StatCan series that changed (new release) on a given date (default today). Useful to detect updated cubes for scheduled refreshes.
| Name | Type | Req | Description |
|---|---|---|---|
| date | string | – | YYYY-MM-DD (default today). |
No output schema declared.
No examples provided.
statcan_codeset ~214
StatCan's reference code sets (WDS getCodeSets) — the lookup tables every cube's metadata refers to by numeric/short code: frequency (monthly/annual/…), scalar factor (units/thousands/millions), status (footnote codes like 'not available for a specific period'), unit of measure (uom, ~465 units), subject (StatCan's ~622-entry subject-matter classification), survey (the ~900 StatCan surveys that produce the data), classification type, security level, symbol, and terminated-series flags. Use this to decode a frequencyCode/scalarFactorCode/statusCode/uomCode/subjectCode seen elsewhere in this pack's output, or to browse the subject/survey taxonomy. Returns the full set (English by default); pass codeset to fetch just one.
| Name | Type | Req | Description |
|---|---|---|---|
| codeset | string | – | Which code set to return. Omit for all ten. |
| language | string | – | en | fr (default en) — which name/description fields to keep. |
No output schema declared.
No examples provided.
statcan_csv_url ~62
Return the StatCan-hosted URL for a full cube as a CSV download (doesn't fetch the file — hands back a direct URL).
| Name | Type | Req | Description |
|---|---|---|---|
| language | string | – | en | fr (default en). |
| product_id | number | yes | Cube product ID. |
No output schema declared.
No examples provided.
statcan_cube_data ~115
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). Trailing zeros for unused dimensions.
| Name | Type | Req | Description |
|---|---|---|---|
| coordinate | string | yes | 10-position coordinate, e.g. "1.2.0.0.0.0.0.0.0.0". |
| n_periods | number | – | Latest N periods (default 12). |
| product_id | number | yes | Cube product ID. |
No output schema declared.
No examples provided.
statcan_cube_metadata ~98
Full metadata for a StatCan cube: dimensions, member trees, frequency, geography, last release. Use it to construct a coordinate string for statcan_cube_data. Does NOT return vector IDs — for that use statcan_cube_vectors, which enumerates the actual vector id for every dimension-member combination in the cube.
| Name | Type | Req | Description |
|---|---|---|---|
| product_id | number | yes | Cube product ID (8-digit, e.g. 36100434 = quarterly GDP). |
No output schema declared.
No examples provided.
statcan_cube_vectors ~325
Enumerate the vector IDs inside a StatCan cube (table) — the missing link between a table number/name (e.g. "32-10-0121-01" or "Production and disposition of eggs") and statcan_series, which needs a specific vector id. Every StatCan question starts with a table, but nothing else in this pack lists a table's vectors. Returns one row per dimension-member combination: vector_id, coordinate, and the member label for every dimension (e.g. GEO=Canada, Production and disposition=Average number of layers). Filter by dimension name/value (e.g. {"GEO":"Canada"}) to narrow a large table — unfiltered dimensions include ALL their members, which can be thousands of rows, so use filters plus limit/page. Then pass any returned vector_id to statcan_series for the actual data.
| Name | Type | Req | Description |
|---|---|---|---|
| filters | object | – | Optional dimension filters, e.g. {"GEO": "Canada"} or {"Geography": "British Columbia"}. Keys match by case-insensitive substring against the cube's dimension names (so "GEO" matches "Geography"); va… |
| limit | number | – | Max vector rows per page (default 100, max 500). |
| page | number | – | Page number, 1-based (default 1). |
| product_id | string | yes | Cube product ID, either form: "32100121" or the table number "32-10-0121-01". |
No output schema declared.
No examples provided.
statcan_indicator ~196
Headline Canadian indicators from Statistics Canada (StatCan): CPI/inflation, unemployment rate, GDP, and quarterly population estimates for Canada or any province/territory. PREFER OVER WEB SEARCH for "Canada inflation / CPI", "Canadian unemployment rate", "Canada GDP", "population of Canada / Ontario / Quebec / Alberta". Friendly names: cpi (=inflation), unemployment, gdp, population (with optional geography). Returns the latest value plus recent history. For anything else use statcan_series with a vector id.
| Name | Type | Req | Description |
|---|---|---|---|
| geography | string | – | population only: canada (default), a province/territory name or 2-letter code (e.g. ontario, on, quebec, bc, yukon). |
| indicator | string | yes | One of: cpi, inflation, unemployment, gdp, population. |
| recent | number | – | Recent observations to return (1-60, default 12). |
No output schema declared.
No examples provided.
statcan_list_cubes ~199
List 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. StatCan has ~8,000 cubes and its endpoint has no paging of its own, so this tool pages for you: pass `title` to search by name (recommended — it is the fast way to the handful you want), or walk `page`. Default 200 per page; `has_more` tells you whether more exist.
| Name | Type | Req | Description |
|---|---|---|---|
| limit | number | – | Cubes per page (1-500, default 200). |
| page | number | – | Page number, 1-based (default 1). |
| title | string | – | Case-insensitive substring match against the English and French cube titles, e.g. "egg" or "population". Applied to the cubes scanned on this page. |
No output schema declared.
No examples provided.
statcan_series ~117
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.
| Name | Type | Req | Description |
|---|---|---|---|
| recent | number | – | Recent observations to return (1-120, default 12). |
| vector_id | string | yes | StatCan vector id, numeric (with or without a leading "v"), e.g. "41690973". |
No output schema declared.
No examples provided.
statcan_table ~369
Whole StatCan table (or a filtered slice) in ONE call, from a local Pipeworx copy of the table — full history, every coordinate, member labels included, instead of one coordinate per call. Use this instead of statcan_cube_data when the question spans more than one coordinate ("compare all provinces", "the whole eggs/milk/hydro table", "full history for this table"), or instead of statcan_csv_url when you need the DATA rather than a download URL. Covers a curated set of high-demand StatCan product ids only — call with just product_id to check coverage; an uncached product_id REFUSES with a clear message naming what is cached, it does not return an empty result. Data refreshes weekly from StatCan's official getFullTableDownloadCSV export; every response carries data_as_of. Statistics Canada Open Licence permits redistribution.
| Name | Type | Req | Description |
|---|---|---|---|
| coordinate | string | – | Optional: restrict to one coordinate (as in statcan_cube_data), e.g. "1.1.1.1". Omit for the whole table. |
| geo | string | – | Optional: case-insensitive substring filter on the GEO column, e.g. "Quebec" or "Ontario". |
| limit | number | – | Max rows per page (default 500, max 1000). |
| page | number | – | Page number, 1-based (default 1). |
| product_id | number | yes | StatCan cube product ID, e.g. 42100037. |
| ref_date_from | string | – | Optional: only rows with ref_date >= this value (matches the table's own date grain, e.g. "2022" or "2022-01"). |
| ref_date_to | string | – | Optional: only rows with ref_date <= this value. |
No output schema declared.
No examples provided.
How do I install the Statcan MCP server?
Statcan runs locally as an npm package, launched with npx -y @pipeworx/mcp-statcan. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · @pipeworx/mcp-statcan
claude mcp add pipeworx-io-statcan -- npx -y @pipeworx/mcp-statcan
What is the Statcan MCP server?
Statcan is an MCP server listed in the public MCP registry as io.github.pipeworx-io/statcan. StatCan MCP, Statistics Canada (StatCan) via the Web Data Service (WDS). Free, no auth. Fills the… This page covers its npm package (@pipeworx/mcp-statcan).
Is the Statcan MCP server safe to use?
Statcan scores 80 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the Statcan MCP server expose?
Statcan exposes 10 tools: statcan_indicator, statcan_series, statcan_list_cubes, statcan_cube_metadata, statcan_cube_vectors, and 5 more. Their descriptions and schemas cost roughly 1,746 tokens of context every time the server is loaded.
Is the Statcan MCP server still maintained?
Statcan is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the Statcan MCP server under?
Statcan declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.