Skip to main content
Glama

Server Details

StatCan MCP — Statistics Canada (StatCan) via the Web Data Service (WDS). Free, no auth. Fills the…

The last two health checks of this connector failed. If this server requires authentication, missing or expired test credentials may be the cause. A test profile lets Glama authenticate for health checks and discover tools; it is separate from your personal connections.

If you are the author, claim ownership, then add or update a test profile under Admin → Test Profile.

Status
Unhealthy
Uptime
45.5% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
Repository
pipeworx-io/mcp-statcan
GitHub Stars
0
Server Listing
mcp-statcan
ChatGPT
–
Claude
–

TDQS

A4/5.0

Scored across 16 tools

Disambiguation3/5

The statcan_* tools are mostly well-differentiated by resource (cubes vs series vs vectors vs codesets) and the descriptions explicitly say when to prefer each. However, four tools return the same data by different routes (statcan_cube_data by coordinate, statcan_series by vector id, statcan_table for a whole table, statcan_csv_url for a download URL), and statcan_indicator duplicates the CPI/GDP/unemployment questions answerable via statcan_series. Worst of all, ask_pipeworx/ask_pipeworx_grounded/discover_tools claim to route to 8,025+ tools including statistical sources, so for any StatCan question an agent must first decide whether to use a curated statcan_ tool or the universal router.

Naming Consistency3/5

The eleven statistics tools share a clean statcan_ snake_case prefix, which is good. But five tools (ask_pipeworx, ask_pipeworx_grounded, company_facts, company_register_search, discover_tools) sit outside that namespace entirely, and within the statcan_ group the pattern mixes verb-first (statcan_list_cubes, statcan_changed_series) with bare nouns (statcan_series, statcan_table, statcan_codeset, statcan_indicator).

Tool Count3/5

Sixteen tools is on the heavy side for a single statistical catalogue, and the count is inflated by overlapping fetch paths (cube_data/series/table/csv_url) and by five generic Pipeworx routing tools that are not StatCan-specific. Each statcan_ tool does have a plausible role, so it is not a 2, but the surface feels padded rather than tightly scoped.

Completeness4/5

Coverage of the StatCan lifecycle is strong: title search, full metadata/member trees, vector enumeration, series data, whole-table slices, CSV export, codeset decoding, headline indicators, release calendar and changed-series detection. The main gaps are that statcan_series can only be used with a vector id already known (no keyword series search), statcan_table is limited to a curated cache, and observation-range filtering appears unavailable on the data tools.

Available Tools

16 tools
ask_pipeworxAsk PipeworxA
Read-onlyIdempotent
Inspect

The first call for any question whose answer needs an authoritative source: official statistics (FRED, BLS, national statistics offices), SEC and other company filings, company and property registers, regulatory and government records, FDA drug data, USPTO patents, clinical-trial registries, court records, and similar primary-source data. It also answers live weather, markets, crypto, sports, news and academic-paper questions. Routes the question to the right one of 8,025 tools across 2103 verified sources, fills arguments, returns the structured answer with stable pipeworx:// citation URIs. Use it when the user asks "what is", "look up", "find", "get the latest", "how much" or "current" about a figure, filing or record that a publisher of record holds. Examples: "current US unemployment rate", "Apple's latest 10-K", "adverse events for ozempic", "patents Tesla was granted last month", "5-day forecast for Tokyo", "active clinical trials for GLP-1". START HERE among the Pipeworx tools, this is the default entry point, works on every tier, one fast call. Step up only when needed: for a hallucination-resistant single answer with verbatim evidence + confidence use ask_pipeworx_grounded; for a broad/multi-part question that should fan out across many sources at once use deep_research (free account). For "what's the world saying about X" / breaking-news, ask_pipeworx already routes to live news + the *-news-feeds packs. Optionally pass packs:["slug","slug"] to restrict routing to specific sources ("answer this using THESE packs"); omit it for full-catalog routing.

Inputs: question (required), q, ask, text, +5 more.

ask_pipeworx_groundedAsk Pipeworx — GroundedA
Read-onlyIdempotent
Inspect

