Statistics Canada MCP Server
io.github.Aryan-Jhaveri/mcp-statcan
Serveur MCP OK 5 outils
Access Statistics Canada data via the Web Data Services API
Fiche technique
- Auteur
- Aryan-Jhaveri (espace de noms du registre)
- Dépôt
- github.com/Aryan-Jhaveri/mcp-statcan
- Site
- mcp-statcan.com
- Version
- 0.19.0
- Transport
- Streamable HTTP stdio
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://mcp-statcan.com/mcp Streamable HTTP
- Paquets
- statcan-mcp-server 0.19.0 pypi stdio
- Outils
- 5
- Catégories
- —
- Dernière mise à jour
- 6 nov. 2026
- Publication
- 6 nov. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 0 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/io.github.Aryan-Jhaveri/mcp-statcan)<a href="https://latlas.dev/mcp/io.github.Aryan-Jhaveri/mcp-statcan"><img src="https://latlas.dev/badge/statut/mcp/io.github.Aryan-Jhaveri/mcp-statcan.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.Aryan-Jhaveri/mcp-statcan)<a href="https://latlas.dev/mcp/io.github.Aryan-Jhaveri/mcp-statcan"><img src="https://latlas.dev/badge/fiche/io.github.Aryan-Jhaveri/mcp-statcan.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://mcp-statcan.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 08:42
- Temps de réponse
- 1 368 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- StatCanAPI_Server 0.19.0
- Outils
- 5
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 08:42 | OK | 1 368 ms | 5 |
Outils exposés (5, réponse à tools/list, 28 nov. 2026)
search_cubes_by_title
Find StatCan tables by title keywords. Returns productId, title, dates and frequency; each includes key_template, the dimension order of the SDMX key.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| search_term | string | oui | Keywords, all must appear in the title (English or French). |
| max_results | integer | non | |
| offset | integer | non | next_offset from the previous page. |
get_sdmx_structure
A 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| productId | integer | oui | 8-digit table id (table 18-10-0004-01 → 18100004). |
| search | string | non | Return only codes whose name contains this text (case-insensitive), across all dimensions, e.g. 'Ontario'. Separate several terms with ';'. |
| dimension | integer | non | Key position: return every code of that dimension (default: first 10 per dimension), plus leaf_key, its lowest-level codes as a '+' OR. |
get_sdmx_data
Observations 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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| productId | integer | non | |
| key | string | non | With productId: one code per dimension in position order, joined by '.'; '+' for OR ('1+2.2'); empty for all members ('.2', includes totals). |
| vectorId | integer | non | Instead of productId + key: one series. |
| lastNObservations | integer | non | Last N periods per series. |
| startPeriod | string | non | '2020', '2020-01' or '2020-Q1'. Not with lastNObservations. |
| endPeriod | string | non | |
| sql | string | non | One SELECT over all fetched rows as table 'data', returning only its result. Use it for growth, averages, rankings. Columns: one per dimension (non-alphanumerics → '_', double-quote them), period (TEXT), value (REAL), VECTOR_ID, UOM, STATUS. |
| full | boolean | non | Every observation (max 500) instead of a summary when over 100. |
| format | enum: "json" | "csv" | non | csv: 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_info
Series metadata for productId + coordinates, or vectorIds: vectorId, key, title, frequency, unit of measure and scalar (decoded), decimals.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| productId | integer | non | |
| coordinates | array<string> | non | With productId: dot-separated member ids, e.g. ['14.2']. |
| vectorIds | array<integer> | non |
get_changes
What StatCan released: tables updated on a date (default today), or today's new data points for one series (vectorId, or productId + coordinate).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| date | string | non | YYYY-MM-DD: tables released that day (default today). |
| productId | integer | non | With coordinate: one series. |
| coordinate | string | non | |
| vectorId | integer | non | Today's changed data points for this series. |
| offset | integer | non | |
| limit | integer | non |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://mcp-statcan.com/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http mcp-statcan https://mcp-statcan.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : mcp-statcan ; URL : https://mcp-statcan.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : mcp-statcan ; Server URL : https://mcp-statcan.com/mcp ; Create as a plugin{
"mcpServers": {
"mcp-statcan": {
"url": "https://mcp-statcan.com/mcp"
}
}
}{
"mcpServers": {
"mcp-statcan": {
"type": "http",
"url": "https://mcp-statcan.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"mcp-statcan": {
"url": "https://mcp-statcan.com/mcp"
}
}
}{
"mcpServers": {
"mcp-statcan": {
"httpUrl": "https://mcp-statcan.com/mcp"
}
}
}[mcp_servers.mcp-statcan]
url = "https://mcp-statcan.com/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
Statistics Canada MCP Server · L’Atlas · Test du
[Statistics Canada MCP Server — L’Atlas](https://latlas.dev/mcp/io.github.Aryan-Jhaveri/mcp-statcan)Source : Registre officiel MCP · relevé le 2 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.