Statistics Canada MCP Server
● Activeio.github.Aryan-Jhaveri/mcp-statcan
Access Statistics Canada data via the Web Data Services API
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"mcp-statcan": {
"command": "uvx",
"args": [
"statcan-mcp-server"
]
}
}
}claude mcp add mcp-statcan -- uvx statcan-mcp-servercodex mcp add mcp-statcan -- uvx statcan-mcp-servercode --add-mcp '{"name":"mcp-statcan","type":"stdio","command":"uvx","args":["statcan-mcp-server"]}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
- Category
- Data & Analytics
- Version
- 0.19.0
- Registry
- active
- Published
- 11/6/2026
Live check
checked Nov 19, 2026, 09:07 UTCThe endpoint answered the MCP handshake as "StatCanAPI_Server" and listed 5 tools. Answering since Nov 18, 2026.
Context cost ≈ 1.1k tokens of tool definitions a client loads per conversation (estimate: characters ÷ 4) across 5 tools.
Tools (5)
tool list changed Nov 19, 2026, 09:07 UTCsearch_cubes_by_title3 paramsFind StatCan tables by title keywords. Returns productId, title, dates and frequency; each includes key_template, the dimension order of the SDMX key.
Show parametersHide parameters
search_termstringrequiredKeywords, all must appear in the title (English or French).max_resultsintegeroffsetintegernext_offset from the previous page.
get_sdmx_structure3 paramsA table's dimensions in key order with their codes (id, name, parent). Use search to find the codes for labels like 'Ontario' instead of guessing.
Show parametersHide parameters
productIdintegerrequired8-digit table id (table 18-10-0004-01 → 18100004).searchstringReturn only codes whose name contains this text (case-insensitive), across all dimensions, e.g. 'Ontario'. Separate several terms with ';'.dimensionintegerKey position: return every code of that dimension (default: first 10 per dimension), plus leaf_key, its lowest-level codes as a '+' OR.
get_sdmx_data9 paramsObservations for productId + key, or one vectorId. Over 100 observations you get a per-series summary. Pass sql to compute over every row (growth, averages, ranking) server-side. Cite _sdmx_url.
Show parametersHide parameters
productIdintegerkeystringWith productId: one code per dimension in position order, joined by '.'; '+' for OR ('1+2.2'); empty for all members ('.2', includes totals).vectorIdintegerInstead of productId + key: one series.lastNObservationsintegerLast N periods per series.startPeriodstring'2020', '2020-01' or '2020-Q1'. Not with lastNObservations.endPeriodstringsqlstringOne SELECT over all fetched rows as table 'data', returning only its result. Use it for growth, averages, rankings. Columns: one per dimension (non-alphanumericfullbooleanEvery observation (max 500) instead of a summary when over 100.formatstringcsv: to save rows to a file, copy it verbatim. All observations (max 500), a row per series, a column per period; shared fields as '# name: value' lines.
get_series_info3 paramsSeries metadata for productId + coordinates, or vectorIds: vectorId, key, title, frequency, unit of measure and scalar (decoded), decimals.
Show parametersHide parameters
productIdintegercoordinatesarrayWith productId: dot-separated member ids, e.g. ['14.2'].vectorIdsarray
get_changes6 paramsWhat StatCan released: tables updated on a date (default today), or today's new data points for one series (vectorId, or productId + coordinate).
Show parametersHide parameters
datestringYYYY-MM-DD: tables released that day (default today).productIdintegerWith coordinate: one series.coordinatestringvectorIdintegerToday's changed data points for this series.offsetintegerlimitinteger
Checked by Serverdex with a plain initialize + tools/list call to mcp-statcan.com/mcp, no credentials, about once a day. A failed check is never a removal.
On GitHub
read Nov 17, 2026- Stars
- 8
- Forks
- 3
- Last push
- Nov 6, 2026
- License
- MIT
Pythoncanadadata-analysisllmmcpmcp-serveropen-datapythonsdmxstatisticswds
From the README
Statistics Canada MCP Server MCP server and CLI for Statistics Canada's Web Data Service (WDS) and SDMX REST API. Gives any MCP client — Claude, Cursor, VS Code Copilot, Gemini — structured access to Canadian statistical data. Includes a standalone statcan CLI for direct downloads without an LLM. Hosted on Render — no install required for most users. See Quick Start. ⚠️ LLMs may fabricate data. Always verify important figures against official Statistics Canada sources. The statcan CLI searching, inspecting and downloading a table. See statcan CLI. Table of Contents • Quick Start • Examples • Setup by Client • How Claude.ai Uses This Server • MCP Prompts • statcan CLI • Features & Tools • Project Structure • Known Issues • Contributors Quick Start Pick the option that fits you. You don't need to install anything for Option 1. Option 1 — Use the hosted server (recommended) Connect directly to the public server on Render. No uv, no terminal, no local setup. Claude Desktop / Claude.ai 1. Open Settings → Connectors → Add Custom Connector 2. Name: mcp-statcan 3. URL: https://mcp-statcan.com/mcp 4. Save and restart Claude Code The hosted server provides all WDS + SDMX tools.…
Read the full README on GitHub →Remotes
- streamable-http
https://mcp-statcan.com/mcp
Alternatives to Statistics Canada MCP Server
Best Data & Analytics servers →The most-starred Data & Analytics servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| Metabase | 50,336 | Nov 2026 | Not an MCP endpoint |
| PostHog MCP Server | 40,870 | Nov 2026 | Needs sign-in |
| OpenMetadata | 15,781 | Nov 2026 | Not an MCP endpoint |
| Agent-Native Analytics | 7,707 | Nov 2026 | Needs sign-in |
| TradingMCP | 5,284 | Nov 2026 | Needs sign-in |
Statistics Canada MCP Server: questions people ask
- Is Statistics Canada MCP Server a remote or a local MCP server?
- According to its entry in the official MCP registry, Statistics Canada MCP Server ships as a hosted endpoint (streamable-http) that your client connects to by URL and as a local package (PyPI) that your client starts on your machine. Use the hosted endpoint when your client supports Streamable HTTP; use the package when you want it to run locally.
- Does Statistics Canada MCP Server need an API key?
- Its hosted endpoint completed the Serverdex live check — an MCP initialize + tools/list call — with no credentials on Nov 19, 2026. Individual tools may still ask for a key when called.
- Is Statistics Canada MCP Server still maintained?
- Active: the repository's last commit 13 days ago. Last push Nov 6, 2026, 8 GitHub stars, MIT licence. Read from GitHub on Nov 17, 2026.
- What tools does Statistics Canada MCP Server expose?
- 5 tools as listed by the server itself during the live check, including search_cubes_by_title, get_sdmx_structure, get_sdmx_data, get_series_info, get_changes. The full list with parameters is in the Live check section above.
- How do I add Statistics Canada MCP Server to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More Data & Analytics servers
Browse all Data & Analytics →CogniRepo
ashlesh-t
FAISS, call graph, AST, BM25 — 34 MCP tools for AI agents. 50-80% token reduction. Offline.
Whoop MCP
AshwanthramKL
Read-only WHOOP v2 data for MCP clients, with local SQLite cache and CSV/JSONL/Parquet exports.
Scb Opendata MCP
ashwinvis
Statistics Sweden’s open data made available as an MCP server, using Python and FastMCP
Umami MCP
Asif2BD
Query Umami Analytics v3 — stats, funnels, retention, attribution, UTM. Read-only by default.
Yandex Metrica MCP
askads
MCP server for Yandex Metrica API: list counters, goals and pull web-analytics statistics.
Powerbi
asklokesh
MCP server for Power BI API integration
Add the badge to your site
Show visitors that Statistics Canada MCP Server is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-aryan-jhaveri-mcp-statcan?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Statistics Canada MCP Server — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-aryan-jhaveri-mcp-statcan?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.