Hallucination-resistant answer mode for high-stakes reads. Same routing as ask_pipeworx, picks the right tool from 8,025 across 2103 sources, fills arguments, fetches the data, then EXTRACTS the answer using ONLY what the tool result contains. Returns {answer, evidence (verbatim quote), confidence, source, fetched_at, refusal_reason:null} on success, OR an explicit refusal {answer:null, refusal_reason:"not_in_source"|"no_tool_match"|"tool_error"|"data_truncated"|"llm_error"} when the data doesn't directly answer. An "llm_error" also carries refusal_cause ("wall" = our time budget ended before any model call was made; "route"|"threw"|"unparseable"|"wall_after_failure" = a model call failed); refusal_reason itself is unchanged. Use whenever an answer will be quoted, cited, or acted on, and the agent must not invent facts (financial verdicts, legal claims, medical lookups, public statements). Costs one extra LLM call vs ask_pipeworx, prefer ask_pipeworx for casual lookups.

Inputs: question (required), q, ask, text, +5 more.

company_factsCompany FactsA
Read-onlyIdempotent
Inspect

TYPED, DETERMINISTIC financial facts for a US public company for a NAMED reporting period, "Apple revenue for fiscal 2023", "Walmart net income FY2026 Q3", "Microsoft cash at the end of fiscal 2024", or for the MOST RECENT reported period when you leave period out ("NVIDIA revenue in its most recent quarter", "Apple's latest net income"): the answer then names the period it resolved to (period_resolution) and says when a newer 8-K earnings release exists than the latest 10-Q/10-K (newer_earnings_release). PREFER OVER entity_profile / get_company_financials whenever the period matters: those answer "the most recent figures" and will happily hand back FY2025 when you asked about FY2019, and neither separates a discrete quarter from a year-to-date figure. This one refuses instead, it NEVER substitutes the latest period for the period requested, NEVER returns 0 for missing data, NEVER lets a 9-month YTD number answer a quarterly question, and NEVER converts a currency. Every answer carries the exact us-gaap concept it came from, what that concept MEASURES (NetIncomeLoss excludes non-controlling interests, ProfitLoss includes them, not synonyms), the accession number and a link to the filing on sec.gov, the restatement trail of any superseded figures, and a contract + derivation version to pin against. Fiscal periods are the FILER'S OWN, anchored on their fiscal-year end, so Walmart's year ending 2026-01-31 is FY2026 and Apple's ending 2025-09-27 is FY2025. Attributes: revenue, net_income, cash, gross_profit, operating_income, eps_diluted, capex, operating_cash_flow, long_term_debt, shares_outstanding (the dei COVER-PAGE share count, so its period end is the cover date, after the quarter closed, that is the most current count the filing carries). Units are not all USD: shares_outstanding is in shares with currency null, eps_diluted in USD/shares. A discrete quarter the filer never filed, every Q4, and Q2/Q3 of cash-flow lines, which are filed year-to-date, is DERIVED as YTD(q) minus YTD(q-1) and comes back with reported: false, the subtraction named in derivation (fy_minus_9m / ytd_9m_minus_6m / ytd_6m_minus_3m) and both legs with their filings in derived_from; test reported if you will only accept a figure lifted from a filing. Per-share and balance-sheet figures are NEVER derived. Every non-answer is a named status, unavailable (the filer did not report it for that period; the periods that DO exist are listed, without values), unsupported (outside what v1 covers, a non-us-gaap filer, an unknown attribute, a non-USD unit), ambiguous (the company name matched two filers equally well; both are named), conflicting (two filings the same day disagree; both are returned and neither is picked), partial (a value with no accession behind it). Source: SEC EDGAR, XBRL financial facts, one publisher read once, see corroboration. Same response is served at POST https://gateway.pipeworx.io/v1/facts for non-MCP callers.

Inputs: company (required), attribute (required), as_of, basis, +5 more.

discover_toolsDiscover ToolsA
Read-onlyIdempotent
Inspect

Find tools by describing the data or task. Use when you need to browse, search, look up, or discover what tools exist for: SEC filings, financials, revenue, profit, FDA drugs, adverse events, FRED economic data, Census demographics, BLS jobs/unemployment/inflation, ATTOM real estate, ClinicalTrials, USPTO patents, weather, news, crypto, stocks. Returns the top-N most relevant tools with names, descriptions, and full input schemas (with curated examples), each result is ready to call directly, no second schema lookup needed. Call this FIRST when you have many tools available and want to see the option set (not just one answer).

Inputs: query (required), q, task, limit, +2 more.

statcan_changed_seriesStatcan Changed SeriesA
Read-onlyIdempotent
Inspect

List StatCan series that changed (new release) on a given date (default today). Useful to detect updated cubes for scheduled refreshes. A release day can list several hundred thousand series, so the list is paged: limit defaults to 2000 series and is at most 10000 (larger values are clamped and the response says so); the response gives total, returned, offset and next_offset (null on the last page). A page over 1.5M characters is cut and first_dropped_offset says where to resume.

Inputs: date, limit, offset. Returns: date, note, count, limit, +8 more

statcan_codesetStatcan CodesetA
Read-onlyIdempotent
Inspect

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.

Inputs: codeset, language.

statcan_csv_urlStatcan Csv UrlA
Read-onlyIdempotent
Inspect

Return the StatCan-hosted URL for a full cube as a CSV download (doesn't fetch the file, hands back a direct URL).

Inputs: product_id (required), language. Returns: status, language, product_id, download_url

statcan_cube_dataStatcan Cube DataA
Read-onlyIdempotent
Inspect

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. The response carries series_title, the member names of that coordinate joined with ";" (e.g. "Alberta;Youth admissions;Total correctional services"), so it also answers which geography or member a coordinate stands for.

Inputs: coordinate (required), product_id (required), n_periods. Returns: vector_id, coordinate, product_id, observations, +2 more

statcan_cube_metadataStatcan Cube MetadataA
Read-onlyIdempotent
Inspect

Full metadata for a StatCan cube: dimensions, member trees, frequency, geography, last release. Use it to construct a coordinate string for statcan_cube_data, and to turn a coordinate back into labels: pass coordinate (e.g. "12.1.1.0.0.0.0.0.0.0") to get the member name at every position (position 1 is usually Geography), or dimension (position or name, e.g. 1 or "Geography") to list EVERY member of that dimension with its id; without either, each dimension lists only its first 10 members and says when it is truncated. 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.

Inputs: product_id (required), dimension, coordinate. Returns: end_date, title_en, title_fr, cansim_id, +7 more

statcan_cube_vectorsStatcan Cube VectorsA
Read-onlyIdempotent
Inspect

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.

Inputs: product_id (required), page, limit, filters.

statcan_indicatorStatcan IndicatorA
Read-onlyIdempotent
Inspect

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.

Inputs: indicator (required), recent, geography.

statcan_list_cubesStatcan List CubesA
Read-onlyIdempotent
Inspect

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.

Inputs: page, limit, title. Returns: note, page, count, cubes, +8 more

statcan_release_scheduleStatcan Release ScheduleA
Read-onlyIdempotent
Inspect

Statistics Canada release calendar for The Daily: which surveys and indicators release on which date over the next ~two weeks. Use for "when is the next Labour Force Survey release", "when does StatCan publish the CPI / GDP / housing figures". Pass query (words from the release title, e.g. "Labour Force Survey") to filter; omit it for the whole window. Each row has the release date, title and reference period. The published window is about two weeks, so a release further out returns an empty list with a note, not a guess.

Inputs: limit, query. Returns: count, source, window, releases

statcan_seriesStatcan SeriesA
Read-onlyIdempotent
Inspect

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.

Inputs: vector_id (required), recent.

statcan_tableStatcan TableA
Read-onlyIdempotent
Inspect

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.

Inputs: product_id (required), geo, page, limit, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      F
      maintenance
      Provides access to Statistics Canada official statistics without authentication, enabling AI agents to query Canadian economic and demographic data.
      6 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      MCP server giving LLMs live access to Statistics Canada's full catalogue of 8,200+ data tables via the Web Data Service, with tools to search tables, inspect dimensions, and fetch time series data using plain-language prompts.
      5
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for official statistics from Statistics Finland (Tilastokeskus) — the StatFin database, exposed through the PxWeb API. Search 3000+ tables, inspect their dimensions, and pull data as JSON-stat2.
      4
      53 npm
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.