MapleStatsMCP

Outils

Tous les outils du serveur

Les 504 outils, répartis dans 95 modules. Cherchez-en un, puis ouvrez-le pour voir ses paramètres et un exemple d'appel. Les descriptions sont en anglais, comme dans le serveur.

Toujours visibles pour l'agent

plan_query
Transforme une question en plan ordonné entre organismes, avec les précautions pour combiner les résultats.
search_tools
Classe les 503 autres outils selon une requête en langage courant et renvoie les 5 premiers.
call_tool
Exécute un outil trouvé par search_tools, par son nom, avec ses arguments.

Fédéral et national

Statistique Canada

statcan_ statcan_census_profile_ statcan_census_profile_archive_ cimt_ statcan_daily_ statcan_delta_ statcan_geo_ statcan_geosuite_ statcan_indicators_ statcan_lode_ statcan_pumf_ rdaas_ statcan_reference_ statcan_sdg_ sdmx_ sdmx_space_ statcan_surveys_ wds_

Statistique Canada : le Service de données Web (WDS) pour la découverte de tableaux/cubes, les métadonnées et les séries chronologiques ; l'API REST SDMX pour des requêtes filtrées côté serveur…

Description complète

Statistique Canada : le Service de données Web (WDS) pour la découverte de tableaux/cubes, les métadonnées et les séries chronologiques ; l'API REST SDMX pour des requêtes filtrées côté serveur ; le service de données de référence (RDaaS) pour les classifications, ensembles de codes, concordances, index et exclusions (p. ex. le SCIAN, la Classification géographique type) ; et l'API SDMX du Profil du recensement de 2021 (outils préfixés statcan_census_profile_) -- un hôte et une structure de flux de données distincts du service de tableaux WDS/SDMX ci-dessus, couvrant les caractéristiques démographiques, de logement, de revenu et autres par géographie -- recherche d'une géographie ou d'une caractéristique par nom, puis récupération des valeurs pour toute combinaison, y compris le parent_code de chaque caractéristique lorsque le tableau de profil imbrique une caractéristique sous une autre (p. ex. les répartitions par groupe d'âge). Tous les outils acceptent lang : en|fr ; l'API du Profil du recensement sélectionne la langue via l'en-tête Accept-Language plutôt qu'un paramètre de requête, géré en interne. Les recensements antérieurs (2001, 2006, 2011, 2016) n'ont pas d'API de requête équivalente -- les outils préfixés statcan_census_profile_archive_ résolvent plutôt leurs liens de téléchargement en bloc officiels CSV/TAB (1996 n'a pas de page de téléchargement en bloc équivalente selon ce schéma d'URL et n'est pas couvert). Les flux Atom officiels du Quotidien (outils préfixés statcan_daily_) : statcan_daily_get_releases retourne le bulletin de diffusion officiel de Statistique Canada (tableaux nouveaux ou mis à jour, résultats d'enquêtes, produits analytiques) pour les 100 derniers jours, pour tous les sujets ou filtré à l'un des 30 sujets (p. ex. logement, travail, prix et indices des prix) -- les pages Web du Quotidien lui-même sont du HTML rendu côté serveur sans API JSON, donc ceci passe plutôt par la famille de flux Atom documentée de Statistique Canada. statcan_daily_search_archive couvre l'historique complet des diffusions depuis le 2012-03-14 plutôt que la fenêtre de 100 jours des flux Atom, via le fichier JSON qui alimente le rendu côté client du calendrier de diffusion (18 222 entrées confirmées en direct) -- filtrable par mot-clé du titre/de la période de référence et/ou par plage de dates. Le catalogue « Ressources de référence » de Statistique Canada (outils préfixés statcan_reference_) : statcan_reference_search_documents effectue une recherche parmi 2 031 documents de définitions, sources de données et méthodologie -- distincts des données proprement dites et du Quotidien -- chacun portant un numéro au catalogue, une catégorie, une description et une date de diffusion. Sa page de recherche ignore silencieusement le paramètre de mot-clé (retournant tous les documents sans filtre) à moins que la session n'ait déjà visité la page de base sans paramètre, confirmé en direct ; géré en interne par une requête de préchauffage unique par langue. La même famille d'outils couvre aussi le catalogue Analyse de Statistique Canada (statcan_reference_search_analysis, plus de 10 841 articles analytiques, « coups d'œil », revues et périodiques) -- le même moteur de recherche Drupal, les mêmes particularités, seul le catalogue diffère. La même famille d'outils couvre aussi le catalogue Données de Statistique Canada (statcan_reference_search_data, plus de 13 342 éléments) -- le même moteur de recherche Drupal, et le seul point d'accès pour les fichiers de microdonnées à grande diffusion (FMGD ; p. ex. numéro 71M0001X pour l'Enquête sur la population active, 98M0001X pour le recensement) et d'autres produits de données en bloc que WDS/SDMX ne peuvent pas voir. La plupart des autres résultats de ce catalogue sont des PID de tableaux ordinaires aussi accessibles via WDS/SDMX ; privilégier ces outils pour une recherche de tableau courante. Confirmé en direct : la page d'un FMGD mène un pas plus loin vers une page statique propre au produit (pas ce moteur Drupal, donc non analysée de façon générique) listant le véritable téléchargement en bloc -- confirmé pour 98M0001X, un fichier ZIP direct et non authentifié d'environ 182 Mo, sans connexion ni compte requis. Pour les indicateurs du recensement de 2016, utiliser les tableaux WDS 17100122 et 17100123 (jusqu'aux régions sociosanitaires) ; statcan_census_profile_archive_ donne les fichiers en bloc de 2016. Le fichier delta de Statistique Canada (outils préfixés statcan_delta_) : statcan_delta_get_file_link résout le lien de téléchargement du fichier ZIP de mise à jour quotidienne pour une date (toutes les données et métadonnées de tableaux/vecteurs diffusées ce jour ouvrable) et confirme son existence -- un fichier delta n'existe que pour les jours ouvrables ayant eu une diffusion. statcan_delta_list_files indique les ~47 jours conservés ; statcan_delta_list_tables liste les cubes modifiés par un fichier ; statcan_delta_read_table lit les lignes d'un cube sans télécharger le zip ; statcan_delta_list_real_time_tables associe les 19 tableaux en temps réel à leurs tableaux réguliers. Les flux officiels d'indicateurs de Statistique Canada (outils préfixés statcan_indicators_) : statcan_indicators_get_indicators retourne les valeurs actuelles d'indicateurs nommés (population, IPC, PIB, commerce, chômage, etc., 2 362 confirmés en direct dans l'ensemble « all ») avec leur taux de croissance et un lien vers l'article du Quotidien qui les a diffusés -- les mêmes flux qui alimentent Mon StatCan et la page d'accueil de Statistique Canada. Le répertoire des enquêtes et les métadonnées de la BMDI de Statistique Canada (outils préfixés statcan_surveys_) : statcan_surveys_search_surveys recherche dans le répertoire alphabétique d'environ 899 enquêtes et programmes statistiques (actifs et inactifs) pour trouver l'identifiant numérique d'une enquête ; statcan_surveys_get_survey_metadata récupère le véritable contenu « définitions, sources de données et méthodes » de cette enquête depuis la BMDI (Base de métadonnées intégrée, un système distinct et plus ancien que les catalogues Référence/Analyse) -- statut, fréquence, description et sujets, avec un detail_url vers les sections méthodologiques complètes plutôt que d'aplatir ce texte en champs. Un identifiant d'enquête inconnu redirige vers la page d'erreur dédiée de Statistique Canada, qui répond elle-même HTTP 500 en raison d'une chaîne de redirection brisée de leur côté -- géré en interne comme un résultat normal d'absence de résultat. Le service de géographie du recensement ArcGIS REST de Statistique Canada (outils préfixés statcan_geo_, geo.statcan.gc.ca -- encore un autre hôte, et la seule API géospatiale véritablement interrogeable de ce module, distincte des téléchargements en bloc de fichiers de limites statiques) : statcan_geo_list_services trouve les produits de limites disponibles pour une année (une année de recensement comme 2021 publie un ensemble complet couvrant tous les niveaux de géographie ; une année intercensitaire ne publie que des mises à jour au niveau des SDR et le fichier du réseau routier -- véritablement différent d'une année à l'autre, découvert en direct plutôt que codé en dur) ; statcan_geo_get_layer_detail inspecte le schéma des champs d'une couche ; statcan_geo_query_layer filtre les entités par attribut (p. ex. trouver le DGUID d'une SDR par son nom) et, sur demande, retourne les limites polygonales reprojetées de la référence spatiale native du service (EPSG:3347, Lambert Statistique Canada) vers de simples coordonnées latitude/longitude. Confirmé en direct : chaque erreur (année/service/couche inconnu, filtre malformé) revient en HTTP 200 avec un objet d'erreur intégré, non un statut non-2xx, et environ une requête valide sur trois à cinq subit une véritable erreur HTTP 500 transitoire provenant d'un nœud défaillant -- les deux gérés en interne (la seconde par la couche de nouvelles tentatives déjà partagée). Le centre de données des objectifs de développement durable de Statistique Canada (outils préfixés statcan_sdg_, hébergé comme deux sites statiques « Open SDG » distincts sur GitHub Pages, non une API gérée par Statistique Canada) : statcan_sdg_search_indicators effectue une recherche dans le cadre « canada » (86 indicateurs, la déclaration nationale propre au Canada) ou le cadre « global » (251 indicateurs, la déclaration du Canada par rapport au cadre d'indicateurs mondial de l'ONU) -- des ensembles d'indicateurs distincts et numérotés différemment, sans équivalent de cube/PID WDS/SDMX. statcan_sdg_get_indicator_metadata retourne l'objectif et la cible d'un indicateur, sa description, ses unités et ses sources de données ; statcan_sdg_get_indicator_data retourne ses observations, chacune avec les colonnes de désagrégation (p. ex. la géographie) que cet indicateur particulier publie. Les deux cadres utilisent des noms de champs de métadonnées véritablement différents pour les mêmes concepts (confirmé en direct) -- géré en interne afin que les appelants voient une forme cohérente peu importe le cadre. L'API de l'application Web du commerce international canadien de marchandises (CICM ; outils préfixés cimt_ ; non documentée, trouvée dans le JavaScript de la page, susceptible de changer sans préavis) : exportations et importations mensuelles depuis 1988-01 par marchandise du SH (6 chiffres, ou 8 pour les exportations et 10 pour les importations), pays partenaire, État américain et province, ce que le WDS n'offre pas sous les agrégats. cimt_search_commodities et cimt_search_partners trouvent les codes ; cimt_get_trade retourne des lignes avec valeurs (dollars canadiens) et quantités (avec unités), une limite de lignes et un indicateur de troncature ; cimt_get_top_partners, _top_commodities et _province_breakdown classent un mois ; cimt_get_series donne une courbe mensuelle de cinq ans. Les totaux concordent avec le tableau 12-10-0011-01 du WDS. Les fichiers de microdonnées à grande diffusion (FMGD ; outils préfixés statcan_pumf_) : statcan_pumf_search trouve les enquêtes qui publient des microdonnées au niveau des répondants, statcan_pumf_list_files liste les téléchargements ZIP gratuits d'un FMGD, statcan_pumf_list_zip montre le contenu d'un ZIP sans le télécharger et statcan_pumf_get_codebook lit les définitions de variables de son livre de codes. La GéoSuite du recensement (92-150-X ; outils préfixés statcan_geosuite_) : les tables des attributs géographiques des recensements de 1996 à 2021 (codes, identificateurs uniques, noms français et anglais, hiérarchie, chiffres de population et des logements, superficie, points représentatifs, des provinces aux îlots de diffusion), lues en Parquet sur le site miroir de MountainMath (data.mountainmath.ca), vérifié colonne par colonne contre le fichier de Statistique Canada, parce que la copie de Statistique Canada sur www12 est derrière un défi anti-robot Cloudflare ; chaque résultat le dit dans provenance.caveats. Chaque résultat porte une mention d'attribution de la Licence ouverte de Statistique Canada dans provenance.licence. Depuis novembre 2026, Statistique Canada répond à certaines requêtes automatisées par une vérification anti-robot Cloudflare que seule une personne dans un navigateur peut passer : son API SDMX (les outils sdmx_ lisent alors les mêmes séries dans le WDS), l'API du commerce CICM, les fils RSS du Quotidien (statcan_daily_get_releases lit alors l'archive des diffusions), les pages de catalogue, de recherche et de publication, et sur certains réseaux les fichiers de tableaux complets (wds_get_full_table_download donne le lien et un script Python qui reconstruit le tableau par le WDS ; wds_query_table les lit pendant le téléchargement et reconstruit une tranche par le WDS là où ils sont bloqués). reproduce_code n'écrit pas de script pour un service bloqué ; ses scripts de tableau complet téléchargent le fichier et ne passent par le WDS que devant la vérification. Les erreurs d'une page bloquée le disent et nomment l'accès le plus proche qui fonctionne encore ; statcan_check_access indique quels services répondent aux scripts en ce moment.

94 outils · Ressources : docs://statcan/addressing, docs://statcan/fr/adressage, docs://statcan/gotchas, docs://statcan/fr/pieges · Invites : build_sdmx_or_key, find_and_fetch_series, look_up_classification

Services de StatCan qui répondent aux scripts 1

statcan_check_accessCheck which Statistics Canada services answer scripts right now.

Utilisation : knowing whether a StatCan failure is StatCan's bot check or an outage, and which routes still work. Since November 2026 StatCan answers some automated requests with a Cloudflare check only a person in a browser can pass, and which services it blocks has changed from day to day. This sends one small request to each service MapleStats reads (WDS metadata and series, full-table files, SDMX, CIMT trade, The Daily's feeds and archive, indicators, catalogue search, microdata files, the Census Profile and RDaaS APIs, the census site) and reports each as answers, blocked, error or no_answer, with the time it was checked and the tools that use it. Results are kept 15 minutes.

Mots-clés en anglais
statcan, blocked, captcha, cloudflare, status, availability, outage, access, bot check, 403, working endpoints, wds
Mots-clés en français
Statistique Canada, bloqué, vérification anti-robot, Cloudflare, état, disponibilité, panne, accès, services, 403
Paramètres de statcan_check_access
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "statcan_check_access", "arguments": {}}

Profil du recensement de 2021 3

statcan_census_profile_get_dataGet 2021 Census Profile values for geographies and characteristics.

Utilisation : retrieving actual census data (counts or rates) for one or more geographies (by DGUID, from statcan_census_profile_search_geography) crossed with one or more characteristics (by code, from statcan_census_profile_search_characteristic), for a given gender breakdown. Multiple geography_codes or characteristic_codes are combined (every geography x every characteristic); levels may be mixed (level is optional). Slow: 30 to 45 s, then kept. Census population, income, age, shelter cost for Canada, provinces, metro areas: wds_get_data_from_cube_coord on 98-10-0005, 98-10-0061, 98-10-0020, 98-10-0253 takes under 1 s. Returns each value alongside its data-quality flag and confidence interval when the upstream API supplies one -- do not drop a flagged or interval-bounded value silently.

Mots-clés en anglais
census, population, dwelling, income, age, demographics, statistics Canada, 2021 census, SDMX
Mots-clés en français
profil du recensement, recensement de 2021, population, logement, revenu, âge, démographie, données du recensement, Statistique Canada
Paramètres de statcan_census_profile_get_data
ParamètreTypeDéfaut
geography_codeslist[str]obligatoire
characteristic_codeslist[str]obligatoire
level"canada_provinces_territories" | "census_divisions" | "census_subdivisions" | "dissolved_census_subdivisions" | "census_metro_areas" | "census_tracts" | "dissemination_areas" | "aggregate_dissemination_areas" | "designated_places" | "economic_regions" | "federal_electoral_districts" | "forward_sortation_areas" | "health_regions" | "population_centres" | nullnull
gender"total" | "men" | "women""total"
statistic"counts" | "rate""counts"
lang"en" | "fr""en"
call_tool {"name": "statcan_census_profile_get_data", "arguments": {"geography_codes": "…", "characteristic_codes": "…"}}
statcan_census_profile_search_characteristicSearch the 2021 Census Profile's 2,631 characteristics (variables) by name.

Utilisation : finding a characteristic code (needed by statcan_census_profile_get_data) by keyword, e.g. "population", "median household income", "dwelling", "commute". An empty query returns every characteristic. Each match includes parent_code when the characteristic is a sub-item of a broader one in the profile table's own hierarchy (e.g. "0 to 4 years" is a child of "0 to 14 years", itself a child of "Total - Age groups of the population") -- use this to tell a summary row from its breakdown rows rather than treating all 2,631 characteristics as a flat list.

Mots-clés en anglais
census, characteristic, variable, population, income, dwelling, age, language, education, housing, commuting
Mots-clés en français
recensement, profil du recensement, caractéristique, variable, population, revenu, logement, âge, langue, scolarité, éducation, navettage
Paramètres de statcan_census_profile_search_characteristic
ParamètreTypeDéfaut
querystr""
limitint20
lang"en" | "fr""en"
call_tool {"name": "statcan_census_profile_search_characteristic", "arguments": {}}
statcan_census_profile_search_geographySearch 2021 Census Profile geography names for one geography level.

Utilisation : finding a geography's DGUID code (needed by statcan_census_profile_get_data) by place name substring, at a chosen level (province, census division, census subdivision/ municipality, census metro area, census tract, dissemination area, forward sortation area, health region, economic region, federal electoral district, population centre, designated place). An empty query returns every geography at that level. Canada, provinces, metro areas: wds_get_data_from_cube_coord on 98-10-0005 is faster.

Mots-clés en anglais
census, geography, DGUID, place name, municipality, province, census subdivision, census tract, forward sortation area, FSA
Mots-clés en français
recensement, profil du recensement, géographie, DGUID, nom de lieu, municipalité, ville, province, subdivision de recensement, secteur de recensement, région de tri d'acheminement, code géographique
Paramètres de statcan_census_profile_search_geography
ParamètreTypeDéfaut
level"canada_provinces_territories" | "census_divisions" | "census_subdivisions" | "dissolved_census_subdivisions" | "census_metro_areas" | "census_tracts" | "dissemination_areas" | "aggregate_dissemination_areas" | "designated_places" | "economic_regions" | "federal_electoral_districts" | "forward_sortation_areas" | "health_regions" | "population_centres" | nullnull
querystr""
limitint20
lang"en" | "fr""en"
call_tool {"name": "statcan_census_profile_search_geography", "arguments": {}}

Liens de téléchargement des profils du recensement, 2001-2016 2

statcan_census_profile_archive_list_geography_levelsList geography levels and file formats available for an archived census year.

Utilisation : discovering what level keys (needed by statcan_census_profile_archive_get_download_link) and file formats exist for one archived census (2001, 2006, 2011, or 2016) before the 2021 Census Profile (covered by statcan_census_profile_* instead). Coverage genuinely narrows going back in time: 2016 has 34 geography groupings, 2011 has 14, 2006 and 2001 each have 5. Level keys are the same in both languages, so lang does not change this list; pass it to the download-link tool for French files.

Mots-clés en anglais
census, archive, historical, 2001, 2006, 2011, 2016, bulk download, comprehensive download file
Mots-clés en français
recensement, archive, historique, téléchargement en bloc, fichier de téléchargement global, niveau géographique, format de fichier, profil du recensement
Paramètres de statcan_census_profile_archive_list_geography_levels
ParamètreTypeDéfaut
year2001 | 2006 | 2011 | 2016obligatoire
lang"en" | "fr""en"
call_tool {"name": "statcan_census_profile_archive_list_geography_levels", "arguments": {"year": "…"}}

Commerce de marchandises par produit 8

cimt_get_periodsGet the first and latest month covered by the merchandise trade database (CIMT).

Utilisation : finding the latest published month of detailed Canadian exports and imports before querying them. Data start in 1988-01. This is an undocumented web-application API: WDS has no commodity-level trade, only aggregates by section and partner.

Mots-clés en anglais
CIMT, merchandise trade, exports, imports, latest month, coverage, reference period, Canadian international merchandise trade
Mots-clés en français
CICM, commerce de marchandises, exportations, importations, dernier mois, couverture, période de référence, commerce international canadien de marchandises, données disponibles
Paramètres de cimt_get_periods
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "cimt_get_periods", "arguments": {}}
cimt_get_province_breakdownSplit one month of exports or imports by province, optionally for one partner or chapter.

Utilisation : "which provinces export the most to China" or "imports by province of clearance". Exports are by province of origin (domestic exports and re-exports are reported separately); imports are by province of clearance, not of final use, which overstates provinces with ports and warehouses. period is a month (empty = latest).

Mots-clés en anglais
trade by province, provincial exports, provincial imports, province of origin, province of clearance, CIMT, regional trade, territory, breakdown
Mots-clés en français
commerce par province, exportations provinciales, importations provinciales, province d'origine, province de dédouanement, CICM, commerce régional, territoire, répartition
Paramètres de cimt_get_province_breakdown
ParamètreTypeDéfaut
direction"exports" | "imports"obligatoire
periodstr""
hs_chapterstr""
partnerstr""
us_statestr""
lang"en" | "fr""en"
call_tool {"name": "cimt_get_province_breakdown", "arguments": {"direction": "…"}}
cimt_get_seriesGet a five-year monthly series of exports or imports for an HS chapter or one commodity.

Utilisation : a quick trend line, for example crude oil exports to the US over the last 60 months. The window is the five years ending at period (empty = latest). hs_code is a 2-digit chapter (one value per month) or a 6-, 8- or 10-digit commodity (value and quantity measures: for exports domestic_value plus reexport_value is total exports, and the quantities are in unit). For longer ranges or several commodities use cimt_get_trade.

Mots-clés en anglais
time series, monthly trend, exports, imports, HS code, chapter, commodity, five years, CIMT, quantity, value
Mots-clés en français
série chronologique, tendance mensuelle, exportations, importations, code SH, chapitre, marchandise, cinq ans, CICM, quantité, valeur
Paramètres de cimt_get_series
ParamètreTypeDéfaut
direction"exports" | "imports"obligatoire
hs_codestrobligatoire
periodstr""
partnerstr""
us_statestr""
provincestr""
lang"en" | "fr""en"
call_tool {"name": "cimt_get_series", "arguments": {"direction": "…", "hs_code": "…"}}
cimt_get_top_commoditiesRank the largest traded commodities for one month, by partner, province or HS chapter.

Utilisation : "what does Alberta export to the US", "top imports from China" or the biggest products inside one HS chapter. period is a month (empty = latest). Filters are all optional. The service returns only its largest commodities.

Mots-clés en anglais
top commodities, largest products, ranking, exports, imports, HS code, province, partner, CIMT, trade composition, leading goods
Mots-clés en français
principales marchandises, plus gros produits, classement, exportations, importations, code SH, province, partenaire, CICM, composition du commerce, principaux biens
Paramètres de cimt_get_top_commodities
ParamètreTypeDéfaut
direction"exports" | "imports"obligatoire
periodstr""
hs_chapterstr""
provincestr""
partnerstr""
us_statestr""
hs_level"hs6" | "national""hs6"
lang"en" | "fr""en"
call_tool {"name": "cimt_get_top_commodities", "arguments": {"direction": "…"}}
cimt_get_top_partnersRank Canada's 15 largest trading partners (countries or US states) for one month.

Utilisation : "who buys the most Canadian lumber" or "top import sources in July 2026". period is a month (empty = latest). hs_chapter limits to a 2-digit HS chapter, province to one province. view "us_state" ranks the states within the United States. total_value_cad is the all-partner total, so shares are of the whole and, with no chapter, matches the published monthly total. The service returns only the top 15.

Mots-clés en anglais
top trading partners, ranking, largest export markets, import sources, country, US state, CIMT, exports, imports, share, Canada trade
Mots-clés en français
principaux partenaires commerciaux, classement, plus grands marchés d'exportation, sources d'importation, pays, État américain, CICM, exportations, importations, part, commerce du Canada
Paramètres de cimt_get_top_partners
ParamètreTypeDéfaut
direction"exports" | "imports"obligatoire
periodstr""
hs_chapterstr""
provincestr""
view"country" | "us_state""country"
lang"en" | "fr""en"
call_tool {"name": "cimt_get_top_partners", "arguments": {"direction": "…"}}
cimt_get_tradeGet Canadian merchandise exports or imports by month, HS commodity, partner and province.

Utilisation : commodity-level trade values and quantities, for example "crude oil exports to the US by month in 2025" or "vehicle imports from Mexico by province". from_period and to_period are months (YYYY-MM, 1988-01 to the latest, see cimt_get_periods). hs_code is a prefix: 2 digits (chapter), 4 (heading), 6, 8 or 10; empty means every commodity (large: set a limit and narrow it). hs_level "hs6" aggregates to 6 digits for both directions; "national" returns Canada's detail (8 digits exports, 10 imports) and then the code may be at most that long. partner is a country id, two-letter code or name (empty = all countries), us_state a US state (implies the US), provinces provinces of origin for exports or of clearance for imports (empty = Canada). annualize sums calendar years. Values are Canadian dollars at current prices; exports include re-exports. When truncated is true the rows are an arbitrary subset of total_count, not a ranking: narrow the query. The undocumented web-application API behind these tools may change.

Mots-clés en anglais
CIMT, exports, imports, merchandise trade, HS code, commodity, partner, province, US state, monthly trade, trade value, Statistics Canada, international trade
Mots-clés en français
CICM, exportations, importations, commerce de marchandises, code SH, marchandise, partenaire, province, État américain, commerce mensuel, valeur des échanges, Statistique Canada, commerce international
Paramètres de cimt_get_trade
ParamètreTypeDéfaut
direction"exports" | "imports"obligatoire
from_periodstrobligatoire
to_periodstrobligatoire
hs_codestr""
partnerstr""
us_statestr""
provinceslist[str] | nullnull
hs_level"hs6" | "national""hs6"
annualizeboolfalse
limitint500
lang"en" | "fr""en"
call_tool {"name": "cimt_get_trade", "arguments": {"direction": "…", "from_period": "…", "to_period": "…"}}
cimt_search_commoditiesSearch Harmonized System (HS) commodity codes by code prefix or by words.

Utilisation : turning a product ("crude petroleum", "pétrole brut") into the HS code that cimt_get_trade needs, or listing the codes under a chapter ("27"). Matches words in English and French. level is chapter (2 digits), heading (4), hs6 (6, the international level) or national (Canada's detail: 8 digits for exports, 10 for imports; the import list is a 16 MB file on first use). Each hit carries the unit of measure and the months the code was in use (codes change with HS revisions).

Mots-clés en anglais
HS code, harmonized system, commodity, product, tariff, classification, trade, exports, imports, CIMT, search, chapter, heading
Mots-clés en français
code SH, Système harmonisé, marchandise, produit, tarif, classification, commerce, exportations, importations, CICM, recherche, chapitre, position
Paramètres de cimt_search_commodities
ParamètreTypeDéfaut
querystr""
direction"exports" | "imports""exports"
level"chapter" | "heading" | "hs6" | "national""hs6"
lang"en" | "fr""en"
limitint20
call_tool {"name": "cimt_search_commodities", "arguments": {}}
cimt_search_partnersSearch trading-partner countries, US states or Canadian provinces and their codes.

Utilisation : finding the partner, US state or province to pass to cimt_get_trade and the other CIMT tools. They also accept a country's two-letter code ("CN"), a province's abbreviation ("AB") or a name directly. Country ids include historical partners (Czechoslovakia, West Germany) with the months they were reported. Exports are attributed to the US state of destination and imports to the state of origin.

Mots-clés en anglais
trading partner, country code, US state, province, origin, destination, CIMT, trade, exports, imports, partner code, geography
Mots-clés en français
partenaire commercial, code de pays, État américain, province, origine, destination, CICM, commerce, exportations, importations, code de partenaire, géographie
Paramètres de cimt_search_partners
ParamètreTypeDéfaut
querystr""
kind"country" | "us_state" | "province""country"
lang"en" | "fr""en"
limitint20
call_tool {"name": "cimt_search_partners", "arguments": {}}

Le Quotidien et le calendrier des diffusions 7

statcan_daily_get_articleRead the full text of one Daily article, with its tables, charts and PDF.

Utilisation : what StatCan actually wrote in a release -- the analysis, the headings, the Note to readers (concepts, revisions, next release date) -- beyond the one-paragraph summary statcan_daily_get_releases gives. article is the id ("dq261104a") or the URL that statcan_daily_get_releases or statcan_daily_search_archive returned, or a release date ("2026-11-04") or title (the newest match is read); lang picks the English or French page. Returns the text by section, chart titles, the StatCan tables the text links to (with 8-digit product ids for the wds_ tools), the article's own PDF, its Tables and Related information pages, the previous release, and the other links in the body. Charts and the release's tables are not reproduced: read figures from the tables and cite them.

Mots-clés en anglais
The Daily article, full text, release text, StatCan analysis, note to readers, PDF, press release, Daily release, commentary, what StatCan said, what StatCan says about a release, today's release explained, highlights, release article
Mots-clés en français
article du Quotidien, texte intégral, texte du communiqué, analyse de Statistique Canada, note aux lecteurs, PDF, communiqué de presse, diffusion du Quotidien, faits saillants, commentaire, article de diffusion, ce que dit Statistique Canada
Paramètres de statcan_daily_get_article
ParamètreTypeDéfaut
articlestrobligatoire
lang"en" | "fr""en"
call_tool {"name": "statcan_daily_get_article", "arguments": {"article": "…"}}
statcan_daily_get_release_calendarFind when StatCan will next release something (forward release calendar).

Utilisation : "when is the next release of X" -- the planned date of upcoming Daily releases of key indicators (Labour Force Survey, merchandise trade, building permits, CPI, with their reference period), about six months ahead. query needs every word in the title, reference period or catalogue number (accents ignored); start_date and end_date are "YYYY-MM-DD". With upcoming_only=True (default) results run soonest first from today (Toronto); with False they are the history, newest first, and include every past Daily release matching the query (kind "daily_release"), not only key indicators. kind "products" is the catalogue-number release history since 2012 only: that file has no future dates (use it for "when was catalogue 62-013-X published"); "all" merges both. Scheduled rows have no URL until the release is out. Dates are plans and can move. When nothing scheduled matches (the 2026 provincial and territorial economic accounts, a year ahead), not_scheduled gives the same release's past dates, any release of it already scheduled, and an estimate from the usual gap: report the estimate as an estimate, never as a date StatCan announced. For releases already out use statcan_daily_search_archive.

Mots-clés en anglais
release calendar, release schedule, next release, upcoming releases, when is the next, Labour Force Survey release date, CPI release date, The Daily, indicators calendar, last year's release date, PTEA, supply and use tables, Statistics Canada
Mots-clés en français
calendrier de diffusion, prochaine diffusion, prochaine publication, prochain communiqué, sera publié, date de diffusion, quand sort, Enquête sur la population active, indice des prix à la consommation, Le Quotidien, indicateurs clés, Statistique Canada
Paramètres de statcan_daily_get_release_calendar
ParamètreTypeDéfaut
querystr""
lang"en" | "fr""en"
kind"key_indicators" | "products" | "all""key_indicators"
upcoming_onlybooltrue
start_datestr | nullnull
end_datestr | nullnull
limitint20
call_tool {"name": "statcan_daily_get_release_calendar", "arguments": {}}
statcan_daily_get_release_filesGet the tables, PDF, surveys and publications behind a Daily release, and past releases.

Utilisation : "which tables and documents came with this release" and "what did the previous releases of this indicator include" -- for one Daily article (id such as "dq261030a" or its URL, from statcan_daily_get_releases or statcan_daily_search_archive) returns the article's PDF, every table of the release (title, frequency, table number and 8-digit product id for the wds_ tools), the surveys with their IMDB documentation pages (definitions, methods), the catalogued publications it links, its subjects and its release schedule. previous (0 to 12) also walks the "Previous release" links back that many releases, newest first, so you can see each past release's PDF and tables. Releases from 2012 to 2017 cite old CANSIM numbers; these are matched to today's tables where StatCan kept the link (legacy_cansim_id holds the old number). Links only: read the figures with the wds_ tools and the text with statcan_daily_get_article.

Mots-clés en anglais
release tables, datasets, PDF, previous release, past releases, release history, CANSIM table, related information, IMDB, survey documentation, release files, downloads, The Daily, Statistics Canada
Mots-clés en français
tableaux du communiqué, jeux de données, PDF, communiqué précédent, diffusions passées, historique des diffusions, tableau CANSIM, informations connexes, documentation de l'enquête, Le Quotidien, Statistique Canada
Paramètres de statcan_daily_get_release_files
ParamètreTypeDéfaut
articlestrobligatoire
lang"en" | "fr""en"
previousint0
call_tool {"name": "statcan_daily_get_release_files", "arguments": {"article": "…"}}
statcan_daily_get_release_tablesRead the tables published inside a Daily release, with the values as first published.

Utilisation : the figures exactly as StatCan released them on the day -- first estimates before revision, e.g. the January 2018 LFS change in employment by province -- which the wds_ tables no longer show once revised (the LFS has no real-time table). article is a Daily article id ("dq180209a") or URL from statcan_daily_search_archive or statcan_daily_get_releases. Returns every table the article links (Table 1, Table 2...) with its title, units, columns, notes and sources, its page and CSV links, and its values as tidy rows: group (e.g. the province), parent rows, row, column, unit, the cell as published and as a number. tables picks tables by number ([3]); search keeps rows whose labels contain every word ("Alberta employment"); limit caps rows across tables (default 500, max 5000) and truncated says when more exist. Releases from 2012 on, English or French.

Mots-clés en anglais
first published, as released, release tables, preliminary estimate, unrevised, original release, vintage, real-time data, Daily table, LFS release table, CPI release table, GDP release table
Mots-clés en français
première publication, données non révisées, tableaux du communiqué, estimation préliminaire, valeurs d'origine, millésime, données en temps réel, tableau du Quotidien, tableau de l'EPA, tableau de l'IPC, tableau du PIB
Paramètres de statcan_daily_get_release_tables
ParamètreTypeDéfaut
articlestrobligatoire
lang"en" | "fr""en"
tableslist[int] | nullnull
searchstr""
limitint500
call_tool {"name": "statcan_daily_get_release_tables", "arguments": {"article": "…"}}
statcan_daily_get_releasesGet recent releases from The Daily, StatCan's official release bulletin.

Utilisation : finding what data StatCan has released recently -- new or updated tables, survey results, analytical products -- optionally filtered to one subject (e.g. "housing", "labour", "prices_and_price_indexes"). Covers the last 100 days. Each release has a title, a canonical URL (either a Daily article or a catalogue-number product page), a publication timestamp, and a plain-text summary. Use "all" for every subject in one call.

Mots-clés en anglais
The Daily, release bulletin, new data, recent releases, what's new, StatCan announcement, Statistics Canada, latest statistics, today's releases, press releases, news
Mots-clés en français
Le Quotidien, bulletin de diffusion, nouvelles données, diffusions récentes, quoi de neuf, annonce de Statistique Canada, Statistique Canada, dernières statistiques, communiqués du Quotidien, communiqués d'aujourd'hui, diffusions du jour, nouveautés
Paramètres de statcan_daily_get_releases
ParamètreTypeDéfaut
subject"all" | "agriculture_and_food" | "business_and_consumer_services_and_culture" | "business_performance_and_ownership" | "children_and_youth" | "construction" | "crime_and_justice" | "digital_economy_and_society" | "economic_accounts" | "education_training_and_learning" | "energy" | "environment" | "families_households_and_marital_status" | "government" | "health" | "housing" | "immigration_and_ethnocultural_diversity" | "income_pensions_spending_and_wealth" | "indigenous_peoples" | "international_trade" | "labour" | "languages" | "manufacturing" | "older_adults_and_population_aging" | "population_and_demography" | "prices_and_price_indexes" | "reference" | "retail_and_wholesale" | "science_and_technology" | "society_and_community" | "statistical_methods" | "transportation" | "travel_and_tourism""all"
lang"en" | "fr""en"
limitint20
call_tool {"name": "statcan_daily_get_releases", "arguments": {}}
statcan_daily_get_upcoming_releasesList every StatCan release scheduled in the next two weeks, studies included.

Utilisation : "what is StatCan releasing this week / next week" -- the detailed two-week schedule from The Daily's Upcoming releases page: every release, not only the major indicators (annual surveys, studies, census data tables, price indexes), each with its date, reference period, whether it has a media lockup (the major economic releases) and the StatCan contact. query keeps the releases whose title or reference period holds every word (accents ignored). Also returns the same list as a PDF, and the link to StatCan's annual PDF of planned release dates for the major economic indicators (the whole year, e.g. "2026-2027 release dates") with the names of those indicators. For dates further than two weeks ahead use statcan_daily_get_release_calendar (major indicators, about six months); for releases already out, statcan_daily_search_archive. When the query matches nothing in the window, not_scheduled gives the release's past dates and an estimate, labelled as one.

Mots-clés en anglais
upcoming releases, this week, next week, release schedule, two-week schedule, what is coming out, lockup, major economic releases, annual release dates, release calendar PDF, Statistics Canada, The Daily
Mots-clés en français
diffusions à venir, cette semaine, semaine prochaine, calendrier de diffusion, huis clos, principales diffusions économiques, dates de diffusion annuelles, prochaines parutions, Le Quotidien, Statistique Canada
Paramètres de statcan_daily_get_upcoming_releases
ParamètreTypeDéfaut
querystr""
lang"en" | "fr""en"
call_tool {"name": "statcan_daily_get_upcoming_releases", "arguments": {}}
statcan_daily_search_archiveSearch The Daily's full release archive (2012-03-14 onward), not just the last 100 days.

Utilisation : finding when StatCan first or last released something on a topic, or listing every historical release matching a keyword, going back to 2012 -- statcan_daily_get_releases only covers the last 100 days via the official Atom feeds. Every word of query must appear in the release title or reference period, in any order (accents and words like "when did" ignored; e.g. "provisional poverty estimates 2025"); when none has every word, the closest come with a note. Leave it empty to browse by date range alone. start_date and end_date are "YYYY-MM-DD" and filter to releases on or between those dates (inclusive); omit either to leave that side open. Results are returned most-recent-first. The archive also holds UPCOMING releases (entries of type "meeting", dated in the future): search with start_date set to today to see what StatCan has scheduled. Each entry has scheduled (true when the release date is today or later, Toronto time); an upcoming one has url null because its article does not exist yet.

Mots-clés en anglais
The Daily, historical, archive, past releases, release history, when was, when did, already released, Statistics Canada, release date, upcoming releases, release schedule, release calendar
Mots-clés en français
Le Quotidien, historique, archive, diffusions passées, historique des diffusions, quand, Statistique Canada, date de diffusion, diffusions à venir, calendrier de diffusion
Paramètres de statcan_daily_search_archive
ParamètreTypeDéfaut
querystr""
lang"en" | "fr""en"
start_datestr | nullnull
end_datestr | nullnull
limitint20
call_tool {"name": "statcan_daily_search_archive", "arguments": {}}

Fichiers delta : mises à jour quotidiennes 5

statcan_delta_list_filesList the Delta Files kept (about 47 business days), from StatCan's Delta File page, and say why a given date has none.

Utilisation : which dates can be read, the newest release, retention, and "is there a file for 2026-09-30?" (date): the answer is available, no release that day (weekend or holiday), past retention, or not yet published. include_sizes adds a HEAD request per file for size, ETag and Last-Modified (about 46 requests). Files appear on business days about 8:30 ET; the page's own user guide says 5 releases, which is out of date. Then use statcan_delta_list_tables or statcan_delta_read_table with a listed date.

Mots-clés en anglais
delta file, available dates, retention, release schedule, holidays, business days, file sizes, etag, last modified, archive
Mots-clés en français
fichier delta, dates disponibles, période de conservation, calendrier de diffusion, jours fériés, jours ouvrables, taille des fichiers, date de modification, archives
Paramètres de statcan_delta_list_files
ParamètreTypeDéfaut
datestr | nullnull
include_sizesboolfalse
lang"en" | "fr""en"
call_tool {"name": "statcan_delta_list_files", "arguments": {}}
statcan_delta_list_real_time_tablesList StatCan's 19 real-time (vintage) cubes, each paired with its regular cube, to find the revision history of a statistic.

Utilisation : how a figure was revised over time, "what did it say when first released", vintage analysis and evaluating projections. A regular cube always shows the latest revision; its real-time twin adds a release-date (vintage) dimension, published about a week later. Returns both product ids and titles in English and French; query filters by a word or a product id. Three of the 19 are listed by StatCan but have no WDS metadata or vector data (wds_available False); their full-table CSV zips are still downloadable (bulk_csv_url, very large, series ended 2024-08 and 2025-05). Read the cube itself with wds_get_cube_metadata, wds_get_data_from_cube_coord or wds_get_full_table_download.

Mots-clés en anglais
real-time tables, vintage, revision history, data revisions, historical releases, first release, real time data, revisions, vintages of releases
Mots-clés en français
tableaux en temps réel, versions, historique des révisions, révisions de données, diffusions historiques, première diffusion, données en temps réel, versions de diffusions
Paramètres de statcan_delta_list_real_time_tables
ParamètreTypeDéfaut
querystr | nullnull
lang"en" | "fr""en"
call_tool {"name": "statcan_delta_list_real_time_tables", "arguments": {}}
statcan_delta_list_tablesList the cubes released or changed in one day's Delta File, reading only its metadata by range requests.

Utilisation : "what was published on this date", checking whether a cube changed that day before fetching it, release-day monitoring. Each entry: productId, CANSIM number, English and French titles, frequency, release time, series count, archive status, corrections and dimensions (with members and correction notes when include_members is True and product_id is given). Cheap even for the 3.9 GB day: about 1 MB is fetched. date is "YYYY-MM-DD", a business day among the roughly 47 kept (statcan_delta_list_files shows which). query filters by a word in either title. Rows are read with statcan_delta_read_table. The list is not WDS getChangedCubeList for the same date: WDS lists the cubes whose releaseTime falls on that date, while a day's file holds every cube processed since the previous file (built before 8:30 ET), with its own releaseTime. So a release after 8:30 lands in the next business day's file (42100107, released 2026-09-29 at 14:20, is in the 20261001 file with that releaseTime: 51 tables against WDS's 50; it was also in the 20260929 file marked 08:30), and metadata-only changes to old cubes keep their old releaseTime (four 2024-10-03 cubes in 20260925: 23 against 19). Compare release_time with the date to tell them apart.

Mots-clés en anglais
delta file, released today, what changed, changed cubes, release calendar, daily release, new cubes, cube metadata, corrections, product id
Mots-clés en français
fichier delta, publié aujourd'hui, quoi de neuf, tableaux modifiés, calendrier de diffusion, diffusion quotidienne, nouveaux tableaux, métadonnées de tableau, corrections, numéro de tableau
Paramètres de statcan_delta_list_tables
ParamètreTypeDéfaut
datestrobligatoire
product_idint | nullnull
querystr | nullnull
include_membersboolfalse
max_tablesint200
lang"en" | "fr""en"
call_tool {"name": "statcan_delta_list_tables", "arguments": {"date": "…"}}
statcan_delta_read_tableRead the data points one cube received in one day's Delta File, streaming only as much of the zip as needed (never the whole file).

Utilisation : the exact values released or revised for one productId on one date, checking a release-day revision, pulling a handful of vectors from a large update. Rows carry vectorId, coordinate, reference period, value, symbol/status/security/scalar-factor/frequency codes (decoded in legend from the file's codeSet.xml) and release time. Values are raw: the scalar factor is not applied. Rows are never deleted; a correction arrives in the next day's file. The CSV is sorted by productId and must be inflated from its start, so a cube early in a big file is quick, and one deep in a multi-gigabyte file (20261001: 3.9 GB) takes several calls: each call reads up to 400 MB or 75 s (about 5 MB/s), then errors with how far it got and saves resume points, so calling again with the same arguments continues from there. Once a day's file has been scanned past a table, later reads of it on this server start next to it (scan_started_at_byte). For a single deep table, wds_get_changed_series_data or wds_get_full_table_download is faster. block_complete is False when the ceiling stopped inside the table's own rows. vector_ids keeps only those series; max_rows (1 to 10,000) caps the answer. date is "YYYY-MM-DD"; the productId must be in statcan_delta_list_tables for that date.

Mots-clés en anglais
delta file, revisions, changed data points, vector values, release day, bulk update, symbol status codes, scalar factor, delta rows
Mots-clés en français
fichier delta, révisions, points de données modifiés, valeurs de vecteur, jour de diffusion, mise à jour en bloc, codes de symbole et de statut, facteur d'échelle, lignes delta
Paramètres de statcan_delta_read_table
ParamètreTypeDéfaut
datestrobligatoire
product_idintobligatoire
vector_idslist[int] | nullnull
max_rowsint1000
lang"en" | "fr""en"
call_tool {"name": "statcan_delta_read_table", "arguments": {"date": "…", "product_id": "…"}}

Géographie : limites du recensement, réseau routier et couches cartographiques 6

statcan_geo_get_layer_detailGet one geography layer's field schema, geometry type, and record cap.

Utilisation : inspecting a layer's queryable fields (e.g. CSDUID, DGUID, CSDNAME, PRUID) and its maxRecordCount before calling statcan_geo_query_layer -- service is a name from statcan_geo_list_services (e.g. "Cartographic_boundary_files"), layer_id a small integer identifying one geography level within that service (e.g. layer 9 = CSD, layer 12 = DA for 2021's Cartographic boundary files -- layer numbering is not fixed across years/services and should be discovered, not assumed). The language comes from service itself, so lang has no effect here.

Mots-clés en anglais
statcan, geography, layer, schema, fields, arcgis, boundary file, geometry type
Mots-clés en français
Statistique Canada, géographie, couche, schéma, champs, attributs, fichier des limites, type de géométrie, structure de la couche
Paramètres de statcan_geo_get_layer_detail
ParamètreTypeDéfaut
yearstrobligatoire
servicestrobligatoire
layer_idintobligatoire
lang"en" | "fr""en"
call_tool {"name": "statcan_geo_get_layer_detail", "arguments": {"year": "…", "service": "…", "layer_id": "…"}}
statcan_geo_get_spatial_layer_detailGet one layer's field list, geometry type and record cap (infc, hna, qol, nrn).

Utilisation : reading the queryable field names of a layer before building a where clause for statcan_geo_query_spatial_layer, e.g. the dissemination-area fields (DAUID, DGUID, csdname, cmaname and indicator columns named AA###) of the infc Census_DA_2021 layer, or the roadclass, route name and number fields of an NRN road layer. Take layer_id from statcan_geo_list_spatial_layers. The tool's text is English only, so lang has no effect.

Mots-clés en anglais
statcan, layer schema, fields, geoanalytics, infc, hna, qol, national road network, nrn, attribute names, max record count
Mots-clés en français
Statistique Canada, schéma de couche, champs, géoanalytique, réseau routier national, noms d'attributs, indice de défavorisation, qualité de vie, besoins en logement
Paramètres de statcan_geo_get_spatial_layer_detail
ParamètreTypeDéfaut
dataset"infc" | "hna" | "qol" | "nrn"obligatoire
layer_idintobligatoire
lang"en" | "fr""en"
call_tool {"name": "statcan_geo_get_spatial_layer_detail", "arguments": {"dataset": "…", "layer_id": "…"}}
statcan_geo_list_servicesList StatCan's census-geography boundary services for one year.

Utilisation : discovering what geography boundary products exist for a given year before drilling into a service's layers. A census year (e.g. "2021") publishes a full suite (Cartographic/Digital boundary files, Agricultural/Population ecumene boundary files, Road Network File, each in English and French) with every geography level; an intercensal year publishes only a smaller CSD-level update and the Road Network File -- this genuinely varies year to year and is discovered live, not hardcoded. Years 2019-2025 confirmed live; nothing older is served here (use statcan_census_profile_archive_* for older bulk boundary/data downloads instead). Only the lang edition of each product is listed: French services (e.g. "Fichiers_des_limites_cartographiques") carry French layer names and field aliases.

Mots-clés en anglais
statcan, geography, boundary files, geospatial, arcgis, census geography, cartographic, digital boundary file
Mots-clés en français
Statistique Canada, géographie, fichiers des limites, géospatial, géographie du recensement, limites cartographiques, fichier numérique des limites, couches cartographiques, cartes
Paramètres de statcan_geo_list_services
ParamètreTypeDéfaut
yearstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "statcan_geo_list_services", "arguments": {"year": "…"}}
statcan_geo_list_spatial_layersList the layers of a StatCan map-app dataset or of the National Road Network.

Utilisation : finding the layer_id to query. dataset picks the service: "infc" (Index of Neighbourhood Characteristics / CSGE app: Canadian Index of Multiple Deprivation 2021 by dissemination area, Proximity Measures, Spatial Access Measures 2022, CanBICS, CanALE, and Linkable Open Data Environment facilities: cultural, educational, recreational, infrastructure, transit stops), "hna" (Housing Needs Assessment by province and census subdivision, change in stock 2021-2023), "qol" (Quality of Life indicators 2025 by province, CSD, CMA and census division) or "nrn" (National Road Network: one layer per province and road class, plus ferry connections, toll points and blocked passages). For "nrn", province ("ON") and road_class ("Local roads") narrow the list. Group layers are listed (is_group=true) but hold no rows. The infc/hna/qol service addresses are undocumented and read from StatCan's map-app config file at runtime; a clear error says so if StatCan changes it. Free under the Statistics Canada Open Licence. The tool's text is English only, so lang has no effect.

Mots-clés en anglais
statcan, geoanalytics, infc, hna, qol, national road network, nrn, housing needs assessment, quality of life, deprivation index, proximity measures, transit stops, layers
Mots-clés en français
Statistique Canada, géoanalytique, indice de défavorisation multiple, évaluation des besoins en logement, qualité de vie, réseau routier national, mesures de proximité, arrêts de transport en commun, couches
Paramètres de statcan_geo_list_spatial_layers
ParamètreTypeDéfaut
dataset"infc" | "hna" | "qol" | "nrn"obligatoire
provincestr | nullnull
road_classstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "statcan_geo_list_spatial_layers", "arguments": {"dataset": "…"}}
statcan_geo_query_layerQuery one geography layer's features by attribute or location, optionally with geometry.

Utilisation : finding a geography's DGUID/UID by name (e.g. where="CSDNAME='Toronto'"), finding which area contains a point ("which census tract / dissemination area / CSD is at this lat/lon": pass lat and lon, WGS84 degrees, and pick the layer for the level wanted), listing the areas touching a rectangle (bbox = "min_lon,min_lat,max_lon,max_lat"), or retrieving boundary polygons for mapping. distance_m widens a point to a radius in metres. A spatial filter combines with where and out_fields (e.g. out_fields="CTUID,DGUID" keeps the answer small) and is echoed back in spatial_filter. where is a standard SQL-style predicate against the layer's own field names from statcan_geo_get_layer_detail (e.g. "PRUID='35' AND CSDNAME LIKE '%Toronto%'"); leave the default "1=1" to match every feature in the layer. Leave return_geometry false (the default) for a lightweight attribute-only query -- polygon boundaries can be large, and most lookups only need the UID/DGUID/name columns. When return_geometry is true, geometry is reprojected to out_sr (WGS84 lat/lon, EPSG:4326, by default -- the service's native spatial reference is EPSG:3347, Statistics Canada Lambert). Each layer enforces its own maxRecordCount as a hard per-request cap regardless of result_record_count (6000 confirmed for 2021's Cartographic boundary layers); check exceeded_transfer_limit on the result and page further with result_offset if more features remain. Confirmed live: this host intermittently returns HTTP 500 on an otherwise-valid request (roughly one in three to five calls, a load-balanced backend with some unhealthy nodes) -- already mitigated by this client's normal retry behavior, so a rare persisting failure is a genuine outage, not a malformed request. The language comes from service, so lang has no effect here.

Mots-clés en anglais
statcan, geography, query, boundary, dguid, csd, da, fsa, cma, arcgis, geospatial, polygon, geojson, point in polygon, latitude longitude, census tract lookup, bounding box
Mots-clés en français
Statistique Canada, géographie, requête, limites, DGUID, SDR, AD, RTA, RMR, géospatial, polygone, GeoJSON, point dans un polygone, latitude et longitude, secteur de recensement, aire de diffusion, rectangle englobant
Paramètres de statcan_geo_query_layer
ParamètreTypeDéfaut
yearstrobligatoire
servicestrobligatoire
layer_idintobligatoire
wherestr"1=1"
out_fieldsstr"*"
return_geometryboolfalse
out_srint4326
result_offsetint0
result_record_countint100
latfloat | nullnull
lonfloat | nullnull
bboxstr | nullnull
distance_mfloat | nullnull
lang"en" | "fr""en"
call_tool {"name": "statcan_geo_query_layer", "arguments": {"year": "…", "service": "…", "layer_id": "…"}}
statcan_geo_query_spatial_layerQuery rows from the StatCan map-app datasets (infc, hna, qol) or the National Road Network.

Utilisation : neighbourhood deprivation (Canadian Index of Multiple Deprivation) or proximity/access measures for the dissemination area at a lat/lon, the transit stops or facilities within distance_m metres of a point, housing-need and change-in-stock indicators for a municipality (hna), quality-of-life indicators by province, CMA, CSD or census division (qol), and road segments of a province by road class (nrn). layer_id comes from statcan_geo_list_spatial_layers; for "nrn" you can give province ("ON") and road_class ("Local roads") instead. Filter by attribute with where, by location with lat and lon (WGS84; the row whose area contains the point) or bbox ("min_lon,min_lat,max_lon,max_lat"), optionally distance_m as a radius around the point, and cut the columns with out_fields ("DAUID,DGUID"). Geometry is off by default. At most 2,000 rows come back per call (the services allow 2,000 to 50,000); page with result_offset while exceeded_transfer_limit is true. Undocumented infc/hna/qol endpoints, read from StatCan's map-app config at runtime (see provenance.limits); the NRN host answers HTTP 500 now and then and the client retries. Statistics Canada Open Licence. The tool's text is English only, so lang has no effect.

Mots-clés en anglais
statcan, deprivation index, cimd, proximity measures, spatial access, housing needs assessment, quality of life, transit stops, national road network, nrn, road segments, lat lon lookup, point in polygon, geoanalytics
Mots-clés en français
Statistique Canada, indice de défavorisation multiple, mesures de proximité, accès spatial, évaluation des besoins en logement, qualité de vie, arrêts de transport en commun, réseau routier national, segments routiers, latitude et longitude, point dans un polygone
Paramètres de statcan_geo_query_spatial_layer
ParamètreTypeDéfaut
dataset"infc" | "hna" | "qol" | "nrn"obligatoire
layer_idint | nullnull
provincestr | nullnull
road_classstr | nullnull
wherestr"1=1"
out_fieldsstr"*"
return_geometryboolfalse
out_srint4326
result_offsetint0
result_record_countint100
latfloat | nullnull
lonfloat | nullnull
bboxstr | nullnull
distance_mfloat | nullnull
lang"en" | "fr""en"
call_tool {"name": "statcan_geo_query_spatial_layer", "arguments": {"dataset": "…"}}

GéoSuite du recensement : tables géographiques 1996-2021 3

statcan_geosuite_describe_tableDescribe one Census GeoSuite table: columns, types, labels and sample rows.

Utilisation : what a GeoSuite table's columns mean before filtering it (e.g. 2016 CSD: CSDUID, CSDNAME, CSDTYPE, SACTYPE, CSDPOP2016, CSDTDWELL2016, CSDAREA2016, representative point latitude and longitude, PRUID, CDCODE, CMAUID...): each column's type, label, code meanings, notes, StatCan's source field name and coordinate system, the primary key, the notes on adjusted (A) and corrected (C) counts, three sample rows, and how the re-host compared the table with StatCan's file. table is a name from statcan_geosuite_list_tables (CSD, DA, DB...); the file (up to 15 MB) is downloaded once and kept.

Mots-clés en anglais
GeoSuite, data dictionary, columns, census geography, field names, CSDUID, DAUID, DBUID, attribute file, record layout
Mots-clés en français
GéoSuite, dictionnaire de données, colonnes, géographie du recensement, nom des champs, identificateur unique, fichier des attributs, disposition des enregistrements, IDUGD
Paramètres de statcan_geosuite_describe_table
ParamètreTypeDéfaut
year1996 | 2001 | 2006 | 2011 | 2016 | 2021obligatoire
tablestrobligatoire
lang"en" | "fr""en"
call_tool {"name": "statcan_geosuite_describe_table", "arguments": {"year": "…", "table": "…"}}
statcan_geosuite_list_tablesList the Census GeoSuite tables of one census year (1996-2021) with sizes and sources.

Utilisation : which census geography tables exist for a year before querying one: provinces (PR), census divisions (CD), subdivisions (CSD), consolidated subdivisions (CCS), CMAs and CAs (CMA_CA), census tracts (CT), dissemination areas (DA) and blocks (DB; 1996 has enumeration areas, EA, instead), economic regions (ER), federal electoral districts (FED), designated places (DPL), population centres (POPCTR), place names (PN) and the type code lists, with each table's title, row and column counts and file size, plus the year's StatCan source file, licence and attribution line. Statistics Canada's GeoSuite (92-150-X), read from MountainMath's Parquet re-host because StatCan's own copy is behind a Cloudflare bot challenge; provenance.caveats says so and how it was checked. For 2021 census values by geography use statcan_census_profile_.

Mots-clés en anglais
GeoSuite, census geography, 2016 census, geographic codes, census subdivision, census tract, dissemination area, dissemination block, geographic attribute file, hierarchy
Mots-clés en français
GéoSuite, géographie du recensement, recensement de 2016, codes géographiques, subdivision de recensement, secteur de recensement, aire de diffusion, îlot de diffusion, fichier des attributs géographiques, hiérarchie géographique
Paramètres de statcan_geosuite_list_tables
ParamètreTypeDéfaut
year1996 | 2001 | 2006 | 2011 | 2016 | 20212016
lang"en" | "fr""en"
call_tool {"name": "statcan_geosuite_list_tables", "arguments": {}}
statcan_geosuite_queryRows of one Census GeoSuite table (1996-2021), filtered by codes or a name.

Utilisation : 2016 (and 1996-2021) census geography lookups: a place's codes and unique IDs (CSDUID, CDUID, CTUID, DAUID, DBUID), its name in English and French, the hierarchy above it (province, CD, CSD, CMA, tract) and its population, dwelling counts and land area for that census, e.g. every CSD of Ontario (table='CSD', filters={'PRUID': ['35']}), Toronto (filters={'CSDUID': ['3520005']}) or names containing 'montreal' (name_contains, case- and accent-insensitive, over the columns ending in NAME and the DESCEN/DESCFR of type tables). filters match a column's text exactly (any of the values given, case-insensitive); a value ending in * matches a prefix, e.g. a DA's blocks: table='DB', filters={'DBUID': ['35204831*']}. Small units carry their parents' codes (PRUID, CDCODE, CSDCODE, DACODE, CTNAME, CMAUID), not full parent UIDs. Column names are checked against the table and an unknown one is refused with the list. Rows come in primary-key order; total_matched counts them all, limit (up to 1,000) and offset page through. Run statcan_geosuite_describe_table for column meanings. 2021 values by characteristic: statcan_census_profile_.

Mots-clés en anglais
GeoSuite, census geography lookup, 2016 census subdivision, dissemination area population, dissemination block, census tract, geographic code, CSDUID, population and dwelling counts, land area
Mots-clés en français
GéoSuite, recherche géographique du recensement, subdivision de recensement 2016, population de l'aire de diffusion, îlot de diffusion, secteur de recensement, code géographique, chiffres de population et des logements, superficie des terres
Paramètres de statcan_geosuite_query
ParamètreTypeDéfaut
year1996 | 2001 | 2006 | 2011 | 2016 | 2021obligatoire
tablestrobligatoire
filtersdict[str, list[str] | str] | nullnull
name_containsstr | nullnull
columnslist[str] | nullnull
limitint100
offsetint0
lang"en" | "fr""en"
call_tool {"name": "statcan_geosuite_query", "arguments": {"year": "…", "table": "…"}}

Indicateurs 1

statcan_indicators_get_indicatorsGet current StatCan indicators (population, CPI, GDP, trade, etc.) with growth rates.

Utilisation : quick current-value lookups for named indicators (e.g. "population", "consumer price index", "GDP", "unemployment rate", employment level and jobs, average weekly earnings, the provisional poverty rate, median after-tax income, crime rates; the Labour Force Survey headline; checked in the live feed on 2026-11-20) -- the same feeds that power My StatCan, statcan.gc.ca's home page, and The Daily's own indicator widgets. dataset="economic" is a curated subset of major economic indicators; "homepage" is the subset shown on StatCan's own home page; "all" covers every tracked indicator (2,362 confirmed live). Each result carries its reference period, a growth-rate summary versus the prior period, and a link to the Daily article that released it. geo_code filters to one geography using the feed's own numbering: 0 Canada, 1 NL, 2 PEI, 3 NS, 4 NB, 5 QC, 6 ON, 7 MB, 8 SK, 9 AB, 10 BC, 11 YT, 12 NT, 13 NU; SGC codes (48), "AB" and "Alberta" are mapped.

Mots-clés en anglais
StatCan, indicator, current value, latest statistics, growth rate, population, CPI, GDP, unemployment, headline, LFS, Labour Force Survey, employment, jobs, earnings, poverty rate, income
Mots-clés en français
Statistique Canada, indicateur, valeur actuelle, chiffre actuel, dernières statistiques, taux de croissance, population, IPC, PIB, taux de chômage, emploi, nombre d'emplois, rémunération, taux de pauvreté, revenu, inflation, indice des prix à la consommation, EPA, Enquête sur la population active
Paramètres de statcan_indicators_get_indicators
ParamètreTypeDéfaut
dataset"all" | "economic" | "homepage""all"
querystr""
geo_codeint | str | nullnull
lang"en" | "fr""en"
limitint20
call_tool {"name": "statcan_indicators_get_indicators", "arguments": {}}

Bases de données ouvertes (ECDO) : installations, immeubles, adresses 6

statcan_lode_describeShow a LODE database's fields, types, descriptions and ZIP contents.

Utilisation : which columns a database has before querying: the record layout in the ZIP, a first-record sample, the GeoPackage schema (read when the archive is under 60 MB) and the product page's variable list.

Mots-clés en anglais
data dictionary, record layout, fields, columns, variables, schema, GeoPackage layers, facility type
Mots-clés en français
dictionnaire de données, disposition des enregistrements, champs, colonnes, variables, schéma, couches GeoPackage, type d'installation
Paramètres de statcan_lode_describe
ParamètreTypeDéfaut
databasestrobligatoire
filestr | nullnull
lang"en" | "fr""en"
call_tool {"name": "statcan_lode_describe", "arguments": {"database": "…"}}
statcan_lode_list_databasesList the LODE open databases with versions and licences.

Utilisation : which open facility, building and address datasets exist (healthcare ODHF, sports ODSRF, buildings ODB, schools ODEF, cultural ODCAF, addresses ODA) plus remoteness, proximity and the National Address Register. Returns keys for the other LODE tools.

Mots-clés en anglais
open database, LODE, healthcare facilities, hospitals, building footprints, schools, recreation facilities, remoteness, proximity
Mots-clés en français
base de données ouvertes, ECDO, établissements de santé, hôpitaux, empreintes d'immeubles, écoles, installations sportives, éloignement, proximité
Paramètres de statcan_lode_list_databases
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "statcan_lode_list_databases", "arguments": {}}
statcan_lode_list_filesList a LODE database's ZIP downloads with sizes, formats and provinces.

Utilisation : download links, sizes and formats of one database key (odhf, odsrf, odb, odef, odcaf, oda, odi, pmd, remoteness, sam, nar), which file covers which province, and which can be queried. Sizes come from HEAD requests paced at 2 seconds each; sizes=false skips them.

Mots-clés en anglais
download links, ZIP, file size, GeoJSON, GeoPackage, CSV, GeoParquet, provinces, open licence, release date
Mots-clés en français
liens de téléchargement, fichier ZIP, taille du fichier, GeoJSON, GeoPackage, CSV, provinces, licence ouverte, date de diffusion
Paramètres de statcan_lode_list_files
ParamètreTypeDéfaut
databasestrobligatoire
sizesbooltrue
lang"en" | "fr""en"
call_tool {"name": "statcan_lode_list_files", "arguments": {"database": "…"}}
statcan_lode_list_zipList the files inside a LODE ZIP without downloading it (HTTP range).

Utilisation : what a large archive holds, such as the National Address Register (1.67 GB, Locations and Addresses CSVs per province), the transit database, or any link from the file listing. Reads a few KB.

Mots-clés en anglais
National Address Register, NAR, ZIP contents, archive, address files, range request, large file, GTFS
Mots-clés en français
Registre national des adresses, RNA, contenu du ZIP, archive, fichiers d'adresses, requête par plage, gros fichier, GTFS
Paramètres de statcan_lode_list_zip
ParamètreTypeDéfaut
urlstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "statcan_lode_list_zip", "arguments": {"url": "…"}}
statcan_lode_preview_memberRead the first rows of a CSV inside a LODE ZIP, or look up rows, by HTTP range.

Utilisation : peeking at National Address Register or Proximity Measures files without downloading the archive, or finding rows where a column equals a value (match, e.g. {"postal_code": "K1A0B1"}) within the first scan_mb MB (default 8, max 40) of the compressed member; small territories scan completely, large provinces only in part, and the result says so. url and member come from the ZIP listing.

Mots-clés en anglais
address lookup, National Address Register, NAR, postal code, preview rows, CSV member, range read, civic address
Mots-clés en français
recherche d'adresse, Registre national des adresses, RNA, code postal, aperçu des lignes, fichier CSV, lecture par plage, adresse civique
Paramètres de statcan_lode_preview_member
ParamètreTypeDéfaut
urlstrobligatoire
memberstrobligatoire
matchdict[str, str] | nullnull
rowsint10
scan_mbfloat8
lang"en" | "fr""en"
call_tool {"name": "statcan_lode_preview_member", "arguments": {"url": "…", "member": "…"}}
statcan_lode_queryQuery a LODE open database by province, place, type, name or bounding box.

Utilisation : hospitals in Alberta (odhf, province AB, type Hospital), arenas in a city (odsrf), buildings in a bbox west,south,east,north (odb with province PE), schools (odef), museums (odcaf), addresses (oda), a community's remoteness (remoteness) or proximity (pmd). province takes AB, Alberta or 48; csd a name or 7-digit code; type exact, name substring, ignoring case and accents; filters match any column. Returns up to limit (max 500) records with WGS 84 coordinates, the total matched and the file read. First call downloads the ZIP to a disk cache (cap 300 MB, MAPLE_LODE_MAX_DOWNLOAD_MB); retry if it times out. odb and oda need province; file picks a ZIP, member a data file inside it.

Mots-clés en anglais
query open database, hospitals, clinics, pharmacies, schools, arenas, museums, building footprints, bounding box, census subdivision, facilities by type, remoteness, ODHF, ODSRF, ODB
Mots-clés en français
interroger base de données ouvertes, hôpitaux, cliniques, pharmacies, écoles, arénas, musées, empreintes d'immeubles, boîte englobante, subdivision de recensement, installations par type
Paramètres de statcan_lode_query
ParamètreTypeDéfaut
databasestrobligatoire
provincestr | nullnull
csdstr | nullnull
typestr | nullnull
namestr | nullnull
bboxlist[float] | nullnull
filtersdict[str, str] | nullnull
filestr | nullnull
memberstr | nullnull
layerstr | nullnull
limitint25
lang"en" | "fr""en"
call_tool {"name": "statcan_lode_query", "arguments": {"database": "…"}}

Fichiers de microdonnées à grande diffusion (FMGD) 5

statcan_pumf_get_codebookRead a PUMF's variables, labels, value codes and weight variables.

Utilisation : which variable measures something (query matches names, labels and value labels, e.g. "tenure", "smok"), what each code means, column positions for fixed-width files, and which weights to use (final and bootstrap/replicate). Reads only the codebook files inside the ZIP; a ZIP without one but with a SAS, SPSS or Stata data file has that file downloaded and its own variables read. url comes from statcan_pumf_list_files. At most limit variables come back (default 25): pass query to find one, or a larger limit for more.

Mots-clés en anglais
codebook, data dictionary, variables, value labels, survey weights, bootstrap weights, record layout, PUMF
Mots-clés en français
dictionnaire de données, variables, étiquettes de valeurs, poids d'enquête, poids bootstrap, FMGD, disposition, Statistique Canada
Paramètres de statcan_pumf_get_codebook
ParamètreTypeDéfaut
urlstrobligatoire
querystr | nullnull
limitint25
lang"en" | "fr""en"
call_tool {"name": "statcan_pumf_get_codebook", "arguments": {"url": "…"}}
statcan_pumf_list_filesList a PUMF's free ZIP downloads (years, files and formats).

Utilisation : the download links for one PUMF, e.g. 71M0001X (monthly LFS files by year) or 98M0001X (Census individuals and hierarchical files, 1991-2021). Next: statcan_pumf_get_codebook with a ZIP url.

Mots-clés en anglais
PUMF download, microdata file, ZIP, survey year, edition, catalogue number, Statistics Canada, year
Mots-clés en français
téléchargement FMGD, fichier de microdonnées, ZIP, année d'enquête, numéro de catalogue, édition, Statistique Canada, année
Paramètres de statcan_pumf_list_files
ParamètreTypeDéfaut
catalogue_numberstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "statcan_pumf_list_files", "arguments": {"catalogue_number": "…"}}
statcan_pumf_list_zipList what is inside a PUMF ZIP without downloading it.

Utilisation : seeing the data files, user guides and codebook files in a StatCan PUMF ZIP (read with HTTP range requests, a few KB), and their uncompressed sizes. File names are listed as stored in the ZIP, so lang has no effect.

Mots-clés en anglais
ZIP contents, PUMF files, user guide, record layout, codebook, data file size, data file, archive
Mots-clés en français
contenu du ZIP, fichiers FMGD, guide de l'utilisateur, dictionnaire de données, taille, disposition des enregistrements, fichier de données, archive ZIP
Paramètres de statcan_pumf_list_zip
ParamètreTypeDéfaut
urlstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "statcan_pumf_list_zip", "arguments": {"url": "…"}}
statcan_pumf_tabulateCompute a weighted table from PUMF microdata (totals, shares or means).

Utilisation : population estimates from survey microdata, e.g. labour force status by province from the LFS, or mean hourly earnings. rows are up to 3 codebook variables to group by; filters keep only the listed codes (e.g. {"PROV": ["48"]}); share gives percentages within each group of all but the last row variable. Uses the survey weight (default: the codebook's main weight) and returns unweighted counts, flagging small cells. Standard errors and CVs follow the survey's user guide where verified: replicate weights (2021 Census individuals, EICS, CSWC) or, for the LFS, the guide's calibrated Poisson bootstrap, with each cell's quality band (acceptable, marginal, unacceptable). Reads CSV and fixed-width files, and SAS, SPSS or Stata files when the ZIP has nothing else. The first call downloads the file (may take a minute or two; retry if it times out).

Mots-clés en anglais
weighted estimate, tabulation, crosstab, microdata analysis, survey weight, weighted total, PUMF, LFS
Mots-clés en français
estimation pondérée, totalisation, tableau croisé, microdonnées, poids d'enquête, total pondéré, FMGD, Statistique Canada
Paramètres de statcan_pumf_tabulate
ParamètreTypeDéfaut
urlstrobligatoire
rowslist[str]obligatoire
statistic"total" | "share" | "mean""total"
value_variablestr | nullnull
filtersdict[str, list[str]] | nullnull
weightstr | nullnull
data_filestr | nullnull
min_countint30
lang"en" | "fr""en"
call_tool {"name": "statcan_pumf_tabulate", "arguments": {"url": "…", "rows": "…"}}

Classifications et concordances 11

rdaas_get_classificationGet full detail for one StatCan classification: background, version, harmonization status, and its level structure.

Utilisation : understanding a classification (e.g. NAICS) before drilling into its categories.

Mots-clés en anglais
statcan, classification, detail, naics, rdaas, levels, version, background
Mots-clés en français
Statistique Canada, classification, détail, SCIAN, CNP, niveaux hiérarchiques, version, structure de la classification, norme statistique
Paramètres de rdaas_get_classification
ParamètreTypeDéfaut
classification_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "rdaas_get_classification", "arguments": {"classification_id": "…"}}
rdaas_get_classification_categories_detailedGet the detailed category tree for one classification.

Utilisation : listing every code/category within a classification (e.g. all NAICS sectors and subsectors). Paged: limit (default 100, max 1000) and offset; query keeps categories whose code or descriptor contains the text. total_count and provenance.limits say what was left out. Confirmed live: RDaaS itself returns no category data for the CURRENT released NAICS (2022.1.0) specifically -- retired NAICS versions and the NAICS Trade Variant return full data, so this is not a NAICS-wide gap. If you hit this empty case on current NAICS, use rdaas_get_concordance_maps on the "NAICS Canada 2017.3.0 to 2022.1.0" concordance instead -- its target_code/target_descriptor fields are the same current-NAICS codes and descriptions.

Mots-clés en anglais
statcan, classification, categories, codes, naics, rdaas, tree, detailed
Mots-clés en français
Statistique Canada, classification, catégories, codes, SCIAN, CNP, arborescence, hiérarchie, liste détaillée des codes
Paramètres de rdaas_get_classification_categories_detailed
ParamètreTypeDéfaut
classification_idstrobligatoire
querystr""
limitint100
offsetint0
lang"en" | "fr""en"
call_tool {"name": "rdaas_get_classification_categories_detailed", "arguments": {"classification_id": "…"}}
rdaas_get_classification_exclusionsGet documented exclusions (terms explicitly NOT covered) for one classification.

Utilisation : checking whether a term is deliberately excluded from a classification rather than simply missing.

Mots-clés en anglais
statcan, exclusions, classification, rdaas, excluded, terms, naics, Statistics Canada
Mots-clés en français
Statistique Canada, exclusions, classification, termes exclus, activités exclues, SCIAN, CNP, non couvert
Paramètres de rdaas_get_classification_exclusions
ParamètreTypeDéfaut
classification_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "rdaas_get_classification_exclusions", "arguments": {"classification_id": "…"}}
rdaas_get_classification_index_entryGet one specific index entry by its small integer index_id (not its @id URL — use the indexId field from rdaas_get_classification_indexes).

Utilisation : retrieving a single term-to-code mapping already identified via rdaas_get_classification_indexes.

Mots-clés en anglais
statcan, index entry, classification, rdaas, term, code, Statistics Canada, NAICS
Mots-clés en français
Statistique Canada, entrée d'index, titre d'index, classification, terme, code, correspondance, identifiant, appellation
Paramètres de rdaas_get_classification_index_entry
ParamètreTypeDéfaut
classification_idstrobligatoire
index_idintobligatoire
lang"en" | "fr""en"
call_tool {"name": "rdaas_get_classification_index_entry", "arguments": {"classification_id": "…", "index_id": "…"}}
rdaas_get_classification_indexesList all index entries (alternate terms mapped to a code) for one classification.

Utilisation : finding which code a plain-language term maps to. Pass query (matches the term or the code description) -- the NAICS 2022 index has tens of thousands of entries (8 MB), so the list is paged: limit (default 100, max 1000) and offset; total_count and provenance.limits say what was left out.

Mots-clés en anglais
statcan, index, classification, rdaas, terms, alternate names, naics, Statistics Canada
Mots-clés en français
Statistique Canada, index, classification, termes, appellations, titres d'index, SCIAN, CNP, correspondance de termes
Paramètres de rdaas_get_classification_indexes
ParamètreTypeDéfaut
classification_idstrobligatoire
querystr""
limitint100
offsetint0
lang"en" | "fr""en"
call_tool {"name": "rdaas_get_classification_indexes", "arguments": {"classification_id": "…"}}
rdaas_get_concordanceGet detail for one concordance: its source and target classifications.

Utilisation : confirming which two classification versions a concordance connects before requesting its code maps.

Mots-clés en anglais
statcan, concordance, detail, rdaas, source, target, classification, Statistics Canada
Mots-clés en français
Statistique Canada, concordance, détail, classification source, classification cible, correspondance, versions, SCIAN
Paramètres de rdaas_get_concordance
ParamètreTypeDéfaut
concordance_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "rdaas_get_concordance", "arguments": {"concordance_id": "…"}}
rdaas_get_concordance_mapsGet the full code-to-code mapping table for one concordance.

Utilisation : converting a code from one classification version to its equivalent(s) in another version.

Mots-clés en anglais
statcan, code map, concordance, rdaas, mapping, convert, naics, Statistics Canada
Mots-clés en français
Statistique Canada, correspondance de codes, concordance, conversion, SCIAN, table de conversion, codes, passage d'une version à l'autre
Paramètres de rdaas_get_concordance_maps
ParamètreTypeDéfaut
concordance_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "rdaas_get_concordance_maps", "arguments": {"concordance_id": "…"}}
rdaas_get_search_filtersGet the valid audience/status filter values for classification or concordance search (`kind`).

Utilisation : discovering what values audience/status accept; pass them as the audience/status arguments of rdaas_search_classifications or rdaas_search_concordances.

Mots-clés en anglais
statcan, rdaas, filters, search, audience, status, classification, concordance, Statistics Canada
Mots-clés en français
Statistique Canada, filtres de recherche, public cible, statut, classification, concordance, valeurs valides, critères de recherche, normes statistiques
Paramètres de rdaas_get_search_filters
ParamètreTypeDéfaut
kind"classification" | "concordance"obligatoire
lang"en" | "fr""en"
call_tool {"name": "rdaas_get_search_filters", "arguments": {"kind": "…"}}
rdaas_get_term_exclusionGet one term-exclusion record by id.

Utilisation : retrieving detail on a specific excluded term identified elsewhere.

Mots-clés en anglais
statcan, term exclusion, rdaas, excluded, definition, lookup, classification, reference data
Mots-clés en français
Statistique Canada, exclusion de terme, terme exclu, activité exclue, définition, recherche, classification, données de référence
Paramètres de rdaas_get_term_exclusion
ParamètreTypeDéfaut
term_exclusion_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "rdaas_get_term_exclusion", "arguments": {"term_exclusion_id": "…"}}
rdaas_search_classificationsSearch StatCan's classifications (e.g. NAICS, the Standard Geographical Classification, occupational classifications).

Utilisation : finding the classification id for a topic before requesting its full detail, categories, or concordances. audience and status (lists) filter results; valid values come from rdaas_get_search_filters (e.g. status ["RELEASED"] for current versions only).

Mots-clés en anglais
statcan, naics, classification, search, rdaas, standard, geographical, occupational, codes, NOC, national occupational classification, occupation, SOC, industry classification
Mots-clés en français
Statistique Canada, classification, recherche, SCIAN, codes SCIAN, Système de classification des industries de l'Amérique du Nord, CNP, codes de professions, Classification nationale des professions, Classification géographique type, CGT, norme de classification, profession, métier
Paramètres de rdaas_search_classifications
ParamètreTypeDéfaut
querystr""
startint0
limitint10
audiencelist[str] | nullnull
statuslist[str] | nullnull
lang"en" | "fr""en"
call_tool {"name": "rdaas_search_classifications", "arguments": {}}
rdaas_search_concordancesSearch StatCan's concordances: correspondence tables between two classification versions (e.g. NAICS 2012 to NAICS 2017).

Utilisation : finding a concordance id before requesting its code maps. audience and status (lists) filter results; valid values come from rdaas_get_search_filters.

Mots-clés en anglais
statcan, concordance, correspondence, rdaas, naics, version, mapping, Statistics Canada
Mots-clés en français
Statistique Canada, concordance, tableau de correspondance, SCIAN, version, conversion de codes, recherche, passage entre versions
Paramètres de rdaas_search_concordances
ParamètreTypeDéfaut
querystr""
startint0
limitint10
audiencelist[str] | nullnull
statuslist[str] | nullnull
lang"en" | "fr""en"
call_tool {"name": "rdaas_search_concordances", "arguments": {}}

Définitions, méthodes et analyses 5

statcan_reference_get_publicationOpen a StatCan guide or methodology publication: its editions and table of contents.

Utilisation : going from a catalogue number ("71-543-G", "62-553-X", "13-017-X", "62F0014M2021011", case-insensitive) or a www150.statcan.gc.ca publication URL (from statcan_reference_search_documents or _search_analysis) to the publication itself: title, edition and release date, the edition's URL and PDF link, and its sections (id, title, level, url) -- the headings of the main page and the edition's other pages (chapters, appendices, glossary). Defaults to the latest edition; edition= picks another ("2020001", "2020", "71-543-G2020001") from the editions listed. A PDF-only edition (15-203-X, the LFS guide up to 2006) is read from the PDF: its sections are the PDF's bookmarks, or its pages ('page=12') when it has none. Then read the text with statcan_reference_get_section_text (section=<id> or query=<words>). Examples: Guide to the Labour Force Survey (71-543-G), The Canadian Consumer Price Index Reference Paper (62-553-X), Guide to the Income and Expenditure Accounts (13-017-X), Methodological Guide: Canadian System of Macroeconomic Accounts (13-607-X), Prices Analytical Series articles (62F0014M).

Mots-clés en anglais
StatCan, survey guide, reference paper, methodology guide, table of contents, chapters, catalogue number, edition, user guide, LFS guide, CPI reference paper, technical documentation
Mots-clés en français
Statistique Canada, guide de l'enquête, document de référence, guide méthodologique, table des matières, chapitres, numéro au catalogue, édition, guide d'utilisation, guide de l'EPA, document de référence de l'IPC
Paramètres de statcan_reference_get_publication
ParamètreTypeDéfaut
publicationstrobligatoire
lang"en" | "fr""en"
editionstr | nullnull
call_tool {"name": "statcan_reference_get_publication", "arguments": {"publication": "…"}}
statcan_reference_get_section_textRead the text of a StatCan guide or methodology publication: a section, or a search.

Utilisation : the official wording of a concept, definition or method from StatCan's own guides and reference papers, to quote and cite instead of answering from memory. publication is a catalogue number ("71-543-G") or a www150.statcan.gc.ca publication URL. Pass section= (an id or title from statcan_reference_get_publication, or a page URL) for that section's text, or query= ("involuntary part-time", "owned accommodation", "hedonic", "basket update", "supplementary labour income") to search the edition and get the best-matching sections, each as an excerpt starting at its best paragraph (limit= of them, default 3): up to 40 HTML pages, those whose titles hold the query's words first, then, for a larger edition with a PDF of the whole (13-017-X), every page of that PDF. With neither, the edition's main page. Plain text: headings kept as '#' lines, tables as 'a | b' rows, menus and footers dropped; cut at max_chars (default 6,000) with next_start_char to read on (start_char=). Each section carries its own URL to cite, and the result the edition's release date. PDF-only editions (and a PDF URL as publication) are read from the PDF, a page per section (section='page=192'), with the same query and paging; tables may come out imperfect. A scanned PDF page (no text layer) is read by OCR where the server enables it (ocr='auto' reads the first 5 pages of a mostly scanned PDF; pages='6-10' picks pages, 10 at most), else it comes back empty and counted in pages_without_text. On bilingual pages printed in two columns (15-203-X) only the column in lang is kept. Covers the Guide to the Labour Force Survey (71-543-G: exclusions, involuntary part-time, quality and release rules), the CPI Reference Paper (62-553-X: Lowe index, basket updates, owned accommodation, quality adjustment), the Guide to the Income and Expenditure Accounts (13-017-X), the Macroeconomic Accounts methodological guide (13-607-X), Provincial GDP by Industry (15-203-X, PDF: the net output, gross output and selected factor incomes allocation methods) and Prices Analytical Series papers such as the 2021 CPI basket update (62F0014M2021011). The LFS supplementary unemployment rates R1 to R8 are not in the LFS guide: they are defined in table 14-10-0077-01's footnotes (wds_get_cube_metadata).

Mots-clés en anglais
StatCan, definition, concept, methodology, survey guide text, LFS guide, CPI reference paper, hedonic adjustment, owned accommodation, basket update, involuntary part-time, national accounts methodology, gross output, provincial GDP allocation, PDF text, read guide, scanned PDF, OCR, image-only PDF
Mots-clés en français
Statistique Canada, définition, concept, méthodologie, texte du guide, guide de l'EPA, document de référence de l'IPC, ajustement hédonique, logement en propriété, mise à jour du panier, temps partiel involontaire, méthodologie des comptes nationaux, ajustement hédonique des indices de prix, répartition provinciale du PIB, production brute, texte d'un PDF, PDF numérisé, reconnaissance optique de caractères, PDF image
Paramètres de statcan_reference_get_section_text
ParamètreTypeDéfaut
publicationstrobligatoire
lang"en" | "fr""en"
sectionstr | nullnull
querystr | nullnull
editionstr | nullnull
start_charint0
max_charsint6000
limitint3
ocr"auto" | "off" | "force""auto"
pagesstr | nullnull
call_tool {"name": "statcan_reference_get_section_text", "arguments": {"publication": "…"}}
statcan_reference_search_analysisSearch Statistics Canada's Analysis catalogue: analytical articles, studies, journals.

Utilisation : finding articles and research analysing a subject (Insights on Canadian Society, Economic and Social Reports), "Stats in brief" (many of these are also Daily articles republished with a catalogue number), and journal/periodical series -- distinct from statcan_reference_search_documents (methodology/definitions catalogue), from actual data (WDS/SDMX/RDaaS), and from The Daily's release bulletin (statcan_daily_*). Covers 10,841+ documents. Each result carries a catalogue number (e.g. "46-28-0001"), a category (e.g. "Journals and periodicals"), a description, and a release date. An empty query returns the full unfiltered catalogue (paginate with page/count to browse it).

Mots-clés en anglais
StatCan, analysis, analyses, analysing, analyzing, analytical article, research, study, stats in brief, journal, periodical, working paper, insights
Mots-clés en français
Statistique Canada, analyse, analyser, article analytique, recherche, étude, coup d'œil sur, revue, périodique, document de travail, études
Paramètres de statcan_reference_search_analysis
ParamètreTypeDéfaut
querystr""
lang"en" | "fr""en"
countint10
pageint0
call_tool {"name": "statcan_reference_search_analysis", "arguments": {}}
statcan_reference_search_dataSearch StatCan's Data catalogue: tables plus PUMFs, geographic and other bulk files.

Utilisation : finding a data product's catalogue number, especially one with no WDS/SDMX discovery path of its own -- most notably Public Use Microdata Files (PUMFs; category "Public use microdata", e.g. catalogue number 71M0001X for the Labour Force Survey PUMF, 98M0001X for the Census). Most other results here are ordinary table PIDs also reachable via statcan_wds_*/statcan_sdmx_*, so prefer those tools for routine table search -- use this one when the product itself (a PUMF, a boundary file, a bulk archive) is the target, not a table's time series. Covers 13,342+ items. For a PUMF, pass its catalogue_number to statcan_pumf_list_files for the download ZIPs. An empty query returns the full unfiltered catalogue (paginate with page/count to browse it).

Mots-clés en anglais
StatCan, PUMF, public use microdata file, geographic boundary file, bulk data, data product, Statistics Canada, download
Mots-clés en français
Statistique Canada, FMGD, fichier de microdonnées à grande diffusion, fichier de limites géographiques, données en bloc, produit de données, téléchargement, cartes géographiques
Paramètres de statcan_reference_search_data
ParamètreTypeDéfaut
querystr""
lang"en" | "fr""en"
countint10
pageint0
call_tool {"name": "statcan_reference_search_data", "arguments": {}}
statcan_reference_search_documentsSearch StatCan's Reference resources catalogue: definitions, data sources, and methods.

Utilisation : finding methodology guides, technical reference documents, survey documentation, geographic file specifications, and other "Definitions, data sources and methods"-style publications -- distinct from actual data (WDS/SDMX/RDaaS) and from The Daily's release bulletin (statcan_daily_*). Covers 2,031 documents. Each result carries a catalogue number (e.g. "16-511-X"), a category (e.g. "Surveys and statistical programs – Documentation", "Geographic files and documentation"), a description, and a release date. Results are titles and descriptions only: to read a guide's text (a definition, a method), pass its catalogue number to statcan_reference_get_publication (table of contents) or statcan_reference_get_section_text (section= or query=). An empty query returns the full unfiltered catalogue (paginate with page/count to browse it).

Mots-clés en anglais
StatCan, definitions, data sources and methods, DSDM, methodology, technical reference guide, survey documentation, catalogue number, LFS guide, CPI reference paper
Mots-clés en français
Statistique Canada, définitions, sources de données et méthodes, méthodologie, guide de référence technique, documentation d'enquête, numéro au catalogue, publications techniques
Paramètres de statcan_reference_search_documents
ParamètreTypeDéfaut
querystr""
lang"en" | "fr""en"
countint10
pageint0
call_tool {"name": "statcan_reference_search_documents", "arguments": {}}

Objectifs de développement durable 3

statcan_sdg_get_indicator_dataGet one SDG indicator's observations (year, value, and any disaggregations).

Utilisation : retrieving an SDG indicator's actual time series. Each observation's disaggregations field carries whatever breakdown columns that specific indicator publishes (e.g. Geography, Pillar) -- these vary per indicator and are not fixed across the framework, confirmed live. Rows are capped at limit (default 200, max 2000; some indicators have 6,000+ rows): narrow with start_year/end_year or filters (column name -> exact value, e.g. {"Geography": "Alberta"}) and page with offset; provenance.limits says when rows were left out. A Global-framework indicator Canada does not report returns zero observations.

Mots-clés en anglais
statcan, SDG, indicator data, time series, sustainable development goals, observations, Statistics Canada, indicator values
Mots-clés en français
ODD, données d'indicateur, série chronologique, objectifs de développement durable, observations, Statistique Canada, valeurs de l'indicateur, Programme 2030
Paramètres de statcan_sdg_get_indicator_data
ParamètreTypeDéfaut
framework"canada" | "global"obligatoire
codestrobligatoire
lang"en" | "fr""en"
limitint200
offsetint0
start_yearint | nullnull
end_yearint | nullnull
filtersdict[str, str] | nullnull
call_tool {"name": "statcan_sdg_get_indicator_data", "arguments": {"framework": "…", "code": "…"}}
statcan_sdg_get_indicator_metadataGet one SDG indicator's goal/target, description, units, and data sources.

Utilisation : understanding what an indicator (e.g. "12-1-1") actually measures before requesting its data with statcan_sdg_get_indicator_data. code comes from statcan_sdg_search_indicators; the same code can mean a different indicator in the "canada" vs. "global" framework, so pass the same framework used to find it.

Mots-clés en anglais
statcan, SDG, indicator metadata, goal, target, definition, source, sustainable development
Mots-clés en français
Statistique Canada, ODD, métadonnées d'indicateur, objectif, cible, définition, source, développement durable
Paramètres de statcan_sdg_get_indicator_metadata
ParamètreTypeDéfaut
framework"canada" | "global"obligatoire
codestrobligatoire
lang"en" | "fr""en"
call_tool {"name": "statcan_sdg_get_indicator_metadata", "arguments": {"framework": "…", "code": "…"}}
statcan_sdg_search_indicatorsSearch StatCan's Sustainable Development Goals indicators by name.

Utilisation : finding an indicator's code before requesting its metadata or data. framework selects which indicator set: "canada" (86 indicators, Canada's own national reporting framework) or "global" (251 indicators, Canada's reporting against the UN's own Global Indicator Framework) -- distinct, differently-numbered indicator sets on the same "Open SDG" platform, confirmed live; pick the one matching what the caller means by "SDG indicator X.Y.Z". Leave query empty to list every indicator in that framework. This data have no WDS/SDMX cube/PID equivalent -- they are not otherwise reachable through any other tool in this codebase.

Mots-clés en anglais
statcan, SDG, sustainable development goals, indicator, UN, 2030 agenda, goal, target
Mots-clés en français
Statistique Canada, ODD, objectifs de développement durable, indicateur, ONU, Programme 2030, objectif, cible, Carrefour de données des ODD
Paramètres de statcan_sdg_search_indicators
ParamètreTypeDéfaut
framework"canada" | "global"obligatoire
querystr""
lang"en" | "fr""en"
limitint10
call_tool {"name": "statcan_sdg_search_indicators", "arguments": {"framework": "…"}}

API SDMX : séries filtrées 4

sdmx_get_dataGet filtered, server-side-sliced observations for a StatCan table, optionally as a computed change, growth rate, index or aggregate.

Utilisation : fetching only the dimension combination you need rather than the full table. key is a dot-separated string of member ids, one per non-time dimension, in dimension-position order (empty segment = wildcard; use sdmx_get_key_for_dimension instead of a wildcard on a >30-code dimension). With no period arguments the LATEST 24 observations per series are returned (not the oldest); pass last_n_observations for another count or start_period/end_period (e.g. 2024-01) for a range -- the two cannot be combined. Each series keeps at most 500 newest rows and a response at most 200 series; provenance.limits records any cut. transform computes a change from the published levels: diff, pct_change, yoy_diff, yoy_pct_change (year-over-year, against the same period a year earlier: 12-month CPI inflation), annualized_pct_change, index (100 at index_base, e.g. "2020"), or moving_average (trailing average over window periods); window with a change averages the change. frequency ("monthly", "quarterly", "annual") first aggregates with aggregation (average, sum, end_of_period). A percent change of a series already in percent or a rate comes back as the change in percentage points, and says so. Enough history is fetched for the lag; observations keep the published values and transformed holds the computed ones with their formula and unit. Each observation's status, symbol and security_level decode StatCan's flags (e.g. "use with caution", suppressed).

Mots-clés en anglais
statcan, sdmx, data, filtered, key, dimensions, query, observations, slice, year-over-year, percent change, growth rate, quarterly average, annual average, moving average, rolling average, status flags
Mots-clés en français
Statistique Canada, SDMX, données filtrées, clé, dimensions, requête, observations, extraction, série chronologique, variation annuelle, variation en pourcentage, taux de croissance, moyenne annuelle, moyenne mobile, cote de qualité
Paramètres de sdmx_get_data
ParamètreTypeDéfaut
product_idintobligatoire
keystrobligatoire
start_periodstr | nullnull
end_periodstr | nullnull
last_n_observationsint | nullnull
transform"level" | "diff" | "pct_change" | "yoy_diff" | "yoy_pct_change" | "annualized_pct_change" | "index" | "moving_average""level"
frequency"monthly" | "quarterly" | "annual" | nullnull
aggregation"average" | "sum" | "end_of_period""average"
index_basestr | nullnull
windowint | nullnull
lang"en" | "fr""en"
call_tool {"name": "sdmx_get_data", "arguments": {"product_id": "…", "key": "…"}}
sdmx_get_key_for_dimensionBuild a complete OR key covering every leaf code of one dimension.

Utilisation : querying a dimension with more than ~30 codes (e.g. detailed geography or industry) — StatCan's SDMX API returns a sparse, unpredictable sample if that dimension is left wildcarded instead. Splice the returned or_key into the dot-separated key at this dimension's position before calling sdmx_get_data.

Mots-clés en anglais
statcan, sdmx, wildcard, or key, large dimension, leaf codes, sparse sample, geography, wildcard dimension
Mots-clés en français
Statistique Canada, SDMX, caractère de remplacement, clé partielle, plusieurs codes, grande dimension, codes terminaux, échantillon partiel, géographie, membres de dimension
Paramètres de sdmx_get_key_for_dimension
ParamètreTypeDéfaut
product_idintobligatoire
dimension_positionintobligatoire
lang"en" | "fr""en"
call_tool {"name": "sdmx_get_key_for_dimension", "arguments": {"product_id": "…", "dimension_position": "…"}}
sdmx_get_structureGet the SDMX dimension structure for a StatCan table: each non-time dimension's codelist, with parent/child code relationships.

Utilisation : understanding a table's dimensions before building an SDMX query key, or before calling sdmx_get_key_for_dimension on a large dimension. Codes are paged per dimension (limit default 100, offset); code_query keeps codes whose name contains the text and dimension_position returns a single dimension; each dimension's code_count is its full size and provenance.limits says what was left out. If StatCan's SDMX structure document is empty or cut off (some Labour Force Survey tables), the structure is built from WDS metadata instead, with identical member ids.

Mots-clés en anglais
statcan, sdmx, structure, dimensions, codelist, dsd, keys, Statistics Canada
Mots-clés en français
Statistique Canada, SDMX, structure, dimensions, liste de codes, définition de structure de données, clés, classification, membres
Paramètres de sdmx_get_structure
ParamètreTypeDéfaut
product_idintobligatoire
dimension_positionint | nullnull
code_querystr""
limitint100
offsetint0
lang"en" | "fr""en"
call_tool {"name": "sdmx_get_structure", "arguments": {"product_id": "…"}}
sdmx_get_vector_dataGet filtered SDMX observations for a known vector ID, optionally as a computed change, growth rate, index or aggregate.

Utilisation : fetching one specific series via SDMX when you already have its vector ID (resolves the vector to a productId/coordinate internally, then builds the matching SDMX key), and year-over-year inflation or growth for it. Periods work as in sdmx_get_data. transform computes a change from the published levels: diff, pct_change, yoy_diff, yoy_pct_change (year-over-year, against the same period a year earlier: 12-month CPI inflation), annualized_pct_change, index (100 at index_base, e.g. "2020"), or moving_average (trailing average over window periods); window with a change averages the change. frequency ("monthly", "quarterly", "annual") first aggregates with aggregation (average, sum, end_of_period). A percent change of a series already in percent or a rate comes back as the change in percentage points, and says so. Enough history is fetched for the lag; observations keep the published values and transformed holds the computed ones with their formula and unit. Each observation's status, symbol and security_level decode StatCan's flags (e.g. "use with caution", suppressed).

Mots-clés en anglais
statcan, sdmx, vector, data, observations, series, query, Statistics Canada, year-over-year, inflation, percent change, growth rate, annual average, moving average, rolling average
Mots-clés en français
Statistique Canada, SDMX, vecteur, données, observations, série, requête, identifiant de vecteur, série chronologique, variation annuelle, taux d'inflation, taux de croissance, moyenne annuelle, moyenne mobile
Paramètres de sdmx_get_vector_data
ParamètreTypeDéfaut
vector_idintobligatoire
start_periodstr | nullnull
end_periodstr | nullnull
last_n_observationsint | nullnull
transform"level" | "diff" | "pct_change" | "yoy_diff" | "yoy_pct_change" | "annualized_pct_change" | "index" | "moving_average""level"
frequency"monthly" | "quarterly" | "annual" | nullnull
aggregation"average" | "sum" | "end_of_period""average"
index_basestr | nullnull
windowint | nullnull
lang"en" | "fr""en"
call_tool {"name": "sdmx_get_vector_data", "arguments": {"vector_id": "…"}}

Espaces SDMX : information sur l'énergie et données partagées 4

sdmx_space_get_dataGet observations from a dataflow of the CCEI (energy) or shared SDMX space, as series with their attributes (SDMX-CSV 2.0).

Utilisation : ECCC National Inventory greenhouse gas emissions by province and IPCC category, GHG projections, air pollutants, NRCan energy efficiency indicators, ISC long-term advisories, CITH internal trade. key has one segment per dimension in key_order order (see sdmx_space_get_structure), '+' for several codes, empty for a wildcard: A.CA_AB.0.CO2EQ. A whole large flow ("all", or only wildcards) is refused because the service times out; filter at least one dimension. With no period argument the LATEST 12 observations per series are returned; last_n_observations changes that, start_period/end_period (2020, 2020-03, 2020-Q1) give a range. Caps: 500 rows per series (newest kept), 200 series, max_rows (default 1000, max 5000) in total; provenance.limits records any cut. Flows are NonProduction annotated.

Mots-clés en anglais
statcan, sdmx, data, observations, ccei, greenhouse gas, emissions, projections, air pollutants, ISC advisories, internal trade
Mots-clés en français
Statistique Canada, SDMX, données, observations, CCIE, gaz à effet de serre, émissions, projections, polluants atmosphériques, avis sur l'eau potable, commerce intérieur
Paramètres de sdmx_space_get_data
ParamètreTypeDéfaut
flowstrobligatoire
keystrobligatoire
space"ccei" | "stcshared""ccei"
start_periodstr | nullnull
end_periodstr | nullnull
last_n_observationsint | nullnull
max_rowsint1000
lang"en" | "fr""en"
call_tool {"name": "sdmx_space_get_data", "arguments": {"flow": "…", "key": "…"}}
sdmx_space_get_structureBrowse one dataflow of the CCEI or shared SDMX space: its dimensions in key order, the codes that have data, the period range and the size.

Utilisation : building a key for sdmx_space_get_data. flow is a dataflow id (GHG_IPCC_TABLE), agency,id (CCEI,GHG_IPCC_TABLE) or agency,id,version. key_order lists the dimensions as the dot-separated key expects them. Each dimension's codes are only those with data (codelist_size is the whole codelist) and are paged by limit/offset; dimension returns one dimension and code_query keeps codes whose name contains the text (for example Alberta, or CO2). Also gives start_period, end_period and the observation count. Flagged non_production for every flow so far.

Mots-clés en anglais
statcan, sdmx, structure, dimensions, codes, codelist, key, ccei, energy information, dataflow, availability
Mots-clés en français
Statistique Canada, SDMX, structure, dimensions, codes, liste de codes, clé, CCIE, information sur l'énergie, flux de données, disponibilité
Paramètres de sdmx_space_get_structure
ParamètreTypeDéfaut
flowstrobligatoire
space"ccei" | "stcshared""ccei"
dimensionstr""
code_querystr""
limitint100
offsetint0
lang"en" | "fr""en"
call_tool {"name": "sdmx_space_get_structure", "arguments": {"flow": "…"}}
sdmx_space_list_flowsList the dataflows of one of Statistics Canada's extra SDMX spaces: `ccei` (Canadian Centre for Energy Information, 245 flows) or `stcshared` (shared space, 238 flows), filtered by words and agency.

Utilisation : finding a dataflow id in the energy information space (ECCC greenhouse gas inventory and projections, air pollutants, black carbon, NRCan energy efficiency indicators) or the shared space (CITH internal trade, quality of life, rural, PCEIP education and employment, MEA, ISC advisories). query needs every word in the id, name or description; agency is e.g. CCEI, STC, CA1.CCEI, CITH, QOL, PCEIP, RURAL, MEA. Returns flow (agency,id,version) to pass to sdmx_space_get_structure and sdmx_space_get_data. Unlike sdmx_space_search it sees every flow, including QOL and MEA. Every flow is annotated NonProductionDataflow; provenance.licence carries the Statistics Canada Open Licence note and the partner-department caveat. The main table service is sdmx_get_data.

Mots-clés en anglais
statcan, sdmx, ccei, energy information, greenhouse gas, dataflows, stcshared, CITH, internal trade, ISC advisories, ECCC, NRCan
Mots-clés en français
Statistique Canada, SDMX, CCIE, information sur l'énergie, gaz à effet de serre, flux de données, commerce intérieur, avis sur l'eau potable, qualité de vie, ECCC, RNCan
Paramètres de sdmx_space_list_flows
ParamètreTypeDéfaut
space"ccei" | "stcshared""ccei"
querystr""
agencystr""
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "sdmx_space_list_flows", "arguments": {}}

Enquêtes, métadonnées et fonds de microdonnées (CDR, ATR) 4

statcan_surveys_get_survey_metadataGet a survey's IMDB record: status, frequency, description, and its methodology.

Utilisation : the "Definitions, data sources and methods" record of one survey or statistical program (id from statcan_surveys_search_surveys): status, frequency, description, subjects, reference and collection periods, whether response is mandatory or voluntary, how data are obtained (respondents, administrative files), the design (sample survey or census) and sample size, and the methodology sections: target_population, instrument_design, sampling, data_sources, error_detection, imputation, estimation, quality_evaluation, disclosure_control, revisions_and_seasonal_adjustment and data_accuracy. Without section every section comes back shortened to about 900 characters (trimmed_sections names them); pass one name or a list, e.g. section=["sampling", "data_sources"], for those sections in full and no others. IMDB (Integrated Metadata Base) is separate from the Reference/Analysis catalogues. Concepts and definitions (LFS involuntary part-time, CPI hedonic quality adjustment) are in each survey's guide, not here: read them with statcan_reference_get_section_text (publication='71-543-G', the Guide to the Labour Force Survey, or '62-553-X', the CPI Reference Paper, with query=<the concept>).

Mots-clés en anglais
StatCan, IMDB, survey metadata, definitions, methodology, target population, sampling, sample size, mandatory or voluntary survey, collection method, imputation, disclosure control, seasonal adjustment, data accuracy, data quality
Mots-clés en français
Statistique Canada, BMDI, métadonnées d'enquête, définitions, méthodologie, population cible, échantillonnage, taille de l'échantillon, enquête obligatoire, mode de collecte, imputation, contrôle de la divulgation, désaisonnalisation, exactitude des données, temps partiel involontaire, ajustement hédonique
Paramètres de statcan_surveys_get_survey_metadata
ParamètreTypeDéfaut
survey_idintobligatoire
lang"en" | "fr""en"
section"target_population" | "instrument_design" | "sampling" | "data_sources" | "error_detection" | "imputation" | "estimation" | "quality_evaluation" | "disclosure_control" | "revisions_and_seasonal_adjustment" | "data_accuracy" | list["target_population" | "instrument_design" | "sampling" | "data_sources" | "error_detection" | "imputation" | "estimation" | "quality_evaluation" | "disclosure_control" | "revisions_and_seasonal_adjustment" | "data_accuracy"] | nullnull
call_tool {"name": "statcan_surveys_get_survey_metadata", "arguments": {"survey_id": "…"}}
statcan_surveys_search_rdc_holdingsSearch the microdata held at StatCan's Research Data Centres (RDCs).

Utilisation : "is survey X available in a Research Data Centre, and which cycles?" -- the official holdings list (about 350 rows: survey or linked file, cycles or years held, acronym, IMDB record number). The record number is the id of statcan_surveys_get_survey_metadata, so each holding links to its survey record (detail_url); several linked files share the generic number 8006, which names no survey. This lists what exists, not data: RDC use needs an approved project and security clearance. query needs every word to appear in the name, acronym, cycles or record number (accents ignored). For the remote option see statcan_surveys_search_rtra_datasets; public files are statcan_pumf_search.

Mots-clés en anglais
Research Data Centre, RDC, Canadian RDC Network, microdata holdings, restricted microdata, linked data, secure access, survey cycles, T1 Family File, Canadian Community Health Survey, record number
Mots-clés en français
Centre de données de recherche, CDR, microdonnées détaillées, fichiers couplés, accès sécurisé, cycles d'enquête, numéro d'enregistrement, Statistique Canada, données de recherche, enquête
Paramètres de statcan_surveys_search_rdc_holdings
ParamètreTypeDéfaut
querystr""
lang"en" | "fr""en"
limitint20
call_tool {"name": "statcan_surveys_search_rdc_holdings", "arguments": {}}
statcan_surveys_search_rtra_datasetsSearch datasets offered through StatCan's Real Time Remote Access (RTRA).

Utilisation : the settings of each RTRA dataset (about 360 rows from 70 surveys and administrative sources): tag name used in the RTRA program, dataset name, rounding base for counts, weight variable, and the variables deleted from the remote version, plus links to the IMDB survey records (sdds_id is the id of statcan_surveys_get_survey_metadata; instance_id is one cycle's page). deleted_variable keeps datasets that remove a given variable code (e.g. "PROVBIR"). query needs every word to appear in the survey, cycle, tag, dataset or weight name. RTRA lets registered users run SAS or Stata code on StatCan's server and get rounded output; this lists the setup, not data. For secure on-site access see statcan_surveys_search_rdc_holdings.

Mots-clés en anglais
Real Time Remote Access, RTRA, remote access, rounding base, weight variable, deleted variables, disclosure control, microdata, tag name, Canadian Community Health Survey, Canadian Cancer Registry
Mots-clés en français
Système d'accès à distance en temps réel, ADTR, accès à distance, base d'arrondissement, variable de pondération, variables supprimées, contrôle de la divulgation, microdonnées, préfixe, Statistique Canada
Paramètres de statcan_surveys_search_rtra_datasets
ParamètreTypeDéfaut
querystr""
lang"en" | "fr""en"
deleted_variablestr | nullnull
limitint20
call_tool {"name": "statcan_surveys_search_rtra_datasets", "arguments": {}}
statcan_surveys_search_surveysSearch StatCan's A-Z directory of surveys and statistical programs (~899 confirmed live).

Utilisation : finding a survey's numeric IMDB ID (needed by statcan_surveys_get_survey_metadata) by name or acronym, instead of guessing it -- covers both active and inactive/discontinued surveys and statistical programs. query matches whole words of the name (accents ignored) or its acronym: 'IPPI' gives 2318, 'RMPI' 2306, 'LFS' 3701, 'EICS' 4428 (French ones too: EPA, IPMB, ECAE). Distinct from statcan_reference_search_documents/search_analysis (documents about surveys) and from statcan_daily_* (release bulletin) -- this is the master list of the surveys/programs themselves. An empty query returns the full directory.

Mots-clés en anglais
StatCan, survey, surveys Statistics Canada runs, statistical program, survey directory, survey ID, survey number, IMDB id, acronym, Statistics Canada, data source, survey list, Raw Materials Price Index, Employment Insurance Coverage Survey
Mots-clés en français
Statistique Canada, enquête, programme statistique, répertoire des enquêtes, numéro d'enquête, numéro BMDI, acronyme, source de données, liste des enquêtes, enquêtes statistiques, Enquête sur la couverture de l'assurance-emploi
Paramètres de statcan_surveys_search_surveys
ParamètreTypeDéfaut
querystr""
lang"en" | "fr""en"
limitint20
call_tool {"name": "statcan_surveys_search_surveys", "arguments": {}}

Service de données Web : tableaux et vecteurs 16

wds_get_bulk_vector_data_by_rangeGet observations for multiple vectors released within a date range.

Utilisation : bulk historical retrieval across several series at once, filtered by release date (not reference period). Results come back inline; for hundreds of series use wds_get_full_table_download. start_release_datetime/end_release_datetime are "YYYY-MM-DDTHH:MM" (e.g. "2024-01-01T08:30"); a bare date is widened to the start/end of that day. Vectors WDS cannot serve are listed in failed.

Mots-clés en anglais
statcan, bulk, vectors, date range, release date, history, wds, Statistics Canada
Mots-clés en français
Statistique Canada, extraction en bloc, vecteurs, plusieurs vecteurs, plage de dates, date de diffusion, historique, séries chronologiques
Paramètres de wds_get_bulk_vector_data_by_range
ParamètreTypeDéfaut
vector_idslist[int]obligatoire
start_release_datetimestrobligatoire
end_release_datetimestrobligatoire
lang"en" | "fr""en"
call_tool {"name": "wds_get_bulk_vector_data_by_range", "arguments": {"vector_ids": "…", "start_release_datetime": "…", "end_release_datetime": "…"}}
wds_get_changed_cube_listList StatCan tables (cubes) that changed on a given date.

Utilisation : detecting which tables were updated, e.g. after the daily 8:30am ET release. date is YYYY-MM-DD (default: today, Eastern).

Mots-clés en anglais
statcan, changed, updated, cube, table, release, today, wds
Mots-clés en français
Statistique Canada, tableaux modifiés, mises à jour, tableau, diffusion, aujourd'hui, actualisation, nouvelles données
Paramètres de wds_get_changed_cube_list
ParamètreTypeDéfaut
datestr | nullnull
lang"en" | "fr""en"
call_tool {"name": "wds_get_changed_cube_list", "arguments": {}}
wds_get_changed_series_dataGet just the newly-changed data points for one series, identified by vector ID or by table + coordinate.

Utilisation : fetching only what changed rather than the full latest-N window, after wds_get_changed_series_list flags a vector. Pass exactly one form: vector_id, or product_id + coordinate (resolved to its vector first, so the series always belongs to that table). A series that did not change today gives a "nothing found" error.

Mots-clés en anglais
statcan, changed, vector, coordinate, delta, updated data, wds, Statistics Canada, revisions
Mots-clés en français
Statistique Canada, données modifiées, vecteur, coordonnée, écart, données mises à jour, série, changements, tableau, révisions
Paramètres de wds_get_changed_series_data
ParamètreTypeDéfaut
vector_idint | nullnull
product_idint | str | nullnull
coordinatestr | nullnull
lang"en" | "fr""en"
call_tool {"name": "wds_get_changed_series_data", "arguments": {}}
wds_get_changed_series_listList StatCan series that changed (new release) today.

Utilisation : detecting updated series for a scheduled refresh. WDS documents this method as always reflecting today's changes — it does not accept a date parameter (unlike wds_get_changed_cube_list).

Mots-clés en anglais
statcan, changed, updated, series, release, today, wds, refresh
Mots-clés en français
Statistique Canada, séries modifiées, mises à jour, série, diffusion, aujourd'hui, actualisation, nouvelles données
Paramètres de wds_get_changed_series_list
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "wds_get_changed_series_list", "arguments": {}}
wds_get_code_setsGet StatCan's code-set descriptions: scalar factors, frequency, symbol, status, unit of measure, survey, subject, classification type, security level, and terminated codes.

Utilisation : decoding any numeric code returned by another WDS tool, e.g. a scalarFactorCode, frequencyCode or subject code. The full set is ~300 kB, so each category returns at most limit entries (default 100); pick one category and/or filter descriptions with query. counts gives each category's full size.

Mots-clés en anglais
statcan, code sets, decode, scalar factor, frequency, symbol, status, uom, subject, survey, wds, lookup
Mots-clés en français
Statistique Canada, ensembles de codes, décoder, facteur d'échelle, fréquence, symbole, statut, unité de mesure, sujet, enquête, référence
Paramètres de wds_get_code_sets
ParamètreTypeDéfaut
category"scalar" | "frequency" | "symbol" | "status" | "uom" | "survey" | "subject" | "classification_type" | "security_level" | "terminated" | nullnull
querystr | nullnull
limitint100
lang"en" | "fr""en"
call_tool {"name": "wds_get_code_sets", "arguments": {}}
wds_get_cube_metadataGet metadata for one StatCan table: dimensions, member trees, frequency, date range, and footnotes.

Utilisation : understanding a table's structure before requesting data, finding the member IDs that make up a coordinate. product_id is the 8-digit productId or the table number (18-10-0004, 18-10-0004-01). Large tables have thousands of members, so each dimension returns at most member_limit members (default 100) and at most footnote_limit distinct footnotes come back (default 10; a note WDS repeats under several ids comes once, with same_text_ids); provenance.limits says what was cut. Narrow with dimension (a position, e.g. 1 for geography), member_query (words in a member name) and member_offset.

Mots-clés en anglais
statcan, metadata, dimensions, members, productId, cube, structure, footnotes, wds, coordinate, table number
Mots-clés en français
Statistique Canada, métadonnées, dimensions, membres, structure du tableau, notes de bas de page, coordonnée, numéro de tableau, description du tableau
Paramètres de wds_get_cube_metadata
ParamètreTypeDéfaut
product_idint | strobligatoire
dimensionint | nullnull
member_querystr | nullnull
member_limitint100
member_offsetint0
footnote_limitint10
lang"en" | "fr""en"
call_tool {"name": "wds_get_cube_metadata", "arguments": {"product_id": "…"}}
wds_get_data_by_reference_period_rangeGet observations for vectors between two dates (a time series for a vector over a reference-period range), optionally as a computed change, growth rate, index or quarterly/annual aggregate.

Utilisation : retrieving a specific historical window (e.g. 2015-01-01 to 2020-12-01) rather than "latest N", and year-over-year inflation or growth over that window. start_ref_period/end_ref_period are "YYYY-MM-DD"; a "YYYY-MM" month is widened to its first/last day. Results come back inline, so this suits a handful of series; for hundreds use wds_get_full_table_download. Vectors WDS cannot serve are listed in failed. transform computes a change from the published levels: diff (x_t - x_{t-1}), pct_change, yoy_diff, yoy_pct_change (year-over-year, against the same period a year earlier: 12-month CPI inflation), annualized_pct_change, index (100 at index_base, e.g. "2020"), or moving_average (trailing average over window periods); window with a change averages the change. frequency ("monthly", "quarterly", "annual") first aggregates with aggregation (average, sum, end_of_period). A percent change of a series already in percent or a rate (unemployment rate, bank rate) comes back as the change in percentage points, and says so. Enough history is fetched for the lag; observations keep the published values and transformed holds the computed ones with their formula and unit.

Mots-clés en anglais
statcan, reference period, range, between two dates, time series for a vector, history, vectors, wds, date range, Statistics Canada, year-over-year, inflation, percent change, growth rate, annual average, moving average, rolling average
Mots-clés en français
Statistique Canada, période de référence, plage, plage de dates, historique, vecteurs, données historiques, série chronologique entre deux dates, variation annuelle, glissement annuel, taux d'inflation, taux de croissance, moyenne annuelle, moyenne mobile
Paramètres de wds_get_data_by_reference_period_range
ParamètreTypeDéfaut
vector_idslist[int]obligatoire
start_ref_periodstrobligatoire
end_ref_periodstrobligatoire
transform"level" | "diff" | "pct_change" | "yoy_diff" | "yoy_pct_change" | "annualized_pct_change" | "index" | "moving_average""level"
frequency"monthly" | "quarterly" | "annual" | nullnull
aggregation"average" | "sum" | "end_of_period""average"
index_basestr | nullnull
windowint | nullnull
lang"en" | "fr""en"
call_tool {"name": "wds_get_data_by_reference_period_range", "arguments": {"vector_ids": "…", "start_ref_period": "…", "end_ref_period": "…"}}
wds_get_data_from_cube_coordGet the latest N observations for one or more coordinates of a StatCan table, optionally as a computed change, growth rate, index or aggregate.

Utilisation : fetching data when you have a productId/coordinate but not yet the vector ID, including year-over-year or period-to-period changes. For several series of one table (every province, several components), pass them all at once in coordinates (up to 300, one request) instead of one call per coordinate; each comes back in series, in the order given, and any WDS cannot serve is listed in failed with the reason. With one coordinate the series is at the top level, as before. status, symbol and security_level decode the codes. latest_n counts periods at the output frequency. transform computes a change from the published levels: diff (x_t - x_{t-1}), pct_change, yoy_diff, yoy_pct_change (year-over-year, against the same period a year earlier: 12-month CPI inflation), annualized_pct_change, index (100 at index_base, e.g. "2020"), or moving_average (trailing average over window periods); window with a change averages the change. frequency ("monthly", "quarterly", "annual") first aggregates with aggregation (average, sum, end_of_period). A percent change of a series already in percent or a rate (unemployment rate, bank rate) comes back as the change in percentage points, and says so. Enough history is fetched for the lag; observations keep the published values and transformed holds the computed ones with their formula and unit. A challenged WDS gets a labelled stand-in.

Mots-clés en anglais
statcan, coordinate, coordinates, table series, every province, observations, latest, data, wds, productId, Statistics Canada, year-over-year, percent change, growth rate, quarterly average, annual average, moving average, rolling average
Mots-clés en français
Statistique Canada, coordonnée, plusieurs coordonnées, plusieurs séries, toutes les provinces, observations, dernières données, données récentes, numéro de tableau, tableau, dernières périodes, variation annuelle, variation en pourcentage, taux de croissance, moyenne trimestrielle, moyenne mobile
Paramètres de wds_get_data_from_cube_coord
ParamètreTypeDéfaut
product_idint | strobligatoire
coordinatestr | nullnull
latest_nint12
transform"level" | "diff" | "pct_change" | "yoy_diff" | "yoy_pct_change" | "annualized_pct_change" | "index" | "moving_average""level"
frequency"monthly" | "quarterly" | "annual" | nullnull
aggregation"average" | "sum" | "end_of_period""average"
index_basestr | nullnull
windowint | nullnull
lang"en" | "fr""en"
coordinateslist[str] | nullnull
call_tool {"name": "wds_get_data_from_cube_coord", "arguments": {"product_id": "…"}}
wds_get_data_from_vectorsGet the latest N observations for one or more StatCan vectors, optionally as a computed change (year-over-year, period-to-period), growth rate, index or quarterly/annual aggregate.

Utilisation : getting the data for one or more StatCan vectors (recent values of known time series, such as a Labour Force Survey unemployment rate or employment vector), and year-over-year inflation from the CPI (the latest Canadian inflation rate, Canada or a province), monthly or annualized growth, or a quarterly average of a monthly series. Results come back inline, so this suits a handful of series; for a whole table or hundreds of vectors use wds_get_full_table_download. Vectors WDS cannot serve are listed in failed; the others still come back. scalarFactorCode is NOT pre-applied to value: multiply value by the observation's scale_multiplier for a scaled figure. status, symbol and security_level decode the codes (e.g. "use with caution", "preliminary"). latest_n counts periods at the output frequency. transform (diff, pct_change, yoy_diff, yoy_pct_change, annualized_pct_change, index, moving_average: trailing average over window periods; window with a change averages the change) and frequency with aggregation compute from the published levels; a series already in percent gets percentage-point changes. transformed holds the computed values with their formula. A challenged WDS gets a labelled stand-in.

Mots-clés en anglais
statcan, vector, observations, latest, data, time series, wds, values, year-over-year, yoy, inflation rate, CPI inflation, percent change, growth rate, annualized, quarterly average, annual average, index, moving average, rolling average
Mots-clés en français
Statistique Canada, vecteur, observations, dernières données, données récentes, série chronologique, valeurs, dernières périodes, variation annuelle, glissement annuel, taux d'inflation, inflation de l'IPC, variation en pourcentage, taux de croissance, moyenne trimestrielle, moyenne annuelle, indice, moyenne mobile
Paramètres de wds_get_data_from_vectors
ParamètreTypeDéfaut
vector_idslist[int]obligatoire
latest_nint12
transform"level" | "diff" | "pct_change" | "yoy_diff" | "yoy_pct_change" | "annualized_pct_change" | "index" | "moving_average""level"
frequency"monthly" | "quarterly" | "annual" | nullnull
aggregation"average" | "sum" | "end_of_period""average"
index_basestr | nullnull
windowint | nullnull
lang"en" | "fr""en"
call_tool {"name": "wds_get_data_from_vectors", "arguments": {"vector_ids": "…"}}
wds_get_full_table_downloadGet a whole StatCan table: its file link, and (CSV) a Python script that rebuilds the same CSV through WDS.

Utilisation : an entire table, or hundreds of its series, for offline analysis; or reconciling a workbook of vector IDs against a published table (the CSV has a VECTOR column to join on). StatCan serves the file to most scripts, but since November 2026 answers some networks with a captcha only a person in a browser can pass; file_check says which it answered just now. For CSV the tool also returns a Python script that rebuilds the table through WDS, which StatCan serves everywhere: the same columns, order and values as StatCan's file, written to data/raw/. reproduce_code writes R, Python and Stata scripts that download the file and rebuild through WDS only at the captcha. members ({"Geography": ["Canada", "Ontario"]}, dimension and member names as in wds_get_cube_metadata) and start_period / end_period (REF_DATE's form: 2020, 2020-01) keep part of the table. rebuild gives its size in WDS calls; past the limit there is no script and the notes say to narrow it. Offer the script; run it only if the user agrees. An unknown table, dimension or member is an error.

Mots-clés en anglais
statcan, csv, sdmx, download, full table, bulk, export, wds, Statistics Canada, rebuild table, vector column, join, reconcile, hundreds of series, offline, large table
Mots-clés en français
Statistique Canada, CSV, SDMX, téléchargement, tableau complet, téléchargement en bloc, exportation, reconstruire le tableau, colonne VECTOR, jointure, rapprochement, centaines de séries, grand tableau
Paramètres de wds_get_full_table_download
ParamètreTypeDéfaut
product_idint | strobligatoire
format"csv" | "sdmx""csv"
membersdict[str, list[str]] | nullnull
start_periodstr | nullnull
end_periodstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "wds_get_full_table_download", "arguments": {"product_id": "…"}}
wds_get_leaf_membersList only the lowest-level (leaf) members of one dimension of a StatCan table, so a sum or ranking does not double-count totals and subtotals.

Utilisation : adding up or ranking across provinces, industries or product groups without the totals ("All industries", "All-items", "Canada") and subtotals mixed in. A leaf is a member that is no other member's parent. dimension is the position (1 is usually Geography) or the dimension's name ("Geography", "Products"). under_member_id keeps the leaves below one member (a NAICS sector, the CPI's "Food", a province), the reliable way to take a branch: children rarely repeat the parent's name. member_query filters leaf names. Leaves that may still double-count go to flagged_leaves: names like totals, StatCan's T-coded special aggregates ("Goods-producing industries", "Energy sector"), and leaves outside the top-level member holding most leaves (CPI "All- items excluding food"); include_flagged=True keeps them. Geography: leaves are the lowest level present, so provinces are leaves of Canada in the Labour Force Survey tables, but in the monthly CPI table the leaves are cities, the provinces being their parents (Whitehorse sits directly under Canada); geo_levels counts the levels, and city leaves need not add up to a province. A dimension with no parent links (age groups) makes every member a leaf. Returns member_ids, a comma list, an SDMX '+' key fragment and full key for sdmx_get_data (one call), and example coordinates for wds_get_data_from_cube_coord. sdmx_get_key_for_dimension gives an unfiltered leaf key only.

Mots-clés en anglais
statcan, leaf members, lowest level, avoid double counting, exclude totals, subtotals, sum across provinces, rank industries, NAICS detail, CPI components, hierarchy, dimension members, sdmx key, coordinate
Mots-clés en français
Statistique Canada, membres terminaux, niveau le plus fin, éviter le double comptage, exclure les totaux, sous-totaux, somme des provinces, classement des industries, détail SCIAN, composantes de l'IPC, hiérarchie, membres de dimension, clé SDMX, coordonnée
Paramètres de wds_get_leaf_members
ParamètreTypeDéfaut
product_idint | strobligatoire
dimensionint | strobligatoire
under_member_idint | nullnull
member_querystr | nullnull
include_flaggedboolfalse
limitint500
offsetint0
lang"en" | "fr""en"
call_tool {"name": "wds_get_leaf_members", "arguments": {"product_id": "…", "dimension": "…"}}
wds_get_series_as_ofGet a StatCan series as it was published on a past date, before later revisions (a vintage), from StatCan's real-time tables.

Utilisation : what was known at the time, such as the GDP, CPI core inflation, employment, retail or trade figures an analyst or the Bank of Canada saw on a given date; comparing a first estimate with the revised value; real-time forecasting evaluation. Pass the series of the regular table (vector_id, or product_id + coordinate) and as_of ("YYYY-MM-DD"): the values come from the latest release on or before that date, with release_date saying which. Only these 16 tables have this history: 12-10-0163, 14-10-0220, 14-10-0223, 16-10-0012, 16-10-0013, 18-10-0256, 20-10-0003, 20-10-0056, 20-10-0067, 20-10-0076, 34-10-0035, 34-10-0036, 36-10-0018, 36-10-0103, 36-10-0104, 36-10-0434; any other table is an error, not current data. Values are unscaled, as in every WDS tool.

Mots-clés en anglais
vintage, real-time data, as of date, first estimate, revision history, as originally published, past release, unrevised data, historical releases, Statistics Canada
Mots-clés en français
millésime, données en temps réel, à une date donnée, première estimation, historique des révisions, tel que publié à l'origine, diffusion antérieure, données non révisées
Paramètres de wds_get_series_as_of
ParamètreTypeDéfaut
as_ofstrobligatoire
vector_idint | nullnull
product_idint | str | nullnull
coordinatestr | nullnull
latest_nint12
lang"en" | "fr""en"
call_tool {"name": "wds_get_series_as_of", "arguments": {"as_of": "…"}}
wds_get_series_infoResolve a StatCan series either way: a vector ID to its productId and coordinate, or a productId + coordinate to its stable vector ID.

Utilisation : figuring out which table and dimension-position a known vector belongs to, or converting a table/dimension-position pair (from wds_get_cube_metadata) into a vector ID for later reuse. Pass exactly one form: vector_id, or product_id + coordinate. Also returns the series title, frequency, decimals, scalar factor and unit-of-measure codes. A challenged WDS gets a labelled stand-in.

Mots-clés en anglais
statcan, vector, coordinate, resolve, productId, series info, wds, Statistics Canada, conversion, identifier
Mots-clés en français
Statistique Canada, vecteur, coordonnée, résoudre, conversion, information de série, identifiant de série, numéro de tableau, numéro de vecteur
Paramètres de wds_get_series_info
ParamètreTypeDéfaut
vector_idint | nullnull
product_idint | str | nullnull
coordinatestr | nullnull
lang"en" | "fr""en"
call_tool {"name": "wds_get_series_info", "arguments": {}}
wds_query_seriesRun one read-only SQL query over a few StatCan series on the server and get back only its result: a sum, an average by year, a ranking, a peak, a comparison between series, instead of every observation.

Utilisation : computing from StatCan vectors without adding up hundreds of values yourself, e.g. the annual average CPI or unemployment rate, the month with the highest value, provinces ranked by growth, the gap between two series, a count of months above a threshold. The server fetches up to 20 vector_ids for a window (start_ref_period and end_ref_period as "YYYY-MM-DD" or "YYYY-MM", or latest_n periods, default 12), loads them into a table obs and runs sql with DuckDB. obs columns: vector_id, product_id, table_id, coordinate, ref_period (DATE), value (unscaled: times scale_multiplier for the full figure), scale_multiplier, decimals, status, symbol, release_time, series_title, table_title, unit, scale, frequency, geography, adjustment, quality (E/F/x). Example: SELECT vector_id, year(ref_period) AS year, avg(value) FROM obs GROUP BY ALL ORDER BY ALL. A query that mixes units or adjustments, or sums a total with its own parts, is refused with the reason. One read-only SELECT runs in a sandbox (no files, URLs or extensions; time and memory limits); at most 500 rows come back. Quote the series citations and any warnings with the result.

Mots-clés en anglais
statcan, SQL, query, compute, calculate, aggregate, sum, average, annual average, mean, group by, ranking, rank, top, maximum, minimum, peak, compare series, DuckDB, analysis, vectors, server-side
Mots-clés en français
Statistique Canada, requête SQL, calculer, calcul, agréger, somme, moyenne, moyenne annuelle, regrouper, classement, classer, maximum, minimum, sommet, comparer des séries, analyse, vecteurs, calcul côté serveur
Paramètres de wds_query_series
ParamètreTypeDéfaut
vector_idslist[int]obligatoire
sqlstrobligatoire
start_ref_periodstr | nullnull
end_ref_periodstr | nullnull
latest_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "wds_query_series", "arguments": {"vector_ids": "…", "sql": "…"}}
wds_query_tableRun one read-only SQL query over a whole StatCan table, or a slice of it, on the server, and get back only its result.

Utilisation : questions across many series of one table that wds_query_series (20 vectors) cannot hold: every province by industry, all age groups, a ranking across a table's breadth. The server reads the table's full-table CSV as it downloads (tables up to 200 MB zipped), keeps the rows of members ({"Geography": ["Alberta"]}, names as in wds_get_cube_metadata) and of start_period to end_period (REF_DATE's form: 2020, 2020-01), and runs sql with DuckDB over them as the table obs: the columns of wds_query_series plus one per dimension (dimension_columns names them, e.g. labour_force_characteristics). A query that mixes units or adjustments, or sums a total with its own parts, is refused with the reason. At most 300,000 rows load and 500 come back. Quote the citation and any warnings with the result.

Mots-clés en anglais
statcan, SQL, whole table, full table, query table, aggregate, group by, ranking, slice, DuckDB, all members, breadth
Mots-clés en français
Statistique Canada, requête SQL, tableau complet, tableau entier, agréger, regrouper, classement, tranche, tous les membres
Paramètres de wds_query_table
ParamètreTypeDéfaut
product_idint | strobligatoire
sqlstrobligatoire
membersdict[str, list[str]] | nullnull
start_periodstr | nullnull
end_periodstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "wds_query_table", "arguments": {"product_id": "…", "sql": "…"}}
wds_search_cubesSearch Statistics Canada's ~8,000 data tables (cubes) by title keyword or table number, or list every table when `query` is omitted.

Utilisation : finding a StatCan table's productId when you only know a topic (monthly GDP by industry, the consumer price index (CPI), the Labour Force Survey monthly unemployment rate for Alberta or a CMA, average hourly wages by occupation, population estimates by province) or a number such as "18-10-0004", discovering which StatCan tables cover a subject before requesting metadata or data. Every word must be in a title, else the best partial matches come back; active tables come before archived ones. limit (default 25, max 500) and offset page the tables; total_count is the number matching. real_time marks real-time (revision-history) tables; statcan_delta_list_real_time_tables pairs the 19 with their regular tables.

Mots-clés en anglais
statcan, find a StatCan table, statistics canada, table, cube, search, productId, discover, wds, catalogue, browse, list, inventory, all cubes, full list, tables, labour force, Labour Force Survey, monthly unemployment rate, employment, GDP by industry monthly, CPI, consumer price index monthly, population estimates quarterly, retail trade, wages, trade, interprovincial migration, time series, real-time table, Alberta, by province, which table has, LFS, SEPH, MBM, low income, CMA, Toronto, monthly GDP, wages by occupation, nurses
Mots-clés en français
Statistique Canada, StatCan, chercher un tableau, trouver un tableau, quel tableau, tableau de données, recherche, tableaux, numéro de tableau, découverte, catalogue, parcourir, liste, inventaire, Enquête sur la population active, EPA, taux de chômage mensuel, emploi, PIB par industrie, PIB industrie, produit intérieur brut, IPC, indice des prix à la consommation, permis de bâtir, permis de construire, estimations de population trimestrielles, commerce de détail, ventes au détail, salaires, commerce, migration interprovinciale, séries chronologiques, tableau en temps réel, révisions, espérance de vie, mortalité, RMR, PIB mensuel, salaire selon la profession, infirmières
Paramètres de wds_search_cubes
ParamètreTypeDéfaut
querystr | nullnull
limitint25
offsetint0
litebooltrue
lang"en" | "fr""en"
call_tool {"name": "wds_search_cubes", "arguments": {}}

Fédéral et national

Santé Canada : médicaments, produits de santé naturels, instruments médicaux et effets indésirables

hc_drug_ hc_nhp_ hc_device_ hc_vigilance_

Produits de santé de Santé Canada, outils préfixés hc_ : Base de données sur les produits pharmaceutiques (hc_drug_ : recherche par DIN, marque, entreprise, ingrédient actif, statut, annexe ou classe ATC…

Description complète

Produits de santé de Santé Canada, outils préfixés hc_ : Base de données sur les produits pharmaceutiques (hc_drug_ : recherche par DIN, marque, entreprise, ingrédient actif, statut, annexe ou classe ATC ; fiches complètes avec ingrédients et concentrations, annexes, voies d'administration, formes posologiques, emballage et statut), produits de santé naturels homologués (hc_nhp_ : recherche par produit ou entreprise, fiches NPN avec ingrédients médicinaux, doses, usages et risques), homologations d'instruments médicaux (hc_device_ : homologations, instruments et identifiants par nom ou entreprise, mis à jour chaque jour) et déclarations d'effets indésirables de Canada Vigilance (hc_vigilance_ : une déclaration et ses produits, tables de codes, recherche par terme d'effet dans l'extrait mensuel), en français ou en anglais.

11 outils

Base de données sur les produits pharmaceutiques 3

hc_drug_get_productFull Drug Product Database record for one drug product, by DIN or drug code.

Utilisation : what a DIN is: brand name, company and its address, current status and date, original market date, active ingredients with strengths, schedules (prescription, narcotic, CDSA class), dosage forms, routes of administration, ATC therapeutic class, packaging, pharmaceutical standard, and veterinary species. For a product the company discontinued, also the last lot number and its expiry date.

Mots-clés en anglais
DIN details, drug monograph data, active ingredient strength, dosage form, route of administration, drug schedule, ATC code, drug packaging, Health Canada drug record
Mots-clés en français
fiche du médicament, numéro DIN, concentration de l'ingrédient actif, forme posologique, voie d'administration, annexe du médicament, code ATC, emballage, statut du produit, Santé Canada
Paramètres de hc_drug_get_product
ParamètreTypeDéfaut
dinstr""
drug_codeint | nullnull
lang"en" | "fr""en"
call_tool {"name": "hc_drug_get_product", "arguments": {}}
hc_drug_search_ingredientsActive ingredient names in the Drug Product Database, with product counts.

Utilisation : checking how Health Canada spells an active ingredient (salt forms such as 'DOXEPIN (DOXEPIN HYDROCHLORIDE)'), how many drug products contain it, and their usual strengths, before searching products by ingredient with hc_drug_search_products. With lang='fr' the names are the French ones ('Acétaminophène') and the search matches French spellings.

Mots-clés en anglais
active ingredient, medicinal ingredient, drug substance, generic name, INN, drug strength, salt form, molecule, DPD ingredient
Mots-clés en français
ingrédient actif, principe actif, substance médicamenteuse, dénomination commune, DCI, concentration du médicament, sel, molécule, Santé Canada
Paramètres de hc_drug_search_ingredients
ParamètreTypeDéfaut
namestrobligatoire
limitint50
lang"en" | "fr""en"
call_tool {"name": "hc_drug_search_ingredients", "arguments": {"name": "…"}}
hc_drug_search_productsSearch Health Canada's Drug Product Database (DPD) for drug products.

Utilisation : finding drugs approved in Canada by DIN (Drug Identification Number), brand name, company (DIN owner), active ingredient, status (marketed, approved, dormant, cancelled), schedule (prescription, non-prescription, narcotics and controlled drugs under the CDSA, Schedule D biologics, homeopathic) or ATC class (code prefix such as 'N06A' or words such as 'antidepressants'), for human, veterinary, disinfectant and radiopharmaceutical products. Filters combine; counts by status come with every result. About 58,000 products, all statuses. Pass a drug_code or DIN to hc_drug_get_product for ingredients, strengths, forms, routes and packaging.

Mots-clés en anglais
Drug Product Database, DPD, DIN lookup, drug identification number, prescription drugs Canada, generic drugs, marketed drugs, pharmaceutical company products, ATC classification, controlled substances
Mots-clés en français
Base de données sur les produits pharmaceutiques, BDPP, numéro d'identification du médicament, DIN, médicaments sur ordonnance, médicaments génériques, médicaments commercialisés, fabricant pharmaceutique, classification ATC, drogues contrôlées, Santé Canada
Paramètres de hc_drug_search_products
ParamètreTypeDéfaut
dinstr""
brandstr""
ingredientstr""
companystr""
status"approved" | "marketed" | "cancelled_pre_market" | "cancelled_post_market" | "dormant" | "cancelled_unreturned_annual" | "cancelled_safety_issue" | "authorized_interim_order" | "interim_order_revoked" | "restricted_access" | "interim_order_expired" | "cancelled_biocides" | nullnull
schedulestr""
atcstr""
product_class"human" | "veterinary" | "disinfectant" | "radiopharmaceutical" | nullnull
limitint50
lang"en" | "fr""en"
call_tool {"name": "hc_drug_search_products", "arguments": {}}

Produits de santé naturels homologués 2

hc_nhp_get_productLicence record of one natural health product, by NPN.

Utilisation : what a natural health product contains and is licensed for: medicinal ingredients with quantity, potency, extract ratio and source material, non-medicinal ingredients, route, recommended doses by population, recommended uses (purposes), and cautions, warnings, contraindications and known adverse reactions, with every brand name and the licence holder. Uses and warnings are shown as the company filed them, which may be English even with lang='fr'.

Mots-clés en anglais
NPN lookup, natural product licence, medicinal ingredients, recommended dose, recommended use, contraindications, cautions and warnings, herbal product label, DIN-HM
Mots-clés en français
numéro NPN, licence de produit naturel, ingrédients médicinaux, dose recommandée, usage recommandé, contre-indications, mises en garde, étiquette de produit à base de plantes, Santé Canada
Paramètres de hc_nhp_get_product
ParamètreTypeDéfaut
npnstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "hc_nhp_get_product", "arguments": {"npn": "…"}}
hc_nhp_search_productsSearch licensed natural health products (LNHPD) by product name, NPN or company.

Utilisation : finding vitamins, minerals, herbal remedies, probiotics, homeopathic medicines and other natural health products licensed by Health Canada, with their Natural Product Number (NPN or DIN-HM), licence holder, dosage form, licence date and whether the licence is active. query matches any brand name of a licence or the start of an NPN; company matches the licence holder. About 153,000 licences and 307,000 brand names. The first search of the day reads the whole table (about a minute). Pass an NPN to hc_nhp_get_product for ingredients, doses, uses and warnings.

Mots-clés en anglais
natural health products, NPN, natural product number, LNHPD, vitamins, herbal supplements, homeopathic medicine, dietary supplements, probiotics, licence holder
Mots-clés en français
produits de santé naturels, NPN, numéro de produit naturel, BDPSNH, vitamines, suppléments à base de plantes, remèdes homéopathiques, suppléments alimentaires, probiotiques, titulaire de licence, Santé Canada
Paramètres de hc_nhp_search_products
ParamètreTypeDéfaut
querystr""
companystr""
active_onlybooltrue
limitint50
lang"en" | "fr""en"
call_tool {"name": "hc_nhp_search_products", "arguments": {}}

Homologations d'instruments médicaux 3

hc_device_get_licenceOne medical device licence with its devices and model numbers.

Utilisation : what a medical device licence covers: every device (trade name) on it with the date it was added or removed, their model or catalogue numbers (for licences with up to 25 devices), the licence status, class and type, and the manufacturer's name and address.

Mots-clés en anglais
device licence number, MDALL licence, licensed devices list, model number, catalogue number, manufacturer address, device trade name, licence status
Mots-clés en français
numéro d'homologation, homologation d'instrument médical, liste des instruments, numéro de modèle, numéro de catalogue, adresse du fabricant, nom commercial, statut de l'homologation, Santé Canada
Paramètres de hc_device_get_licence
ParamètreTypeDéfaut
licence_numberintobligatoire
lang"en" | "fr""en"
call_tool {"name": "hc_device_get_licence", "arguments": {"licence_number": "…"}}
hc_device_search_devicesSearch licensed medical devices by trade name or model number (MDALL).

Utilisation : finding a specific medical device by the name on the product (e.g. 'Dexcom G7', 'hip stem') or by a model, catalogue or part number on its label, with the licence number it is sold under and the dates it was added to or removed from that licence. Give name or identifier, not both. Active devices only unless active_only is false.

Mots-clés en anglais
medical device search, trade name, model number, catalogue number, device identifier, device licence, MDALL device, labelled product
Mots-clés en français
recherche d'instrument médical, nom commercial, numéro de modèle, numéro de catalogue, identifiant d'instrument, homologation, produit étiqueté, appareil médical, Santé Canada
Paramètres de hc_device_search_devices
ParamètreTypeDéfaut
namestr""
identifierstr""
active_onlybooltrue
limitint50
lang"en" | "fr""en"
call_tool {"name": "hc_device_search_devices", "arguments": {}}
hc_device_search_licencesSearch Health Canada medical device licences (MDALL) by device name or company.

Utilisation : whether a medical device is licensed for sale in Canada: licence number, licence name, device class (2, 3 or 4 by risk; class I devices need no licence), licence type (single device, family, system, test kit), first issue date, cancellation date and the manufacturer. name matches the licence name (e.g. 'insulin pump', 'pacemaker', 'COVID-19 test'); company matches the manufacturer. Active licences only unless active_only is false (74,000 licences since 1999). Counts by class come with every result. Pass a licence number to hc_device_get_licence for its devices and model numbers.

Mots-clés en anglais
medical device licence, MDALL, device class, Class II III IV, licensed medical devices, manufacturer, diagnostic test kit, implant, Health Canada device approval
Mots-clés en français
homologation des instruments médicaux, LIMH, instruments médicaux homologués, classe d'instrument, fabricant, trousse de diagnostic, implant, homologation de Santé Canada
Paramètres de hc_device_search_licences
ParamètreTypeDéfaut
namestr""
companystr""
active_onlybooltrue
risk_class2 | 3 | 4 | nullnull
limitint50
lang"en" | "fr""en"
call_tool {"name": "hc_device_search_licences", "arguments": {}}

Déclarations d'effets indésirables de Canada Vigilance 3

hc_vigilance_get_reportOne Canada Vigilance adverse reaction report, with every product on it.

Utilisation : the details of a suspected side effect report to Health Canada: dates received, report type and source, patient sex, age, weight and height, MedDRA reaction terms and system organ classes, seriousness and its criteria (death, hospitalization, disability, life threatening), outcome, and each drug or health product with its role (suspect or concomitant), dose, route, frequency and indication. Report ids come from hc_vigilance_search_reactions or the online database. A report records a suspected association, not proof.

Mots-clés en anglais
adverse reaction report, side effect report, Canada Vigilance, adverse drug reaction, AER number, suspect drug, pharmacovigilance, MedDRA term, serious adverse event
Mots-clés en français
déclaration d'effet indésirable, effet secondaire, Canada Vigilance, réaction indésirable à un médicament, médicament suspect, pharmacovigilance, terme MedDRA, effet indésirable grave, Santé Canada
Paramètres de hc_vigilance_get_report
ParamètreTypeDéfaut
report_idintobligatoire
lang"en" | "fr""en"
call_tool {"name": "hc_vigilance_get_report", "arguments": {"report_id": "…"}}
hc_vigilance_list_codesCode tables of the Canada Vigilance adverse reaction database.

Utilisation : the labels behind Canada Vigilance codes: report outcome (recovered, fatal...), seriousness, report source (hospital, community, manufacturer...), sex, and report type (spontaneous, study, published, mandatory hospital), in English or French.

Mots-clés en anglais
Canada Vigilance codes, outcome codes, seriousness codes, report source, report type, adverse reaction database lookup, pharmacovigilance code list, data dictionary
Mots-clés en français
codes de Canada Vigilance, codes de résultat, gravité, source de la déclaration, type de déclaration, dictionnaire de données, liste de codes, pharmacovigilance, Santé Canada
Paramètres de hc_vigilance_list_codes
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "hc_vigilance_list_codes", "arguments": {}}
hc_vigilance_search_reactionsFind Canada Vigilance adverse reaction reports by reaction term (monthly extract).

Utilisation : which suspected side effect reports to Health Canada mention a reaction (MedDRA preferred term, English or French, e.g. 'myocarditis', 'anaphylactic', 'Céphalée') or a system organ class ('Cardiac disorders'), with counts per term and organ class, and the matching report ids, newest (highest id) first; min_report_id keeps only newer reports. Reads the reactions file of the monthly extract (data since 1965) as a stream, about 100 MB, so a new search takes about a minute; repeats are cached for a day. complete is false when the max_scan_mb ceiling stopped the read. Search by drug or by year is not offered: the extract's drug and date tables sit after the first 185 MB of a 355 MB file that canada.ca serves only as one compressed stream. Read dates and suspect drugs per report with hc_vigilance_get_report.

Mots-clés en anglais
adverse reaction search, side effects reported, Canada Vigilance extract, MedDRA preferred term, system organ class, pharmacovigilance data, adverse event counts, drug safety signal
Mots-clés en français
recherche d'effets indésirables, effets secondaires déclarés, extrait de Canada Vigilance, terme privilégié MedDRA, classe de systèmes d'organes, pharmacovigilance, nombre de déclarations, innocuité des médicaments, Santé Canada
Paramètres de hc_vigilance_search_reactions
ParamètreTypeDéfaut
reactionstr""
system_organ_classstr""
min_report_idint0
limitint50
max_scan_mbint120
lang"en" | "fr""en"
call_tool {"name": "hc_vigilance_search_reactions", "arguments": {}}

Fédéral et national

Banque du Canada

boc_

API Valet de la Banque du Canada : taux de change, taux d'intérêt clés (taux directeur, taux préférentiel), mesures de l'IPC/inflation, indices des prix des produits de base, résultats de l'Enquête sur les perspectives des entreprises et des attentes des consommateurs…

Description complète

API Valet de la Banque du Canada : taux de change, taux d'intérêt clés (taux directeur, taux préférentiel), mesures de l'IPC/inflation, indices des prix des produits de base, résultats de l'Enquête sur les perspectives des entreprises et des attentes des consommateurs, projections du Rapport sur la politique monétaire et du personnel, et autres séries et groupes de séries statistiques. API REST/JSON plate unique, aucune subdivision requise.

10 outils · Ressources : docs://boc/gotchas, docs://boc/fr/pieges, docs://boc/well-known-series, docs://boc/fr/series-courantes · Invites : compare_boc_series, find_and_fetch_boc_series

boc_get_business_outlookGet the Bank of Canada's Business Outlook Survey (BOS) results for the latest quarter (or a named one): what firms expect for sales, investment, hiring, prices, labour costs and inflation.

Utilisation : business sentiment and expectations in Canada - the BOS indicator and its activity and price indicators, balances of opinion on future sales, investment in machinery and equipment, employment, input and output prices, labour costs, labour shortages, capacity pressures and credit conditions, and the share of firms expecting inflation below 1%, 1-2%, 2-3% or above 3% over the next two years. One row per question with its unit and survey quarter; release names the quarter's publication (month, page link) and its chart groups (regional, sector and firm-size breakdowns, firms' 1-, 2- and 5-year inflation expectations) for boc_get_group_observations. quarter like "2026Q3"; omit it for the newest survey, found from the data, not a fixed date.

Mots-clés en anglais
business outlook survey, bos, business expectations, business sentiment, firms expect inflation, business confidence, balance of opinion, investment intentions, hiring plans, price expectations, labour shortages, bank of canada survey
Mots-clés en français
Enquête sur les perspectives des entreprises, EPE, attentes des entreprises, sentiment des entreprises, confiance des entreprises, attentes d'inflation des entreprises, solde des opinions, intentions d'investissement, intentions d'embauche, pénuries de main-d'œuvre, Banque du Canada
Paramètres de boc_get_business_outlook
ParamètreTypeDéfaut
quarterstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "boc_get_business_outlook", "arguments": {}}
boc_get_consumer_expectationsGet the Bank of Canada's Canadian Survey of Consumer Expectations (CSCE) for the latest quarter (or a named one): households' inflation expectations by horizon and their views on jobs, income, spending and interest rates.

Utilisation : consumer inflation expectations one, two and five years ahead and perceived current inflation, expected pay growth, expected income and spending growth, probabilities of losing, leaving or finding a job, expected interest rates one, two and five years ahead, and the share of consumers expecting the economy to grow or decline. One row per series with its unit and survey quarter; release names the quarter's publication (month, page link) and chart groups. Breakdowns by age, income, education, province and other groups are in Valet group CES_DEMOGRAPHICS (boc_get_group_observations). quarter like "2026Q3"; omit it for the newest survey, found from the data.

Mots-clés en anglais
consumer expectations, csce, inflation expectations, household inflation expectations, consumers expect inflation, expected inflation one year ahead, five-year inflation expectations, job loss probability, consumer sentiment, interest rate expectations
Mots-clés en français
Enquête canadienne sur les attentes des consommateurs, ECAC, attentes d'inflation, anticipations d'inflation des ménages, attentes des consommateurs, inflation attendue dans un an, attentes salariales, probabilité de perdre son emploi, sentiment des consommateurs, attentes de taux d'intérêt, Banque du Canada
Paramètres de boc_get_consumer_expectations
ParamètreTypeDéfaut
quarterstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "boc_get_consumer_expectations", "arguments": {}}
boc_get_groupGet a Bank of Canada Valet group's description and member series.

Utilisation : discovering all the series in a themed group before fetching their observations together, e.g. FX_RATES_DAILY (daily exchange rates for ~27 currencies) or CPI_MONTHLY (Total CPI plus core-inflation measures such as CPI-trim, CPI-median, CPI-common).

Mots-clés en anglais
bank of canada, boc, valet, group, detail, member series, cpi, exchange rates, commodity prices, metadata
Mots-clés en français
Banque du Canada, valet, groupe, détail, séries membres, IPC, taux de change, prix des produits de base, métadonnées
Paramètres de boc_get_group
ParamètreTypeDéfaut
namestrobligatoire
lang"en" | "fr""en"
call_tool {"name": "boc_get_group", "arguments": {"name": "…"}}
boc_get_group_observationsGet observations for every series in a Bank of Canada Valet group.

Utilisation : fetching all series in a themed group at once, e.g. every daily exchange rate in FX_RATES_DAILY or the full CPI_MONTHLY family (Total CPI, CPI-trim, CPI-median, CPI-common), without listing each series name individually. start_date/end_date and recent/recent_weeks/recent_months/ recent_years are mutually exclusive, same as boc_get_observations. With no window, only the 30 most recent dates come back (pass start_date or recent_* for more); provenance.limits says how many dates were left out.

Mots-clés en anglais
bank of canada, boc, valet, group, observations, data, exchange rates, cpi, inflation, commodity prices, time series, history, recent, date range
Mots-clés en français
Banque du Canada, valet, groupe, observations, données, taux de change, IPC, inflation, prix des produits de base, série chronologique, historique, plage de dates
Paramètres de boc_get_group_observations
ParamètreTypeDéfaut
group_namestrobligatoire
start_datestr | nullnull
end_datestr | nullnull
recentint | nullnull
recent_weeksint | nullnull
recent_monthsint | nullnull
recent_yearsint | nullnull
lang"en" | "fr""en"
call_tool {"name": "boc_get_group_observations", "arguments": {"group_name": "…"}}
boc_get_mpr_projectionGet the Bank of Canada's projections from the latest Monetary Policy Report (or a named one): real GDP growth, the inflation outlook, contributions to GDP growth and global growth.

Utilisation : the Bank of Canada's forecast for the Canadian economy - the summary of the quarterly projection (real GDP growth quarter over quarter at annual rates and year over year, projected inflation, by quarter and to the fourth quarter of the next two years), the contributions of consumption, housing, government, business investment, exports, imports and inventories to annual GDP growth with the range for potential output, and projected growth for the United States, euro area, China and the world. One row per value with its table, period and unit; release gives the Report's month, page and chart groups. report like "2026M10", "2026-10" or "October 2026"; omit it for the newest Report in Valet. recent_reports lists others.

Mots-clés en anglais
monetary policy report, mpr, bank of canada forecast, gdp forecast, inflation forecast, economic projection, growth outlook, potential output, global growth projection, base-case projection
Mots-clés en français
Rapport sur la politique monétaire, RPM, prévisions de la Banque du Canada, prévision du PIB, prévision de l'inflation, projection économique, perspectives de croissance, production potentielle, croissance mondiale, projection de référence
Paramètres de boc_get_mpr_projection
ParamètreTypeDéfaut
reportstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "boc_get_mpr_projection", "arguments": {}}
boc_get_observationsGet observations for one or more Bank of Canada Valet series, optionally as a computed change, growth rate, index or monthly, quarterly or annual aggregate.

Utilisation : the history of exchange rates (USD/CAD, EUR/CAD: the Canadian dollar against the US dollar, the euro and other currencies), interest rates (policy rate, prime rate, bond yields), CPI and inflation, or commodity prices, for several series in one call (series_names=["FXUSDCAD", "FXEURCAD"]); and from them a year-over-year change, a monthly average exchange rate or the change in the policy rate. Pass start_date/end_date ("YYYY-MM-DD") or one recent* window, not both; with neither, the 30 most recent dates come back (provenance.limits says how many were left out). Series of different frequencies come back in separate rows: read each row's values keys. A non-numeric value is null, with its text in non_numeric. Each series entry has status, last_observation and successor (the noon rate IEXE0101 ended 2017-04-28); FX* rates are indicative daily averages, not transactional rates. transform (diff, pct_change, yoy_diff, yoy_pct_change, annualized_pct_change, index, moving_average over window periods) and frequency with aggregation compute from the published levels (a daily series needs frequency for a year-over-year change; a series in percent gets percentage-point changes); transformed holds them with the formula.

Mots-clés en anglais
bank of canada, boc, valet, observations, exchange rate, USD/CAD, EUR/CAD, Canadian dollar, US dollar, euro, interest rate, policy rate, prime rate, cpi, inflation, commodity price, time series, history, year-over-year, monthly average, moving average, several series at once
Mots-clés en français
Banque du Canada, valet, observations, taux de change, dollar canadien, dollar américain, euro, taux d'intérêt, taux directeur de la Banque du Canada, taux préférentiel, IPC, inflation, prix des matières premières, série chronologique, historique, variation annuelle, moyenne mensuelle, moyenne mobile
Paramètres de boc_get_observations
ParamètreTypeDéfaut
series_nameslist[str]obligatoire
start_datestr | nullnull
end_datestr | nullnull
recentint | nullnull
recent_weeksint | nullnull
recent_monthsint | nullnull
recent_yearsint | nullnull
transform"level" | "diff" | "pct_change" | "yoy_diff" | "yoy_pct_change" | "annualized_pct_change" | "index" | "moving_average""level"
frequency"monthly" | "quarterly" | "annual" | nullnull
aggregation"average" | "sum" | "end_of_period""average"
index_basestr | nullnull
windowint | nullnull
lang"en" | "fr""en"
call_tool {"name": "boc_get_observations", "arguments": {"series_names": "…"}}
boc_get_seriesGet the label, description and status of one Bank of Canada Valet series.

Utilisation : confirming what a series code actually measures before requesting its observations, e.g. FXUSDCAD (USD/CAD daily exchange rate), V39079 (target for the overnight rate / policy rate), V80691311 (prime rate), V41690973 (Total CPI). Also says whether it is still updated: status discontinued when its newest observation (last_observation) is far older than its frequency allows, with the successor where the Bank replaced it (the noon rate IEXE0101, last 2017-04-28, by the daily average FXUSDCAD), and a note on FX* rates (indicative daily averages by about 16:30 ET, not transactional).

Mots-clés en anglais
bank of canada, boc, valet, series, detail, metadata, description, label, lookup, discontinued, last observation, successor
Mots-clés en français
Banque du Canada, valet, série, détail, métadonnées, description, libellé, recherche par code, consulter, code de série, série abandonnée, dernière observation
Paramètres de boc_get_series
ParamètreTypeDéfaut
namestrobligatoire
lang"en" | "fr""en"
call_tool {"name": "boc_get_series", "arguments": {"name": "…"}}
boc_get_staff_projectionsGet a vintage of the Bank of Canada staff economic projections: the staff forecast prepared for Governing Council, with the data known then.

Utilisation : historical real-time projections (released yearly with a five-year lag, vintages from 1970Q4) for forecast-evaluation and real-time research - real GDP (GDP), nominal GDP (GDPN), deflators (PGDP, PC), consumption (C), investment (I, IRES, IINVT), government (G), exports (X), imports (M), the output gap (LYGAP), CPI (PCPI), core CPI (PCPIX), the unemployment rate (URATE), the US/CAD exchange rate (USCANPFX), the policy rate path (R1N) and the 5-year bond rate (R20N). Default variables GDP, PCPI, PCPIX, URATE, LYGAP and R1N; vintage like "2019Q4" (omit for the newest). Rows from history_quarters before the vintage; projected marks the forecast quarters. Rates and the gap are fractions (0.0175 is 1.75%); each variable's unit is given. For the current outlook use boc_get_mpr_projection.

Mots-clés en anglais
staff economic projections, staff projection archive, real-time data, vintage, historical projections, forecast evaluation, output gap, policy rate path, sep, projection vintages, five-year lag
Mots-clés en français
projections économiques du personnel, prévisions du personnel de la Banque du Canada, données en temps réel, millésime de prévision, prévisions historiques, évaluation des prévisions, écart de production, trajectoire du taux directeur, millésimes
Paramètres de boc_get_staff_projections
ParamètreTypeDéfaut
variableslist["GDP" | "GDPN" | "PGDP" | "GNEN" | "PGNE" | "C" | "PC" | "I" | "IINVT" | "IRES" | "G" | "X" | "M" | "CIRINV" | "PCIRINV" | "LYGAP" | "PCPI" | "PCPIX" | "URATE" | "USCANPFX" | "R1N" | "R20N"] | nullnull
vintagestr | nullnull
history_quartersint4
lang"en" | "fr""en"
call_tool {"name": "boc_get_staff_projections", "arguments": {}}
boc_search_groupsSearch or list Bank of Canada Valet's series groups (~2,500).

Utilisation : finding a themed group of related series (e.g. daily exchange rates, the CPI family including CPI-trim/median/common, weekly/monthly/annual commodity price indexes) when you want several related series at once rather than one series name. Pass query for a keyword search (top limit matches, default 25, max 200). Omit query to page through the groups (limit default 50, max 1000). Banking and Financial Statistics (BFS) tables are groups named by table code (A4_RATES_MONTHLY chartered bank lending rates, C1_MONTHLY bank assets, E1_MONTHLY monetary aggregates); a query with "BFS" or "Banking and Financial Statistics" searches only them.

Mots-clés en anglais
bank of canada, boc, valet, group, series group, search, find, cpi, core inflation, exchange rates, commodity prices, chartered banks, money supply, discover, list, groups, inventory, catalogue, full list
Mots-clés en français
Banque du Canada, valet, groupe, groupe de séries, recherche, trouver, IPC, inflation fondamentale, taux de change, prix des produits de base, IPPB, Statistiques bancaires et financières, banques à charte, agrégats monétaires, masse monétaire, découvrir, liste, groupes, inventaire, catalogue, liste complète, parcourir
Paramètres de boc_search_groups
ParamètreTypeDéfaut
querystr | nullnull
limitint | nullnull
lang"en" | "fr""en"
call_tool {"name": "boc_search_groups", "arguments": {}}
boc_search_seriesSearch or list Bank of Canada Valet's ~16,000 statistical series.

Utilisation : finding a Valet series name when you only know a topic - exchange rates, interest rates (policy rate, prime rate), CPI/ inflation measures, commodity prices, and hundreds of other monetary/financial series. Pass query for a keyword search (top limit matches, default 25, max 200). Omit query to page through the catalogue in name order (limit default 50, max 1000); total_count is the full number and provenance.limits says what was cut. Legacy series are listed too, each with status (active/discontinued, from its newest observation against its frequency), last_observation and, where known, successor: e.g. the noon rate IEXE0101 ended 2017-04-28, replaced by the daily average FXUSDCAD. FX* rates carry a note: indicative daily averages published by about 16:30 ET, not transactional rates. Core inflation: CPI-trim, CPI-median, CPI-common, CPIX, CPI-XFET (hyphens optional). With no series holding every query word, a ranked partial match comes back, said in provenance.coverage.

Mots-clés en anglais
bank of canada, boc, valet, series, search, find, exchange rate, USD/CAD, Canadian dollar, interest rate, policy rate, prime rate, five-year mortgage rate, bond yield, cpi, core inflation, discover, list, all series, catalogue, discontinued series, legacy series, noon rate
Mots-clés en français
Banque du Canada, valet, série, recherche, trouver, taux de change, dollar canadien, taux d'intérêt, taux directeur de la Banque du Canada, taux préférentiel, taux hypothécaire, rendement des obligations, IPC, inflation fondamentale, IPC-tronq, IPC-méd, IPC-comm, prix des matières premières, découvrir, liste, toutes les séries, catalogue, parcourir, série abandonnée, taux à midi
Paramètres de boc_search_series
ParamètreTypeDéfaut
querystr | nullnull
limitint | nullnull
lang"en" | "fr""en"
call_tool {"name": "boc_search_series", "arguments": {}}

Fédéral et national

Immigration, Réfugiés et Citoyenneté Canada

ircc_backlog_ ircc_monthly_ ircc_processing_ ircc_

Immigration, Réfugiés et Citoyenneté Canada (IRCC). ircc_ : rondes d'invitations Entrée express (historique, seuils du SCG, invitations, répartition du bassin). ircc_monthly_ : les tableaux des mises à jour mensuelles d'IRCC…

Description complète

Immigration, Réfugiés et Citoyenneté Canada (IRCC). ircc_ : rondes d'invitations Entrée express (historique, seuils du SCG, invitations, répartition du bassin). ircc_monthly_ : les tableaux des mises à jour mensuelles d'IRCC, de janvier 2015 au dernier mois : résidents permanents par province, RMR, subdivision de recensement, citoyenneté, catégorie, profession, âge et genre ; titulaires de permis d'études et de travail ; passages de résident temporaire à permanent ; admissions et invitations Entrée express ; demandeurs d'asile. Les nombres sont arrondis à 5 et ceux de 1 à 4 supprimés. ircc_processing_ : délais de traitement actuels d'IRCC (visas de visiteur, permis d'études et de travail demandés au Canada ou à l'étranger, par pays lorsqu'ils varient ; Entrée express et autres programmes de résidence permanente ; parrainage ; réfugiés ; citoyenneté ; cartes de RP), estimations ponctuelles qu'IRCC remplace chaque semaine ou chaque mois. ircc_backlog_ : pourcentages mensuels d'arriéré (réels et projetés) pour Entrée express, la famille, la citoyenneté, les visas de visiteur, les permis d'études et de travail, depuis janvier 2022. Les autres jeux de données d'IRCC sont accessibles via les outils fédéraux ckan_ filtrés sur organization:cic.

9 outils

Pourcentages d'arriéré 1

ircc_backlog_get_percentagesGet IRCC's monthly backlog percentage (actual and projected) for its main programs.

Utilisation : how big IRCC's backlog was over time, and how it compares with what IRCC projected: Express Entry (federal high-skilled and provincial nominee), spouses, partners and children, citizenship grants, temporary resident visas, study permits and work permits, monthly from January 2022. Backlog is the share of applications in IRCC's inventory that are beyond its service standard; it is not a processing time and does not predict one application's wait (use ircc_processing_get_time for that). program is a program_id or part of its name (without it all seven programs are returned), since and until are months like 2024-06. The result gives each program's last actual month: the page's tables can end before its modified date, and months after the last actual one are projections. Reads IRCC's "Inventories and backlogs" page, which has no API or file download; percentages only, not counts.

Mots-clés en anglais
IRCC backlog, inventory, application backlog, beyond service standard, Express Entry backlog, study permit backlog, work permit backlog, visa backlog, citizenship backlog, immigration backlog, projected backlog
Mots-clés en français
arriéré IRCC, inventaire, arriéré des demandes, norme de service, arriéré Entrée express, arriéré permis d'études, arriéré permis de travail, arriéré visas, arriéré citoyenneté, arriéré immigration, arriéré projeté
Paramètres de ircc_backlog_get_percentages
ParamètreTypeDéfaut
programstr | nullnull
sincestr | nullnull
untilstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "ircc_backlog_get_percentages", "arguments": {}}

Mises à jour mensuelles d'IRCC 3

ircc_monthly_describe_tableDescribe one IRCC monthly table: its dimensions, values and time span.

Utilisation : learning the dimension keys (e.g. 'province_territory', 'immigration_category_main_category', 'country_of_citizenship') and their exact values before filtering or grouping with ircc_monthly_query, and the first and last month covered (most tables run from January 2015 to the latest month). table_id comes from ircc_monthly_list_tables, e.g. 'ODP-PR-PT_IMMCAT'. Downloads the whole file (up to about 30 MB), cached for hours.

Mots-clés en anglais
IRCC table columns, dimensions, categories, province, country of citizenship, immigration category, coverage, codebook
Mots-clés en français
colonnes du tableau IRCC, dimensions, catégories, province, pays de citoyenneté, catégorie d'immigration, région métropolitaine de recensement (RMR), période couverte, dictionnaire de données, Immigration, Réfugiés et Citoyenneté Canada (IRCC)
Paramètres de ircc_monthly_describe_table
ParamètreTypeDéfaut
table_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "ircc_monthly_describe_table", "arguments": {"table_id": "…"}}
ircc_monthly_list_tablesList IRCC's monthly immigration statistics tables (Monthly IRCC Updates).

Utilisation : finding the table to query for monthly counts of permanent residents (admissions by province, census metropolitan area, census subdivision, country of citizenship, immigration category, occupation, age, gender, French-speaking), Express Entry admissions and invited candidates, study permit holders (including by designated learning institution), work permit holders (TFWP, International Mobility Program, post-graduation work permits), transitions from temporary to permanent residence, and asylum claimants. query keeps tables whose id, title or dataset contain every word. Archived series (Syrian, Afghan, resettled refugees) are left out unless include_archived. Pass a table_id to ircc_monthly_describe_table, then ircc_monthly_query.

Mots-clés en anglais
immigration, permanent residents, admissions, newcomers, study permits, international students, work permits, temporary foreign workers, asylum claimants, refugees, IRCC monthly data
Mots-clés en français
immigration, résidents permanents, admissions, nouveaux arrivants, permis d'études, étudiants étrangers, permis de travail, permis de travail postdiplôme, travailleurs étrangers temporaires, Entrée express, demandeurs d'asile, réfugiés, données mensuelles d'Immigration, Réfugiés et Citoyenneté Canada (IRCC)
Paramètres de ircc_monthly_list_tables
ParamètreTypeDéfaut
querystr""
include_archivedboolfalse
lang"en" | "fr""en"
call_tool {"name": "ircc_monthly_list_tables", "arguments": {}}
ircc_monthly_queryQuery and total an IRCC monthly immigration table.

Utilisation : monthly, quarterly or yearly counts of permanent residents, study and work permit holders, temporary-to-permanent transitions or asylum claimants, for a province, city (CMA or census subdivision), country of citizenship, immigration category or occupation. filters maps a dimension key to one value in English or French, e.g. {"province_territory": "Alberta"}. period sums to 'month', 'quarter' or 'year' (default: the table's finest). group_by lists the dimensions to keep; others are summed over (group_by=[] gives one total per period; omitted keeps every dimension). sort 'value_desc' ranks the largest groups (top countries); 'period' keeps the most recent limit rows in time order. Counts are rounded to 5 and 1-4 are suppressed ('--'), counted as 0 and reported per row in suppressed_cells, so sums are approximate. Tables overlap: the permanent resident tables are the same people cut by province, citizenship, age, gender, CMA or occupation, and Express Entry and French-speaking admissions are subsets of them, so total within one table and never add tables together.

Mots-clés en anglais
immigrants per month, permanent resident admissions by province, new permanent residents, international students by country, work permits by province, asylum claims, immigration trend, IRCC time series
Mots-clés en français
immigrants par mois, admissions de résidents permanents par province, nouveaux résidents permanents, étudiants étrangers par pays, permis de travail par province, demandes d'asile, passage du statut temporaire à la résidence permanente, tendance de l'immigration, série chronologique IRCC
Paramètres de ircc_monthly_query
ParamètreTypeDéfaut
table_idstrobligatoire
filtersdict[str, str] | nullnull
year_fromint | nullnull
year_toint | nullnull
period"month" | "quarter" | "year" | nullnull
group_bylist[str] | nullnull
sort"period" | "value_desc""period"
limitint100
lang"en" | "fr""en"
call_tool {"name": "ircc_monthly_query", "arguments": {"table_id": "…"}}

Délais de traitement 2

ircc_processing_get_timeGet IRCC's current processing time for one application type, by country where it varies.

Utilisation : "how long does a work permit from inside Canada take" (type_id work_extension, and WP-EXT for IRCC's estimate for a new application), visitor visa or study permit times for applicants in a given country (country as an ISO code like IN, PH, NG or a name), Express Entry (cec, fsw, pnp-ee), spousal and parent sponsorship, citizenship (citizen-grants, citizen-proofs). application_type is a type_id from ircc_processing_list_application_types, or words from its label when they match one type. By-country types without country return every country, longest first. Each result gives IRCC's text, the amount and unit, people waiting for forward-looking types, and IRCC's "last updated" date: a point-in-time estimate, not a time series.

Mots-clés en anglais
IRCC processing time, how long, wait time, work permit, study permit, visitor visa, Express Entry, spousal sponsorship, citizenship, PR card, immigration application
Mots-clés en français
délai de traitement IRCC, combien de temps, temps d'attente, permis de travail, permis d'études, visa de visiteur, Entrée express, parrainage du conjoint, citoyenneté, carte de RP, demande d'immigration
Paramètres de ircc_processing_get_time
ParamètreTypeDéfaut
application_typestrobligatoire
countrystr | nullnull
lang"en" | "fr""en"
call_tool {"name": "ircc_processing_get_time", "arguments": {"application_type": "…"}}
ircc_processing_list_application_typesList the IRCC application types that have a published processing time.

Utilisation : finding the type_id to pass to ircc_processing_get_time (visitor visas, study and work permits from inside or outside Canada, Express Entry and other permanent residence programs, family sponsorship, refugees, citizenship, PR cards), which types vary by country of residence, and when IRCC last updated each. category is one of visit, study, work, family, economic, refugees, citizenship, documents, other. These are point-in-time estimates IRCC replaces weekly or monthly, not a series.

Mots-clés en anglais
IRCC processing times, application types, immigration application, wait time, visa, permit, permanent residence, citizenship, how long, backlog
Mots-clés en français
délais de traitement IRCC, types de demande, demande d'immigration, temps d'attente, visa, permis, résidence permanente, citoyenneté, combien de temps, arriéré
Paramètres de ircc_processing_list_application_types
ParamètreTypeDéfaut
categorystr | nullnull
lang"en" | "fr""en"
call_tool {"name": "ircc_processing_list_application_types", "arguments": {}}

Rondes d'invitations Entrée express 3

ircc_get_express_entry_roundGet one Express Entry round of invitations by its draw number.

Utilisation : looking up a specific round found with ircc_list_express_entry_rounds, or a round number a user already knows. Without draw_number it returns the latest round, as ircc_get_latest_express_entry_round does. draw_number is a string, not an int: most rounds are plain numbers ("444"), but two rounds IRCC ran on the same day (2018-05-30) are published as "91a" and "91b" rather than separate sequential numbers.

Mots-clés en anglais
Express Entry, round, draw number, invitation, CRS cutoff, immigration, permanent residence, IRCC
Mots-clés en français
Entrée express, ronde d'invitations, numéro de ronde, numéro de tirage, invitation à présenter une demande, note minimale SCG, score limite, immigration, résidence permanente, Immigration, Réfugiés et Citoyenneté Canada (IRCC)
Paramètres de ircc_get_express_entry_round
ParamètreTypeDéfaut
draw_numberstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "ircc_get_express_entry_round", "arguments": {}}
ircc_get_latest_express_entry_roundGet the most recent Express Entry round of invitations.

Utilisation : answering "what is the current CRS cutoff score" or "when was the last Express Entry draw" without knowing a draw number.

Mots-clés en anglais
Express Entry, latest round, current CRS cutoff, most recent draw, today, this week, immigration, permanent residence, IRCC
Mots-clés en français
Entrée express, dernière ronde d'invitations, note minimale SCG actuelle, score limite actuel, tirage le plus récent, aujourd'hui, cette semaine, immigration, résidence permanente, Immigration, Réfugiés et Citoyenneté Canada (IRCC)
Paramètres de ircc_get_latest_express_entry_round
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "ircc_get_latest_express_entry_round", "arguments": {}}
ircc_list_express_entry_roundsList Express Entry rounds of invitations, newest first.

Utilisation : tracking CRS (Comprehensive Ranking System) cutoff score history, invitations issued per round, and candidate-pool score distribution over time. program filters by a case-insensitive substring match against the round's name and invited program(s), e.g. "Canadian Experience Class" or "Provincial Nominee". since (an ISO date) filters to rounds on or after that date. The upstream feed has no server-side filtering, so MapleStats fetches the full history once (cached for hours, since new rounds appear roughly weekly) and filters/limits locally.

Mots-clés en anglais
Express Entry, rounds of invitations, CRS, Comprehensive Ranking System, cutoff score, draw, invitations issued, immigration, permanent residence, Canadian Experience Class, Federal Skilled Worker, Provincial Nominee Program, category-based selection, IRCC
Mots-clés en français
Entrée express, rondes d'invitations, SCG, Système de classement global, note minimale, score limite, tirage, invitations émises, immigration, résidence permanente, catégorie de l'expérience canadienne, Programme des travailleurs qualifiés (fédéral), Programme des candidats des provinces, sélection fondée sur les catégories, Immigration, Réfugiés et Citoyenneté Canada (IRCC)
Paramètres de ircc_list_express_entry_rounds
ParamètreTypeDéfaut
programstr | nullnull
sincestr | nullnull
limitint20
lang"en" | "fr""en"
call_tool {"name": "ircc_list_express_entry_rounds", "arguments": {}}

Fédéral et national

Société canadienne d'hypothèques et de logement

cmhc_dt_ cmhc_

Société canadienne d'hypothèques et de logement (SCHL), via deux plateformes distinctes.

Description complète

Société canadienne d'hypothèques et de logement (SCHL), via deux plateformes distinctes. Le Portail de l'information sur le marché de l'habitation (PIMH, www03.cmhc-schl.gc.ca/hmip-pimh, outils préfixés cmhc_) : taux d'inoccupation et loyers de l'Enquête sur les logements locatifs, mises en chantier et achèvements de nouveaux logements, marché locatif secondaire, logements locatifs pour personnes âgées, et indicateurs sur la population, les ménages et les besoins impérieux en matière de logement, pour le Canada, par province et par région métropolitaine (RMR), sous forme de série chronologique ou de tableau croisé actuel -- aucun catalogue codé en dur, les catégories et répartitions sont découvertes en direct et les données récupérées via l'export CSV officiel du PIMH. Le catalogue de documents « Tableaux de données » (www.cmhc-schl.gc.ca, outils préfixés cmhc_dt_) : publications officielles de tableaux Excel par édition pour l'Enquête sur les logements locatifs, les caractéristiques des ménages et d'autres enquêtes connexes, avec des liens de téléchargement directs résolus via l'API de résolution propre au site, pour n'importe quelle géographie ou édition historique, pas seulement l'actuelle ; en français ou en anglais (titres, identifiants et fichiers français, appariés aux tableaux anglais par les liens de langue du site de la SCHL).

9 outils · Ressources : docs://cmhc/gotchas, docs://cmhc/fr/pieges, docs://cmhc/rms-methodology, docs://cmhc/fr/methodologie-ell, docs://cmhc/starts-absorption-methodology, docs://cmhc/fr/methodologie-mises-en-chantier, docs://cmhc/well-known-categories, docs://cmhc/fr/categories-courantes · Invites : find_and_query_cmhc_table

Tableaux de données (Excel) 3

cmhc_dt_get_download_urlResolve one CMHC data table's official Excel download link for a geography/edition.

Utilisation : getting the direct, official download URL for a specific published edition of a CMHC data table (e.g. October 2022 rather than the current default) - geography_id/edition_id come from cmhc_dt_get_table's geographies/editions lists; omit either to get the most recent edition / first geography option. A single-file table (document_id set in cmhc_dt_get_table) takes neither id. Raises a clear error if the id is not one of that table's known options, rather than silently returning nothing. slug may be English or French; lang="fr" gives the French file.

Mots-clés en anglais
cmhc, housing, download link, excel file, data table, historical edition, geography, publication, direct link, xlsx
Mots-clés en français
Société canadienne d'hypothèques et de logement (SCHL), logement, lien de téléchargement, fichier Excel, tableau de données, édition historique, géographie, publication, lien direct
Paramètres de cmhc_dt_get_download_url
ParamètreTypeDéfaut
categorystrobligatoire
slugstrobligatoire
geography_idstr | nullnull
edition_idstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "cmhc_dt_get_download_url", "arguments": {"category": "…", "slug": "…"}}
cmhc_dt_get_tableGet one CMHC data table's description, geography/edition options, and default download link.

Utilisation : confirming what a table covers and which geography_id/ edition_id values cmhc_dt_get_download_url will accept for it, before requesting a specific historical edition or geography. slug is an English or French slug from cmhc_dt_list_tables. Many tables (most household-characteristics ones) are a single file: document_id is set and geographies/editions are empty. lang="fr" reads the French page (French title, labels and file).

Mots-clés en anglais
cmhc, housing, data table, detail, description, geography, edition, publication date, document type, metadata
Mots-clés en français
Société canadienne d'hypothèques et de logement (SCHL), logement, tableau de données, détail, description, géographie, édition, date de publication, type de document, métadonnées
Paramètres de cmhc_dt_get_table
ParamètreTypeDéfaut
categorystrobligatoire
slugstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "cmhc_dt_get_table", "arguments": {"category": "…", "slug": "…"}}
cmhc_dt_list_tablesList CMHC's officially-published data tables in a category.

Utilisation : browsing what official Excel table publications CMHC has for a topic, before fetching one table's detail or download link. category must be one of "rental-market", "household- characteristics", or "canadian-housing-survey-data-tables" (the last currently returns no tables - its own tables live elsewhere and are not yet mapped). Read docs://cmhc/well-known-categories for a sample of well-known table slugs in the first two categories. With lang="fr" each table comes back as its French twin (French title, slug and path, the English slug in english_slug), paired through CMHC's own language links; a table without a French page keeps its English title with a note. French category names ("donnees-sur-le-marche-locatif", "caracteristiques-des-menages") are accepted too.

Mots-clés en anglais
cmhc, housing, data tables, publications, excel, download, rental market, household characteristics, canadian housing survey, catalogue, list
Mots-clés en français
Société canadienne d'hypothèques et de logement (SCHL), logement, tableaux de données, publications, Excel, téléchargement, marché locatif, caractéristiques des ménages, enquête canadienne sur le logement, catalogue, liste
Paramètres de cmhc_dt_list_tables
ParamètreTypeDéfaut
categorystrobligatoire
lang"en" | "fr""en"
call_tool {"name": "cmhc_dt_list_tables", "arguments": {"category": "…"}}

Portail de l'information sur le marché de l'habitation 6

cmhc_get_methodologyCMHC survey methodology and definitions: reliability codes, absorbed, sold, starts.

Utilisation : what a CMHC term or code means, from CMHC's own methodology pages, before answering from memory. survey="rental_market": the Rental Market Survey (October timing, scope of private structures of 3+ units, vacant, available, turnover, average rent, same-sample rent change, the a/b/c/d reliability codes and their CV thresholds, ** suppression, the release rule of 4 or more responding entities, the secondary rental market). survey="starts_completions_absorption": the Starts and Completions Survey and the Market Absorption Survey (which centres are surveyed and how often, what counts as a start, under construction or a completion, an absorbed unit (sold and completed), when a unit counts as sold, unabsorbed units, prices, SAAR, dwelling types, intended markets). Answers from text kept in this server, read from CMHC's pages on the date in read_on; cite source_urls.

Mots-clés en anglais
CMHC methodology, definition, reliability code, data quality, coefficient of variation, suppressed, responding entities, RMS methodology, vacancy definition, Market Absorption Survey, absorbed units, unabsorbed inventory, sold, housing starts definition, completions, SAAR
Mots-clés en français
méthodologie de la SCHL, définition, code de fiabilité, qualité des données, coefficient de variation, donnée supprimée, entités répondantes, méthodologie de l'ELL, définition de l'inoccupation, Enquête sur l'écoulement des logements, logements écoulés, non écoulés, vendu, mises en chantier, achèvements, DTA
Paramètres de cmhc_get_methodology
ParamètreTypeDéfaut
survey"rental_market" | "starts_completions_absorption""rental_market"
lang"en" | "fr""en"
call_tool {"name": "cmhc_get_methodology", "arguments": {}}
cmhc_get_table_dataGet CMHC housing data for a category as a table (time series, cross-tab, or annual totals).

Utilisation : fetching actual CMHC Rental Market Survey vacancy rates/ rents, housing starts/completions (mises en chantier, achèvements), seniors' rental housing data, or any other category's numeric data - e.g. national historical rental vacancy rates by bedroom type, or current vacancy rates broken down by province, or a city's average rent by bedroom type (geography_type="MetropolitanMajorArea", geography_id from cmhc_list_metropolitan_areas, or its name: "Toronto"). Pass row_field="TIMESERIES" for a historical time series (one row per period) or a province/centre-breakdown field from cmhc_get_table_options for a current cross-tabulation (one row per province/centre, then a total row for the requested geography, labelled with its name, e.g. "Canada"); reference_period dates it ("October 2025"). Each returned cell carries CMHC's own reliability flag (a/b/c/d = Excellent/Very good/Good/Poor, use with caution) alongside the value, value: 0 where CMHC prints "-" (no units in the universe), or value: null with the raw marker in flag when data were suppressed ("**"), not applicable ("n/a") or a rent change was not significant ("++"). flag_legend explains every flag the result carries; cmhc_get_methodology has the survey's timing, scope, definitions and CMHC's release rules. category_level_1/ category_level_2/column_field/row_field must come from cmhc_list_categories/cmhc_get_table_options first - an unrecognized combination raises a clear error rather than guessing. Labels ("Bedroom Type", "Historical Time Periods") are accepted for the codes, and the same column label works across a category's tables (Average Rent ($) and % Change of Average Rent); a wrong one is refused with every valid label and code. The result's available_filters lists extra narrowing dimensions this particular table supports beyond column_field/row_field (e.g. season: April/October, dwelling_type_desc_en: Row/Apartment for a Rental Market Survey table) - these genuinely change the returned values, not just a label; pass a subset as filters (e.g. {"dwelling_type_desc_en": "Apartment"}) to narrow to that slice. Without one, CMHC applies its own default (Rental Market Survey rents and vacancy rates: "Row / Apartment", both structure types combined); applied_filters, default_filters and filter_notes say which values the figures are for. An unrecognized filter key/value raises a clear error rather than being silently ignored. aggregate="annual" (calendar-year totals) or "ytd" (January to the latest month, every year) sums a monthly flow time series - housing starts (actual), completions, absorbed units, with row_field="TIMESERIES" - server-side; aggregation_note says the sums are MapleStats', not CMHC's. Stocks, rates (SAAR), prices and rental values are refused, never summed.

Mots-clés en anglais
cmhc, housing, hmip, rental market, vacancy rate, rent, average rent, housing starts, completions, time series, historical, data, table, province, bedroom type, reliability flag, filter, dwelling type, season, annual total, year to date
Mots-clés en français
Société canadienne d'hypothèques et de logement (SCHL), logement, Portail de l'information sur le marché de l'habitation (PIMH), marché locatif, taux d'inoccupation, loyer, loyers, loyer moyen, mises en chantier, achèvements, série chronologique, historique, données, tableau, province, type de chambre, indicateur de fiabilité, filtre, type de logement, saison, total annuel, cumul annuel
Paramètres de cmhc_get_table_data
ParamètreTypeDéfaut
category_level_1strobligatoire
category_level_2strobligatoire
column_fieldstrobligatoire
row_fieldstrobligatoire
geography_typestr"Country"
geography_idstr"1"
filtersdict[str, str] | nullnull
aggregate"annual" | "ytd" | nullnull
lang"en" | "fr""en"
call_tool {"name": "cmhc_get_table_data", "arguments": {"category_level_1": "…", "category_level_2": "…", "column_field": "…", "row_field": "…"}}
cmhc_get_table_optionsGet the valid breakdown options for a CMHC category before requesting data.

Utilisation : finding which column_field/row_field pairs cmhc_get_table_data will accept for a given category (e.g. "Bedroom Type" vs "Year of Construction" as the column breakdown, "Historical Time Periods" for a time series vs "Provinces" for a current cross-tabulation) - a category/geography this doesn't return an option for will not resolve in cmhc_get_table_data either.

Mots-clés en anglais
cmhc, housing, hmip, table options, column field, row field, breakdown, bedroom type, time series, historical, provinces, discover, housing starts
Mots-clés en français
Société canadienne d'hypothèques et de logement (SCHL), logement, Portail de l'information sur le marché de l'habitation (PIMH), options de tableau, champ colonne, champ ligne, répartition, type de chambre, série chronologique, historique, provinces, découvrir, mises en chantier
Paramètres de cmhc_get_table_options
ParamètreTypeDéfaut
category_level_1strobligatoire
category_level_2strobligatoire
geography_typestr"Country"
geography_idstr"1"
lang"en" | "fr""en"
call_tool {"name": "cmhc_get_table_options", "arguments": {"category_level_1": "…", "category_level_2": "…"}}
cmhc_list_categoriesList CMHC housing-data categories available at a geography.

Utilisation : discovering what CMHC covers before requesting data - new housing construction (housing starts / mises en chantier, and completions / achèvements), primary and secondary rental market (vacancy rates, rents), seniors' rental housing, population/households/housing stock, and core housing need. Read docs://cmhc/well-known-categories first - it already lists the common categories with their exact spelling. geography_type/geography_id default to "Country"/"1" (Canada); pass geography_type="Province" with an id from cmhc_list_provinces, or geography_type="MetropolitanMajorArea" ("CMA" also works) with an id from cmhc_list_metropolitan_areas (Toronto is "2270"; the name "Toronto" is accepted too). Category names are language-dependent strings (not fixed codes) - the values this returns for lang="fr" must be passed back with lang="fr" to other cmhc_ tools.

Mots-clés en anglais
cmhc, housing, hmip, category, discover, rental market, vacancy rate, rent, housing starts, completions, seniors housing, core housing need, mortgage, corporation
Mots-clés en français
Société canadienne d'hypothèques et de logement (SCHL), logement, Portail de l'information sur le marché de l'habitation (PIMH), catégorie, découvrir, marché locatif, taux d'inoccupation, loyer, mises en chantier, achèvements, logements pour personnes âgées, besoins impérieux, hypothèque
Paramètres de cmhc_list_categories
ParamètreTypeDéfaut
geography_typestr"Country"
geography_idstr"1"
lang"en" | "fr""en"
call_tool {"name": "cmhc_list_categories", "arguments": {}}
cmhc_list_metropolitan_areasList CMHC's metropolitan areas (CMAs, census agglomerations, centres) with their id.

Utilisation : getting the geography_id of a city or CMA to pass with geography_type="MetropolitanMajorArea" to cmhc_list_categories, cmhc_get_table_options and cmhc_get_table_data, for city-level rents, vacancy rates and housing starts. name keeps the areas whose name contains that word; province_id (an id or name from cmhc_list_provinces) keeps one province. Without either, every province is read (a few seconds the first time, then cached a day). Ids are text and some start with zero ("0120" is Barrie): pass them as returned.

Mots-clés en anglais
cmhc, housing, hmip, cma, census metropolitan area, city, metropolitan area, centre, geography id, average rent, vacancy rate
Mots-clés en français
Société canadienne d'hypothèques et de logement (SCHL), logement, Portail de l'information sur le marché de l'habitation (PIMH), région métropolitaine de recensement (RMR), agglomération de recensement, ville, centre, identifiant géographique, loyer, taux d'inoccupation
Paramètres de cmhc_list_metropolitan_areas
ParamètreTypeDéfaut
province_idstr | nullnull
namestr | nullnull
lang"en" | "fr""en"
call_tool {"name": "cmhc_list_metropolitan_areas", "arguments": {}}
cmhc_list_provincesList Canadian provinces/territories with their CMHC HMIP geography id.

Utilisation : getting a geography_id (with geography_type="Province") to pass to cmhc_list_categories/cmhc_get_table_options/ cmhc_get_table_data for province-level data instead of national Canada-wide data. For a city or CMA use cmhc_list_metropolitan_areas.

Mots-clés en anglais
cmhc, housing, hmip, province, territory, geography, geography id, list, canada
Mots-clés en français
Société canadienne d'hypothèques et de logement (SCHL), logement, Portail de l'information sur le marché de l'habitation (PIMH), province, territoire, géographie, identifiant géographique, liste, Canada
Paramètres de cmhc_list_provinces
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "cmhc_list_provinces", "arguments": {}}

Fédéral et national

Innovation, Sciences et Développement économique Canada

ised_cipo_ ised_clean_growth_ ised_corporations_ ised_ip_horizons_ ised_spectrum_

Innovation, Sciences et Développement économique Canada (ISDE), à partir de cinq sources distinctes.

Description complète

Innovation, Sciences et Développement économique Canada (ISDE), à partir de cinq sources distinctes. L'API de recherche de sociétés fédérales de Corporations Canada (ised-isde.canada.ca/cc/lgcy/api/corporations, outils préfixés ised_corporations_) : recherche d'une société fédérale par son numéro de société ou son numéro d'entreprise à 9 chiffres, retournant le statut actuel, les dénominations, les adresses, les limites du nombre d'administrateurs, l'historique des rapports annuels et les activités de constitution et règlements administratifs. Les données sur les sites de licences de spectre du Système de gestion du spectre (un FeatureServer ArcGIS hébergé par Esri, outils préfixés ised_spectrum_) : environ 840 000 enregistrements de sites de licences de spectre sans fil, présentés comme mis à jour chaque mois mais modifiés pour la dernière fois le 2024-02-08. L'API de recherche de la Base de données sur les marques de commerce canadiennes (OPIC) (ised-isde.canada.ca/cipo/trademark-search/srch, outils préfixés ised_cipo_) : recherche parmi plus de 2 millions de marques de commerce canadiennes par nom de propriétaire, texte de la marque, biens/services, numéro de demande/enregistrement, classification de Nice ou code de Vienne, retournant le nom et le type de la marque, le statut, les classes de Nice et les URL des images de logo. Les jeux de données Horizons PI de l'OPIC (outils préfixés ised_ip_horizons_) : les fichiers en vrac des registres complets des brevets, dessins industriels et marques de commerce (dernières diffusions ouvertes : 2024-10-11 pour les brevets, 2024-11-20 pour les marques), par table, plage de numéros et diffusion, ainsi que les dictionnaires de données des brevets et des dessins industriels, et la recherche de brevets par numéro, titulaire, inventeur, classe CIB, titre ou date de dépôt (tables téléchargées à la première utilisation). Ce point de terminaison n'est pas documenté publiquement, mais il s'agit d'une simple requête POST JSON non authentifiée, confirmée en direct, sans pagination au-delà du nombre maximal demandé. Les investissements fédéraux en technologies propres de 2016 à 2024 du Carrefour de la croissance propre (outils préfixés ised_clean_growth_), publiés seulement en page Web et en PDF, sont lus en chiffres : totaux, valeur par année et sous-secteur, part des ententes par province. Les jeux de données statistiques en vrac d'ISDE sont déjà accessibles via le module CKAN fédéral -- aucun module dédié n'est nécessaire pour ceux-ci.

8 outils

Marques de commerce (OPIC) 1

ised_cipo_search_trademarksSearch the Canadian Trademarks Database (CIPO) by one field.

Utilisation : finding registered/pending/expunged/abandoned Canadian trademarks by owner name, mark text, goods/services description, application or registration number, Nice classification, Vienna design-code, or CIPO status. Returns application number, mark name and type, current status, Nice classes, and any logo image URLs. An empty criteria is a deliberate match-all against the entire register (over 2 million records). For nice_classification give one or more class numbers 0-45 ("9" or "9, 35": marks in any of them); for cipo_status give status names or the search form's codes separated by commas ("Registered", "Expunged, Abandoned", "19"); number fields take digits only (registration numbers may keep a prefix such as "TMA700000"). Anything else raises an error rather than matching the whole register. Results are ranked by the upstream API and max_return only caps how many top-ranked matches come back in one call -- there is no way to page past that count. The search API answers in English only (status and mark-type labels), confirmed live 2026-09-23, so lang changes only this server's own messages and notes.

Mots-clés en anglais
CIPO, ISED, trademark, brand, mark, owner, applicant, Nice classification, Vienna code, trademark status, registered, abandoned, expunged
Mots-clés en français
Office de la propriété intellectuelle du Canada (OPIC), ISDE, recherche de marques de commerce, marque de commerce, marque déposée, propriétaire de la marque, requérant, classification de Nice, code de Vienne, statut de la marque, marque enregistrée, abandonnée, radiée
Paramètres de ised_cipo_search_trademarks
ParamètreTypeDéfaut
search_field"all" | "trademark" | "trademark_description" | "owner_name" | "old_owner_name" | "goods" | "services" | "application_number" | "original_application_number" | "registration_number" | "international_registration_number" | "nice_classification" | "cipo_status" | "disclaimer" | "vienna_code" | "vienna_description"obligatoire
criteriastr""
max_returnint20
lang"en" | "fr""en"
call_tool {"name": "ised_cipo_search_trademarks", "arguments": {"search_field": "…"}}

Investissements en technologies propres 1

ised_clean_growth_get_federal_investmentGet federal clean technology investment 2016-2024 (Clean Technology Data Strategy) as data.

Utilisation : how much the federal government has committed to cleantech projects: total ($29 billion), number of agreements, median agreement, for-profit share, non-repayable share, and totals by purpose (development, business support, adoption); agreement value by year; share of agreements by province or territory; value by cleantech subsector; plus the page's methodology notes. The Clean Growth Hub publishes these only as a web page and PDF; this tool reads them into numbers (dollars, not billions). For project-level records, query the grants and contributions DataStore table named in records_resource_id with ckan_datastore_search(portal='federal'). lang picks English or French labels and notes; the numbers are the same.

Mots-clés en anglais
clean technology, cleantech, federal investment, Clean Growth Hub, CTDS, green funding, grants and contributions, renewable energy, subsector, ISED, NRCan
Mots-clés en français
technologies propres, investissement fédéral, Carrefour de la croissance propre, Stratégie de données sur les technologies propres, financement vert, subventions et contributions, énergie renouvelable, sous-secteur, technologies vertes, ISDE, RNCan
Paramètres de ised_clean_growth_get_federal_investment
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "ised_clean_growth_get_federal_investment", "arguments": {}}

Sociétés fédérales 1

ised_corporations_get_corporationLook up one federal corporation by its Corporations Canada id or business number.

Utilisation : getting a federal (not provincial) corporation's current status, legal/operating names, registered addresses, director limits, annual-return filing history, and incorporation/by-law activities, given its numeric corporation id or 9-digit business number (as found in another dataset or a filing). This is a single-record lookup, not a name search: it accepts only a numeric corporation id or business number and rejects a company name, and there is no name search in this server (Corporations Canada has no documented endpoint for one).

Mots-clés en anglais
Corporations Canada, ISED, ISDE, federal corporation, business number, BN, corporate registry, director, annual return, incorporation, by-laws, company status
Mots-clés en français
Corporations Canada, Innovation, Sciences et Développement économique Canada (ISDE), société par actions de régime fédéral, société fédérale, numéro d'entreprise, NE, registre des sociétés, administrateurs, rapport annuel, constitution en société, règlements administratifs, statut de la société
Paramètres de ised_corporations_get_corporation
ParamètreTypeDéfaut
id_or_business_numberstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "ised_corporations_get_corporation", "arguments": {"id_or_business_number": "…"}}

Brevets et données de PI 4

ised_ip_horizons_get_dictionaryGet the IP Horizons data dictionary for CIPO patent or industrial design bulk data.

Utilisation : understanding the columns of the IP Horizons patent or industrial design tables before downloading them: each variable's English and French name, type and description, grouped by table (e.g. patent 'main', 'interested_party', 'ipc_classification'), plus coverage-period, delimiter and encoding notes. CIPO publishes no dictionary for the trademark files. Every field carries both languages, so lang has no effect.

Mots-clés en anglais
IP Horizons, CIPO, data dictionary, codebook, patent variables, industrial design, column definitions, field descriptions, metadata, schema
Mots-clés en français
Horizons PI, OPIC, dictionnaire de données, livre de codes, variables des brevets, dessin industriel, définitions des colonnes, description des champs, métadonnées
Paramètres de ised_ip_horizons_get_dictionary
ParamètreTypeDéfaut
ip_type"patent" | "industrial_design"obligatoire
tablestr | nullnull
lang"en" | "fr""en"
call_tool {"name": "ised_ip_horizons_get_dictionary", "arguments": {"ip_type": "…"}}
ised_ip_horizons_get_patentLook up one Canadian patent by number in CIPO's IP Horizons data.

Utilisation : a Canadian patent or application's title (EN/FR), filing and grant dates, status, PCT numbers, and its owners, inventors, applicants and agents with their city and country. Set include_classifications=True to add its IPC classes, which reads a much larger file. Data are as of CIPO's newest open release (2024-10-11 when checked on 2026-10-03; release_date and provenance.as_of give it), not live. The first call downloads the needed table (tens to hundreds of MB) into a local cache; if it times out, the download continues and a retry a few minutes later answers from the cache. lang has no effect: titles come in both languages.

Mots-clés en anglais
patent lookup, patent number, Canadian patent, CIPO, IP Horizons, patent owner, inventor, applicant, filing date, grant date, IPC class, intellectual property
Mots-clés en français
recherche de brevet, numéro de brevet, brevet canadien, OPIC, Horizons PI, titulaire du brevet, inventeur, demandeur, date de dépôt, date d'octroi, classe CIB, propriété intellectuelle
Paramètres de ised_ip_horizons_get_patent
ParamètreTypeDéfaut
patent_numberintobligatoire
include_classificationsboolfalse
lang"en" | "fr""en"
call_tool {"name": "ised_ip_horizons_get_patent", "arguments": {"patent_number": "…"}}
ised_ip_horizons_list_filesList CIPO's IP Horizons bulk data files for patents, industrial designs or trademarks.

Utilisation : finding the download links for Canada's complete patent, industrial design or trademark registers as researcher bulk data, by table (e.g. patent 'main', 'claim', 'abstract', 'disclosure', 'interested_party', 'priority_claim', 'ipc_classification') and patent-number range. Each file is a ZIP of one pipe-delimited UTF-8 CSV; large tables are split by patent number. Releases are not regular: the newest open release was 2024-10-11 for patents and 2024-11-20 for trademarks (checked 2026-10-03), so provenance.as_of gives the release date read. latest_only=True keeps each table's newest release folder only. Pair with ised_ip_horizons_get_dictionary for column meanings; for a live search of individual trademarks use ised_cipo_search_trademarks. Resource names on open.canada.ca are inconsistent, so table and range come from each download URL. Both languages share one file set, so lang has no effect.

Mots-clés en anglais
IP Horizons, CIPO, patent data, bulk download, industrial design, trademark data, intellectual property, inventor, applicant, IPC classification, patent claims, researcher dataset
Mots-clés en français
Horizons PI, OPIC, données sur les brevets, téléchargement en vrac, dessin industriel, marques de commerce, propriété intellectuelle, inventeur, demandeur, classification CIB, revendications
Paramètres de ised_ip_horizons_list_files
ParamètreTypeDéfaut
ip_type"patent" | "industrial_design" | "trademark"obligatoire
tablestr | nullnull
latest_onlybooltrue
lang"en" | "fr""en"
call_tool {"name": "ised_ip_horizons_list_files", "arguments": {"ip_type": "…"}}
ised_ip_horizons_search_patentsSearch Canadian patents by owner/inventor name, IPC class, title or filing date.

Utilisation : finding the Canadian patents of a company or inventor (party_name, a case-insensitive substring; party_type narrows to owner, inventor, applicant or agent), patents in a technology class (ipc like 'H01M', 'H01M 8' or 'H01M 8/04'), by title words (English or French; accents are ignored, since French titles are stored unaccented), or by filing-date range. Filters combine with AND. Returns the newest matches by filing date and the total match count across all ~3.2 million records since 1869. Data are as of CIPO's newest open release (2024-10-11 when checked on 2026-10-03; release_date and provenance.as_of give it), so later filings are absent. Each filter type downloads its table once into a local cache on first use; the IPC table is ~740 MB and can take many minutes, so a first call may time out while the download continues in the background; retry later. Follow up with ised_ip_horizons_get_patent for parties and classes. lang has no effect.

Mots-clés en anglais
patent search, Canadian patents, patent owner, assignee, inventor, company patents, IPC classification, technology class, filing date, CIPO, IP Horizons, innovation
Mots-clés en français
recherche de brevets, brevets canadiens, titulaire, cessionnaire, inventeur, brevets d'une entreprise, classification CIB, domaine technologique, date de dépôt, OPIC, Horizons PI
Paramètres de ised_ip_horizons_search_patents
ParamètreTypeDéfaut
party_namestr | nullnull
party_type"owner" | "inventor" | "applicant" | "agent" | nullnull
ipcstr | nullnull
titlestr | nullnull
filed_fromstr | nullnull
filed_tostr | nullnull
limitint25
lang"en" | "fr""en"
call_tool {"name": "ised_ip_horizons_search_patents", "arguments": {}}

Licences de spectre 1

ised_spectrum_query_licencesQuery wireless spectrum licence site records from ISED's Spectrum Management System.

Utilisation : finding radio/wireless spectrum licence sites by licensee, service type, location, or frequency, out of ~840,000 records. Filter with an ArcGIS SQL where clause on fields such as LICENSEE, SERVICE, PROV (two-letter code), TRANSMIT_FREQ and RECEIVE_FREQ (MHz), LATITUDE, LONGITUDE, STUCT_HT (structure/tower height), TX_PWR (transmit power), e.g. "PROV='AB' AND SERVICE='CELL'". SERVICE holds a band code, not a name (a LIKE '%Cellular%' finds nothing); the 18 codes (checked live 2026-10-03): 3500B (3500 MHz flexible use), 600B (600 MHz), AWS (AWS-1, 1.7/2.1 GHz), AWS-3, AWS-4, BRS (Broadband Radio Service, 2500 MHz), BWA24 and BWA38 (broadband wireless access, 24 and 38 GHz), CELL (cellular, 800 MHz), FCFS38 (38 GHz first-come first-served), FWA (fixed wireless access, 3500 MHz), MBS (Mobile Broadband Service, 700 MHz), PCS (1900 MHz), PCSG (PCS G block), PS49 (public safety, 4.9 GHz), RAC (railway radio of the Railway Association of Canada, VHF/UHF), WBS (Wireless Broadband Service, 3650-3700 MHz), WCS (Wireless Communications Service, 2300 MHz). LAST_MOD_DATE and LAST_UPLOAD_DATE come back as ISO dates. The service says it is refreshed monthly, but the hosted copy was last edited 2024-02-08; provenance.as_of gives the date.

Mots-clés en anglais
ISED, ISDE, spectrum, radio licence, wireless, telecommunications, frequency, licensee, transmitter, antenna, tower, Spectrum Management System, SMS
Mots-clés en français
ISDE, spectre radioélectrique, licence de spectre, licence radio, sans fil, télécommunications, fréquence, titulaire de licence, émetteur, antenne, pylône, tour de télécommunication, Système de gestion du spectre, SGS
Paramètres de ised_spectrum_query_licences
ParamètreTypeDéfaut
wherestr | nullnull
out_fieldsstr"*"
order_bystr | nullnull
limitint10
offsetint0
lang"en" | "fr""en"
call_tool {"name": "ised_spectrum_query_licences", "arguments": {}}

Fédéral et national

Ressources naturelles Canada : information sur les feux de végétation (SCIF)

cwfis_

Système canadien d'information sur les feux de végétation (RNCan) : points chauds satellitaires (dernières 24 heures ou archives depuis 1994), périmètres estimés de la saison en cours, stations météo avec indices de l'Indice Forêt-Météo (IFM)…

Description complète

Système canadien d'information sur les feux de végétation (RNCan) : points chauds satellitaires (dernières 24 heures ou archives depuis 1994), périmètres estimés de la saison en cours, stations météo avec indices de l'Indice Forêt-Météo (IFM), prévisions météo-incendie par station, classe de danger d'incendie à un point, Base de données nationale sur les feux (grands feux de 200 ha et plus, 1980-2023) et rapports hebdomadaires nationaux sur la situation des feux (nombre, superficie, niveau de préparation, depuis 1998).

8 outils

cwfis_get_fire_dangerFire danger class (Low to Extreme) at a latitude/longitude from the national danger grid.

Utilisation : how dangerous is wildfire risk at this location today, fire danger rating for a town, low/moderate/high/very high/extreme.

Mots-clés en anglais
fire danger rating, wildfire risk today, danger class, extreme fire danger, fire danger map, point lookup, CWFIS, NRCan, forest fire risk
Mots-clés en français
cote de danger d'incendie, risque de feu aujourd'hui, classe de danger, danger extrême, carte du danger, point, SCIFV, RNCan, feu de forêt
Paramètres de cwfis_get_fire_danger
ParamètreTypeDéfaut
latitudefloatobligatoire
longitudefloatobligatoire
lang"en" | "fr""en"
call_tool {"name": "cwfis_get_fire_danger", "arguments": {"latitude": "…", "longitude": "…"}}
cwfis_get_fire_perimetersCurrent-season estimated fire perimeters (M3 hotspot-cluster polygons), largest first.

Utilisation : biggest fires this season, current fire footprint in a region.

Mots-clés en anglais
fire perimeter, wildfire polygon, current season, M3, active fire size, area burned this year, CWFIS, NRCan, fire map, GeoJSON
Mots-clés en français
périmètre d'incendie, polygone de feu, saison en cours, superficie brûlée cette année, feux actifs, carte des feux, SCIFV, RNCan, GeoJSON
Paramètres de cwfis_get_fire_perimeters
ParamètreTypeDéfaut
bboxlist[float] | nullnull
min_area_hafloat | nullnull
include_geometryboolfalse
limitint20
offsetint0
lang"en" | "fr""en"
call_tool {"name": "cwfis_get_fire_perimeters", "arguments": {}}
cwfis_get_fire_weather_forecastModelled FWI and fire weather values for the coming days at a fire-weather station.

Utilisation : fire danger for the coming days, FWI outlook at a station.

Mots-clés en anglais
FWI outlook, wildfire outlook, fire danger next days, SCRIBE, fire weather station, wildfire, CWFIS, NRCan
Mots-clés en français
prévision météo-incendie, prévision IFM, danger d'incendie prévu, perspectives feux de forêt, prochains jours, feu de végétation, Indice Forêt-Météo, SCIFV, RNCan
Paramètres de cwfis_get_fire_weather_forecast
ParamètreTypeDéfaut
station_namestrobligatoire
limitint100
lang"en" | "fr""en"
call_tool {"name": "cwfis_get_fire_weather_forecast", "arguments": {"station_name": "…"}}
cwfis_get_hotspotsSatellite fire hotspots (VIIRS, MODIS, SLSTR) with fire weather values per detection.

Utilisation : where fires are burning right now, active fire detections in a province, hotspot counts on a past date, fire intensity (FRP, HFI) and FWI.

Mots-clés en anglais
hotspots, active fires, satellite fire detection, VIIRS, MODIS, wildfire today, fire radiative power, FRP, CWFIS, NRCan, fire season
Mots-clés en français
points chauds, feux actifs, détection satellite, incendie de forêt, feux de végétation, puissance radiative du feu, feux en cours, SCIFV, RNCan, saison des feux
Paramètres de cwfis_get_hotspots
ParamètreTypeDéfaut
agencystr | nullnull
bboxlist[float] | nullnull
min_frpfloat | nullnull
start_datestr | nullnull
end_datestr | nullnull
canada_onlybooltrue
sort_by"latest" | "frp""latest"
limitint20
offsetint0
lang"en" | "fr""en"
call_tool {"name": "cwfis_get_hotspots", "arguments": {}}
cwfis_get_situation_reportOne national wildfire situation report with narrative text, in English or French.

Utilisation : the current national wildfire situation, preparedness level, how the season went, priority fires.

Mots-clés en anglais
national wildfire situation, preparedness level, season summary, priority fires, fire season review, CIFFC, wildfire report Canada, CWFIS
Mots-clés en français
situation nationale des feux, niveau de préparation, bilan de la saison, feux prioritaires, rapport sur les feux de forêt au Canada, préparation nationale, SCIFV, RNCan
Paramètres de cwfis_get_situation_report
ParamètreTypeDéfaut
report_type"in_season" | "end_of_season""in_season"
date_on_or_beforestr | nullnull
lang"en" | "fr""en"
call_tool {"name": "cwfis_get_situation_report", "arguments": {}}
cwfis_get_weather_stationsFire weather stations with the latest Fire Weather Index (FWI) system values.

Utilisation : today's fire weather index near a town, FWI by station, drought code and fine fuel moisture, wildfire risk indices for a province.

Mots-clés en anglais
Fire Weather Index, FWI, FFMC, DMC, drought code, buildup index, ISI, fire weather station, fire danger, wildfire risk, CWFIS, NRCan
Mots-clés en français
Indice Forêt-Météo, IFM, indice de sécheresse, indice de propagation initiale, station météo incendie, danger d'incendie, risque de feu, SCIFV, RNCan
Paramètres de cwfis_get_weather_stations
ParamètreTypeDéfaut
provincestr | nullnull
namestr | nullnull
latitudefloat | nullnull
longitudefloat | nullnull
radius_kmfloat50.0
limitint20
lang"en" | "fr""en"
call_tool {"name": "cwfis_get_weather_stations", "arguments": {}}
cwfis_list_situation_reportsList weekly national wildfire situation reports (1998 onward) with national totals.

Utilisation : national area burned to date, fires so far this season versus the 10-year average, season totals by year.

Mots-clés en anglais
national situation report, area burned to date, number of fires, 10-year average, season summary, CIFFC, wildfire statistics Canada, CWFIS
Mots-clés en français
rapport de situation national, superficie brûlée à ce jour, nombre de feux, moyenne sur 10 ans, bilan de saison, statistiques feux de forêt Canada, SCIFV, RNCan
Paramètres de cwfis_list_situation_reports
ParamètreTypeDéfaut
report_type"all" | "end_of_season""all"
start_datestr | nullnull
end_datestr | nullnull
limitint20
offsetint0
lang"en" | "fr""en"
call_tool {"name": "cwfis_list_situation_reports", "arguments": {}}
cwfis_search_large_firesNational Fire Database (NFDB) large-fire points: fires of 200 ha or more, 1980-2023.

Utilisation : largest wildfires in history, large fires by province and year, lightning versus human-caused fires, fire size and dates.

Mots-clés en anglais
National Fire Database, NFDB, large fires, historical wildfires, fire size hectares, fire cause lightning human, biggest fire, CWFIS, NRCan
Mots-clés en français
Base nationale de données sur les feux de forêt, BNDFF, grands incendies, incendies historiques, taille des incendies, incendie causé par la foudre, incendie d'origine humaine, plus grand incendie, SCIFV, RNCan
Paramètres de cwfis_search_large_fires
ParamètreTypeDéfaut
year_fromint | nullnull
year_toint | nullnull
agencystr | nullnull
min_size_hafloat | nullnull
cause"N" | "H" | "U" | "H-PB" | nullnull
namestr | nullnull
sort_by"size" | "date""size"
limitint20
offsetint0
lang"en" | "fr""en"
call_tool {"name": "cwfis_search_large_fires", "arguments": {}}

Fédéral et national

Données ouvertes de la Chambre des communes

ourcommons_

Données ouvertes de la Chambre des communes (ourcommons.ca, flux XML officiels), outils préfixés ourcommons_ : députés actuels par province, parti et circonscription…

Description complète

Données ouvertes de la Chambre des communes (ourcommons.ca, flux XML officiels), outils préfixés ourcommons_ : députés actuels par province, parti et circonscription ; rôles et historique d'un député à partir de son identifiant (sièges avec dates, changements de caucus, postes parlementaires, comités, associations parlementaires et dossier de candidat aux élections avec résultats, depuis 1997 pour les anciens députés) ; répartition des sièges par parti et province ; et le Conseil des ministres par ordre de préséance ; et les rapports trimestriels sur les dépenses des députés (salaires du personnel, déplacements, accueil et contrats par député depuis le 2e trimestre de 2020-2021, avec le détail des voyages, activités et fournisseurs). Non couvert : ParlInfo de la Bibliothèque du Parlement, inaccessible aux requêtes automatisées.

7 outils

ourcommons_get_member_expenditure_detailsOne MP's itemized expenses in one quarter: every trip (dates, from, places visited, purpose, traveller, transport, lodging, meals), hospitality event (date, place, attendees, purpose, supplier) and contract (supplier, description, date), with the category totals from the quarter's summary.

Utilisation : where an MP travelled, who an MP paid for office rent or advertising, checking a member's hospitality spending.

Mots-clés en anglais
MP travel expenses, itemized expenses, hospitality, suppliers, contracts, office lease, House of Commons, proactive disclosure, member spending, trips
Mots-clés en français
frais de déplacement d'un député, dépenses détaillées, frais d'accueil, fournisseurs, contrats, bail de bureau, Chambre des communes, divulgation proactive, voyages
Paramètres de ourcommons_get_member_expenditure_details
ParamètreTypeDéfaut
namestrobligatoire
constituencystr | nullnull
fiscal_yearint | nullnull
quarterint | nullnull
categorieslist["travel" | "hospitality" | "contract"] | nullnull
lang"en" | "fr""en"
call_tool {"name": "ourcommons_get_member_expenditure_details", "arguments": {"name": "…"}}
ourcommons_get_member_expendituresMPs' spending in one quarter from the House of Commons Members' Expenditures Report: salaries of staff, travel, hospitality and contracts (leases, advertising, office operations), in dollars, per member, with totals over the matches.

Utilisation : which MPs spent most on travel, an MP's office spending, spending by party, comparing members' budgets.

Mots-clés en anglais
MP expenses, member spending, travel expenses, hospitality, contracts, office budget, House of Commons, proactive disclosure, Members' Expenditures Report, MP salaries
Mots-clés en français
dépenses des députés, frais de déplacement, frais d'accueil, contrats, budget de bureau, Chambre des communes, divulgation proactive, salaires du personnel, dépenses par parti
Paramètres de ourcommons_get_member_expenditures
ParamètreTypeDéfaut
fiscal_yearint | nullnull
quarterint | nullnull
namestr | nullnull
constituencystr | nullnull
caucusstr | nullnull
sort_by"total" | "salaries" | "travel" | "hospitality" | "contracts" | "name""total"
limitint50
lang"en" | "fr""en"
call_tool {"name": "ourcommons_get_member_expenditures", "arguments": {}}
ourcommons_get_member_rolesGet one Member of Parliament's full record: seats, caucus, committees, positions and elections.

Utilisation : an MP's career on the House of Commons record: every seat held with dates, party changes, parliamentary positions (Speaker, secretary, critic), committee memberships, parliamentary associations, and the election candidate history with results (Elected, Re-Elected, Defeated). person_id comes from ourcommons_list_members (or the id in a member's ourcommons.ca page address); former members work too, with history from the 1990s.

Mots-clés en anglais
MP career, member roles, committee membership, election history, caucus, parliamentary secretary, Speaker, re-elected, defeated, person id
Mots-clés en français
carrière d'un député, rôles, comités, historique électoral, caucus, secrétaire parlementaire, président de la Chambre, réélu, défait
Paramètres de ourcommons_get_member_roles
ParamètreTypeDéfaut
person_idintobligatoire
lang"en" | "fr""en"
call_tool {"name": "ourcommons_get_member_roles", "arguments": {"person_id": "…"}}
ourcommons_get_ministryGet the current Ministry (federal Cabinet) in order of precedence, with titles and start dates.

Utilisation : who is Prime Minister and which minister holds which portfolio now, with the date each took office and their province.

Mots-clés en anglais
Cabinet, Ministry, ministers, Prime Minister, portfolio, order of precedence, federal government, minister of finance
Mots-clés en français
Conseil des ministres, ministère, ministres, premier ministre, portefeuille, ordre de préséance, gouvernement fédéral, ministre des Finances
Paramètres de ourcommons_get_ministry
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "ourcommons_get_ministry", "arguments": {}}
ourcommons_get_party_standingsGet current party standings in the House of Commons, by party and by province or territory.

Utilisation : seats held now by each party (Liberal, Conservative, Bloc, NDP, Green, independents), and how each province or territory's seats split between parties. Vacant seats appear as party 'Vacant'.

Mots-clés en anglais
party standings, seats, House of Commons, current, Liberal, Conservative, majority, minority, province, distribution of seats
Mots-clés en français
répartition des sièges, partis, Chambre des communes, actuel, libéral, conservateur, majorité, minorité, province
Paramètres de ourcommons_get_party_standings
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "ourcommons_get_party_standings", "arguments": {}}
ourcommons_list_expenditure_reportsList the House of Commons' quarterly Members' Expenditures Reports, newest first.

Utilisation : which periods of MP spending are published, the latest quarter available.

Mots-clés en anglais
MP expenses, Members' Expenditures Report, House of Commons, proactive disclosure, quarterly report, member spending, office budget, fiscal year
Mots-clés en français
dépenses des députés, Rapport sur les dépenses des membres, Chambre des communes, divulgation proactive, rapport trimestriel, budget de bureau, exercice financier, frais des députés
Paramètres de ourcommons_list_expenditure_reports
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "ourcommons_list_expenditure_reports", "arguments": {}}
ourcommons_list_membersList current Members of Parliament from the House of Commons, filtered by place, party or name.

Utilisation : finding who represents a riding, all MPs of a party or province, or an MP's person id (needed by ourcommons_get_member_roles). Filters are accent-insensitive substring matches: province (e.g. Alberta, British Columbia or Colombie-Britannique, or a code such as BC), party (Liberal/Libéral, Conservative/Conservateur, Bloc Québécois, NDP/NPD, Green Party/Parti vert), constituency and name. Province and party work in English or French with either lang; results show the names in the feed's language. The official feed of sitting members.

Mots-clés en anglais
Member of Parliament, MP, riding, constituency, House of Commons, party, caucus, representative, federal, who represents, ourcommons
Mots-clés en français
député, députée, circonscription, Chambre des communes, parti, caucus, représentant, fédéral, qui représente, ourcommons
Paramètres de ourcommons_list_members
ParamètreTypeDéfaut
provincestr | nullnull
partystr | nullnull
constituencystr | nullnull
namestr | nullnull
limitint50
lang"en" | "fr""en"
call_tool {"name": "ourcommons_list_members", "arguments": {}}

Fédéral et national

Environnement et Changement climatique Canada

eccc_coverages_ eccc_

Environnement et Changement climatique Canada / Service météorologique du Canada, via l'API GeoMet-OGC du SMC (api.weather.gc.ca) : alertes météorologiques, conditions actuelles et observations de surface (SWOB), prévisions par ville, cote air santé (AQHI)…

Description complète

Environnement et Changement climatique Canada / Service météorologique du Canada, via l'API GeoMet-OGC du SMC (api.weather.gc.ca) : alertes météorologiques, conditions actuelles et observations de surface (SWOB), prévisions par ville, cote air santé (AQHI), stations climatiques et observations quotidiennes/horaires/mensuelles et normales 1981-2010, stations hydrométriques (niveau/débit d'eau) et données en temps réel/historiques, prévisions maritimes, et extrêmes climatiques à long terme. Un client générique de type API OGC - Entités couvre la centaine de collections publiées par ce serveur plutôt qu'un outil distinct par jeu de données. Les outils eccc_coverages_ lisent les projections climatiques en grille (CanDCS-U6 et scénarios SSP du CMIP6, scénarios RCP du CMIP5 et DCS, indices climatiques, indice de sécheresse SPEI, anomalies CanGRD) sous forme de lignes ordonnées pour un point ou une zone.

7 outils · Ressources : docs://eccc/gotchas, docs://eccc/fr/pieges, docs://eccc/well-known-collections, docs://eccc/fr/collections-courantes · Invites : eccc_severe_weather_check, find_and_query_eccc_collection

Projections climatiques (grilles) 3

eccc_coverages_describeDescribe one ECCC gridded climate coverage: variables, units, scenarios, axes, time range.

Utilisation : checking what a climate:* collection holds before asking for data: its variables with units, emission scenarios, ensemble percentiles, seasons, 20/30-year averaging windows, first and last year or month, grid resolution and extent, with a dataset note. Ids look like climate:candcsu6:projected:annual:absolute or climate:indices:projected; find them with eccc_coverages_search.

Mots-clés en anglais
climate projection metadata, variables, units, scenarios, percentiles, ensemble, time range, grid resolution, coverage description, cmip6, environment canada
Mots-clés en français
métadonnées des projections climatiques, variables, unités, scénarios d'émissions, percentiles, ensemble de modèles, période couverte, résolution de la grille, Environnement et Changement climatique Canada (ECCC), Environnement Canada
Paramètres de eccc_coverages_describe
ParamètreTypeDéfaut
collection_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "eccc_coverages_describe", "arguments": {"collection_id": "…"}}
eccc_coverages_get_dataGet climate projection values for a point or area as tidy rows (time, value, unit, scenario).

Utilisation : future (or historical modelled) temperature, precipitation, degree days, hot days or drought index at a place in Canada, e.g. annual mean temperature in Edmonton 2015-2100 under SSP5-8.5, or the 2071-2100 change in summer precipitation. Give a point (lat, lon: the nearest grid cell with data is used, and point_distance_km says how far it is) or a bbox [west, south, east, north] (one row per cell). variables defaults to the collection's first variable; scenarios and seasons default to all; percentiles defaults to the ensemble median (50th); averaging_periods (e.g. "2071-2100") defaults to all windows; start/end are YYYY (or YYYY-MM for monthly sets) and default to the full range. Each row names its variable, scenario, percentile, season and window, so several scenarios can be compared in one call. One upstream request is made per variable x scenario x percentile x season x window (at most 40), and a call is refused above about 250,000 grid values; max_rows (up to 10000) caps the rows returned, with truncated and total_rows. Rows include the ECCC licence in provenance.

Mots-clés en anglais
climate projections, future temperature, future precipitation, climate change by city, cmip6 point data, ssp585, rcp8.5, 2050, 2080, heating degree days, drought index, time series, environment canada
Mots-clés en français
projections climatiques, température future, précipitations futures, changements climatiques par ville, scénario d'émissions, série chronologique, degrés-jours de chauffage, indice de sécheresse, horizon 2050, Environnement et Changement climatique Canada (ECCC), Environnement Canada
Paramètres de eccc_coverages_get_data
ParamètreTypeDéfaut
collection_idstrobligatoire
latfloat | nullnull
lonfloat | nullnull
bboxlist[float] | nullnull
variableslist[str] | nullnull
scenarioslist[str] | nullnull
percentileslist[float] | nullnull
seasonslist[str] | nullnull
averaging_periodslist[str] | nullnull
startstr | nullnull
endstr | nullnull
max_rowsint1000
lang"en" | "fr""en"
call_tool {"name": "eccc_coverages_get_data", "arguments": {"collection_id": "…"}}

Observations météo, eau et climat 4

eccc_get_collectionGet one MSC GeoMet collection's description, spatial extent, and queryable properties.

Utilisation : confirming what a collection covers and which property names you can filter/sort/select by (e.g. province and alert_type for weather-alerts, STATION_NUMBER for hydrometric-realtime) before calling eccc_query_items - an unknown property name is silently ignored upstream and returns zero rows rather than an error, so checking here first avoids that trap.

Mots-clés en anglais
environment canada, eccc, msc, geomet, collection, detail, metadata, queryables, properties, schema, extent, bbox
Mots-clés en français
Environnement et Changement climatique Canada, ECCC, Environnement Canada, Service météorologique du Canada (SMC), GeoMet, collection, détail, métadonnées, propriétés interrogeables, schéma, étendue géographique
Paramètres de eccc_get_collection
ParamètreTypeDéfaut
collection_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "eccc_get_collection", "arguments": {"collection_id": "…"}}
eccc_list_collectionsList every MSC GeoMet OGC API collection (~100).

Utilisation : a full inventory scan. Prefer eccc_search_collections for a topic search, or docs://eccc/well-known-collections for the collections that matter most - this returns the entire catalogue, including the downscaled-climate-projection families (climate:*), which are gridded coverages read with eccc_coverages_get_data.

Mots-clés en anglais
environment canada, eccc, msc, geomet, weather, climate, list, inventory, all collections, catalogue, full list
Mots-clés en français
Environnement et Changement climatique Canada, ECCC, Environnement Canada, Service météorologique du Canada (SMC), GeoMet, météo, climat, liste, inventaire, toutes les collections, catalogue, liste complète
Paramètres de eccc_list_collections
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "eccc_list_collections", "arguments": {}}
eccc_query_itemsQuery rows (GeoJSON features) from one MSC GeoMet collection.

Utilisation : fetching actual weather alerts, current surface observations (SWOB), AQHI readings/forecasts, climate normals or daily/hourly observations, hydrometric water level/flow, or any other MSC GeoMet collection's data - one generic query works across every collection (see docs://eccc/well-known-collections for good starting collection_id values and example filters). bbox is [west, south, east, north] in decimal degrees (WGS84). datetime_filter accepts a single RFC3339 date or datetime or an interval ("start/end", ".." for an open end) - support genuinely varies by collection and is not predictable from the collection's own metadata (confirmed: hydrometric-realtime supports it, weather-alerts does not and raises an error) - omit it and filter by filters/bbox instead if it fails. filters are exact-match property=value pairs (e.g. {"province": "ON"} or {"STATION_NUMBER": "05BL023"}) combined with AND. fields limits which properties come back (omit for all). sortby is a property name, prefixed with - for descending (e.g. "-publication_datetime"). limit is capped at 1000 per request and rows stop at about 1 MB (note gives the next offset) - several collections here have hundreds of thousands of rows, so page with offset. An empty station query of a climate collection gets a note (HAS_NORMALS_DATA = N: none published). Read docs://eccc/gotchas before relying on datetime_filter or on climate-stations' LATITUDE/LONGITUDE properties.

Mots-clés en anglais
environment canada, eccc, msc, geomet, weather alert, weather forecast, snow, rain, temperature, tomorrow, current conditions, swob, observation, aqhi, air quality health index, air quality, climate normal, hydrometric, water level, flow, marine forecast, query, data, filter, bbox, station
Mots-clés en français
Environnement Canada, Environnement et Changement climatique Canada, ECCC, Service météorologique du Canada (SMC), GeoMet, météo, prévisions météo, prévisions, alerte météo, alertes météorologiques, conditions actuelles, observation, cote air santé (CAS), qualité de l'air, normale climatique, hydrométrique, rivière, cours d'eau, hydrogramme, niveau d'eau, débit, débit journalier, prévision maritime, requête, données, filtre, station
Paramètres de eccc_query_items
ParamètreTypeDéfaut
collection_idstrobligatoire
bboxlist[float] | nullnull
datetime_filterstr | nullnull
filtersdict[str, str] | nullnull
fieldslist[str] | nullnull
sortbystr | nullnull
limitint10
offsetint0
lang"en" | "fr""en"
call_tool {"name": "eccc_query_items", "arguments": {"collection_id": "…"}}
eccc_search_collectionsSearch MSC GeoMet's ~100 weather/climate/water OGC API collections by keyword.

Utilisation : finding a collection id when you only know a topic - e.g. "alert", "aqhi", "climate normal", "hydrometric", "swob", "marine", "snowfall". The query matches English and French text ("alerte" finds weather-alerts); lang="fr" returns French titles. Read docs://eccc/well-known-collections first - it already lists the collection ids that matter most, with example filters for each.

Mots-clés en anglais
environment canada, eccc, msc, geomet, weather, climate, collection, search, find, discover, dataset, catalogue
Mots-clés en français
Environnement et Changement climatique Canada, ECCC, Environnement Canada, Service météorologique du Canada (SMC), GeoMet, météo, climat, collection, recherche, trouver, jeu de données, catalogue
Paramètres de eccc_search_collections
ParamètreTypeDéfaut
querystrobligatoire
limitint25
lang"en" | "fr""en"
call_tool {"name": "eccc_search_collections", "arguments": {"query": "…"}}

Fédéral et national

Institut canadien d'information sur la santé

cihi_ cihi_workforce_

Répertoire des indicateurs de l'Institut canadien d'information sur la santé (ICIS) : recherche parmi quelque 200 indicateurs du système de santé (mortalité et réadmissions à l'hôpital, temps d'attente, visites aux urgences, dépenses de santé, résultats pour les patients)…

Description complète

Répertoire des indicateurs de l'Institut canadien d'information sur la santé (ICIS) : recherche parmi quelque 200 indicateurs du système de santé (mortalité et réadmissions à l'hôpital, temps d'attente, visites aux urgences, dépenses de santé, résultats pour les patients), description et disponibilité des données d'un indicateur, et interrogation de son tableau de données par lieu, niveau de déclaration, période et ventilation, en français ou en anglais (recherche par nom français, identifiants anglais et français appariés d'après le site de l'ICIS). Un second ensemble d'outils (cihi_workforce_) lit les tableaux de données de l'ICIS sur la main-d'œuvre de la santé : les classeurs sur les médecins (effectif, répartition et migration depuis 1971, services et paiements de la Base de données nationale sur les médecins), le personnel infirmier réglementé, les pharmaciens, les physiothérapeutes, les ergothérapeutes et les préposés aux services de soutien à la personne en Alberta sont listés à partir de la page de l'ICIS, leurs tableaux et notes lus feuille par feuille, et les lignes renvoyées par province ou territoire, profession, spécialité, année ou âge, chaque symbole (« — », « n/a », « x ») conservé tel que publié, avec la feuille et la ligne de chaque valeur. Les conditions d'utilisation de l'ICIS limitent l'usage commercial et l'usage dans des applications logicielles sans son autorisation écrite (voir provenance.caveats de chaque résultat).

7 outils

Répertoire des indicateurs 3

cihi_get_indicatorGet a CIHI indicator's description, data availability, update date, and topics.

Utilisation : understanding what an indicator measures and which years and places it covers before reading its data. indicator is an English or French slug (or page URL) from cihi_search_indicators; lang="fr" returns the French page, lang="en" the English one.

Mots-clés en anglais
CIHI, indicator definition, methodology, data availability, update frequency, health system, health indicator, definition
Mots-clés en français
ICIS, définition de l'indicateur, méthodologie, disponibilité des données, fréquence de mise à jour, système de santé, indicateur de santé, définition
Paramètres de cihi_get_indicator
ParamètreTypeDéfaut
indicatorstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "cihi_get_indicator", "arguments": {"indicator": "…"}}
cihi_get_indicator_dataRead a CIHI indicator's data table (by place, reporting level, year, and breakdown).

Utilisation : rates and values such as 30-day stroke mortality in Alberta, or readmission rates by hospital. place is a substring of "Place or organization"; filters match columns exactly, e.g. {"Reporting level": "Province/Territory", "Time frame": "2024–2025", "Level 1 breakdown": "Not applicable"}. The last limit matching rows in file order come back (default 40, max 2000), held to about 200 KB, with the cut noted in provenance.limits. columns picks the columns to return (names as in the file); without it, columns blank in every returned row are left out and listed in empty_columns. The first read of an indicator downloads its workbook (about 2 MB; 20-50 s measured live), later reads are cached for a day. indicator is an English or French slug; lang="fr" reads CIHI's French file, with French column names (and French place filters, e.g. "Colombie").

Mots-clés en anglais
CIHI, health data, hospital mortality rate, readmission rate, province, hospital, fiscal year, risk-adjusted rate
Mots-clés en français
ICIS, données sur la santé, taux de mortalité, taux de réadmission, province, hôpital, exercice, taux ajusté
Paramètres de cihi_get_indicator_data
ParamètreTypeDéfaut
indicatorstrobligatoire
placestr | nullnull
filtersdict[str, str] | nullnull
tablestr | nullnull
columnslist[str] | nullnull
limitint40
lang"en" | "fr""en"
call_tool {"name": "cihi_get_indicator_data", "arguments": {"indicator": "…"}}
cihi_search_indicatorsSearch CIHI's Indicator Library of ~200 health-system indicators.

Utilisation : finding an indicator's slug, e.g. "stroke mortality", "readmission", "wait times", "emergency department", "hospital stays", "public spending". Every word must appear in the name (case and accents ignored). With lang="fr" the French names are searched ("mortalité accident vasculaire", "réadmission à l'hôpital"; articles such as de, la, l' are ignored, plurals match) and French slugs come back with the paired English one in english_slug; an indicator with no French page is listed by its English name with a note.

Mots-clés en anglais
CIHI, health indicators, hospital, mortality, readmission, wait times, emergency department, health system performance
Mots-clés en français
ICIS, indicateurs de santé, hôpital, mortalité, réadmission, temps d'attente, urgences, rendement du système de santé
Paramètres de cihi_search_indicators
ParamètreTypeDéfaut
querystr""
lang"en" | "fr""en"
call_tool {"name": "cihi_search_indicators", "arguments": {}}

Tableaux de données sur la main-d'œuvre de la santé 4

cihi_workforce_get_notesRead the instructions, methodology notes and definitions of a CIHI workforce workbook.

Utilisation : CIHI's own wording on what a workforce figure means: how supply, workforce and employed in direct care are defined, who is included (regulated, licensed, registered), primary employment, the symbols used (— no data, n/a, x), which jurisdictions are missing and why, data sources (Health Workforce Database, Scott's Medical Database, National Physician Database), and how to cite the workbook. Without sheet the text pages come back (Instructions, Methodology notes, Definitions, Terminology); sheet keeps pages whose name contains it. Pages are cut to 60 paragraphs and 60,000 characters in all. CIHI's terms limit commercial use and use inside software applications without its written authorization (see provenance.caveats).

Mots-clés en anglais
CIHI, methodology, definitions, terminology, how to cite, instructions, primary employment, direct care, regulated nurses, symbols, data sources
Mots-clés en français
ICIS, méthodologie, définitions, terminologie, comment citer, instructions, emploi principal, soins directs, personnel infirmier réglementé, symboles, sources de données
Paramètres de cihi_workforce_get_notes
ParamètreTypeDéfaut
workbookstrobligatoire
sheetstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "cihi_workforce_get_notes", "arguments": {"workbook": "…"}}
cihi_workforce_get_tableRead rows of one CIHI health workforce table by jurisdiction, profession, year or age.

Utilisation : counts and rates of physicians, nurses, pharmacists, physiotherapists, occupational therapists and personal support workers: physicians per 100,000 population by specialty, the number of registered nurses (RNs, LPNs, nurse practitioners) by province and year, physician supply by age and sex, physicians moving between provinces, pharmacists employed in direct care, NPDB services and payments by specialty. Each row has its labels, its values by column and its sheet row (the cell is column_letters + row). A mark CIHI prints ('—' no data, 'n/a', 'x' suppressed, 'n/r') comes back as that mark, never as zero or blank; a percentage cell comes back as text ('90.4%'); the table's own notes define the marks and say what is missing (in the 2025 physician tables the Ontario column, and so the Canada totals, is '—': data release delayed). table is an id from cihi_workforce_list_tables. filters match label columns exactly (case, accents and Alberta = Alta. = Alb. ignored; a list is any-of), e.g. {"Jurisdiction": "Alberta", "Year": "2024"}; contains is part of any label; columns picks value columns by name or part of a name (["Alberta", "Canada"], ["2025"]). 50 rows by default, 500 at most, held to about 200 KB with the cut in provenance.limits. Large flat tables (200,000 rows) take 20 to 40 s to scan. CIHI's terms limit commercial use and use inside software applications without its written authorization: this server grants no licence; check them before reusing values (provenance.caveats).

Mots-clés en anglais
CIHI, physicians per 100, 000, registered nurses, number of nurses by province, regulated nurses, pharmacists supply, physiotherapists, occupational therapists, personal support workers, workforce by province, physician migration, NPDB, fee-for-service payments
Mots-clés en français
ICIS, médecins pour 100 000 habitants, personnel infirmier réglementé, infirmières autorisées, infirmières praticiennes, effectif de pharmaciens, physiothérapeutes, ergothérapeutes, préposés aux services de soutien à la personne, main-d'œuvre par province, migration des médecins, BDNM, paiements à l'acte
Paramètres de cihi_workforce_get_table
ParamètreTypeDéfaut
workbookstrobligatoire
tablestrobligatoire
filtersdict[str, str | list[str]] | nullnull
containsstr | nullnull
columnslist[str] | nullnull
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "cihi_workforce_get_table", "arguments": {"workbook": "…", "table": "…"}}
cihi_workforce_list_tablesList the tables of one CIHI workforce workbook: ids, titles, columns and cell ranges.

Utilisation : seeing what a workbook from cihi_workforce_list_workbooks holds before reading it: each table's id ('3a', '1.0', 'A.1'), title, sheet, cell range, the label columns to filter on (jurisdiction, profession, specialty, year, age group, sex) and the value columns (years or jurisdictions across the top). Tables that repeat their header for each group list those groups as sections. Hidden helper sheets and drop-down (interactive) tabs are skipped and named in skipped; notes, definitions and methodology pages are in text_sheets (cihi_workforce_get_notes). workbook is an id or a distinctive name ("nursing", "pharmacists"); the first call downloads the file (0.1 to 27 MB; about 2 to 10 s) and later calls are cached for hours. Workbooks over 30 MB are refused, not read. CIHI's terms limit commercial use and use inside software applications without its written authorization (see provenance.caveats).

Mots-clés en anglais
CIHI, health workforce, table of contents, tables, sheets, columns, jurisdictions, specialties, age groups, workbook structure
Mots-clés en français
ICIS, main-d'œuvre de la santé, table des matières, tableaux, feuilles, colonnes, provinces et territoires, spécialités, groupes d'âge, structure du classeur
Paramètres de cihi_workforce_list_tables
ParamètreTypeDéfaut
workbookstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "cihi_workforce_list_tables", "arguments": {"workbook": "…"}}
cihi_workforce_list_workbooksList CIHI's health workforce data-table workbooks (physicians, nurses, pharmacists, ...).

Utilisation : finding which CIHI workbook holds a health workforce figure: supply, distribution and migration of physicians, regulated nurses (RNs, LPNs, NPs, RPNs), pharmacists, physiotherapists, occupational therapists, personal support workers in Alberta, and the National Physician Database (physician services and payments). Each entry has CIHI's title, topic, publication date, its address and an id for cihi_workforce_list_tables. query keeps workbooks whose title, topic or description holds every word (English or French); earlier releases that a later one replaces are left out unless include_earlier=true. Quick Stats dashboards, .zip archives and workbooks in other layouts (COVID-19, surveys, virtual care) are listed with a reason, not read. CIHI's terms limit commercial use and use inside software applications without its written authorization: read terms and provenance.caveats before reusing any value.

Mots-clés en anglais
CIHI, health workforce, physicians, nurses, nursing, pharmacists, physiotherapists, occupational therapists, personal support workers, health human resources, supply, workbooks
Mots-clés en français
ICIS, main-d'œuvre de la santé, médecins, infirmières, personnel infirmier, pharmaciens, physiothérapeutes, ergothérapeutes, préposés aux services de soutien à la personne, ressources humaines en santé, effectifs, classeurs
Paramètres de cihi_workforce_list_workbooks
ParamètreTypeDéfaut
querystr | nullnull
include_earlierboolfalse
lang"en" | "fr""en"
call_tool {"name": "cihi_workforce_list_workbooks", "arguments": {}}

Fédéral et national

Commission canadienne du lait

cdc_

Commission canadienne du lait (cdc-ccl.ca), outils préfixés cdc_ : prix des composants du lait des classes spéciales ($/kg de matière grasse, protéines et autres solides pour les classes 3(d), 4(a), 4(m), 5(a), 5(b), 5(c), mensuels depuis 2002)…

Description complète

Commission canadienne du lait (cdc-ccl.ca), outils préfixés cdc_ : prix des composants du lait des classes spéciales ($/kg de matière grasse, protéines et autres solides pour les classes 3(d), 4(a), 4(m), 5(a), 5(b), 5(c), mensuels depuis 2002), prix de soutien du beurre depuis 2010, cible nationale de production laitière (quota total en kg de matière grasse, mensuel depuis 2017), Système harmonisé de classification du lait, et fichier de données de marché de la CCL (production de lait par province depuis 2016, ventes par classe en litres, kg et dollars pour les dix provinces et les régions Est et Ouest depuis juillet 2020, fermes expédiant du lait). cdc_list_datasets indique aussi les offices de commercialisation provinciaux et les agences nationales de la volaille et des œufs vérifiés le 2026-09-26, dont les données sont en PDF, bloquées ou limitées par leurs conditions, avec les tableaux de StatCan (wds_) comme solution de rechange.

6 outils

cdc_get_butter_support_pricesGet the Canadian Dairy Commission's butter support price ($/kg) since 2010.

Utilisation : the price at which the CDC buys and sells butter, set each year (usually effective February 1, sometimes mid-year such as May 2024 or September 2022) after its cost of production study and consultations. Each row keeps the published label ("2024 (May)", "2024 (mai)" with lang="fr") and an effective date. The CDC has not bought skim milk powder since 2017, so there is no powder support price. lang switches labels, notes and the linked page; values are identical in both languages.

Mots-clés en anglais
butter support price, support price, butter price, Canadian Dairy Commission, CDC, dairy policy, farm gate milk price, supply management
Mots-clés en français
prix de soutien du beurre, prix de soutien, prix du beurre, Commission canadienne du lait, CCL, politique laitière, prix du lait à la ferme, gestion de l'offre
Paramètres de cdc_get_butter_support_prices
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "cdc_get_butter_support_prices", "arguments": {}}
cdc_get_component_pricesGet CDC special milk class component prices ($/kg butterfat, protein, other solids), monthly.

Utilisation : the price of milk components in classes 3(d) (restaurant pizza mozzarella), 4(a) (butter, powders), 4(m) (animal feed), and 5(a), 5(b), 5(c) (dairy ingredients for further processing and confectionery), from January 2002 to the latest announced month. year_from/year_to pick calendar years (default: the current year); milk_class filters one class ("5(a)", "5a", "3D"). Rows are sorted by month and class; a price the CDC does not set (0 or blank in its file) is None. In classes 4(a), 4(m), 5(b) and 5(c) the CDC prices protein and other solids together as solids non-fat, so protein_per_kg equals other_solids_per_kg there (as published, checked against pricing_history_2026.csv). For the butter support price use cdc_get_butter_support_prices; for class definitions, cdc_get_milk_classes. lang switches notes and the linked page.

Mots-clés en anglais
milk price, component pricing, special milk class, butterfat price, protein price, other solids, class 5, class 4(a), Canadian Dairy Commission, dairy ingredients, SMCPP
Mots-clés en français
prix du lait, prix des composants, classes spéciales, prix de la matière grasse, prix des protéines, autres solides, classe 5, classe 4(a), Commission canadienne du lait, ingrédients laitiers
Paramètres de cdc_get_component_prices
ParamètreTypeDéfaut
year_fromint | nullnull
year_toint | nullnull
milk_classstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "cdc_get_component_prices", "arguments": {}}
cdc_get_milk_classesGet the Harmonized Milk Classification System: which products belong to each milk class.

Utilisation : looking up what dairy products fall in classes 1 to 5 and their subclasses (1(a) fluid milk, 2(a) yogurt, 3(a)-3(d) cheeses, 4(a) butter and powders, 4(m) animal feed, 5(a)-5(c) ingredients for further processing), which provincial boards use to bill milk components. milk_class filters by class or prefix ("3", "3(c)", "4a"). lang="fr" returns the French product descriptions.

Mots-clés en anglais
milk class, harmonized milk classification, dairy product classes, class 1 fluid milk, cheese class, butter, yogurt, Canadian Dairy Commission
Mots-clés en français
classe de lait, classification harmonisée du lait, classes de produits laitiers, lait de consommation, crème, fromage, beurre, yogourt, Commission canadienne du lait
Paramètres de cdc_get_milk_classes
ParamètreTypeDéfaut
milk_classstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "cdc_get_milk_classes", "arguments": {}}
cdc_get_national_quotaGet Canada's national milk production target (total quota), monthly, in kg of butterfat.

Utilisation : the monthly total quota the CDC sets for Canada under the Canadian Milk Supply Management Committee, from January 2017 (the CDC publishes earlier years only by email request). Default: the latest year. Rows give year, month, kilograms of butterfat, the figure exactly as published and, for 2017-2018, the change from a year earlier. Notes flag months the pages omit (December 2018) and figures that are not valid numbers (March 2023). For actual farm production by province use cdc_query_market_data(dataset= "production"). lang switches notes and the linked pages.

Mots-clés en anglais
national milk production target, total quota, milk quota, butterfat, dairy production, supply management, CMSMC, Canadian Dairy Commission
Mots-clés en français
cible nationale de production laitière, quota total, quota de lait, matière grasse, production laitière, gestion de l'offre, CCGAL, Commission canadienne du lait
Paramètres de cdc_get_national_quota
ParamètreTypeDéfaut
year_fromint | nullnull
year_toint | nullnull
lang"en" | "fr""en"
call_tool {"name": "cdc_get_national_quota", "arguments": {}}
cdc_list_datasetsList the Canadian Dairy Commission datasets available here, and the marketing boards checked.

Utilisation : seeing which dairy supply management data this server reaches (component prices, butter support price, national total quota, milk classes, production and milk class sales) and which tool returns each; and learning why provincial milk marketing boards (Dairy Farmers of Ontario, Les Producteurs de lait du Québec, Alberta Milk, BC Milk Marketing Board) and the national egg, chicken, turkey and hatching egg agencies have no tool (PDF only, captcha, or terms), with StatCan tables to use instead. No upstream call is made. lang="fr" returns French titles, notes and names (organizations without an official French name keep their own).

Mots-clés en anglais
Canadian Dairy Commission, CDC, dairy, supply management, marketing board, milk, quota, egg farmers, chicken farmers, turkey, catalogue
Mots-clés en français
Commission canadienne du lait, CCL, produits laitiers, gestion de l'offre, office de commercialisation, lait, quota, Producteurs de lait du Québec, producteurs d'œufs, producteurs de poulet, dindon, volaille, catalogue
Paramètres de cdc_list_datasets
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "cdc_list_datasets", "arguments": {}}
cdc_query_market_dataQuery CDC market data: milk production by province, milk class sales, farms shipping milk.

Utilisation : monthly farm milk production in litres by province (dataset="production", since January 2016); monthly milk sales by class and subclass for the ten provinces ("sales_p10") or the East and West pools ("sales_by_region", with region), since July 2020, as litres, kg and dollars of butterfat, protein and other solids (segment, e.g. "butterfat_revenue"); and farms shipping milk on August 1 by province ("farms"). Filters: province (two-letter code), milk_class ("4", "4A", "3(b)"), dates as YYYY, YYYY-MM or YYYY-MM-DD. Newest rows first, up to limit (max 5000). Revenue divided by kg sold gives an average price per kg. lang="fr" returns French labels (region "Est"/"Ouest" is accepted too).

Mots-clés en anglais
milk production, dairy sales, milk class sales, butterfat sales, dairy farms, P10, milk pool, Canadian Dairy Commission, provincial milk production
Mots-clés en français
production de lait, production laitière par province, ventes de produits laitiers, ventes par classe, ventes de matière grasse, fermes laitières, producteurs de lait, P10, mise en commun du lait, Commission canadienne du lait
Paramètres de cdc_query_market_data
ParamètreTypeDéfaut
dataset"production" | "sales_p10" | "sales_by_region" | "farms"obligatoire
provincestr | nullnull
regionstr | nullnull
milk_classstr | nullnull
segment"volume" | "butterfat_sales" | "butterfat_revenue" | "protein_sales" | "protein_revenue" | "other_solids_sales" | "other_solids_revenue" | "farm_count" | nullnull
date_fromstr | nullnull
date_tostr | nullnull
limitint500
lang"en" | "fr""en"
call_tool {"name": "cdc_query_market_data", "arguments": {"dataset": "…"}}

Fédéral et national

Divulgation proactive : contrats, subventions et contributions, voyages et accueil

disclosure_

Divulgation proactive fédérale (tableaux pangouvernementaux de publication proactive du Conseil du Trésor sur ouvert.canada.ca, outils préfixés disclosure_) : contrats de plus de 10 000 $ (1,3 million de lignes depuis 2004), subventions et contributions (1,4 million)…

Description complète

Divulgation proactive fédérale (tableaux pangouvernementaux de publication proactive du Conseil du Trésor sur ouvert.canada.ca, outils préfixés disclosure_) : contrats de plus de 10 000 $ (1,3 million de lignes depuis 2004), subventions et contributions (1,4 million), et dépenses de voyage et d'accueil des ministres, de leur personnel et des cadres supérieurs. Recherche par fournisseur, bénéficiaire ou personne, titre, ministère, programme, province, circonscription, exercice, plage de dates et de valeurs, avec pagination ; sommaires (nombre et somme des valeurs) par ministère, fournisseur ou bénéficiaire, programme, exercice et plus, calculés par MapleStats à partir des lignes, faute d'API SQL ou d'agrégation sur le portail. Les lignes de modification sont ramenées par défaut à la plus récente de chaque entente, chaque modification reprenant la valeur totale. Chaque ligne indique ses identifiants de jeu de données et de ressource et la page d'ouvert.canada.ca à citer (Licence du gouvernement ouvert - Canada).

6 outils

disclosure_list_datasetsList the federal proactive disclosure tables: ids, row counts, last update, fields, licence.

Utilisation : citing the contracts over $10,000, grants and contributions, travel expenses and hospitality expenses tables (dataset id, DataStore resource id, open.canada.ca page, the government's own search page), checking when each was last updated and how many rows it holds, and which value and date columns and group_by fields each one has for disclosure_summarize. Also flags a resource that has moved out of its package. lang picks English or French titles and links.

Mots-clés en anglais
proactive disclosure, open.canada.ca, dataset id, resource id, contracts dataset, grants dataset, travel expenses dataset, hospitality dataset, Treasury Board, last updated, citation, Open Government Licence
Mots-clés en français
divulgation proactive, ouvert.canada.ca, identifiant du jeu de données, ressource, contrats, subventions et contributions, frais de déplacement, frais d'accueil, Conseil du Trésor, mise à jour, citation, licence du gouvernement ouvert
Paramètres de disclosure_list_datasets
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "disclosure_list_datasets", "arguments": {}}
disclosure_search_contractsSearch federal contracts over $10,000 (proactive disclosure) by vendor, department, date, value.

Utilisation : who a federal department contracted with and for how much: a vendor's contracts across government (vendor, words of its name), one department's contracts (department, words of its name, or owner_org code such as 'dnd-mdn', 'pwgsc-tpsgc'), a fiscal_year ('2024-2025', grouped by the quarter each row was published), a contract_date range (date_from and date_to, YYYY-MM-DD, both), a contract value range (min_value, max_value in CAD), words of the description of work, contracts for ministers' offices, amendments only or standing offers. Each amendment is its own row and its contract_value is the amended total including taxes, so do not add rows up: use disclosure_summarize. sort by date (default, newest first) or value; limit up to 100, page with offset. Every record carries its dataset and resource ids and the Open Government Portal page to cite. Not total spending or headcount: for a department's expenditures or FTEs use gc_infobase_.

Mots-clés en anglais
federal contracts, government procurement, contracts over $10, 000, proactive disclosure, vendor, supplier, contract value, amendment, sole source, non-competitive, standing offer, consulting contracts, department contracts
Mots-clés en français
contrats fédéraux, marchés publics, approvisionnement, divulgation proactive, contrats de plus de 10 000 $, fournisseur, valeur du contrat, modification de contrat, fournisseur unique, non concurrentiel, offre à commandes, contrats ministériels
Paramètres de disclosure_search_contracts
ParamètreTypeDéfaut
vendorstr | nullnull
departmentstr | nullnull
owner_orgstr | nullnull
descriptionstr | nullnull
fiscal_yearstr | nullnull
date_fromstr | nullnull
date_tostr | nullnull
min_valuefloat | nullnull
max_valuefloat | nullnull
instrument_type"contract" | "amendment" | "standing_offer" | nullnull
ministers_officebool | nullnull
sort"date_desc" | "date_asc" | "value_desc" | "value_asc""date_desc"
limitint25
offsetint0
lang"en" | "fr""en"
call_tool {"name": "disclosure_search_contracts", "arguments": {}}
disclosure_search_grantsSearch federal grants and contributions (proactive disclosure) by recipient, program, riding.

Utilisation : which organizations or people received federal grants or contributions and how much: a recipient (words of its legal name), a funding department (department or owner_org code), a program (words of its name), the recipient's province (two-letter code), a federal riding (name words or number), grant, contribution or other transfer, an agreement start date range (date_from and date_to, YYYY-MM-DD, or fiscal_year '2024-2025'), and an agreement value range in CAD. Each amendment is a new row with the same ref_number restating the whole agreement_value, so use disclosure_summarize for totals. sort by date or value; limit up to 100, page with offset. Every record carries its dataset and resource ids and the Open Government Portal page to cite. Not total spending or headcount: for a department's expenditures or FTEs use gc_infobase_.

Mots-clés en anglais
grants and contributions, federal funding, transfer payments, proactive disclosure, recipient, funding program, riding, constituency, contribution agreement, subsidy, nonprofit funding, business support
Mots-clés en français
subventions et contributions, financement fédéral, paiements de transfert, divulgation proactive, bénéficiaire, programme de financement, circonscription, entente de contribution, aide financière, organismes sans but lucratif, soutien aux entreprises
Paramètres de disclosure_search_grants
ParamètreTypeDéfaut
recipientstr | nullnull
departmentstr | nullnull
owner_orgstr | nullnull
programstr | nullnull
descriptionstr | nullnull
provincestr | nullnull
ridingstr | nullnull
agreement_type"grant" | "contribution" | "other" | nullnull
fiscal_yearstr | nullnull
date_fromstr | nullnull
date_tostr | nullnull
min_valuefloat | nullnull
max_valuefloat | nullnull
sort"date_desc" | "date_asc" | "value_desc" | "value_asc""date_desc"
limitint25
offsetint0
lang"en" | "fr""en"
call_tool {"name": "disclosure_search_grants", "arguments": {}}
disclosure_search_hospitalitySearch hospitality expenses of federal ministers and senior officials (proactive disclosure).

Utilisation : meals, receptions and events hosted by a minister, political staffer or senior official: who hosted (name words), their title, the department, ministers and their staff (disclosure_group='ministers') or senior officers ('senior_officials'), words of the event's purpose (description), the restaurant or vendor, an event date range (date_from and date_to, YYYY-MM-DD, or fiscal_year), and the total cost in CAD. Each record gives the location, vendors, number of officials and guests attending, and total cost. Quarterly disclosures. sort by date or value; limit up to 100, page with offset. Totals: disclosure_summarize( dataset='hospitality'). Not total spending or headcount: for a department's expenditures or FTEs use gc_infobase_.

Mots-clés en anglais
hospitality expenses, ministers hospitality, receptions, business meals, events, senior officials, proactive disclosure, entertainment costs, guests, catering, restaurant, deputy minister
Mots-clés en français
frais d'accueil, dépenses d'accueil, accueil des ministres, réceptions, repas d'affaires, événements, cadres supérieurs, divulgation proactive, invités, traiteur, restaurant, sous-ministre
Paramètres de disclosure_search_hospitality
ParamètreTypeDéfaut
namestr | nullnull
titlestr | nullnull
departmentstr | nullnull
owner_orgstr | nullnull
disclosure_group"ministers" | "senior_officials" | nullnull
descriptionstr | nullnull
vendorstr | nullnull
fiscal_yearstr | nullnull
date_fromstr | nullnull
date_tostr | nullnull
min_valuefloat | nullnull
max_valuefloat | nullnull
sort"date_desc" | "date_asc" | "value_desc" | "value_asc""date_desc"
limitint25
offsetint0
lang"en" | "fr""en"
call_tool {"name": "disclosure_search_hospitality", "arguments": {}}
disclosure_search_travelSearch travel expenses of federal ministers and senior officials (proactive disclosure).

Utilisation : a minister's, political staffer's or senior official's trips: who travelled (name, words in any order; names are often published 'Last First'), their title or position (title words, e.g. 'Minister of National Defence', 'Deputy Minister'), the department, ministers and their exempt staff (disclosure_group='ministers') or senior officers and employees ('senior_officials'), the purpose or destination, a trip start date range (date_from and date_to, YYYY-MM-DD, or fiscal_year), and the trip's total cost in CAD (min_value, max_value). Each record breaks the total into airfare, other transport, lodging, meals and other expenses. Monthly disclosures; the newest months are incomplete. sort by date or value; limit up to 100, page with offset. Totals by person, title or department: disclosure_summarize(dataset='travel'). Not total spending or headcount: for a department's expenditures or FTEs use gc_infobase_.

Mots-clés en anglais
travel expenses, ministers travel, ministerial expenses, senior officials, deputy minister, proactive disclosure, airfare, hotel, per diem, trip cost, exempt staff, government travel
Mots-clés en français
frais de déplacement, dépenses de voyage, voyages des ministres, dépenses ministérielles, cadres supérieurs, sous-ministre, divulgation proactive, billets d'avion, hébergement, repas, personnel exonéré, déplacements gouvernementaux
Paramètres de disclosure_search_travel
ParamètreTypeDéfaut
namestr | nullnull
titlestr | nullnull
departmentstr | nullnull
owner_orgstr | nullnull
disclosure_group"ministers" | "senior_officials" | nullnull
purposestr | nullnull
destinationstr | nullnull
fiscal_yearstr | nullnull
date_fromstr | nullnull
date_tostr | nullnull
min_valuefloat | nullnull
max_valuefloat | nullnull
sort"date_desc" | "date_asc" | "value_desc" | "value_asc""date_desc"
limitint25
offsetint0
lang"en" | "fr""en"
call_tool {"name": "disclosure_search_travel", "arguments": {}}
disclosure_summarizeTotal federal contracts, grants, travel or hospitality spending (count, sum) grouped by a field.

Utilisation : top departments by contract value in a fiscal year, top vendors of one department, a recipient's grants by program, grants and contributions by province or riding, a minister's travel cost by fiscal year, travel or hospitality totals by person, title or department. dataset: contracts, grants, travel or hospitality. group_by: department (all), fiscal_year (all; April to March), vendor, quarter, commodity_type, solicitation_procedure, instrument_type, country_of_vendor, economic_object_code (contracts); recipient, program, province, riding, recipient_type, agreement_type (grants); name, title, disclosure_group (travel, hospitality); vendor (hospitality). Filters as in the search tools: department words or owner_org code, fiscal_year or date_from and date_to, party (vendor, recipient or person's name words), title (travel, hospitality), program and province (grants), disclosure_group, min_value and max_value. The default value_mode counts each contract or grant once at its most recent amended value; 'all_rows' sums every row as published, which double-counts amendments. The portal has no SQL or aggregate API, so the matching rows (up to 100,000) are read and summed here; narrow by fiscal year or department when refused. Not total spending or headcount: for a department's expenditures or FTEs use gc_infobase_.

Mots-clés en anglais
total contract value, contract value by department, top vendors, procurement totals, grants by province, funding by riding, travel costs, hospitality costs, proactive disclosure, aggregate, sum, ranking
Mots-clés en français
valeur totale des contrats, contrats par ministère, principaux fournisseurs, total des marchés, subventions par province, financement par circonscription, coûts de déplacement, frais d'accueil, divulgation proactive, somme, classement, agrégat
Paramètres de disclosure_summarize
ParamètreTypeDéfaut
dataset"contracts" | "grants" | "travel" | "hospitality"obligatoire
group_by"department" | "vendor" | "recipient" | "name" | "title" | "program" | "province" | "riding" | "fiscal_year" | "quarter" | "commodity_type" | "solicitation_procedure" | "instrument_type" | "country_of_vendor" | "economic_object_code" | "recipient_type" | "agreement_type" | "disclosure_group""department"
departmentstr | nullnull
owner_orgstr | nullnull
fiscal_yearstr | nullnull
date_fromstr | nullnull
date_tostr | nullnull
partystr | nullnull
titlestr | nullnull
programstr | nullnull
provincestr | nullnull
disclosure_group"ministers" | "senior_officials" | nullnull
min_valuefloat | nullnull
max_valuefloat | nullnull
value_mode"latest_per_agreement" | "all_rows""latest_per_agreement"
topint25
lang"en" | "fr""en"
call_tool {"name": "disclosure_summarize", "arguments": {"dataset": "…"}}

Fédéral et national

Fichiers du Catalogue de données d'ECCC (INRP, PDGES, SNPA)

eccc_datamart_

Arborescence de fichiers du Catalogue de données d'Environnement et Changement climatique Canada (outils préfixés eccc_datamart_), data-donnees.az.ec.gc.ca : parcourir les dossiers (air, climat, glace, substances, eaux, espèces, sites…

Description complète

Arborescence de fichiers du Catalogue de données d'Environnement et Changement climatique Canada (outils préfixés eccc_datamart_), data-donnees.az.ec.gc.ca : parcourir les dossiers (air, climat, glace, substances, eaux, espèces, sites, météo et autres) avec taille et date de modification des fichiers ; rechercher les dossiers de données par mots (titres bilingues) ; décrire un fichier CSV ou Excel (feuilles, en-tête deviné, colonnes, aperçu, fichiers « Lisez-moi » et dictionnaires de données du même dossier) ; lire des lignes avec choix des colonnes, filtres exacts, filtre de texte et pagination (fichiers d'au plus 40 Mo ; archives ZIP, Word, PDF et images listés mais non ouverts). Recherches directes : Inventaire national des rejets de polluants (INRP) par installation (tableaux annuels depuis 2020) et émissions des installations du Programme de déclaration des gaz à effet de serre (PDGES) par gaz depuis 2004, filtrées par installation, entreprise, province, substance, SCIAN et année. Couvre les dossiers annuels du SNPA depuis 1974, la surveillance des sables bitumineux et les données de recherche d'ECCC. Licence du gouvernement ouvert – Canada (usage commercial permis, mention de la source exigée). Les points d'accès des dossiers et des fichiers sont ceux de la page Web du catalogue ; ils ne sont pas documentés. Pour la météo, les stations climatologiques et l'hydrométrie, voir eccc_.

6 outils

eccc_datamart_browseList a folder of the Environment and Climate Change Canada Data Catalogue.

Utilisation : walking ECCC's open data file tree at data-donnees.az.ec.gc.ca: top folders air, climate, ice, instruments, managementoversight, partnerships, regulatee, sites, species, substances, water and weather; dataset folders such as the National Pollutant Release Inventory (NPRI), Greenhouse Gas Reporting Program (GHGRP), National Air Pollution Surveillance (NAPS) year folders from 1974, oil sands monitoring. Each entry has its kind (folder, table, documentation, archive, other), bilingual display name, size as listed (rounded, e.g. 36 MiB), modified date, whether eccc_datamart_read_file can read it, and the download link. The folder's open.canada.ca record is linked when it has one. path is a folder path ("/substances/monitor"), or a catalogue page or file URL. Licence: Open Government Licence - Canada (commercial use allowed, attribution). lang picks the display names.

Mots-clés en anglais
ECCC, Environment Canada, data catalogue, Data Mart, file tree, browse folder, NPRI, GHGRP, NAPS, oil sands monitoring, open data files, downloads
Mots-clés en français
Environnement et Changement climatique Canada, ECCC, Environnement Canada, catalogue de données, arborescence de fichiers, parcourir un dossier, INRP, PDGES, SNPA, surveillance des sables bitumineux, fichiers de données ouvertes, téléchargements
Paramètres de eccc_datamart_browse
ParamètreTypeDéfaut
pathstr"/"
limitint200
offsetint0
lang"en" | "fr""en"
call_tool {"name": "eccc_datamart_browse", "arguments": {}}
eccc_datamart_describe_fileDescribe a CSV or Excel file of the ECCC Data Catalogue before reading it.

Utilisation : seeing a file's sheets with declared size, the guessed header row, column names and the first rows, plus the read-me, data dictionary and metadata files of the same folder (with the start of a small CSV or TXT read-me, such as the GHGRP 'Lisez Moi - Read Me' notes). path is a file path from eccc_datamart_browse (or its download URL). Reads .csv, .tsv, .txt, .xlsx and .xls files up to 40 MB, in UTF-8 or Windows-1252. ZIP archives (NAPS integrated data, the 175 MB NPRI database), Word data dictionaries, PDFs and images are not opened: the error gives their download link. Licence: Open Government Licence - Canada.

Mots-clés en anglais
ECCC, describe file, columns, header, sheets, CSV, Excel, data dictionary, read me, metadata, preview
Mots-clés en français
Environnement et Changement climatique Canada, ECCC, décrire un fichier, colonnes, en-tête, feuilles, CSV, Excel, dictionnaire de données, lisez-moi, métadonnées, aperçu
Paramètres de eccc_datamart_describe_file
ParamètreTypeDéfaut
pathstrobligatoire
sheetstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "eccc_datamart_describe_file", "arguments": {"path": "…"}}
eccc_datamart_ghgrp_facilitiesLook up Greenhouse Gas Reporting Program (GHGRP) facility emissions, 2004 onward.

Utilisation : greenhouse gas emissions of large emitters by facility and year: a facility's emissions over time, the largest emitters in a province or industry (oil sands, refineries, cement, steel, power plants, pipelines), emissions by gas (CO2, CH4, N2O, HFC, PFC, SF6, in tonnes CO2e) and total CO2e. Filters: year (or year to year_to; default every year), facility and company (words in the name, legal or trade), province (code or name), naics (code prefix), ghgrp_id (e.g. G10001), npri_id. order largest ranks by total CO2e; total_co2e_sum adds up every match. Facility public contact details in the file are left out. Licence: Open Government Licence - Canada.

Mots-clés en anglais
GHGRP, greenhouse gas emissions, facility emissions, large emitters, CO2, methane, carbon dioxide equivalent, climate, industrial emissions, oil sands
Mots-clés en français
PDGES, émissions de gaz à effet de serre, GES par installation, grands émetteurs, CO2, méthane, équivalent dioxyde de carbone, climat, émissions industrielles, sables bitumineux, Programme de déclaration des gaz à effet de serre, Environnement et Changement climatique Canada (ECCC)
Paramètres de eccc_datamart_ghgrp_facilities
ParamètreTypeDéfaut
yearint | nullnull
year_toint | nullnull
facilitystr | nullnull
companystr | nullnull
provincestr | nullnull
naicsstr | nullnull
ghgrp_idstr | nullnull
npri_idstr | nullnull
order"file" | "largest""file"
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "eccc_datamart_ghgrp_facilities", "arguments": {}}
eccc_datamart_npri_facilitiesLook up National Pollutant Release Inventory (NPRI) data by facility and substance.

Utilisation : pollutant releases to air, water and land, disposals and transfers reported by a facility or company in one year (single-year tables, 2020 to the latest, default latest): which substances a plant or mine released, the largest emitters of a substance (PM2.5, nitrogen oxides, sulphur dioxide, mercury, VOCs) in a province, facilities in a NAICS industry. Filters: facility and company (words in the name, accents ignored), province (code or name), substance (name in English or French, or CAS number), naics (code prefix), npri_id. order largest ranks by grand total in tonnes. Each record gives units (tonnes, kg, grams, g TEQ), air, water, land and road dust, disposals, transfers and grand total, NAICS and coordinates. Years 1993-2019 are only in bulk files too large for this reader (the note says where). Reads a 34-38 MB CSV, so the first call takes about 30 seconds. Licence: Open Government Licence - Canada.

Mots-clés en anglais
NPRI, National Pollutant Release Inventory, pollutant releases, facility emissions, air emissions, toxic substances, disposals, transfers, industrial polluters
Mots-clés en français
INRP, Inventaire national des rejets de polluants, rejets de polluants, émissions des installations, émissions atmosphériques, substances toxiques, éliminations, transferts, pollueurs industriels, Environnement et Changement climatique Canada (ECCC)
Paramètres de eccc_datamart_npri_facilities
ParamètreTypeDéfaut
yearint | nullnull
facilitystr | nullnull
companystr | nullnull
provincestr | nullnull
substancestr | nullnull
naicsstr | nullnull
npri_idstr | nullnull
order"file" | "largest""file"
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "eccc_datamart_npri_facilities", "arguments": {}}
eccc_datamart_read_fileRead rows of a CSV or Excel file in the ECCC Data Catalogue.

Utilisation : getting the values in any ECCC table file: NPRI ten-year tables by province, industry and substance, GHGRP data tables, air pollutant emissions inventory, oil sands monitoring results, NAPS annual summaries, research data files. path comes from eccc_datamart_browse. columns picks columns, filters keeps rows whose column equals the value (case-insensitive), contains keeps rows with that text anywhere, offset and limit page (total_rows counts every match). header_row (1-based) and header_rows (1 to 5) fix headers the guess misses. Values come back as text, as published. Files up to 40 MB (the 34-38 MB NPRI single-year CSVs fit; prefer the CSV copy over the XLSX one, it reads much faster); larger files, ZIP archives and non-table files are refused with their download link. Licence: Open Government Licence - Canada, attribution included.

Mots-clés en anglais
ECCC, read file, rows, CSV, Excel, filter, environmental data, emissions table, monitoring data, Data Mart
Mots-clés en français
Environnement et Changement climatique Canada, ECCC, lire un fichier, lignes, CSV, Excel, filtre, données environnementales, tableau des émissions, données de surveillance
Paramètres de eccc_datamart_read_file
ParamètreTypeDéfaut
pathstrobligatoire
sheetstr | nullnull
columnslist[str] | nullnull
filtersdict[str, str] | nullnull
containsstr | nullnull
header_rowint | nullnull
header_rowsint1
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "eccc_datamart_read_file", "arguments": {"path": "…"}}

Fédéral et national

CRTC : prix des forfaits mobiles et Internet et marchés des télécommunications

telecom_

Données des Rapports sur le marché des communications du CRTC, outils préfixés telecom_ : prix mensuels moyens annoncés des forfaits mobiles selon la quantité de données (1 Go à 200 Go, voix seulement) et des forfaits Internet résidentiels selon la vitesse…

Description complète

Données des Rapports sur le marché des communications du CRTC, outils préfixés telecom_ : prix mensuels moyens annoncés des forfaits mobiles selon la quantité de données (1 Go à 200 Go, voix seulement) et des forfaits Internet résidentiels selon la vitesse, par province et en milieu urbain ou rural, à la fin de chaque année depuis 2016, et par ville (région métropolitaine de recensement : Toronto, Edmonton, Montréal...) en moyennes que MapleStats calcule à partir du prix déclaré par chaque fournisseur ; les tableaux annuels des secteurs des services mobiles et Internet fixes de détail (revenu par Go, RMPU, utilisation de données, abonnés, parts de marché de Bell, Rogers, TELUS et des autres, taux de résiliation, répartition par taille de forfait) en séries propres ; et les séries trimestrielles des tendances actuelles (revenus, abonnés, trafic de données) depuis 2014. L'IPC mensuel des services de téléphonie cellulaire est le vecteur v1212387935 de Statistique Canada (wds_).

5 outils

telecom_get_city_plan_pricesMobile and Internet plan prices by city (census metropolitan area), CRTC survey, 2016 on.

Utilisation : comparing what a 50 GB, 5 GB or talk-only cell phone plan, or a 50/10 Mbps Internet plan, costs in each of the CRTC's 24 census metropolitan areas (CMAs), year by year from 2016. Averages are computed by MapleStats from every provider's reported monthly price in the CRTC's Prix-Prices sheet (with the number of prices and providers behind each, and each provider's-lowest average, the CRTC's own method); the CRTC publishes provincial and national averages only (telecom_get_plan_prices). city is one CMA or several (a list or 'Edmonton, Toronto'), accents and case ignored ('Ottawa' finds Ottawa-Gatineau); omit it or pass 'all' for every CMA. From 2024 the CRTC surveys 13 CMAs, one per province or territory (no Calgary, Vancouver, Saskatoon, Ottawa-Gatineau or Montréal): the notes say so and point to the provincial urban average. include_rows=True adds the provider and brand rows. Prices are list prices before taxes.

Mots-clés en anglais
city, CMA, census metropolitan area, cell phone plan price by city, compare cities, mobile plan prices by provider, Internet plan price by city, telecom
Mots-clés en français
ville, RMR, région métropolitaine de recensement, prix des forfaits cellulaires par ville, comparer les villes, prix par fournisseur, prix d'Internet par ville, télécommunications
Paramètres de telecom_get_city_plan_prices
ParamètreTypeDéfaut
citystr | list[str] | nullnull
service"mobile" | "internet""mobile"
planstr | nullnull
technology"all" | "3G" | "LTE" | "5G""all"
from_yearint | nullnull
to_yearint | nullnull
include_rowsboolfalse
limitint500
lang"en" | "fr""en"
call_tool {"name": "telecom_get_city_plan_prices", "arguments": {}}
telecom_get_market_tableOne CRTC retail mobile or fixed Internet sector table as a tidy series by year.

Utilisation : annual telecom competition and usage indicators since 2013: average revenue per GB of mobile data ('MB-S3'), national mobile ARPU ('MB-F12'), average monthly data usage per subscriber ('MB-F15'), number of mobile subscribers ('MB-S5'), revenue and subscriber market shares of Bell, TELUS, Rogers and others ('MB-S1'), share of subscribers by plan size ('MB-F7'), ARPU by province ('MB-S4'), churn ('MB-S13'); for Internet, revenue per GB ('N-S4'), revenues ('N-S1'), usage ('N-F12'), overage fees ('N-S3'). table is a tab id from telecom_list_market_tables; series keeps rows whose label holds those words ('Top 3', 'Bell'). Years marked mobile_phone_only (2020 on) count mobile phone services only. Growth and CAGR columns are left out.

Mots-clés en anglais
revenue per GB, mobile ARPU, data usage per subscriber, wireless subscribers Canada, mobile market share Bell Rogers TELUS, churn rate, CRTC communications market report, telecom competition
Mots-clés en français
revenu par Go, RMPU mobile, utilisation de données par abonné, abonnés au sans-fil, part de marché Bell Rogers TELUS, taux de résiliation, rapport sur le marché des communications, concurrence
Paramètres de telecom_get_market_table
ParamètreTypeDéfaut
tablestrobligatoire
sector"mobile" | "internet""mobile"
seriesstr | nullnull
from_yearint | nullnull
to_yearint | nullnull
lang"en" | "fr""en"
call_tool {"name": "telecom_get_market_table", "arguments": {"table": "…"}}
telecom_get_plan_pricesAverage advertised monthly prices of cell phone and home Internet plans in Canada (CRTC).

Utilisation : how mobile plan prices have changed since 2016 or 2020, what a 5 GB, 10 GB, 20 GB, 50 GB or 100 GB mobile plan (or a talk-only plan) costs on average, and what a 50/10 Mbps or gigabit Internet plan costs, by province or territory and in urban or rural areas, at the end of each year from 2016 (CRTC year-end price survey, part of the Communications Market Reports). plan is a data allowance ('5 GB', '5', 'talk') or a speed ('50/10 Mbps'); omit it for every plan. province is a code (ON, QC...), 'Canada', 'Provinces', 'Territories', 'North', 'South' or 'all', or several at once to compare them (['AB', 'ON'] or 'AB, ON, QC'). These are the CRTC's own published averages; for a city (Edmonton, Toronto, Montréal...) use telecom_get_city_plan_prices. For mobile, technology='lowest' (the default) averages each provider's lowest price whatever the network; '3G', 'LTE' or '5G' keep one network. Prices are list prices before taxes, without promotions. For the monthly price index, read StatCan's cellular services CPI (vector v1212387935; Internet access services v41693216) with wds_get_data_from_vectors.

Mots-clés en anglais
mobile plan prices, cell phone plan cost, wireless prices, data plan price by GB, Internet plan prices, broadband price, telecom affordability, CRTC price survey, rural vs urban prices, compare provinces
Mots-clés en français
prix des forfaits mobiles, coût d'un forfait cellulaire, prix du sans-fil, forfait de données, prix des forfaits Internet, prix de la large bande, abordabilité des télécommunications, CRTC, prix en milieu rural, comparer les provinces
Paramètres de telecom_get_plan_prices
ParamètreTypeDéfaut
service"mobile" | "internet""mobile"
planstr | nullnull
provincestr | list[str]"Canada"
region"national" | "urban" | "rural" | "all""national"
technology"lowest" | "3G" | "LTE" | "5G" | "all""lowest"
from_yearint | nullnull
to_yearint | nullnull
limitint500
lang"en" | "fr""en"
call_tool {"name": "telecom_get_plan_prices", "arguments": {}}
telecom_list_market_tablesList the CRTC's annual retail mobile or fixed Internet sector tables (tab ids and titles).

Utilisation : finding which Communications Market Report table holds a telecom market indicator before reading it with telecom_get_market_table: revenue per GB of data, ARPU, monthly data usage, number of mobile subscribers, market shares of Bell, Rogers, TELUS, flanker brands and other providers, churn, distribution of subscribers by plan size, Internet subscriptions by speed or technology, overage fees. sector is 'mobile' or 'internet'. lang='fr' reads the French workbook (figures are 'G' tabs there, MB-G12).

Mots-clés en anglais
CRTC communications market report, telecom market data, wireless competition indicators, mobile market share, broadband subscriptions, telecom sector statistics, CMR tables, ISP market
Mots-clés en français
rapport sur le marché des communications, CRTC, données du marché des télécommunications, concurrence sans fil, parts de marché mobile, abonnements à large bande, statistiques des télécoms, RMC
Paramètres de telecom_list_market_tables
ParamètreTypeDéfaut
sector"mobile" | "internet""mobile"
lang"en" | "fr""en"
call_tool {"name": "telecom_list_market_tables", "arguments": {}}

Fédéral et national

Services aux Autochtones Canada et RCAANC : Premières Nations et avis sur l'eau potable

isc_

Services aux Autochtones Canada et Relations Couronne-Autochtones et Affaires du Nord Canada, outils préfixés isc_ : trouver une Première Nation par nom, numéro ou province (646 groupes du registre, avec la population inscrite en vertu de la Loi sur les Indiens par année)…

Description complète

Services aux Autochtones Canada et Relations Couronne-Autochtones et Affaires du Nord Canada, outils préfixés isc_ : trouver une Première Nation par nom, numéro ou province (646 groupes du registre, avec la population inscrite en vertu de la Loi sur les Indiens par année) ; le profil d'une Première Nation (nom officiel, adresse, conseil tribal, réserves et superficie en hectares, administration avec chef et conseil et système électoral, zone géographique) ; la population inscrite par sexe et lieu de résidence, mensuelle d'après les Profils des Premières Nations et annuelle depuis 2023 ; les avis à long terme concernant la qualité de l'eau potable des réseaux publics, en vigueur et levés depuis 2015, avec les mesures correctives et l'étape du projet ; et les avis à court terme au sud du 60e parallèle, sauf en Colombie-Britannique. En français et en anglais.

5 outils

isc_get_first_nation_profileA First Nation's profile: name, address, tribal council, reserves, governance.

Utilisation : the official name and contact address of a First Nation, its affiliated tribal council, its reserves, settlements and villages with their area in hectares, its governance (section 10 or 11 membership authority, election system such as the First Nations Elections Act or a custom code, chief and councillors with their terms) and its geographic and environmental indices (remoteness zone, nearest service centre). band_number comes from isc_search_first_nations (Musqueam is 550). From CIRNAC's First Nation Profiles, in English or French.

Mots-clés en anglais
First Nation profile, band profile, chief and council, tribal council, reserves, reserve land hectares, band governance, election system, custom election code, CIRNAC
Mots-clés en français
profil de Première Nation, profil de bande, chef et conseil, conseil tribal, réserves, superficie des réserves, administration de la bande, système électoral, code électoral coutumier, RCAANC
Paramètres de isc_get_first_nation_profile
ParamètreTypeDéfaut
band_numberintobligatoire
lang"en" | "fr""en"
call_tool {"name": "isc_get_first_nation_profile", "arguments": {"band_number": "…"}}
isc_get_registered_populationA First Nation's registered population by sex and residence (Indian Act).

Utilisation : how many people are registered with a First Nation under the Indian Act, how many live on their own reserve, on other reserves, on Crown land or off reserve, men and women, as of the latest month in the First Nation Profiles, with the yearly figures since 2023 from ISC's open dataset beside them. band_number comes from isc_search_first_nations. This is the Indian Register, not the census: census counts of people living in a community are Statistics Canada's (statcan_census_profile_).

Mots-clés en anglais
registered population, Indian Register, status Indians, on-reserve population, off-reserve population, First Nation membership, band population, Indian Act registration, ISC
Mots-clés en français
population inscrite, Registre des Indiens, Indiens inscrits, population dans les réserves, population hors réserve, effectif de la Première Nation, population de la bande, inscription en vertu de la Loi sur les Indiens, SAC
Paramètres de isc_get_registered_population
ParamètreTypeDéfaut
band_numberintobligatoire
lang"en" | "fr""en"
call_tool {"name": "isc_get_registered_population", "arguments": {"band_number": "…"}}
isc_list_drinking_water_advisoriesLong-term drinking water advisories on First Nations public systems (ISC).

Utilisation : which First Nations have a long-term drinking water advisory in effect (in place more than a year on a public system financially supported by ISC), since when, the system, the corrective measure and the project phase (feasibility, design, construction), and which were lifted since November 2015 and when. status picks current, lifted or all; province is a code or name; community matches a name or a band number. National counts come back with any filter. Short-term advisories: isc_list_short_term_advisories.

Mots-clés en anglais
drinking water advisory, long-term advisory, boil water advisory, do not consume, First Nations, public system, lifted advisories, treatment plant, corrective measure
Mots-clés en français
avis concernant la qualité de l'eau potable, avis à long terme, avis d'ébullition de l'eau, avis de ne pas consommer, eau potable des Premières Nations, réseau d'aqueduc, avis levés, usine de traitement de l'eau
Paramètres de isc_list_drinking_water_advisories
ParamètreTypeDéfaut
status"current" | "lifted" | "all""current"
provincestr""
communitystr""
limitint200
lang"en" | "fr""en"
call_tool {"name": "isc_list_drinking_water_advisories", "arguments": {}}
isc_list_short_term_advisoriesShort-term drinking water advisories in First Nations south of 60 (ISC).

Utilisation : the boil water, do not consume and do not use advisories that ISC lists for First Nations in the Atlantic provinces, Quebec, Ontario, Manitoba, Saskatchewan and Alberta, in effect or revoked this month, with the system, date set, date revoked and population served. province is a code, a name or an ISC region ("Atlantic"); community matches the First Nation or community; active_only keeps those in effect. British Columbia's are published by the First Nations Health Authority, not here.

Mots-clés en anglais
short-term drinking water advisory, boil water advisory, do not consume advisory, do not use advisory, First Nations, south of 60, revoked advisory, ISC
Mots-clés en français
avis à court terme concernant la qualité de l'eau potable, avis d'ébullition de l'eau, avis de ne pas boire l'eau, avis de non-utilisation, qualité de l'eau des Premières Nations, avis levé, eau potable au sud du 60e parallèle, SAC
Paramètres de isc_list_short_term_advisories
ParamètreTypeDéfaut
provincestr""
communitystr""
active_onlyboolfalse
lang"en" | "fr""en"
call_tool {"name": "isc_list_short_term_advisories", "arguments": {}}
isc_search_first_nationsFind First Nations (bands) by name, band number or province (ISC).

Utilisation : looking up a First Nation's band number before reading its profile, registered members or advisories; listing the First Nations of a region with their ISC region and how many members live on and off reserve. query matches words of the English or French name ("musqueam", "cree") or a band number ("550"); empty lists all. province is a code (ON, BC...) or a name. Reads ISC's yearly Indian Register counts (646 registry groups, at December 31).

Mots-clés en anglais
First Nations, band number, Indian band, registry group, Indigenous communities, First Nations list, reserves, Indian Act, Indigenous Services Canada, registered Indians
Mots-clés en français
Premières Nations, numéro de bande, bande indienne, groupe du registre, communautés autochtones, liste des Premières Nations, réserves, Loi sur les Indiens, Services aux Autochtones Canada, Indiens inscrits
Paramètres de isc_search_first_nations
ParamètreTypeDéfaut
querystr""
provincestr""
limitint50
lang"en" | "fr""en"
call_tool {"name": "isc_search_first_nations", "arguments": {}}

Fédéral et national

Statistiques de l'impôt des particuliers de l'ARC

cra_tax_stats_

Statistiques de l'impôt sur le revenu des particuliers de l'ARC (outils préfixés cra_tax_stats_) : tableaux de base finaux T1 (Statistiques sur les déclarations de revenus et de prestations des particuliers), années d'imposition 2018 à 2024, par province, catégorie de revenu…

Description complète

Statistiques de l'impôt sur le revenu des particuliers de l'ARC (outils préfixés cra_tax_stats_) : tableaux de base finaux T1 (Statistiques sur les déclarations de revenus et de prestations des particuliers), années d'imposition 2018 à 2024, par province, catégorie de revenu, source de revenu, âge et genre, avec n'importe quel poste en série d'une édition à l'autre ; et statistiques par région de tri d'acheminement (RTA, les trois premiers caractères du code postal), années d'imposition 2017 à 2021 : déclarations, revenu total, net et imposable, par catégorie de revenu, sexe, source et âge. Les noms de fichiers, en-têtes et unités changent d'une édition à l'autre ; les montants sont ramenés en milliers de dollars. Licence : Licence du gouvernement ouvert - Canada.

5 outils

cra_tax_stats_get_fsa_seriesFollow one forward sortation area's tax statistics across tax years (CRA, 2017-2021).

Utilisation : how the number of tax filers or total income in one postal code area (FSA, e.g. T5K) changed from year to year, in the same units across editions (thousands of dollars; CRA switched from dollars to thousands in 2021). item is the exact column label ("Total income", "Total"), case ignored; without it every column of the table is returned. FSA boundaries can change between years.

Mots-clés en anglais
CRA, FSA, forward sortation area, postal code, income trend, tax filers, time series, neighbourhood, local income, total income
Mots-clés en français
ARC, RTA, région de tri d'acheminement, code postal, déclarants, série chronologique, évolution annuelle, impôt des particuliers, statistiques fiscales locales, années d'imposition
Paramètres de cra_tax_stats_get_fsa_series
ParamètreTypeDéfaut
fsastrobligatoire
table"1a" | "1b" | "1c" | "1d" | "1e" | "2""1a"
itemstr | nullnull
from_yearint | nullnull
to_yearint | nullnull
lang"en" | "fr""en"
call_tool {"name": "cra_tax_stats_get_fsa_series", "arguments": {"fsa": "…"}}
cra_tax_stats_get_fsa_tableRead CRA income tax statistics by forward sortation area (postal code area) for one year.

Utilisation : tax filers and income for a neighbourhood or small area by the first three characters of its postal code (FSA, e.g. T5K, M5V, H2X), tax years 2017-2021. Tables: 1a returns, total, net and taxable income; 1b returns by total income class; 1c males and 1d females by income class; 1e returns and amounts by source of income (employment, pension, investment, self-employment, benefits, other); 2 returns by age group. Filter with fsa (a list, up to 100) or province (two-letter code or SGC number); fsa=["Total"] with a province gives the province total. Amounts are in thousands of dollars for every year (CRA published whole dollars to 2020). Individual tax filers, not households: for household income use the census.

Mots-clés en anglais
CRA, FSA, forward sortation area, postal code, neighbourhood income, tax filers, total income, small area income, income by postal code
Mots-clés en français
ARC, RTA, région de tri d'acheminement, code postal, déclarants, impôt des particuliers, revenu total par code postal, petites régions, statistiques fiscales locales, tranches d'âge
Paramètres de cra_tax_stats_get_fsa_table
ParamètreTypeDéfaut
tax_yearintobligatoire
table"1a" | "1b" | "1c" | "1d" | "1e" | "2""1a"
fsalist[str] | nullnull
provincestr | nullnull
itemstr | nullnull
limitint200
offsetint0
lang"en" | "fr""en"
call_tool {"name": "cra_tax_stats_get_fsa_table", "arguments": {"tax_year": "…"}}
cra_tax_stats_get_t1_seriesFollow one T1 line item across tax years (CRA T1 Final Basic Tables, 2018-2024).

Utilisation : a time series of a CRA income tax statistic, e.g. total income assessed, number of returns, RRSP deductions or capital gains, for Canada, one province, one income class or one age group, read from each yearly edition and put in the same units (thousands of dollars; Table 1 was published in millions to 2021). item is the exact label as cra_tax_stats_get_t1_table shows it ("Total income assessed", "Employment income"), case ignored; line numbers are not used because they shift between editions. group is the exact income class, age group or province ("Total" or "Canada" when omitted). return_type applies to Table 1 only ("All returns", "Taxable returns", "Non-taxable returns", or null for all three). Years where the label is not found are listed in missing_years.

Mots-clés en anglais
CRA, T1 statistics, time series, trend, tax years, income tax, total income, tax filers, harmonized, editions
Mots-clés en français
ARC, statistiques T1, série chronologique, tendance, années d'imposition, impôt sur le revenu, revenu total, déclarants, harmonisé, éditions
Paramètres de cra_tax_stats_get_t1_series
ParamètreTypeDéfaut
tableintobligatoire
itemstrobligatoire
groupstr | nullnull
areastr"ca"
return_typestr | null"All returns"
measure"number" | "amount" | nullnull
from_yearint | nullnull
to_yearint | nullnull
lang"en" | "fr""en"
call_tool {"name": "cra_tax_stats_get_t1_series", "arguments": {"table": "…", "item": "…"}}
cra_tax_stats_get_t1_tableRead one T1 Final Basic Table (CRA income tax return statistics) for one tax year.

Utilisation : number of tax filers, total income, deductions, taxable income, federal and provincial tax, and any T1 line item (employment income, RRSP deductions, capital gains, CPP contributions, charitable donations ...) by province, income class, source of income, or age and gender, tax years 2018-2024. Tables: 1 general statement by province (returns, total income, deductions, taxable income, credits, federal, provincial and total tax; taxable, non-taxable and all returns); 2 line items by total income class; 3 by major source of income; 4 by age group and gender; 5 by province of residence. area is "ca" (all of Canada), a two-letter province code (on, qc, ab ...) or "nr" (non-residents); Tables 2 and 4 (and 3 to 2021) have province files, Tables 1 and 5 only "ca". item and group filter by words in the label (or item by line number). Rows are long: one per item, group and measure (number of returns, or amount in thousands of dollars for every edition, with the unit the file published).

Mots-clés en anglais
CRA, T1 final statistics, income tax returns, tax filers, total income, taxable income, income class, income bracket, line items, deductions, tax payable
Mots-clés en français
ARC, statistiques finales T1, déclarations de revenus, déclarants, revenu total, revenu imposable, catégorie de revenu, tranche de revenu, postes, déductions, impôt à payer
Paramètres de cra_tax_stats_get_t1_table
ParamètreTypeDéfaut
tax_yearintobligatoire
tableint1
areastr"ca"
itemstr | nullnull
groupstr | nullnull
measure"number" | "amount" | nullnull
limitint200
offsetint0
lang"en" | "fr""en"
call_tool {"name": "cra_tax_stats_get_t1_table", "arguments": {"tax_year": "…"}}
cra_tax_stats_list_tablesList the CRA individual tax statistics editions covered, and one edition's tables.

Utilisation : finding which tax years and tables cra_tax_stats_ reads before asking for values. series is "t1_final" (the T1 Final Basic Tables, Individual Income Tax Return Statistics, tax years 2018-2024) or "fsa" (statistics by forward sortation area, tax years 2017-2021). Without tax_year it lists the editions and table titles; with one it reads that edition's package on open.canada.ca and lists the CSV files found (table, area, file link), which shows gaps such as a province file published only as a PDF.

Mots-clés en anglais
CRA, Canada Revenue Agency, T1 final statistics, individual income tax return statistics, tax year, editions, tables, forward sortation area, FSA, income tax statistics
Mots-clés en français
ARC, Agence du revenu du Canada, statistiques finales T1, statistiques sur les déclarations des particuliers, année d'imposition, éditions, tableaux, région de tri d'acheminement, RTA, statistiques fiscales
Paramètres de cra_tax_stats_list_tables
ParamètreTypeDéfaut
series"t1_final" | "fsa""t1_final"
tax_yearint | nullnull
lang"en" | "fr""en"
call_tool {"name": "cra_tax_stats_list_tables", "arguments": {}}

Fédéral et national

Élus et circonscriptions, par Open North Represent

represent_

Élus et circonscriptions électorales de l'API Represent d'Open North (site non gouvernemental) : trouver le député fédéral, le député provincial et le maire ou le conseiller d'un code postal ou d'une latitude/longitude, chercher parmi 3 800 élus par nom, fonction…

Description complète

Élus et circonscriptions électorales de l'API Represent d'Open North (site non gouvernemental) : trouver le député fédéral, le député provincial et le maire ou le conseiller d'un code postal ou d'une latitude/longitude, chercher parmi 3 800 élus par nom, fonction, circonscription, parti ou palier, et lister les 524 ensembles de limites avec leur licence et leur date de mise à jour. Gratuit jusqu'à 60 requêtes par minute ; les données sur les élus sont extraites de sites officiels et leur licence n'est pas vérifiée.

5 outils

represent_list_boundary_setsList electoral boundary sets with their licence and last-updated date.

Utilisation : finding which boundary sets exist (524: federal and provincial electoral districts, municipal wards, census divisions and subdivisions), judging how stale one is (last_updated, possibly_stale) and reading its licence_url before reuse. Filter by domain (Canada, a province, or a city such as "Toronto") or by name (e.g. "ward"). With with_details true, up to 25 sets per call are fetched individually because the list itself carries no licence or date; page with offset. Source is Open North (unofficial); licences differ per set.

Mots-clés en anglais
boundary sets, electoral districts, wards, ridings, licence, last updated, stale, shapefile source, census subdivisions, open government licence
Mots-clés en français
ensembles de limites, circonscriptions, quartiers, licence, dernière mise à jour, périmé, source géographique, subdivisions de recensement, licence du gouvernement ouvert
Paramètres de represent_list_boundary_sets
ParamètreTypeDéfaut
domainstr | nullnull
namestr | nullnull
with_detailsbooltrue
limitint20
offsetint0
lang"en" | "fr""en"
call_tool {"name": "represent_list_boundary_sets", "arguments": {}}
represent_list_representative_setsList the 121 sets of representatives (House of Commons, legislatures, city councils).

Utilisation : finding the slug of a legislature or council to pass to represent_search_representatives (representative_set), and checking which cities and provinces are covered at all. level is federal, provincial or municipal. Coverage is partial: only some municipal councils are included, and sets carry no update date. Source is Open North (unofficial).

Mots-clés en anglais
representative sets, legislature, city council, House of Commons, coverage, which cities, municipal council list, assembly, provincial legislature
Mots-clés en français
ensembles d'élus, assemblée législative, conseil municipal, Chambre des communes, couverture, quelles villes, liste des conseils, assemblée nationale
Paramètres de represent_list_representative_sets
ParamètreTypeDéfaut
level"federal" | "provincial" | "municipal" | nullnull
lang"en" | "fr""en"
call_tool {"name": "represent_list_representative_sets", "arguments": {}}
represent_lookup_pointFind the representatives and electoral districts at a latitude and longitude.

Utilisation : the exact riding, ward and representatives of a location (e.g. latitude 45.524, longitude -73.596), when a postal code is too coarse or a geocoded address is at hand. A point falls in exactly one district per boundary set. Each set's licence and last-updated date are included. Source is Open North (unofficial, 60 requests a minute); representative data are scraped and their licence is unverified.

Mots-clés en anglais
latitude, longitude, coordinates, point lookup, riding, ward, electoral district, boundary, elected officials, MP, MLA, mayor, geocode
Mots-clés en français
latitude, longitude, coordonnées, recherche par point, circonscription, quartier, district électoral, limites, élus, député, maire, géocodage
Paramètres de represent_lookup_point
ParamètreTypeDéfaut
latitudefloatobligatoire
longitudefloatobligatoire
include_set_detailsbooltrue
lang"en" | "fr""en"
call_tool {"name": "represent_lookup_point", "arguments": {"latitude": "…", "longitude": "…"}}
represent_lookup_postcodeFind the MP, MLA and mayor or councillors for a Canadian postal code.

Utilisation : who represents a postal code (e.g. T5J0N3, H3B 4W8), and which federal, provincial and municipal electoral districts it falls in, with each district set's licence and last-updated date. A postal code can match several districts (see notes); for exact results use represent_lookup_point. sets optionally limits districts to comma-separated boundary set slugs (e.g. federal-electoral-districts-2023-representation-order, the current federal map; federal-electoral-districts with no year is the old 2013 order). With sets, only representatives of the current sets come back. Source is Open North (unofficial, 60 requests a minute); representative data are scraped from official sites, their licence is unverified and some records are stale. Complements the ourcommons_ tools.

Mots-clés en anglais
postal code, postcode, elected officials, representative, MP, MLA, mayor, councillor, riding, electoral district, ward, who is my MP
Mots-clés en français
code postal, élus, représentant, député, maire, conseiller, circonscription, district électoral, quartier, qui est mon député
Paramètres de represent_lookup_postcode
ParamètreTypeDéfaut
postcodestrobligatoire
setsstr | nullnull
include_set_detailsbooltrue
lang"en" | "fr""en"
call_tool {"name": "represent_lookup_postcode", "arguments": {"postcode": "…"}}
represent_search_representativesSearch about 3,800 Canadian elected officials by name, office, district, party or level.

Utilisation : finding a representative by name (substring, e.g. "Carney"), all mayors (office "Mayor"), all MLAs of a party, councillors of a district or city, or every federal or provincial member. level is federal, provincial or municipal; representative_set is a set slug from represent_list_representative_sets (e.g. toronto-city-council). party is a substring of the party name; common abbreviations and French or English names also work (NDP/NPD, UCP, CAQ, PLQ, PQ, QS, BQ, PC, Green/Vert, Liberal/Libéral). Each record shows contact details, offices and the official page it was scraped from (source_url); records are unverified and some sets are stale. Source is Open North (unofficial). Complements ourcommons_.

Mots-clés en anglais
search representatives, elected officials, MP, MLA, mayor, councillor, party, politician, contact, email, constituency office, municipal council
Mots-clés en français
chercher élus, représentants, député, maire, conseiller, parti, politicien, courriel, bureau de circonscription, conseil municipal, assemblée nationale
Paramètres de represent_search_representatives
ParamètreTypeDéfaut
namestr | nullnull
officestr | nullnull
districtstr | nullnull
partystr | nullnull
level"federal" | "provincial" | "municipal" | nullnull
representative_setstr | nullnull
limitint20
offsetint0
lang"en" | "fr""en"
call_tool {"name": "represent_search_representatives", "arguments": {}}

Fédéral et national

Agence de la consommation en matière financière du Canada : outils de comparaison

fcac_

Outils de comparaison de l'Agence de la consommation en matière financière du Canada (outils préfixés fcac_) : cartes de crédit offertes dans une province (frais annuels, taux d'intérêt sur les achats, avances de fonds et transferts de solde, frais de conversion, revenu minimum…

Description complète

Outils de comparaison de l'Agence de la consommation en matière financière du Canada (outils préfixés fcac_) : cartes de crédit offertes dans une province (frais annuels, taux d'intérêt sur les achats, avances de fonds et transferts de solde, frais de conversion, revenu minimum, récompenses, assurances) et comptes-chèques et comptes d'épargne (frais mensuels, opérations comprises, taux d'intérêt, frais de retrait, de virement, de découvert et d'insuffisance de fonds, comptes à frais modiques ou sans frais). Données fournies par les institutions financières, lues en direct (FR/EN).

4 outils

fcac_get_bank_accountEvery fee of one chequing or savings account, from FCAC's Account Comparison Tool.

Utilisation : one account's monthly fee and how to waive it, included transactions, interest rate tiers, and the fees once included transactions run out: withdrawals (branch, ATM, other bank's ATM, abroad), transfers and Interac e-Transfers, overdraft protection, non-sufficient funds (NSF), debit purchases abroad, bill payments, cheque images and statements. product_id comes from fcac_search_bank_accounts; pass the same province, account_type, currency and groups used there, because the tool only opens an account from its result list. Every section is under sections.

Mots-clés en anglais
bank account fees, NSF fee, overdraft fee, ATM fee, e-Transfer fee, monthly fee waiver, minimum balance, savings interest rate, FCAC, chequing account
Mots-clés en français
frais de compte bancaire, frais d'insuffisance de fonds, chèque sans provision, frais de découvert, frais de guichet, frais de retrait, virement Interac, forfait bancaire, solde minimum, taux d'intérêt épargne, ACFC, compte-chèques
Paramètres de fcac_get_bank_account
ParamètreTypeDéfaut
product_idstrobligatoire
province"AB" | "BC" | "MB" | "NB" | "NL" | "NS" | "NT" | "NU" | "ON" | "PE" | "QC" | "SK" | "YT"obligatoire
account_type"chequing" | "savings""chequing"
currency"CAD" | "USD" | "other""CAD"
groupslist["senior" | "gis_recipient" | "rdsp_beneficiary" | "youth" | "student" | "newcomer" | "indigenous" | "social_assistance" | "disability_tax_credit"] | nullnull
lang"en" | "fr""en"
call_tool {"name": "fcac_get_bank_account", "arguments": {"product_id": "…", "province": "…"}}
fcac_get_credit_cardFull details of one credit card from FCAC's Credit Card Comparison Tool.

Utilisation : one card's annual fees (first and additional card), purchase, cash advance and balance transfer interest rates, foreign currency conversion fee, minimum personal and household income (0 when FCAC says "Not required", null only when not stated), reward categories and how to redeem them, other benefits, and included insurance (travel medical, trip cancellation, rental car, and more). product_id comes from fcac_search_credit_cards; pass the same province, currency, student and secured values used there, because the tool only opens a card from its result list. Every section of the page is also returned under sections.

Mots-clés en anglais
credit card details, cash advance rate, balance transfer rate, foreign transaction fee, minimum income, card insurance, annual fee, FCAC, card benefits, rewards program
Mots-clés en français
détails de carte de crédit, taux d'avance de fonds, taux de transfert de solde, frais de conversion de devises, revenu minimum, assurance voyage, assurance carte, frais annuels, ACFC, avantages
Paramètres de fcac_get_credit_card
ParamètreTypeDéfaut
product_idstrobligatoire
province"AB" | "BC" | "MB" | "NB" | "NL" | "NS" | "NT" | "NU" | "ON" | "PE" | "QC" | "SK" | "YT"obligatoire
currency"CAD" | "USD" | "other""CAD"
studentboolfalse
securedboolfalse
lang"en" | "fr""en"
call_tool {"name": "fcac_get_credit_card", "arguments": {"product_id": "…", "province": "…"}}
fcac_search_bank_accountsCompare chequing or savings accounts in a province, from FCAC's Account Comparison Tool.

Utilisation : bank and credit union accounts available in a province (two-letter code) with their monthly fee (chequing), interest rate (savings), included transactions and whether they fall under the Commitment on Low-Cost and No-Cost Accounts (about 61 chequing and 38 savings accounts in Ontario). groups adds accounts offered to 'senior', 'gis_recipient', 'rdsp_beneficiary', 'youth', 'student', 'newcomer', 'indigenous', 'social_assistance' or 'disability_tax_credit' customers. Filter by words in the name, institution, maximum monthly fee (dollars) or low_cost_only. Default order is FCAC's (most included transactions first). Pass a product_id with the same options to fcac_get_bank_account for every fee. Read live; lang="fr" returns FCAC's French names and labels (numbers are the same), and query and institution then match the French names, ignoring case, accents and apostrophe style.

Mots-clés en anglais
bank account, chequing account, savings account, monthly fee, bank fees, low-cost account, no-fee account, interest rate, FCAC, compare accounts, credit union, transactions
Mots-clés en français
compte bancaire, compte-chèques, compte chèque, compte d'épargne, forfait bancaire, frais mensuels, frais bancaires, compte à frais modiques, compte sans frais, taux d'intérêt, ACFC, coopérative de crédit, caisse populaire
Paramètres de fcac_search_bank_accounts
ParamètreTypeDéfaut
province"AB" | "BC" | "MB" | "NB" | "NL" | "NS" | "NT" | "NU" | "ON" | "PE" | "QC" | "SK" | "YT"obligatoire
account_type"chequing" | "savings""chequing"
currency"CAD" | "USD" | "other""CAD"
groupslist["senior" | "gis_recipient" | "rdsp_beneficiary" | "youth" | "student" | "newcomer" | "indigenous" | "social_assistance" | "disability_tax_credit"] | nullnull
querystr""
institutionstr""
max_monthly_feefloat | nullnull
low_cost_onlyboolfalse
sort"monthly_fee" | "institution" | "name" | nullnull
limitint25
lang"en" | "fr""en"
call_tool {"name": "fcac_search_bank_accounts", "arguments": {"province": "…"}}
fcac_search_credit_cardsCompare credit cards offered in a province, from FCAC's Credit Card Comparison Tool.

Utilisation : which credit cards are available in a province (two-letter code, e.g. 'ON', 'QC') and what they cost: annual fee, purchase interest rate and reward categories, for every card the financial institutions list with the Financial Consumer Agency of Canada (about 95 in Ontario). Filter by words in the card or bank name, institution, maximum annual fee (dollars), maximum purchase rate (percent) and rewards ('cash_back', 'travel', 'groceries', 'gas', 'general_merchandise'; every one given must apply). student=True adds student cards; secured=True lists secured cards instead. Default order is FCAC's (annual fee, low to high). Pass a product_id with the same province and options to fcac_get_credit_card for cash advance and balance transfer rates, foreign conversion fee, minimum income and insurance. Read live; lang="fr" returns FCAC's French names, labels and reward categories (numbers are the same), and query and institution then match the French names, ignoring case, accents and apostrophe style.

Mots-clés en anglais
credit card, interest rate, annual fee, APR, rewards card, cash back, travel rewards, low interest card, FCAC, compare cards, bank fees, consumer finance
Mots-clés en français
carte de crédit, comparer les cartes de crédit, taux d'intérêt, frais annuels, carte sans frais annuels, récompenses, remise en argent, points de récompense, carte à faible taux, carte étudiante, carte de crédit garantie, Agence de la consommation en matière financière du Canada (ACFC), frais bancaires
Paramètres de fcac_search_credit_cards
ParamètreTypeDéfaut
province"AB" | "BC" | "MB" | "NB" | "NL" | "NS" | "NT" | "NU" | "ON" | "PE" | "QC" | "SK" | "YT"obligatoire
currency"CAD" | "USD" | "other""CAD"
studentboolfalse
securedboolfalse
querystr""
institutionstr""
max_annual_feefloat | nullnull
max_purchase_ratefloat | nullnull
rewardslist["cash_back" | "travel" | "groceries" | "gas" | "general_merchandise"] | nullnull
sort"annual_fee" | "purchase_rate" | "institution" | "name" | nullnull
limitint25
lang"en" | "fr""en"
call_tool {"name": "fcac_search_credit_cards", "arguments": {"province": "…"}}

Fédéral et national

Base nationale de données forestières (CCMF)

nfd_

Base nationale de données forestières (national-forestry-database.ca, Conseil canadien des ministres des forêts, outils préfixés nfd_) : 25 tableaux par province et territoire, de 1940 à 2025.

Description complète

Base nationale de données forestières (national-forestry-database.ca, Conseil canadien des ministres des forêts, outils préfixés nfd_) : 25 tableaux par province et territoire, de 1940 à 2025. Incendies de forêt (nombre et superficie brûlée selon l'origine, le mois et la classe de superficie, dommages aux propriétés), insectes (superficie défoliée), récolte de bois rond (volume par catégorie, groupe d'espèces et tenure ; superficie par méthode de récolte), approvisionnement en bois, régénération (préparation de terrain, scarifiage, ensemencement, plantation, soins culturaux), revenus du bois et lutte antiparasitaire (insecticides et herbicides). Liste des tableaux, description d'un tableau (dimensions, unités, dictionnaire de données, codes de qualité), requête de lignes avec filtres par province, année et catégorie ou sommes, commentaires et renvois des organismes. Libellés en français ou en anglais. Licence du gouvernement ouvert – Canada.

4 outils

nfd_describe_tableDescribe one National Forestry Database table: columns, units, jurisdictions and quality codes.

Utilisation : the step before nfd_query_table. Gives the table's data dictionary (title, source agency, last update), the unit of the value, the years each province or territory covers, every category column (dimensions, e.g. cause, month, tenure, species group, treatment, product) with its values, the data-quality codes in use (a actual, E and e estimated, p preliminary, r revised, u and U not available, n not applicable, s too small) and checked quirks of that file. table_id is the number from nfd_list_tables, e.g. '3.2.1' (area burned by cause), '5.1' (roundwood volume harvested), '6.4' (seedlings planted), '7' (timber revenues). lang="fr" gives French labels.

Mots-clés en anglais
NFD table description, forest fire cause classes, tenure, species group, data dictionary, data qualifier, hectares burned, harvest categories, forestry data codebook, jurisdictions covered
Mots-clés en français
description de tableau, dictionnaire de données, qualificatifs de données, origine des incendies, groupe d'espèces, tenure, hectares brûlés, catégories de récolte, provinces et territoires, Base nationale de données forestières
Paramètres de nfd_describe_table
ParamètreTypeDéfaut
table_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "nfd_describe_table", "arguments": {"table_id": "…"}}
nfd_list_tablesList the National Forestry Database tables (forest fires, harvest, wood supply, pests).

Utilisation : the first step before nfd_describe_table or nfd_query_table: the 25 tables of the Canadian Council of Forest Ministers' National Forestry Database with their number, topic and title, and links to the CSV, Excel, data dictionary and comments files. Topics: Wood Supply (2), Forest Fires (3.1.1 number of fires and 3.2.1 area burned by cause, month and fire size class; 3.3 property losses), Forest Insects (4), Harvest (5.1 volume, 5.2 area), Regeneration (6.1 to 6.6: site preparation, scarification, seeding, planting, stand tending), Revenues (7) and Pest Control (8.1 insecticides, 8.2 herbicides). section keeps tables whose topic or title contains the text, e.g. 'fires' or 'planted'. lang="fr" gives French titles.

Mots-clés en anglais
National Forestry Database, NFD, CCFM, forest statistics, forest fires, area burned, timber harvest, wood supply, reforestation, insect defoliation, pesticide use, forestry tables, Canadian Forest Service
Mots-clés en français
Base nationale de données forestières, BNDF, CCMF, statistiques forestières, incendies de forêt, superficie brûlée, récolte de bois, approvisionnement en bois, reboisement, défoliation par les insectes, pesticides, Service canadien des forêts
Paramètres de nfd_list_tables
ParamètreTypeDéfaut
sectionstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "nfd_list_tables", "arguments": {}}
nfd_query_tableGet National Forestry Database rows: wildfire, harvest, planting, insects, revenues by province.

Utilisation : area burned and number of wildfires by cause (human or natural), month or fire size class; timber harvested (cubic metres) by category, species group and tenure; area harvested by method; wood supply; seedlings planted and area planted, seeded, scarified or tended; insect defoliation by species; timber revenues; insecticide and herbicide use, by province or territory and year (1940 to 2025 by table; 1990 on for fires). province is a code or name ('BC', 'Alberta', 'Colombie-Britannique'); filters maps a column from nfd_describe_table to a value or list, e.g. {'cause': 'Natural cause'} or {'tenure': ['Provincial land', 'Private land']}. group_by (e.g. ['year'], ['jurisdiction'], ['year', 'cause']) sums values over the other columns; without it rows come as published, with null for a missing figure and its quality code, never 0. Rows are in year order; past limit the latest rows are dropped. Every row carries its unit. lang="fr" gives French labels.

Mots-clés en anglais
wildfire area burned by province, number of fires by cause, forest fires Canada, timber harvest volume, roundwood harvested, seedlings planted, insect defoliation, mountain pine beetle, forest revenues, herbicide use, National Forestry Database, hectares
Mots-clés en français
superficie brûlée par province, nombre d'incendies par origine, incendies de forêt au Canada, volume de bois récolté, bois rond, semis plantés, défoliation par les insectes, dendroctone du pin, revenus forestiers, herbicides, Base nationale de données forestières, hectares
Paramètres de nfd_query_table
ParamètreTypeDéfaut
table_idstrobligatoire
provincestr | list[str] | nullnull
year_fromint | nullnull
year_toint | nullnull
filtersdict[str, str | list[str] | null] | nullnull
group_bylist[str] | nullnull
drop_missingboolfalse
limitint200
lang"en" | "fr""en"
call_tool {"name": "nfd_query_table", "arguments": {"table_id": "…"}}
nfd_table_commentsRead the agencies' comments and footnotes for a National Forestry Database table.

Utilisation : how a province or territory compiled a series: definition changes, years carried forward, methods, what a footnote letter on a label means ('*b'), e.g. why a harvest or wood supply figure changed. Comments come per jurisdiction and year; identical text is merged with the years it applies to. Six fire tables (3.1.1 to 3.2.3) have none. province takes a code or name; lang="fr" reads the French sheet.

Mots-clés en anglais
forestry data comments, footnotes, methodology notes, data notes by province, allowable annual cut, definitions, series break, National Forestry Database, harvest methods, data caveats
Mots-clés en français
commentaires sur les données, renvois, notes méthodologiques, notes par province, possibilité annuelle de coupe, définitions, rupture de série, Base nationale de données forestières, méthodes de récolte, limites des données
Paramètres de nfd_table_comments
ParamètreTypeDéfaut
table_idstrobligatoire
provincestr | list[str] | nullnull
year_fromint | nullnull
year_toint | nullnull
limitint50
lang"en" | "fr""en"
call_tool {"name": "nfd_table_comments", "arguments": {"table_id": "…"}}

Fédéral et national

Borealis : tableaux Beyond 20/20 et ODESI

borealis_

Tableaux statistiques Beyond 20/20 (.ivt) sur Borealis, le dépôt Dataverse canadien (borealisdata.ca, outils préfixés borealis_) : environ 3 300 fichiers IVT déposés par des bibliothèques universitaires canadiennes…

Description complète

Tableaux statistiques Beyond 20/20 (.ivt) sur Borealis, le dépôt Dataverse canadien (borealisdata.ca, outils préfixés borealis_) : environ 3 300 fichiers IVT déposés par des bibliothèques universitaires canadiennes, surtout des données de Statistique Canada offertes uniquement dans ce format : recensements historiques de 1665 à 1871, totalisations du Recensement de la population de 1996 à 2021, Recensement de l'agriculture de 2001, Revue chronologique de la population active de 1997 à 2008, Structure des industries canadiennes et Nombre d'entreprises canadiennes. Chaque résultat donne l'URL de téléchargement, la taille, l'accès et un extrait R qui lit le fichier avec canivt. Les outils borealis_odesi_ cherchent aussi dans la collection ODESI : métadonnées DDI des fichiers de microdonnées à grande diffusion (FMGD) de Statistique Canada, des sondages d'opinion, des données agrégées et du recensement, avec la description de l'étude, les variables et les fichiers publics ou restreints. La collection sous licence de l'IDD est exclue : ses fichiers exigent une connexion d'un établissement membre.

4 outils

borealis_odesi_get_datasetGet an ODESI dataset's DDI study description and which files are public or restricted.

Utilisation : the full description of one dataset found with borealis_odesi_search_datasets: abstract, time period, geography, unit of analysis, universe, sampling, terms of use, citation, and the files with download links. Says plainly how many files anyone can download without a login (public_files, with size and link) and how many are restricted to DLI-member institutions (names only, no link given). Public here means no Borealis login; the terms of use can still limit redistribution (many PUMFs are for non-profit research and teaching). persistent_id is a DOI such as "doi:10.5683/SP3/TVVQPG". For variable names and labels use borealis_odesi_search_variables. lang="fr" gives the access summary, errors and provenance in French; the DDI text is as deposited.

Mots-clés en anglais
ODESI, DDI, codebook, PUMF download, dataset metadata, terms of use, restricted files, DLI licence, Borealis, DOI, poll
Mots-clés en français
ODESI, DDI, livre de codes, téléchargement FMGD, métadonnées du jeu de données, conditions d'utilisation, fichiers restreints, licence IDD, Borealis, DOI
Paramètres de borealis_odesi_get_dataset
ParamètreTypeDéfaut
persistent_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "borealis_odesi_get_dataset", "arguments": {"persistent_id": "…"}}
borealis_odesi_search_datasetsSearch ODESI on Borealis for StatCan public use microdata files (PUMFs), polls and census data.

Utilisation : finding microdata described in DDI by Canadian university libraries: StatCan PUMFs (Labour Force, Canadian Community Health, General Social, Census PUMFs), Canadian public opinion polls (CORA: Environics Focus Canada, Gallup), StatCan aggregate tables, census collections and international data. collection narrows to "pumfs", "polls", "aggregate", "census", "other" or "international"; the default "all_public" covers all of them. Every word of the query must match the title, description or keywords; page with start. The DLI-licensed collection (about 414 datasets, e.g. the Postal Code Conversion File) is skipped on purpose: its data files are restricted to DLI-member institutions. A hit does not say which files are open; call borealis_odesi_get_dataset with its persistent_id for that. lang="fr" gives notes, errors and provenance in French; titles are as deposited.

Mots-clés en anglais
ODESI, Borealis, Dataverse, DDI, PUMF, public use microdata file, Labour Force microdata, public opinion poll, CORA, Data Liberation Initiative, codebook, social science data
Mots-clés en français
ODESI, Borealis, Dataverse, DDI, FMGD, fichier de microdonnées à grande diffusion, microdonnées d'enquête, sondage d'opinion publique, Initiative de démocratisation des données, livre de codes, données des sciences sociales
Paramètres de borealis_odesi_search_datasets
ParamètreTypeDéfaut
querystr""
collection"all_public" | "pumfs" | "polls" | "aggregate" | "census" | "other" | "international""all_public"
limitint20
startint0
lang"en" | "fr""en"
call_tool {"name": "borealis_odesi_search_datasets", "arguments": {}}
borealis_odesi_search_variablesList or search the variables (names and labels) in one ODESI dataset's DDI codebook.

Utilisation : checking whether a PUMF or poll holds a variable ("unemployment", "union", "province") before downloading it, from the variable-level DDI that Borealis builds for tabular data files. Every word of the query must match the variable name or label; an empty query lists the first variables. Datasets whose data were not ingested as tabular files have no variable-level DDI: the result is empty with a note saying so, not an error. persistent_id is a DOI from borealis_odesi_search_datasets. lang="fr" gives notes, errors and provenance in French; labels are as deposited.

Mots-clés en anglais
ODESI, DDI, variable list, variable labels, codebook, PUMF variables, poll questions, microdata dictionary, Borealis, Dataverse, microdata variables
Mots-clés en français
ODESI, DDI, liste des variables, étiquettes de variables, livre de codes, variables FMGD, questions de sondage, dictionnaire de données, microdonnées, Borealis
Paramètres de borealis_odesi_search_variables
ParamètreTypeDéfaut
persistent_idstrobligatoire
querystr""
limitint30
lang"en" | "fr""en"
call_tool {"name": "borealis_odesi_search_variables", "arguments": {"persistent_id": "…"}}
borealis_search_ivtFind Beyond 20/20 (.ivt) statistical tables on Borealis, with R code to read them.

Utilisation : Statistics Canada tables that exist only as Beyond 20/20 files and were deposited on Borealis (the Canadian Dataverse) by university libraries: historical censuses 1665-1871, Census of Population tabulations 1996-2021, Census of Agriculture 2001, the Labour Force Historical Review 1997-2008, Canadian Business Patterns and Business Counts, justice surveys, HART housing tabulations. Every word of the query must match the dataset or file. Each hit gives the download URL, size, whether a Borealis login is needed, and an R snippet using canivt (mountainMath), the only maintained IVT reader. An empty query lists IVT files by relevance. lang="fr" gives notes, errors and provenance in French; dataset titles are as deposited (English or French).

Mots-clés en anglais
Beyond 20/20, IVT, Borealis, Dataverse, Data Liberation Initiative, historical census, Canadian Business Patterns, Labour Force Historical Review, canivt, custom tabulation, research data repository, university data library
Mots-clés en français
Beyond 20/20, IVT, Borealis, Dataverse, Initiative de démocratisation des données, recensement historique, Structure des industries canadiennes, Revue chronologique de la population active, totalisation personnalisée
Paramètres de borealis_search_ivt
ParamètreTypeDéfaut
querystr""
limitint20
lang"en" | "fr""en"
call_tool {"name": "borealis_search_ivt", "arguments": {}}

Fédéral et national

Commission canadienne des grains

cgc_

Commission canadienne des grains (grainscanada.gc.ca, outils préfixés cgc_) : Statistiques hebdomadaires sur le grain par campagne agricole depuis 2013-2014 (livraisons des producteurs, expéditions et stocks aux silos primaires et de transformation par province, arrivages…

Description complète

Commission canadienne des grains (grainscanada.gc.ca, outils préfixés cgc_) : Statistiques hebdomadaires sur le grain par campagne agricole depuis 2013-2014 (livraisons des producteurs, expéditions et stocks aux silos primaires et de transformation par province, arrivages, exportations, stocks et écoulement aux silos terminaux par port et grade, grains fourragers, wagons de producteurs, grains importés, sommaire des stocks ; milliers de tonnes, mis à jour chaque jeudi) et exportations mensuelles de grain à partir d'installations agréées par grain, grade, port et pays de destination depuis janvier 2013. Filtres, résultats hebdomadaires ou additionnés, libellés en français ou en anglais.

4 outils

cgc_exports_describeList the grains, ports and destination countries in the CGC's monthly grain exports file.

Utilisation : the values cgc_exports_query filters on (42 grain names including imported and 'US' grains, grades, elevator types PRIMARY, TERMINALS and CONTAINER, port regions, world regions, about 150 destination countries) and the months covered (January 2013 to the latest month, usually a few weeks behind). lang="fr" lists the French names ('R.P. de Chine', 'Silos Terminaux', 'Conteneurs').

Mots-clés en anglais
grain exports, destination countries, export markets, Canadian Grain Commission, licensed facilities, container exports, ports, wheat, canola
Mots-clés en français
exportations de grain, pays de destination, marchés d'exportation, Commission canadienne des grains, installations agréées, conteneurs, ports, céréales, blé, canola
Paramètres de cgc_exports_describe
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "cgc_exports_describe", "arguments": {}}
cgc_exports_queryGet monthly Canadian grain exports by grain and destination country from the Canadian Grain Commission.

Utilisation : how much wheat, durum, canola, barley, oats, peas, lentils or soybeans Canada exported to China, Japan, the United States, Mexico or any other country, by month, calendar year or crop year (August to July), from licensed primary, terminal and container facilities, since January 2013. Filters take one value or a list (cgc_exports_describe lists them); region is the port region, elevator PRIMARY, TERMINALS or CONTAINER. With frequency 'month' and no group_by, rows are as published; otherwise values are summed per period over every column not in group_by (e.g. frequency='crop_year', group_by=['destination']), and months shows partial periods. Rows come in period order, largest first within a period; past limit the oldest periods are dropped. total_ktonnes sums every match. Thousands of tonnes. China is 'China P.R.' in the file ('China' also works). With lang="fr" names are French: elevator 'Silos des Prairies', 'Silos Terminaux' or 'Conteneurs', destination 'R.P. de Chine' ('Chine' also works), 'Japon', 'États-Unis', and the unit is 'milliers de tonnes'; filters ignore case, accents, hyphens and spaces, and an unknown name lists the ones containing it.

Mots-clés en anglais
grain exports by country, canola exports to China, wheat exports, export destinations, monthly exports, crop year exports, Canadian Grain Commission, pulse exports, lentil exports, trade
Mots-clés en français
exportations de grain par pays, exportations de canola vers la Chine, exportations de blé, destinations d'exportation, exportations mensuelles, campagne agricole, Commission canadienne des grains, céréales, légumineuses, lentilles, commerce
Paramètres de cgc_exports_query
ParamètreTypeDéfaut
grainstr | list[str] | nullnull
destinationstr | list[str] | nullnull
regionstr | list[str] | nullnull
elevatorstr | list[str] | nullnull
global_regionstr | list[str] | nullnull
gradestr | list[str] | nullnull
year_fromint | nullnull
year_toint | nullnull
frequency"month" | "year" | "crop_year""month"
group_bylist["grain" | "grade" | "elevator" | "region" | "global_region" | "destination"] | nullnull
limitint200
lang"en" | "fr""en"
call_tool {"name": "cgc_exports_query", "arguments": {}}
cgc_weekly_describeList what the Canadian Grain Commission's Grain Statistics Weekly holds for a crop year.

Utilisation : the first step before cgc_weekly_query: the weeks published so far (grain week and the Sunday it ends), and per worksheet its metrics, periods, grains, regions and grades. Worksheets: Primary (producer deliveries, shipments, stocks, condo storage by prairie province), Process (deliveries, shipments, milled grain and stocks at process elevators), Terminal Receipts, Terminal Exports, Terminal Stocks and Terminal Disposition (by port: Vancouver, Prince Rupert, Churchill, Thunder Bay, Bay & Lakes, St. Lawrence, and by grade), Primary Shipment Distribution, Feed Grains, Feed Grains Shipment Distribution, Producer Cars, Imported Grains, Summary (stocks by elevator type). crop_year is e.g. '2025-26' (August to July), from 2013-14; default: the latest. Values are thousands of tonnes. lang="fr" reads the French file: worksheet, metric, period, grain and region names are then French ('Silos primaires', 'Terminaux - exportations', 'Semaine en cours').

Mots-clés en anglais
Canadian Grain Commission, CGC, grain statistics weekly, GSW, crop year, grain handling, primary elevators, terminal elevators, grain stocks, canola, wheat
Mots-clés en français
Commission canadienne des grains, CCG, statistiques hebdomadaires sur le grain, campagne agricole, manutention du grain, silos primaires, silos terminaux, silos-élévateurs, stocks de grain, céréales, canola, blé
Paramètres de cgc_weekly_describe
ParamètreTypeDéfaut
crop_yearstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "cgc_weekly_describe", "arguments": {}}
cgc_weekly_queryGet weekly grain deliveries, shipments, exports and stocks from the Canadian Grain Commission.

Utilisation : producer deliveries of wheat, canola, barley, oats, peas or lentils to primary elevators by province; terminal exports and receipts by port (Vancouver, Prince Rupert, Thunder Bay, St. Lawrence) and grade; grain stocks in commercial storage; weekly or crop-year-to-date grain movement. worksheet is required (e.g. 'Primary', 'Terminal Exports', 'Summary'; cgc_weekly_describe lists them and their values). period is 'Current Week' (that week alone) or 'Crop Year' (to date). Filters take one value or a list. Omit group_by for the published rows; pass it (e.g. ['grain']) to sum the other columns per week, e.g. deliveries over all provinces; summing requires one metric and one period. latest_week_only keeps the newest week. Rows come in week order; past limit the latest are kept. Thousands of tonnes; rows without a region are national totals. From crop year 2013-14; updated each Thursday. With lang="fr" every name is French, e.g. worksheet 'Silos primaires', metric 'Livraisons', period 'Semaine en cours' or 'Campagne agricole', grain 'Blé', region 'Saskatchewan'; filters ignore case, accents, hyphens and spaces.

Mots-clés en anglais
grain deliveries, grain exports, grain stocks, primary elevator, terminal elevator, port of Vancouver, canola deliveries, wheat exports, crop year to date, thousand tonnes
Mots-clés en français
livraisons de grain, livraisons des producteurs, exportations de grain, stocks de grain, silo primaire, silo terminal, silo-élévateur, port de Vancouver, livraisons de canola, exportations de blé, céréales, orge, campagne agricole, milliers de tonnes
Paramètres de cgc_weekly_query
ParamètreTypeDéfaut
worksheetstrobligatoire
crop_yearstr | nullnull
metricstr | list[str] | nullnull
periodstr | list[str] | nullnull
grainstr | list[str] | nullnull
gradestr | list[str] | nullnull
regionstr | list[str] | nullnull
week_fromint | nullnull
week_toint | nullnull
latest_week_onlyboolfalse
group_bylist["worksheet" | "metric" | "period" | "grain" | "grade" | "region"] | nullnull
limitint200
lang"en" | "fr""en"
call_tool {"name": "cgc_weekly_query", "arguments": {"worksheet": "…"}}

Fédéral et national

Directeur parlementaire du budget

pbo_

Bureau du directeur parlementaire du budget (pbo-dpb.ca, outils préfixés pbo_) : recherche parmi plus de 860 publications (rapports, notes, notes d'évaluation du coût de mesures législatives, estimations de coûts de projets de loi et de motions…

Description complète

Bureau du directeur parlementaire du budget (pbo-dpb.ca, outils préfixés pbo_) : recherche parmi plus de 860 publications (rapports, notes, notes d'évaluation du coût de mesures législatives, estimations de coûts de projets de loi et de motions, archives depuis 2008) et lecture d'une publication avec ses tableaux, tirés des documents PBOML (notes d'évaluation depuis 2021, la plupart des rapports depuis 2025 ; les plus anciennes n'ont que le PDF), et le registre des plus de 1 100 demandes d'information envoyées aux ministères depuis 2008 (échéances, statut, communication totale, partielle ou refusée). Utilisation personnelle et non commerciale, sans modification, avec mention du DPB.

4 outils

pbo_get_information_requestRead one PBO information request with links to its letters.

Utilisation : the details of one request from pbo_search_information_requests: department, dates, status, outcome and note, and the request letter and the department's replies (mostly PDF) in the requested language. request_id is PBO's number, e.g. 'IR0959', 'RI0929' or 'IR0080a'. The first request-register call in a session takes about 30 seconds: PBO's API cannot look a request up by its number and ignores filters, so all ~29 register pages are read at one per second, then kept for 6 hours (later calls answer in under a second).

Mots-clés en anglais
PBO information request, request letter, reply letter, departmental response, disclosure, Parliamentary Budget Officer, IR number, request details
Mots-clés en français
demande d'information du DPB, lettre de demande, lettre de réponse, réponse du ministère, communication, directeur parlementaire du budget, numéro de demande, détails
Paramètres de pbo_get_information_request
ParamètreTypeDéfaut
request_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "pbo_get_information_request", "arguments": {"request_id": "…"}}
pbo_get_publicationRead one PBO publication with its tables and text.

Utilisation : getting the numbers in a PBO costing or report: five-year cost estimates of a measure, projected revenues and spending, economic projections (GDP, unemployment, interest rates), Estimates breakdowns. publication_id is PBO's id, e.g. 'LEG-2526-012-S' or 'RP-2627-002-S', from pbo_search_publications. Tables come from PBO's structured PBOML document: 'table' ones have rows keyed by column label, 'html' ones rows of cells, 'kvlist' ones key/value pairs, each with sources and notes. Costing notes since 2021 and most reports since 2025 have them; older publications return has_structured_content false and a PDF link. Charts are images without data. Reuse is personal and non-commercial, unaltered, crediting PBO.

Mots-clés en anglais
PBO tables, cost estimate figures, costing results, fiscal impact, revenue projection, spending projection, economic projection, Parliamentary Budget Officer
Mots-clés en français
tableaux du DPB, estimation des coûts, incidence financière, projection des revenus, projection des dépenses, projection économique, directeur parlementaire du budget, résultats de l'évaluation
Paramètres de pbo_get_publication
ParamètreTypeDéfaut
publication_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "pbo_get_publication", "arguments": {"publication_id": "…"}}
pbo_search_information_requestsSearch the register of information requests PBO sent to federal departments.

Utilisation : what data the Parliamentary Budget Officer asked departments for, and whether they answered: all 1,100+ requests since 2008 with the department, request date, deadline, extension, status and outcome (all disclosed, disclosed in part, nothing disclosed, information does not exist). Counts by outcome, status and department come with every result, so it answers "how often did National Defence refuse PBO" or "which requests are overdue". query matches words in the request summary (English and French, accents ignored); department an acronym (FIN, DND, CRA, TBS) or part of a name; status 'open' keeps every pending request, and open ones carry days_past_deadline; since/until bound the request date (YYYY, YYYY-MM or YYYY-MM-DD). 25 per page, newest first. Pass an id to pbo_get_information_request for the letters. The first call in a session takes about 30 seconds while the whole register is read (the API ignores filters); it is then kept 6 hours.

Mots-clés en anglais
Parliamentary Budget Officer, PBO information request, access to information, departmental disclosure, refused request, overdue request, government transparency, data request, PBO mandate
Mots-clés en français
directeur parlementaire du budget, DPB, demande d'information, communication de renseignements, refus de communiquer, demande en retard, transparence gouvernementale, ministère fédéral
Paramètres de pbo_search_information_requests
ParamètreTypeDéfaut
querystr""
departmentstr""
status"completed" | "pending" | "pending_correspondence" | "pending_data" | "canceled" | str | nullnull
disposition"all_disclosed" | "disclosed_in_part" | "nothing_disclosed" | "does_not_exist" | nullnull
sincestr""
untilstr""
pageint1
lang"en" | "fr""en"
call_tool {"name": "pbo_search_information_requests", "arguments": {}}
pbo_search_publicationsSearch Parliamentary Budget Officer (PBO) publications.

Utilisation : finding PBO's independent cost estimates of bills, motions and budget measures, legislative costing notes, economic and fiscal outlooks, reports on the Estimates, federal spending, program costs, tax changes and the public service. With a query, PBO's own search ranks results; without one, the newest come first. types keeps some kinds: RP report, NT note, LEG legislative costing note, ES cost estimate, OA additional analysis, LIBARC archived (2008-2021). 15 per page. Pass a result's id to pbo_get_publication for its tables.

Mots-clés en anglais
Parliamentary Budget Officer, PBO, cost estimate, costing note, fiscal cost, bill costing, economic and fiscal outlook, federal budget analysis, Estimates, fiscal sustainability
Mots-clés en français
directeur parlementaire du budget, DPB, estimation des coûts, note d'évaluation, coût financier, projet de loi, perspectives économiques et financières, budget fédéral, budget des dépenses, viabilité financière
Paramètres de pbo_search_publications
ParamètreTypeDéfaut
querystr""
typeslist["RP" | "NT" | "LEG" | "ES" | "OA" | "LIBARC"] | nullnull
pageint1
lang"en" | "fr""en"
call_tool {"name": "pbo_search_publications", "arguments": {}}

Fédéral et national

Ministère des Finances Canada

finance_

Ministère des Finances Canada, outils préfixés finance_ : les Tableaux de référence financiers (finance_frt_), un classeur Excel par édition 2019-2025 en français ou en anglais avec environ 55 tableaux : revenus, charges, solde budgétaire…

Description complète

Ministère des Finances Canada, outils préfixés finance_ : les Tableaux de référence financiers (finance_frt_), un classeur Excel par édition 2019-2025 en français ou en anglais avec environ 55 tableaux : revenus, charges, solde budgétaire, frais de la dette publique et dette fédéraux depuis 1966-1967 (Comptes publics), revenus, dépenses, déficit et dette nette de chaque province et territoire depuis 1990-1991, statistiques de finances publiques de toutes les administrations et comparaisons du G7 ; et La revue financière (finance_fiscal_monitor_), les revenus, charges, solde budgétaire et besoins financiers fédéraux cumulatifs de chaque mois depuis janvier 2021. Avis importants de Canada.ca : reproduction non commerciale avec mention de la source.

4 outils

finance_fiscal_monitor_get_tablesRead The Fiscal Monitor's tables for a month (federal year to date).

Utilisation : the federal government's budgetary balance for the month and the fiscal year to date, revenues by source (personal, corporate and non-resident income tax, GST, EI premiums), expenses by type (Old Age Security, Canada Health Transfer, Canada Child Benefit, public debt charges), expenses by object, and the financial source or requirement, each against the same period a year earlier, plus the data behind the issue's charts. period is YYYY-MM (default the newest issue); table picks one ('2', 'Table 3', 'Chart 1'), else all are returned. Numbers are in $ millions unless the column says otherwise; negatives appear as negatives.

Mots-clés en anglais
federal deficit year to date, monthly budget balance, federal revenues and expenses, Fiscal Monitor tables, GST revenue, public debt charges monthly, Canada federal finances, financial requirement
Mots-clés en français
déficit fédéral cumulatif, solde budgétaire mensuel, revenus et charges fédéraux, tableaux de la revue financière, recettes de TPS, frais de la dette publique, finances fédérales, besoins financiers, ministère des Finances Canada
Paramètres de finance_fiscal_monitor_get_tables
ParamètreTypeDéfaut
periodstr""
tablestr""
lang"en" | "fr""en"
call_tool {"name": "finance_fiscal_monitor_get_tables", "arguments": {}}
finance_fiscal_monitor_list_issuesList the monthly issues of The Fiscal Monitor (Finance Canada).

Utilisation : which months of federal fiscal results are published, with each issue's release date and page, newest first, since January 2021. Some issues cover two months (April and May) and are listed under their first month. Read one with finance_fiscal_monitor_get_tables.

Mots-clés en anglais
Fiscal Monitor, monthly federal fiscal results, federal deficit this year, year-to-date budgetary balance, Finance Canada monthly report, federal revenues monthly, government of Canada finances, fiscal update
Mots-clés en français
revue financière, résultats financiers mensuels, déficit fédéral cumulatif, solde budgétaire depuis le début de l'exercice, rapport mensuel des Finances, revenus fédéraux mensuels, finances du gouvernement du Canada, mise à jour financière, ministère des Finances Canada
Paramètres de finance_fiscal_monitor_list_issues
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "finance_fiscal_monitor_list_issues", "arguments": {}}
finance_frt_get_tableRead one Fiscal Reference Tables table: every year, every column.

Utilisation : the numbers behind a federal or provincial fiscal question, such as federal revenues and expenses by year (Table 1), personal and corporate income tax revenue (Table 3), public debt charges (Table 13), a province's deficit and net debt (Tables 18 to 30, Alberta is 26), all provinces combined (31, 32), or G7 net debt (54). Rows are keyed by the published column names with the fiscal or calendar year first; units are listed in info.units (millions of dollars, per cent of GDP) and footnotes in notes. last keeps only the most recent rows.

Mots-clés en anglais
federal budget balance by year, deficit history table, provincial deficit, net debt by province, federal revenue by source, program spending history, public accounts data, G7 government debt
Mots-clés en français
solde budgétaire fédéral par année, tableau historique du déficit, déficit provincial, dette nette par province, revenus fédéraux par source, dépenses de programmes, comptes publics, dette publique du G7, ministère des Finances Canada
Paramètres de finance_frt_get_table
ParamètreTypeDéfaut
tableintobligatoire
editionint | nullnull
lastint | nullnull
lang"en" | "fr""en"
call_tool {"name": "finance_frt_get_table", "arguments": {"table": "…"}}
finance_frt_list_tablesList the tables in Finance Canada's Fiscal Reference Tables.

Utilisation : finding long historical series of government finances in Canada: federal revenues, program expenses, budgetary deficit or surplus, public debt charges, accumulated deficit and interest-bearing debt since 1966-67 (Public Accounts); each province's and territory's revenues, federal transfers, spending, deficit and net debt since 1990-91; revenue, expense and balance sheets of all levels of government (national accounts, since 1991); and G7 comparisons of revenue, spending, balance, net and gross debt (% of GDP, since 1980). Editions 2019 to 2025 (default the newest), each about 55 tables. query filters titles and column names ('debt', 'Alberta', 'G7'). Then read one with finance_frt_get_table.

Mots-clés en anglais
Fiscal Reference Tables, federal deficit history, federal debt, provincial net debt, government revenue and spending, public debt charges, debt-to-GDP, fiscal history Canada
Mots-clés en français
tableaux de référence financiers, historique du déficit fédéral, dette fédérale, dette nette provinciale, revenus et dépenses publics, frais de la dette publique, ratio dette-PIB, finances publiques, ministère des Finances Canada
Paramètres de finance_frt_list_tables
ParamètreTypeDéfaut
editionint | nullnull
querystr""
lang"en" | "fr""en"
call_tool {"name": "finance_frt_list_tables", "arguments": {}}

Fédéral et national

Salaires du Guichet-Emplois (EDSC)

jobbank_

Salaires du Guichet-Emplois d'Emploi et Développement social Canada (EDSC). jobbank_ : salaires horaires ou annuels bas (environ le 10e centile), médians et élevés (environ le 90e centile) des 516 professions de la CNP 2021, pour 86 géographies : le Canada…

Description complète

Salaires du Guichet-Emplois d'Emploi et Développement social Canada (EDSC). jobbank_ : salaires horaires ou annuels bas (environ le 10e centile), médians et élevés (environ le 90e centile) des 516 professions de la CNP 2021, pour 86 géographies : le Canada, neuf provinces et 76 régions économiques (l'Île-du-Prince-Édouard et chaque territoire forment une seule région économique), tirés de la diffusion annuelle du Guichet-Emplois sur ouvert.canada.ca. Recherche de professions par code CNP ou titre (français ou anglais), salaires d'une profession par région, comparaison de professions dans une région, liste des régions économiques. Estimations surtout tirées de l'Enquête sur la population active et d'autres sources ; beaucoup de cellules régionales ne sont pas publiées.

4 outils

jobbank_compare_occupationsCompare Job Bank wages for several occupations in one region.

Utilisation : side-by-side low, median and high wages of 2 to 25 occupations (NOC 2021 codes) in Canada, a province or one economic region, e.g. electricians vs plumbers vs carpenters in Calgary. region takes a name or code like jobbank_get_wages ("Calgary", "ER4830", "QC", "Canada"); province narrows an ambiguous name ("Northeast" exists in Ontario and BC). mixed_units is true when some occupations are paid annually and others hourly: those medians are not comparable as is.

Mots-clés en anglais
Job Bank, compare wages, occupations, salary comparison, median wage, economic region, NOC, career choice, ESDC
Mots-clés en français
Guichet-Emplois, comparer les salaires, professions, comparaison salariale, salaire médian, région économique, CNP, choix de carrière, EDSC
Paramètres de jobbank_compare_occupations
ParamètreTypeDéfaut
nocslist[str]obligatoire
regionstr"Canada"
provincestr | nullnull
release_yearint | nullnull
lang"en" | "fr""en"
call_tool {"name": "jobbank_compare_occupations", "arguments": {"nocs": "…"}}
jobbank_get_wagesGet Job Bank's low, median and high wages for one occupation, by economic region.

Utilisation : "what does an electrician (NOC 72200) earn in Toronto", the average hourly wage of registered nurses in Ontario, prevailing wages for an occupation across Canada, a province or one economic region, and LMIA or job-offer wage benchmarks. noc is a five-digit NOC 2021 code (find it with jobbank_search_occupations). region takes an economic region name or code ("Toronto", "ER3530", "Montréal"), a province code ("ON") or "Canada"; province alone returns the province and all its economic regions; neither returns all 86 geographies. Each row gives the wage unit (hourly or annual), the data source Job Bank names (Labour Force Survey, Small Area Estimation, Census, EI survey), the reference period, and published=false where Job Bank publishes no wage. Low and high are in most cases the 10th and 90th percentiles; average_wage, where present, is Job Bank's own estimate too. These are Job Bank estimates, not a StatCan table: StatCan's own wage tables are 14-10-0417 (by occupation) and 14-10-0223 (SEPH, by industry), through wds_.

Mots-clés en anglais
Job Bank, wages, salary by region, earn, earnings, median wage, prevailing wage, economic region, hourly wage, annual salary, occupation pay, trades, NOC, LMIA, ESDC
Mots-clés en français
Guichet-Emplois, salaires, salaire par région, combien gagne, gains, salaire médian, salaire en vigueur, région économique, taux horaire, salaire annuel, rémunération d'une profession, métiers, CNP, EIMT, EDSC
Paramètres de jobbank_get_wages
ParamètreTypeDéfaut
nocstrobligatoire
regionstr | nullnull
provincestr | nullnull
published_onlyboolfalse
release_yearint | nullnull
lang"en" | "fr""en"
call_tool {"name": "jobbank_get_wages", "arguments": {"noc": "…"}}
jobbank_list_regionsList the geographies Job Bank publishes wages for: Canada, provinces and economic regions.

Utilisation : finding the economic region code or exact name (ER3530 Toronto, ER2440 Montréal, ER5920 Lower Mainland) to pass to jobbank_get_wages or jobbank_compare_occupations, or seeing which regions a province has. province is a code such as ON, QC, BC, YT.

Mots-clés en anglais
Job Bank, economic regions, ER code, geography, region list, province, territory, labour market region, wages, ESDC
Mots-clés en français
Guichet-Emplois, régions économiques, code RE, géographie, liste des régions, province, territoire, région du marché du travail, salaires, EDSC
Paramètres de jobbank_list_regions
ParamètreTypeDéfaut
provincestr | nullnull
release_yearint | nullnull
lang"en" | "fr""en"
call_tool {"name": "jobbank_list_regions", "arguments": {}}
jobbank_search_occupationsFind occupations (NOC 2021 codes) in Job Bank's wage data, with the national median wage.

Utilisation : turning a job title ("electrician", "infirmière", "welder") into the five-digit NOC 2021 code the other jobbank_ tools take, or listing the occupations under a NOC prefix ("2123", "31"). Words must all appear in the English or French title (accents and case ignored); digits match code prefixes. Each match carries the Canada-wide median wage, whether it is hourly or annual, its reference period and data source. release_year picks an older NOC 2021 release (2023 on); the default is the newest one, found from the open.canada.ca package at run time.

Mots-clés en anglais
Job Bank, wages, salary, occupation, NOC 2021, National Occupational Classification, job title, median wage, hourly wage, pay, ESDC
Mots-clés en français
Guichet-Emplois, salaires, rémunération, profession, métier, CNP 2021, Classification nationale des professions, titre d'emploi, salaire médian, taux horaire, EDSC
Paramètres de jobbank_search_occupations
ParamètreTypeDéfaut
querystrobligatoire
limitint20
release_yearint | nullnull
lang"en" | "fr""en"
call_tool {"name": "jobbank_search_occupations", "arguments": {"query": "…"}}

Fédéral et national

Élections Canada : résultats des élections générales fédérales

elections_results_

Résultats des élections générales fédérales tirés des résultats officiels du vote d'Élections Canada (elections.ca), outils préfixés elections_results_ : les 38e à 45e élections générales (2004 à 2025).

Description complète

Résultats des élections générales fédérales tirés des résultats officiels du vote d'Élections Canada (elections.ca), outils préfixés elections_results_ : les 38e à 45e élections générales (2004 à 2025). Votes et part des votes de chaque candidat par circonscription (gagnants indiqués), participation et bulletins par province, sièges par parti et genre, votes valides par parti et province, participation par circonscription avec le candidat élu, et directeurs du scrutin, à partir des tableaux CSV officiels. elections_results_get_historical ajoute toutes les élections générales de 1867 à 2015 par circonscription (totaux par parti du jeu de données CC0 de Winer et Ferris, Scholars Portal Dataverse), et elections_results_get_historical_candidates donne le nom, le parti et les votes de chaque candidat par circonscription, élections générales et partielles depuis 1867 (jeu de données CC0 « Who Runs ? » de Sevi, Harvard Dataverse, compilé à partir de ParlInfo). Les tableaux officiels des élections partielles ne sont pas couverts. Les résultats par bureau de scrutin restent dans ckan_ (organisation « elections ») et le financement des candidats dans elections_financial_returns_.

4 outils

elections_results_get_historicalGet federal election results by riding for every general election since 1867 (1st to 42nd).

Utilisation : historical federal results before 2004 (or to compare 1867 to 2015): each riding's electors, ballots, rejected ballots, candidates, seats, and votes by party, largest first, with the party that led the vote. election is the general election number (1 = 1867, 20 = 1945, 36 = 1997, 42 = 2015); leave it out to search every election. province, constituency (also matches the riding's older name) and party (a mnemonic such as Lib, C, NDP, BQ, or part of a party name) are accent-insensitive filters. Source: the Winer and Ferris data set on Scholars Portal Dataverse (CC0), which holds party totals, not candidate names (use elections_results_get_historical_candidates for those), and ends in 2015; use elections_results_get_table for official Elections Canada results of the 38th to 45th. The data set is in English only: lang="fr" gives errors, notes and provenance in French and leaves the rows as published.

Mots-clés en anglais
historical election results, federal, Confederation, 1867, riding, constituency, party, Liberal, Conservative, CCF, Progressive Conservative, Social Credit, Bloc, votes, turnout, history
Mots-clés en français
résultats électoraux historiques, fédéral, Confédération, 1867, circonscription, parti, libéral, conservateur, CCF, Crédit social, Bloc, votes, participation, histoire
Paramètres de elections_results_get_historical
ParamètreTypeDéfaut
electionint | nullnull
provincestr | nullnull
constituencystr | nullnull
partystr | nullnull
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "elections_results_get_historical", "arguments": {}}
elections_results_get_historical_candidatesGet every candidate's name, party and votes by riding for federal elections since 1867.

Utilisation : who ran and who won in a riding before 2004 (the 36th and 37th general elections, 1997 and 2000, have no Elections Canada data files), candidate names, party, votes and share of votes, incumbents, gender and occupation, tracking one person across elections by candidate_id, and by-elections. election is the parliament number (1 = 1867, 35 = 1993, 36 = 1997, 37 = 2000, 44 = 2021) and year the election year; leave both out to search every election; giving both with a year in which that election was not held is an input error. province, riding, candidate (name) and party are accent-insensitive substring filters; province also takes a code ("AB", "48"). The data set is in English only: lang="fr" gives errors, notes and provenance in French and leaves the rows as published. election_type is general (default), by-election or all. Source: Sevi's "Who Runs?" data set on Harvard Dataverse (CC0), compiled from ParlInfo; it is not an official publication, so use elections_results_get_table for the official 38th to 45th and elections_results_get_historical for party totals by riding.

Mots-clés en anglais
historical candidates, federal election, 1997, 2000, 1993, candidate names, riding, winner, elected, party, votes, incumbent, by-election, MP, Reform, Canadian Alliance, Progressive Conservative
Mots-clés en français
candidats historiques, élection fédérale, 1997, 2000, 1993, noms des candidats, circonscription, gagnant, élu, parti, votes, sortant, élection partielle, député, Réforme, Alliance canadienne
Paramètres de elections_results_get_historical_candidates
ParamètreTypeDéfaut
electionint | nullnull
yearint | nullnull
provincestr | nullnull
ridingstr | nullnull
candidatestr | nullnull
partystr | nullnull
winners_onlyboolfalse
election_type"general" | "by-election" | "all""general"
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "elections_results_get_historical_candidates", "arguments": {}}
elections_results_get_tableGet official federal election results from Elections Canada for one general election.

Utilisation : who won a riding (table candidates with winners_only, or district_results for the elected candidate), every candidate's votes and share of votes in a riding, provincial turnout (turnout), seats by party and gender (seats), valid votes and vote share by party and province (votes_by_party, vote_share_by_party), and returning officers. election is the general election number (45 = April 28, 2025, 44 = 2021, 43 = 2019, 42 = 2015, 41 = 2011, 40 = 2008, 39 = 2006, 38 = 2004). province, district (name in either language, or riding number) and party are accent-insensitive substring filters; a filter needs a matching column in that table. Rows are text exactly as published, in English and French.

Mots-clés en anglais
election results, riding, electoral district, candidate, votes, winner, elected, MP, party, Liberal, Conservative, NDP, Bloc, Green, seats, turnout, federal, Elections Canada
Mots-clés en français
résultats électoraux, circonscription, candidat, votes, gagnant, élu, député, parti, libéral, conservateur, NPD, Bloc québécois, sièges, participation, fédéral, Élections Canada
Paramètres de elections_results_get_table
ParamètreTypeDéfaut
electionintobligatoire
table"turnout" | "seats" | "votes_by_party" | "vote_share_by_party" | "district_results" | "candidates" | "returning_officers"obligatoire
provincestr | nullnull
districtstr | nullnull
partystr | nullnull
winners_onlyboolfalse
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "elections_results_get_table", "arguments": {"election": "…", "table": "…"}}
elections_results_list_electionsList the federal general elections and result tables available (38th to 45th, 2004 to 2025).

Utilisation : seeing which federal general elections have official results here (with polling dates), which tables exist (turnout, seats, votes by party, riding results, every candidate), and what is not covered (elections before 2004, by-elections, poll-by-poll). No upstream call is made.

Mots-clés en anglais
federal election, general election, results, Elections Canada, official voting results, 2025, 2021, 2019, 2015, vote, riding, turnout
Mots-clés en français
élection fédérale, élections générales, résultats, Élections Canada, résultats officiels du vote, circonscription, participation, scrutin
Paramètres de elections_results_list_elections
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "elections_results_list_elections", "arguments": {}}

Fédéral et national

Agence canadienne d'inspection des aliments

cfia_

Tableaux de l'Agence canadienne d'inspection des aliments sur les maladies animales (inspection.canada.ca), outils préfixés cfia_ : nombre annuel de troupeaux et de bandes confirmés par maladie à déclaration obligatoire des animaux terrestres…

Description complète

Tableaux de l'Agence canadienne d'inspection des aliments sur les maladies animales (inspection.canada.ca), outils préfixés cfia_ : nombre annuel de troupeaux et de bandes confirmés par maladie à déclaration obligatoire des animaux terrestres, de 2011 à l'année en cours (mis à jour le 10 de chaque mois ; la copie CKAN s'arrête en 2021) ; une ligne par confirmation, avec date, province et type d'animal, pour la maladie débilitante chronique, la tremblante, la tuberculose bovine, la cysticercose, l'ESB, la trichinose et l'influenza aviaire avant 2021 ; et chaque lieu infecté par l'influenza aviaire hautement pathogène depuis décembre 2021 (actuel ou libéré, province, municipalité, commercial ou non, classification de l'OMSA, zone de contrôle), avec le tableau d'état par province de l'ACIA (oiseaux touchés). La rage, les maladies des animaux aquatiques et les analyses d'aliments sont des jeux de données CKAN (cfia-acia).

3 outils

cfia_avian_influenzaGet highly pathogenic avian influenza (HPAI, bird flu) infected premises in Canada from CFIA.

Utilisation : every poultry and bird premises the CFIA has confirmed with avian influenza since December 2021 (about 660): premises id, date detected, province, municipality, commercial or non-commercial, WOAH poultry or non-poultry, primary control zone and its order, and whether it is still under CFIA quarantine (status="current") or released. Filter by province (code or name), date_from/date_to (YYYY, YYYY-MM or YYYY-MM-DD) and premises_type; counts gives current and released premises by province, month, year or premises type. The result also carries the CFIA's status-by-province table with the estimated birds impacted. Newest first, up to limit (default 25, max 1000). lang="fr" gives French municipalities, zones (ZCP) and labels; dates follow the English page.

Mots-clés en anglais
avian influenza, bird flu, HPAI, H5N1, infected premises, poultry outbreak, CFIA, quarantine, control zone, birds impacted, flocks
Mots-clés en français
influenza aviaire, grippe aviaire, IAHP, H5N1, lieux infectés, éclosion, volailles, ACIA, quarantaine, zone de contrôle primaire, oiseaux touchés
Paramètres de cfia_avian_influenza
ParamètreTypeDéfaut
status"current" | "released" | "all""all"
provincestr | nullnull
date_fromstr | nullnull
date_tostr | nullnull
premises_type"commercial" | "non_commercial" | "captive_wild" | nullnull
counts_by"province" | "month" | "year" | "premises_type""province"
limitint25
lang"en" | "fr""en"
call_tool {"name": "cfia_avian_influenza", "arguments": {}}
cfia_disease_detectionsList each confirmed CFIA detection of a reportable animal disease: date, province, species.

Utilisation : when and where chronic wasting disease was confirmed in farmed deer and elk (monthly, 2011 to now), scrapie in sheep and goat flocks, bovine tuberculosis and cysticercosis in cattle herds, BSE cases (with the animal's age), trichinellosis, and avian influenza in poultry before 2021. disease takes a name or abbreviation in English or French (default: all seven); filter by year, province (code or name) or animal_type ("elk", "wapiti", "goat"); counts_by groups rows by year, YYYY-MM month, province or animal type. herds counts the herds a row stands for ("Elk (3 herds)"), matching the yearly totals of cfia_reportable_diseases. For avian influenza since December 2021 use cfia_avian_influenza. lang="fr" gives French locations, animal types and notes; dates follow the English pages.

Mots-clés en anglais
chronic wasting disease, CWD, scrapie, bovine tuberculosis, BSE, mad cow, cysticercosis, detections, herds infected, deer, elk, CFIA
Mots-clés en français
maladie débilitante chronique, MDC, tremblante, tuberculose bovine, ESB, vache folle, cysticercose, détections, troupeaux infectés, cerf, wapiti, ACIA
Paramètres de cfia_disease_detections
ParamètreTypeDéfaut
diseasestr | nullnull
year_fromint | nullnull
year_toint | nullnull
provincestr | nullnull
animal_typestr | nullnull
counts_by"year" | "month" | "province" | "animal_type" | nullnull
lang"en" | "fr""en"
call_tool {"name": "cfia_disease_detections", "arguments": {}}
cfia_reportable_diseasesGet yearly counts of federally reportable terrestrial animal diseases in Canada (CFIA).

Utilisation : how many farmed herds or flocks were confirmed with a federally reportable disease each year from 2011 to the current year (avian influenza, chronic wasting disease, equine infectious anemia, bovine tuberculosis, scrapie, cysticercosis, BSE, Newcastle disease, anthrax, anaplasmosis, trichinellosis), as published by the CFIA and updated on the 10th of each month (current_as_of gives the month end the counts run to). disease accepts a name in either language or an abbreviation ("CWD", "maladie débilitante chronique", "BSE", "tremblante"), ignoring case, accents and apostrophes; totals_by adds sums by year or by disease. Each row names the tool with one row per detection (cfia_disease_detections, cfia_avian_influenza). Rabies and aquatic diseases are CKAN datasets (organization cfia-acia). lang="fr" reads the French page (French disease names and notes).

Mots-clés en anglais
reportable disease, animal disease, CFIA, chronic wasting disease, avian influenza, equine infectious anemia, bovine tuberculosis, scrapie, BSE, livestock health, herds infected
Mots-clés en français
maladie à déclaration obligatoire, maladies animales, ACIA, maladie débilitante chronique, influenza aviaire, anémie infectieuse des équidés, tuberculose bovine, tremblante, ESB, santé animale, troupeaux infectés
Paramètres de cfia_reportable_diseases
ParamètreTypeDéfaut
year_fromint | nullnull
year_toint | nullnull
diseasestr | nullnull
totals_by"year" | "disease" | nullnull
lang"en" | "fr""en"
call_tool {"name": "cfia_reportable_diseases", "arguments": {}}

Fédéral et national

Agence de la santé publique du Canada : Infobase de la santé

phac_infobase_

Infobase santé de l'ASPC : liste, description et interrogation des fichiers de données des tableaux de bord de surveillance de l'Agence de la santé publique du Canada (détections de virus respiratoires et ÉpiGrippe+, eaux usées, méfaits liés aux opioïdes et aux stimulants…

Description complète

Infobase santé de l'ASPC : liste, description et interrogation des fichiers de données des tableaux de bord de surveillance de l'Agence de la santé publique du Canada (détections de virus respiratoires et ÉpiGrippe+, eaux usées, méfaits liés aux opioïdes et aux stimulants, sites de consommation supervisée, enquêtes sur la consommation de substances, rougeole, mpox, tuberculose, maladies à déclaration obligatoire, manifestations cliniques après la vaccination, indicateurs de maladies chroniques, santé périnatale, blessures liées au froid, demandes d'indemnisation pour TSPT, résistance aux antimicrobiens, données COVID-19 archivées), filtrées par valeur de colonne, province et période, en français ou en anglais.

3 outils

phac_infobase_describe_datasetDescribe a PHAC Health Infobase dataset: columns, values, date coverage, last update.

Utilisation : before querying, learning a surveillance file's columns and their most common values (for exact filters), its date range, the provinces or places it covers, when PHAC last updated it, and which suppression markers it uses ("Suppr.", "X", "n/a"; "Mas." and "n.d." in French files). dataset_id comes from phac_infobase_list_datasets; lang="fr" reads the French file when PHAC publishes one (French column names and labels, sometimes decimal commas) and otherwise the English file; file_language says which.

Mots-clés en anglais
PHAC, Health Infobase, data dictionary, columns, coverage, last updated, surveillance data, suppressed values, metadata
Mots-clés en français
ASPC, Infobase santé, dictionnaire de données, colonnes, période couverte, dernière mise à jour, données de surveillance, valeurs supprimées, métadonnées
Paramètres de phac_infobase_describe_dataset
ParamètreTypeDéfaut
dataset_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "phac_infobase_describe_dataset", "arguments": {"dataset_id": "…"}}
phac_infobase_list_datasetsList PHAC Health Infobase surveillance datasets (dashboard data files), by topic.

Utilisation : finding public health surveillance data from the Public Health Agency of Canada's Health Infobase dashboards: respiratory virus detections and FluWatch+ (influenza, COVID-19, RSV), wastewater viral load, opioid and stimulant deaths and hospitalizations, supervised consumption sites, substance use surveys, measles, mpox, tuberculosis, notifiable diseases, vaccine adverse events, chronic disease and cancer indicators, perinatal health (c-sections, preterm birth), cold-related injuries, PTSD workers' compensation claims, antimicrobial resistance (MRSA, VRE, C. difficile, gonorrhoea), archived COVID-19 cases and vaccination. topic is one of respiratory, covid19, wastewater, vaccination, substance_use, infectious_disease, chronic_disease, health_status, perinatal, injury, antimicrobial_resistance; query matches words in English or French titles, ignoring case and accents. lang="fr" returns French titles and descriptions for every dataset; languages shows which ones also have a French data file (9 of them), the others are read from the English file. Returns dataset ids for phac_infobase_describe_dataset and phac_infobase_query. The Chronic Disease Surveillance System (CCDSS) data tool has no downloadable file.

Mots-clés en anglais
PHAC, Health Infobase, public health surveillance, FluWatch, influenza, COVID-19, RSV, opioid overdose, wastewater, measles, tuberculosis, notifiable diseases, antimicrobial resistance, perinatal
Mots-clés en français
ASPC, Agence de la santé publique du Canada, Infobase santé, surveillance de la santé publique, ÉpiGrippe, grippe, influenza, COVID-19, VRS, virus respiratoires, surdoses d'opioïdes, eaux usées, rougeole, tuberculose, maladies à déclaration obligatoire, vaccination, résistance aux antimicrobiens, santé périnatale
Paramètres de phac_infobase_list_datasets
ParamètreTypeDéfaut
topicstr | nullnull
querystr | nullnull
lang"en" | "fr""en"
call_tool {"name": "phac_infobase_list_datasets", "arguments": {}}
phac_infobase_queryQuery rows of a PHAC Health Infobase dataset by column values, date range and province.

Utilisation : weekly influenza, COVID-19 and RSV percent positive by province, apparent opioid toxicity deaths by province and year, wastewater viral load for a city, measles cases by province, tuberculosis incidence, and similar surveillance series. filters are exact, case-insensitive column matches, e.g. for opioid_stimulant_harms {"Source": "Deaths", "Specific_Measure": "Overall numbers", "Unit": "Number", "Time_Period": "By year"}; geography accepts a province or territory name (English or French), abbreviation (ON, QC) or PRUID code, or part of a place name (wastewater sites); one that matches nothing is an error listing the places the dataset has. start/end are YYYY, YYYY-MM, YYYY-MM-DD or YYYY Qn (or Tn) on the dataset's date column. The most recent limit matching rows come back, oldest first. Values are returned as published; suppression markers are listed. lang="fr" reads the French file where one exists, whose column names and values are French (e.g. {"Source": "Mortalité", "Unité": "Nombre", "Période_Temps": "Par année"}; quarters "2025 T3"), so take filter names and values from phac_infobase_describe_dataset called with the same lang. Filters also ignore accents and apostrophe style.

Mots-clés en anglais
PHAC, Health Infobase, surveillance time series, weekly cases, percent positivity, overdose deaths, province, wastewater, rates per 100, 000
Mots-clés en français
ASPC, Infobase santé, séries chronologiques de surveillance, cas hebdomadaires, pourcentage de positivité, taux de positivité, décès par surdose, province, eaux usées, taux pour 100 000
Paramètres de phac_infobase_query
ParamètreTypeDéfaut
dataset_idstrobligatoire
filtersdict[str, str] | nullnull
geographystr | nullnull
startstr | nullnull
endstr | nullnull
columnslist[str] | nullnull
limitint100
lang"en" | "fr""en"
call_tool {"name": "phac_infobase_query", "arguments": {"dataset_id": "…"}}

Fédéral et national

Agence de réglementation de la lutte antiparasitaire de Santé Canada : registre des pesticides

pmra_

Registre des pesticides de l'Agence de réglementation de la lutte antiparasitaire (ARLA) de Santé Canada, outils préfixés pmra_ : recherche parmi environ 21 800 produits antiparasitaires homologués ou historiques par nom, numéro d'homologation, principe actif…

Description complète

Registre des pesticides de l'Agence de réglementation de la lutte antiparasitaire (ARLA) de Santé Canada, outils préfixés pmra_ : recherche parmi environ 21 800 produits antiparasitaires homologués ou historiques par nom, numéro d'homologation, principe actif, titulaire ou type de produit ; un produit avec ses principes actifs (numéro CAS, statut de réévaluation), sites d'utilisation et organismes nuisibles ; et les limites maximales de résidus (LMR, ppm) par pesticide et denrée. Extraits CSV quotidiens de la Base de données sur les produits antiparasitaires, en français ou en anglais, Licence du gouvernement ouvert – Canada.

3 outils

pmra_get_productOne pesticide product by its registration number, with its ingredients.

Utilisation : the full record of a registered pest control product: status and expiry, registrant, sites of use (crops, lawns, buildings), target pests, and each active ingredient with its CAS number, whether it is under re-evaluation, and how many food commodities carry a maximum residue limit for it (see pmra_get_residue_limits). Read fresh from the registry. Sites and pests are cut at 2,000 characters by the source; lists_truncated says when.

Mots-clés en anglais
pesticide label details, registration number lookup, PCP act, CAS number, re-evaluation, target pests, sites of use, pesticide active ingredients, registrant
Mots-clés en français
fiche du produit antiparasitaire, numéro d'homologation, numéro CAS, réévaluation, organismes nuisibles, sites d'utilisation, principes actifs, titulaire d'homologation, Agence de réglementation de la lutte antiparasitaire (ARLA), Santé Canada
Paramètres de pmra_get_product
ParamètreTypeDéfaut
registration_numberstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "pmra_get_product", "arguments": {"registration_number": "…"}}
pmra_get_residue_limitsCanada's maximum residue limits (MRLs) for pesticides on food.

Utilisation : the legal maximum pesticide residue, in parts per million, allowed on a food sold in Canada: glyphosate on wheat or oats, chlorpyrifos on apples, every pesticide with an MRL on blueberries. chemical is the common name (exact match first, else a substring); commodity matches food names ('apples', 'pommes' with lang='fr'). About 25,000 limits for 339 chemicals, each with the regulatory action that set it (an EMRL or PMRL document, or the Canada Gazette).

Mots-clés en anglais
maximum residue limit, MRL, pesticide residues in food, ppm, food safety pesticides, glyphosate limit, residue tolerance, Health Canada MRL database
Mots-clés en français
limite maximale de résidus, LMR, résidus de pesticides dans les aliments, ppm, salubrité des aliments, denrée alimentaire, tolérance de résidus, glyphosate, Agence de réglementation de la lutte antiparasitaire (ARLA), Santé Canada
Paramètres de pmra_get_residue_limits
ParamètreTypeDéfaut
chemicalstr""
commoditystr""
limitint200
lang"en" | "fr""en"
call_tool {"name": "pmra_get_residue_limits", "arguments": {}}
pmra_search_productsSearch Health Canada's register of pesticide products (PMRA).

Utilisation : whether a pesticide, herbicide, insecticide, fungicide, disinfectant or insect repellent is registered in Canada, its PCP registration number, registrant, marketing type (commercial, domestic, restricted) and active ingredients. About 7,800 current and 14,000 historical (cancelled) products. query matches product names (both languages) and the registration number; active_ingredient matches ingredient names ('glyphosate', 'chlorpyrifos', 'DEET'); registrant and product_type ('herbicide') narrow further. Counts by product type come with every result. Pass a registration number to pmra_get_product for sites of use, pests and ingredient details. Open Government Licence - Canada; data refreshed daily.

Mots-clés en anglais
pesticide registration, PCP number, registered pesticides, herbicide products, Roundup, active ingredient, Pest Management Regulatory Agency, Health Canada pesticides, insecticide
Mots-clés en français
homologation des pesticides, numéro d'homologation, produits antiparasitaires, Agence de réglementation de la lutte antiparasitaire (ARLA), herbicide homologué, principe actif, insecticide, Santé Canada pesticides, produit phytosanitaire
Paramètres de pmra_search_products
ParamètreTypeDéfaut
querystr""
registration_numberstr""
active_ingredientstr""
registrantstr""
product_typestr""
status"current" | "historical" | "all""current"
limitint50
lang"en" | "fr""en"
call_tool {"name": "pmra_search_products", "arguments": {}}

Fédéral et national

Agence des services frontaliers du Canada : Tarif des douanes

cbsa_tariff_

Le Tarif des douanes du Canada, de l'Agence des services frontaliers du Canada (ASFC), outils préfixés cbsa_tariff_ : chaque position, numéro tarifaire et numéro de classement à 10 chiffres des chapitres 1 à 99 avec sa description…

Description complète

Le Tarif des douanes du Canada, de l'Agence des services frontaliers du Canada (ASFC), outils préfixés cbsa_tariff_ : chaque position, numéro tarifaire et numéro de classement à 10 chiffres des chapitres 1 à 99 avec sa description, son unité de mesure et ses taux selon chaque traitement tarifaire (nation la plus favorisée, tarif général, et taux préférentiels de l'ACEUM, de l'AECG, du PTPGP, du Royaume-Uni, de la Corée et d'autres accords), pour l'édition en vigueur aujourd'hui ou à une date passée depuis 2018, en français ou en anglais. Se combine avec les volumes d'échanges par code SH de cimt_. Conditions de l'ASFC : réutilisation non commerciale avec mention de la source.

3 outils

cbsa_tariff_list_editionsList the editions of Canada's Customs Tariff (CBSA), with effective dates.

Utilisation : which version of the Customs Tariff schedule is in force and since when, the amendments of a year (T2026, T2026-1, T2026-2 ...) and links to each edition's Access database, PDF and web chapters. Without year, this year's and last year's editions; year reaches back to 2018. Pass an edition label or a date as edition to cbsa_tariff_lookup and cbsa_tariff_search to read an earlier one. CBSA terms: non-commercial reuse with attribution.

Mots-clés en anglais
customs tariff edition, tariff schedule version, CBSA tariff amendment, effective date, departmental consolidation, tariff update, T2026, Canada tariff history
Mots-clés en français
édition du tarif des douanes, version de l'annexe tarifaire, modification du tarif de l'ASFC, date d'entrée en vigueur, codification ministérielle, mise à jour tarifaire, historique du tarif canadien, Agence des services frontaliers
Paramètres de cbsa_tariff_list_editions
ParamètreTypeDéfaut
yearint | nullnull
lang"en" | "fr""en"
call_tool {"name": "cbsa_tariff_list_editions", "arguments": {}}
cbsa_tariff_lookupLook up a Canadian Customs Tariff number: description, unit and duty rates.

Utilisation : the duty rate Canada charges on a product by its tariff item or HS code: the Most-Favoured-Nation (MFN) rate, the General Tariff, and every preferential rate (United States and Mexico under CUSMA, the EU under CETA, CPTPP, UK, Korea, Chile, Peru, Colombia, Ukraine, least developed countries, General Preferential Tariff ...), each as CBSA wrote it and as a percentage when it is one. tariff_item takes 2 to 10 digits, dots optional: '8703.80.00' (a tariff item), '8703' (a heading, listing the lines under it), '8703800000' (a classification number). The result also gives the item's headings for context. edition is 'latest', an edition such as '2026-2', or a date (YYYY-MM-DD) for the rates then in force (2018 onward). The digits are the HS code cimt_get_trade takes as hs_code, so the same code gives Canada's import volumes by partner. The first call on an edition reads CBSA's database (about 20 s). Surtaxes, anti-dumping duties and GST are not part of the schedule. CBSA terms: non-commercial reuse.

Mots-clés en anglais
customs tariff, duty rate, import duty Canada, MFN rate, tariff item, HS code, CUSMA preferential rate, CETA, CPTPP, tariff treatment, harmonized system classification
Mots-clés en français
tarif des douanes, taux de droit, droits de douane à l'importation, taux NPF, numéro tarifaire, code SH, taux préférentiel ACEUM, AECG, PTPGP, traitement tarifaire, classement du système harmonisé
Paramètres de cbsa_tariff_lookup
ParamètreTypeDéfaut
tariff_itemstrobligatoire
editionstr"latest"
lang"en" | "fr""en"
call_tool {"name": "cbsa_tariff_lookup", "arguments": {"tariff_item": "…"}}

Fédéral et national

Conseil d'examen du prix des médicaments brevetés

pmprb_

Rapports annuels du Conseil d'examen du prix des médicaments brevetés (CEPMB) sur canada.ca, outils préfixés pmprb_ : chaque tableau et tableau de données de figure des rapports 2018 à 2024 (indice des prix des médicaments brevetés comparé à l'IPC depuis 2005…

Description complète

Rapports annuels du Conseil d'examen du prix des médicaments brevetés (CEPMB) sur canada.ca, outils préfixés pmprb_ : chaque tableau et tableau de données de figure des rapports 2018 à 2024 (indice des prix des médicaments brevetés comparé à l'IPC depuis 2005, ratios des prix étrangers aux prix canadiens pour le CEPMB11 et l'OCDE, ventes de médicaments brevetés depuis 1990, dépenses de R-D et ratios R-D/ventes par entreprise, province et type de recherche, résultats de l'examen des prix), en français ou en anglais, nombres convertis ; et les listes 2020 et 2021 des médicaments brevetés (DIN, marque, ingrédient, ATC, entreprise, statut de l'examen du prix).

3 outils

pmprb_get_report_tableRead a table from a PMPRB annual report, with numbers parsed.

Utilisation : the figures behind a PMPRB table or chart: PMPI and CPI index and rates of change by year, foreign-to-Canadian price ratios by country, patented medicine sales and share of GDP by year, R&D expenditures by company or province. year is the report year (2018 to 2024); table is a title start like 'Figure 1' or 'Table 5' ('Tableau 5' works too) or the index from pmprb_list_report_tables. A title can own several tables (a chart drawn from two, or sub-tables with their own caption); all are returned. Numbers drop '$' and '%', so read units from the column name or label.

Mots-clés en anglais
PMPRB table, patented medicine price index, price ratio by country, patented drug sales, R&D-to-sales ratio, pharmaceutical statistics, annual report data, drug price trends
Mots-clés en français
tableau du CEPMB, indice des prix des médicaments brevetés, ratio des prix par pays, ventes de médicaments brevetés, ratio R-D/ventes, statistiques pharmaceutiques, rapport annuel, tendances des prix des médicaments
Paramètres de pmprb_get_report_table
ParamètreTypeDéfaut
yearintobligatoire
tablestrobligatoire
lang"en" | "fr""en"
call_tool {"name": "pmprb_get_report_table", "arguments": {"year": "…", "table": "…"}}
pmprb_list_report_tablesList the data tables in PMPRB's annual reports on patented medicine prices.

Utilisation : finding patented drug price statistics from the Patented Medicine Prices Review Board, 2018 to 2024 reports: the Patented Medicines Price Index (PMPI) against CPI since 2005, how Canadian list prices compare with the PMPRB11 and OECD countries (median and highest international price ratios), patented medicine sales since 1990 and their drivers, sales by therapeutic class, biosimilar uptake, R&D spending and R&D-to-sales ratios by company, province and type of research, and price review outcomes. With year, lists that report's tables (each chart's data table included); with only query, searches titles and columns across every year; with neither, lists the reports. Pass a year and a table's label or index to pmprb_get_report_table.

Mots-clés en anglais
PMPRB, patented medicine prices, drug prices, pharmaceutical prices, international price comparison, PMPI, pharmaceutical R&D, drug sales, patented drugs
Mots-clés en français
CEPMB, prix des médicaments brevetés, prix des médicaments, comparaison internationale des prix, IPMB, dépenses de R-D pharmaceutique, ventes de médicaments, médicaments brevetés
Paramètres de pmprb_list_report_tables
ParamètreTypeDéfaut
yearint | nullnull
querystr""
lang"en" | "fr""en"
call_tool {"name": "pmprb_list_report_tables", "arguments": {}}
pmprb_search_patented_medicinesSearch the list of patented medicines reported to PMPRB (2020 or 2021).

Utilisation : whether a drug was under PMPRB price jurisdiction, which company reported it, and its price review status: within guidelines, does not trigger an investigation, under investigation, under review, voluntary compliance undertaking, notice of hearing. About 1,200 drug products a year with DIN, brand name, medicinal ingredient, ATC class and dosage form. query matches DIN, brand, ingredient or company; atc is a class prefix (L04 immunosuppressants); counts by status come with every result. PMPRB published no list after 2021.

Mots-clés en anglais
patented medicines list, DIN, drug price review, excessive pricing investigation, PMPRB jurisdiction, patentee, rights holder, brand name drug, ATC code
Mots-clés en français
liste des médicaments brevetés, DIN, examen du prix, enquête sur les prix excessifs, compétence du CEPMB, breveté, titulaire de droits, médicament de marque, code ATC
Paramètres de pmprb_search_patented_medicines
ParamètreTypeDéfaut
querystr""
companystr""
atcstr""
status"within_guidelines" | "does_not_trigger" | "under_investigation" | "under_review" | "voluntary_compliance_undertaking" | "notice_of_hearing" | "stay_order" | nullnull
year2020 | 20212021
limitint25
lang"en" | "fr""en"
call_tool {"name": "pmprb_search_patented_medicines", "arguments": {}}

Fédéral et national

Gazette du Canada

gazette_

Gazette du Canada : liste des éditions récentes de la Partie I (avis et projets de règlement) et de la Partie II (règlements enregistrés, DORS/TR), liste des avis d'une édition par section, ministère et loi, et texte d'un avis, en français ou en anglais.

3 outils

gazette_get_issueList every notice or regulation in one Canada Gazette issue.

Utilisation : seeing what was published on a date (default: the latest issue), grouped by section (government notices, commissions, proposed regulations, miscellaneous notices) with the department and act for Part I, or the SOR/SI instruments for Part II. issue_date is YYYY-MM-DD from gazette_list_issues.

Mots-clés en anglais
Canada Gazette issue, table of contents, notices, regulations, department, act, SOR, SI, publication date
Mots-clés en français
édition de la Gazette du Canada, table des matières, avis, règlements, ministère, loi, DORS, TR
Paramètres de gazette_get_issue
ParamètreTypeDéfaut
part1 | 21
issue_datestr | nullnull
lang"en" | "fr""en"
call_tool {"name": "gazette_get_issue", "arguments": {}}
gazette_get_noticeRead the text of one Canada Gazette notice or regulation.

Utilisation : the wording of a notice, proposed regulation (with its Regulatory Impact Analysis Statement) or registered regulation. url comes from gazette_get_issue; the language follows the URL (open the French issue for French text).

Mots-clés en anglais
Canada Gazette notice text, regulation text, RIAS, regulatory impact, proposed regulation, order, Canada Gazette, notice
Mots-clés en français
texte de l'avis, texte du règlement, REIR, résumé de l'étude d'impact, projet de règlement, décret, Gazette du Canada, avis
Paramètres de gazette_get_notice
ParamètreTypeDéfaut
urlstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "gazette_get_notice", "arguments": {"url": "…"}}
gazette_list_issuesList recent Canada Gazette issues (Part I notices, Part II regulations).

Utilisation : finding an issue date to open with gazette_get_issue. Part I (weekly, Saturdays) carries government notices, commission notices and proposed regulations; Part II (every second Wednesday) carries registered regulations (SOR) and statutory instruments (SI).

Mots-clés en anglais
Canada Gazette, government notices, proposed regulations, regulations, SOR, orders in council, official publication, Part I
Mots-clés en français
Gazette du Canada, avis du gouvernement, projets de règlement, règlements, DORS, décrets, publication officielle, Partie I
Paramètres de gazette_list_issues
ParamètreTypeDéfaut
part1 | 21
limitint10
lang"en" | "fr""en"
call_tool {"name": "gazette_list_issues", "arguments": {}}

Fédéral et national

Organismes de bienfaisance enregistrés de l'ARC

cra_charities_

Recherche d'organismes de bienfaisance enregistrés de l'ARC (fichier annuel « Liste des organismes de bienfaisance » T3010 sur ouvert.canada.ca, outils préfixés cra_charities_) : recherche par nom, ville, province ou désignation…

Description complète

Recherche d'organismes de bienfaisance enregistrés de l'ARC (fichier annuel « Liste des organismes de bienfaisance » T3010 sur ouvert.canada.ca, outils préfixés cra_charities_) : recherche par nom, ville, province ou désignation, fiche d'un organisme par numéro d'entreprise (nom légal, adresse, désignation, codes de catégorie, fin du dernier exercice et programmes) et liste de ses administrateurs et dirigeants. Licence : Licence du gouvernement ouvert - Canada. Ne remplace pas la Liste des organismes de bienfaisance en direct de l'ARC : le fichier est le dernier fichier annuel publié, une inscription ou une révocation récente peut donc manquer, et l'absence d'un organisme ne prouve pas qu'il n'est pas enregistré.

3 outils

cra_charities_get_charityOne registered charity by business number (9 digits or 119219814RR0001): legal name, address, designation, category codes, latest fiscal period end and declared programs.

Utilisation : verifying a charity from its business number, getting its address and type (foundation or charitable organization), seeing when its latest return period ended.

Mots-clés en anglais
charity lookup, business number, BN, registration number, CRA charity, designation, foundation, fiscal period end, charitable programs, T3010, verify charity
Mots-clés en français
fiche d'un organisme de bienfaisance, numéro d'entreprise, NE, numéro d'enregistrement, ARC, désignation, fondation, fin d'exercice, programmes de bienfaisance, T3010, vérifier un organisme
Paramètres de cra_charities_get_charity
ParamètreTypeDéfaut
business_numberstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "cra_charities_get_charity", "arguments": {"business_number": "…"}}
cra_charities_get_directorsDirectors and officers a charity reported on its latest T3010 return, by business number: names, positions, arm's-length status and start and end dates.

Utilisation : seeing who sits on a charity's board, officers' positions and tenure, whether a person is a director of a given charity (published open data, per CRA return).

Mots-clés en anglais
charity directors, officers, board, trustees, T3010, CRA, business number, governance, position, arm's length, charity board members
Mots-clés en français
administrateurs d'un organisme de bienfaisance, dirigeants, conseil d'administration, fiduciaires, T3010, ARC, numéro d'entreprise, gouvernance, poste, lien de dépendance, membres du conseil
Paramètres de cra_charities_get_directors
ParamètreTypeDéfaut
business_numberstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "cra_charities_get_directors", "arguments": {"business_number": "…"}}

Fédéral et national

Pêches et Océans Canada : marées et niveaux d'eau

dfo_iwls_

Marées et niveaux d'eau de Pêches et Océans Canada (API SINE du Service hydrographique du Canada) : recherche parmi environ 1 575 stations marégraphiques, détail des stations et niveaux de référence, niveaux d'eau observés…

Description complète

Marées et niveaux d'eau de Pêches et Océans Canada (API SINE du Service hydrographique du Canada) : recherche parmi environ 1 575 stations marégraphiques, détail des stations et niveaux de référence, niveaux d'eau observés, prédictions de niveaux d'eau et heures des pleines et basses mers pour toute période d'au plus 7 jours.

3 outils

dfo_iwls_get_stationGet one DFO tide station's details: location, region, datums, and available series.

Utilisation : checking whether a station is tidal or a tide-table reference port and converting its chart-datum levels to CGVD2013 or CGVD28 with the datum offsets.

Mots-clés en anglais
DFO, tide station, chart datum, CGVD2013, geodetic datum, station metadata, hydrographic, reference port
Mots-clés en français
MPO, station marégraphique, zéro des cartes, CGVD2013, niveau de référence géodésique, métadonnées, port de référence, niveau d'eau
Paramètres de dfo_iwls_get_station
ParamètreTypeDéfaut
station_codestrobligatoire
lang"en" | "fr""en"
call_tool {"name": "dfo_iwls_get_station", "arguments": {"station_code": "…"}}
dfo_iwls_get_water_levelsGet tide times, predicted water levels, or observed water levels for one station.

Utilisation : high and low tide times ("wlp-hilo", the default), predicted levels ("wlp"), or official observed levels ("wlo") in metres above chart datum. start/end are ISO dates or UTC datetimes (default: now to +24 h); a date-only end includes that whole day; the window is capped at 7 days. resolution (e.g. "ONE_MINUTE") is ignored for high/low tides (default past one day: SIXTY_MINUTES).

Mots-clés en anglais
tides, tide table, high tide, low tide, water level, prediction, observed, DFO, harbour, marine forecast
Mots-clés en français
marées, table des marées, pleine mer, basse mer, niveau d'eau, prédiction, observé, MPO, port, prévision maritime
Paramètres de dfo_iwls_get_water_levels
ParamètreTypeDéfaut
station_codestrobligatoire
series_codestr"wlp-hilo"
startstr | nullnull
endstr | nullnull
resolution"ONE_MINUTE" | "FIVE_MINUTES" | "FIFTEEN_MINUTES" | "SIXTY_MINUTES" | nullnull
lang"en" | "fr""en"
call_tool {"name": "dfo_iwls_get_water_levels", "arguments": {"station_code": "…"}}
dfo_iwls_search_stationsSearch Canada's ~1,575 tide and water-level stations (Fisheries and Oceans Canada).

Utilisation : finding a station's five-digit code (e.g. "07120" Victoria Harbour) before fetching tides or water levels. query matches the station name, alternative name, or exact code; series_code narrows to stations publishing that series ("wlo" observed, "wlp" predicted, "wlp-hilo" high/low tides). lang="fr" returns French series names.

Mots-clés en anglais
DFO, Canadian Hydrographic Service, tide station, tides, water level, harbour, port, coast, marine, tide gauge
Mots-clés en français
MPO, Pêches et Océans, Service hydrographique du Canada, station marégraphique, marées, niveau d'eau, port, côte, marégraphe
Paramètres de dfo_iwls_search_stations
ParamètreTypeDéfaut
querystr""
operating_onlybooltrue
series_codestr | nullnull
limitint20
lang"en" | "fr""en"
call_tool {"name": "dfo_iwls_search_stations", "arguments": {}}

Fédéral et national

Rappels et avis de sécurité

recalls_

Rappels et avis de sécurité du gouvernement du Canada (Santé Canada, ACIA, Transports Canada) : recherche des avis sur les aliments, les produits de santé, les produits de consommation et les véhicules par mot-clé, organisme, catégorie, classe et date…

Description complète

Rappels et avis de sécurité du gouvernement du Canada (Santé Canada, ACIA, Transports Canada) : recherche des avis sur les aliments, les produits de santé, les produits de consommation et les véhicules par mot-clé, organisme, catégorie, classe et date ; décompte par année ou catégorie ; et détails d'un avis (produits visés, lots, danger, que faire) en français ou en anglais.

3 outils

recalls_getGet one recall or safety alert's full notice: affected products, lots, hazard and what to do.

Utilisation : the details behind a recall_id from recalls_search, such as the affected products table (brand, product, size, UPC, lot or serial numbers, DIN, expiry), the issue and safety risk text, what consumers should do, distribution provinces, recalling companies, recall class and recall date. layout says which page format was read: 'current' pages fill the typed fields; older 'legacy' notices put their header in details and their body in legacy_text. For vehicle notices, agency_reference holds the Transport Canada recall number for tc_recalls_get. lang="fr" reads the French page (untranslated notices come back in English).

Mots-clés en anglais
recall details, affected products, lot number, UPC, hazard, what to do, recalling firm, distribution, recall class, safety alert
Mots-clés en français
détails du rappel, produits visés, numéro de lot, code CUP, danger, que faire, entreprise, distribution, classe de rappel, avis de sécurité
Paramètres de recalls_get
ParamètreTypeDéfaut
recall_idintobligatoire
lang"en" | "fr""en"
call_tool {"name": "recalls_get", "arguments": {"recall_id": "…"}}
recalls_summarizeCount Government of Canada recalls and safety alerts by year, agency, product type or category.

Utilisation : statistics such as food recalls per year, allergen recalls by issue (e.g. product_type="food", group_by="issue"), Health Canada recalls by recall class, or which consumer product categories are recalled most. Takes the same filters as recalls_search. year is the last-updated year (the dump has no separate recall date). Unlike recalls_search, archived notices are included by default, so counts cover the full history back to the 1990s; pass include_archived=False to match the site's search. lang="fr" returns French organization, category, issue and class labels (and then takes French query and category text); agency and product_type keys and the "(none)" and "unknown" keys stay as codes.

Mots-clés en anglais
recall statistics, recalls per year, count, trend, food recalls, allergen, Health Canada, CFIA, product safety, summary
Mots-clés en français
statistiques de rappels, rappels par année, nombre, tendance, rappels d'aliments, allergène, Santé Canada, ACIA, sécurité des produits, sommaire
Paramètres de recalls_summarize
ParamètreTypeDéfaut
group_by"year" | "agency" | "product_type" | "organization" | "category" | "issue" | "recall_class"obligatoire
querystr | nullnull
agency"health_canada" | "cfia" | "transport_canada" | nullnull
product_type"food" | "health_product" | "consumer_product" | "vehicle" | nullnull
categorystr | nullnull
recall_classstr | nullnull
updated_fromstr | nullnull
updated_tostr | nullnull
include_archivedbooltrue
topint50
lang"en" | "fr""en"
call_tool {"name": "recalls_summarize", "arguments": {"group_by": "…"}}

Fédéral et national

Ressources naturelles Canada : consommation d'énergie

nrcan_energy_use_

Données sur la consommation d'énergie de Ressources naturelles Canada (Office de l'efficacité énergétique) : la Base de données complète sur la consommation d'énergie (consommation d'énergie et émissions de GES par secteur et province depuis 2000) et les tableaux des enquêtes…

Description complète

Données sur la consommation d'énergie de Ressources naturelles Canada (Office de l'efficacité énergétique) : la Base de données complète sur la consommation d'énergie (consommation d'énergie et émissions de GES par secteur et province depuis 2000) et les tableaux des enquêtes sur la consommation d'énergie : ménages (EMCE, aussi par RMR), secteur commercial et institutionnel (EECI), immeubles résidentiels à logements multiples, arénas, industrie (CIE) et appareils ménagers. Liste des tableaux d'un produit, puis lecture de tout tableau en français ou en anglais.

3 outils

nrcan_energy_use_get_tableRead one NRCan energy-use table (header rows, data rows, and notes).

Utilisation : household energy use by region and fuel, energy intensity, GHG emissions by sector and energy source over time, heating system shares, and commercial or industrial energy use. table_key comes from nrcan_energy_use_list_tables. lang="fr" returns NRCan's French table. Survey tables print a quality letter after each value; the legend is in notes. Comprehensive-database keys end in page=0 (2000 and the latest six years, to 2023); page=1 gives the years between.

Mots-clés en anglais
NRCan, energy consumption, petajoules, GHG emissions, household energy use survey, heating, natural gas, electricity
Mots-clés en français
Ressources naturelles Canada (RNCan), consommation d'énergie, pétajoules, émissions de GES, enquête sur les ménages, chauffage, gaz naturel, électricité
Paramètres de nrcan_energy_use_get_table
ParamètreTypeDéfaut
table_keystrobligatoire
lang"en" | "fr""en"
call_tool {"name": "nrcan_energy_use_get_table", "arguments": {"table_key": "…"}}
nrcan_energy_use_list_productsList NRCan's energy-use products: the Comprehensive Energy Use Database and energy surveys.

Utilisation : choosing what to read. Surveys: Survey of Household Energy Use (SHEU 2019/2015, also by CMA), multi-unit residential buildings, commercial and institutional buildings (SCIEU), arenas, industrial consumption (ICE), appliance shipments. The comprehensive database covers energy use and GHG emissions by sector and province, 2000 to 2023.

Mots-clés en anglais
NRCan, energy use, energy consumption, household energy survey, SHEU, GHG emissions, energy efficiency, residential, buildings
Mots-clés en français
Ressources naturelles Canada (RNCan), consommation d'énergie, utilisation de l'énergie, enquête sur les ménages, émissions de GES, efficacité énergétique, base de données, énergie
Paramètres de nrcan_energy_use_list_products
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "nrcan_energy_use_list_products", "arguments": {}}
nrcan_energy_use_list_tablesList the tables of one NRCan energy-use product, with titles and table keys.

Utilisation : finding a table, e.g. product="sheu_2019" (household space heating, appliances, dwelling characteristics), or product="comprehensive" with sector ("res", "com", "id", "tran", "agr", "agg") and jurisdiction ("ca", "ab", "on", ...). Titles come from NRCan's English menus; read a table in French with nrcan_energy_use_get_table(lang="fr").

Mots-clés en anglais
NRCan, energy use tables, household energy, heating, appliances, sector, province, energy database
Mots-clés en français
Ressources naturelles Canada (RNCan), tableaux, consommation d'énergie, chauffage, appareils, secteur, province, base de données
Paramètres de nrcan_energy_use_list_tables
ParamètreTypeDéfaut
productstrobligatoire
sectorstr | nullnull
jurisdictionstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "nrcan_energy_use_list_tables", "arguments": {"product": "…"}}

Fédéral et national

Élections Canada : rapports financiers des candidats

elections_financial_returns_

Financement politique d'Élections Canada (elections.ca/WPAPPS/WPF) : recherche de candidats aux élections fédérales par nom, parti ou province, puis récupération de l'une des 13 parties du rapport de campagne officiel d'un candidat (déclaration, contributions reçues, prêts…

Description complète

Financement politique d'Élections Canada (elections.ca/WPAPPS/WPF) : recherche de candidats aux élections fédérales par nom, parti ou province, puis récupération de l'une des 13 parties du rapport de campagne officiel d'un candidat (déclaration, contributions reçues, prêts, dépenses, transferts, rapprochement bancaire) sous forme de données structurées. Couvre uniquement l'entité politique Candidats ; distinct des jeux de données CKAN de résultats par bureau de scrutin et de contributions déjà accessibles via ckan_* (portal="federal").

3 outils

elections_financial_returns_get_financial_return_partRetrieve one part of a federal election candidate's official Complete Financial Return -- declaration, contributions received, loans, expenses, transfers, or bank reconciliation.

Utilisation : auditing a candidate's campaign expenses or donors; the declared official agent; unpaid claims or loans; bank reconciliation totals; any line item from an official candidate financial return filed under the Canada Elections Act.

Mots-clés en anglais
elections canada, campaign finance, financial return, candidate expenses, contributions received, official agent, election spending, political financing, donor, campaign loan
Mots-clés en français
Élections Canada, financement de campagne, rapport financier, dépenses de candidat, contributions reçues, agent officiel, dépenses électorales, financement politique, donateur, prêt de campagne, don, dons, contributions politiques, donateurs, financement des partis
Paramètres de elections_financial_returns_get_financial_return_part
ParamètreTypeDéfaut
candidate_client_idstrobligatoire
partstrobligatoire
election_idstrobligatoire
act"after_2019" | "2015_2019" | "2007_2014" | "2004_2006""after_2019"
return_status"submitted" | "amended""submitted"
lang"en" | "fr""en"
call_tool {"name": "elections_financial_returns_get_financial_return_part", "arguments": {"candidate_client_id": "…", "part": "…", "election_id": "…"}}
elections_financial_returns_list_electionsList general elections and by-elections available for a candidate financial-return search under a given Canada Elections Act period.

Utilisation : finding the election_id to pass into elections_financial_returns_search_candidates or elections_financial_returns_get_financial_return_part; discovering recent or upcoming by-elections not yet known by name.

Mots-clés en anglais
elections canada, election list, by-election, general election, candidate, political financing, act period, election id, writ, campaign return
Mots-clés en français
Élections Canada, liste des élections, élection partielle, élection générale, candidat, financement politique, période de la loi, identifiant d'élection, bref, rapport de campagne, don, dons, contributions politiques, donateurs, financement des partis
Paramètres de elections_financial_returns_list_elections
ParamètreTypeDéfaut
act"after_2019" | "2015_2019" | "2007_2014" | "2004_2006""after_2019"
lang"en" | "fr""en"
call_tool {"name": "elections_financial_returns_list_elections", "arguments": {}}
elections_financial_returns_search_candidatesSearch federal election candidates on Elections Canada's Political Financing portal, returning each match's client_id, party, and electoral district for use with elections_financial_returns_get_financial_return_part.

Utilisation : finding a specific candidate's internal id before pulling their campaign financial return; browsing candidates by party or province for one election; discovering valid party_id/province_id values via the result's available_parties/available_provinces.

Mots-clés en anglais
elections canada, candidate search, political financing, campaign return, client id, party, electoral district, province, financial disclosure
Mots-clés en français
Élections Canada, recherche de candidats, financement politique, rapport de campagne, identifiant, parti, circonscription, province, divulgation financière, don, dons, contributions politiques, donateurs, financement des partis
Paramètres de elections_financial_returns_search_candidates
ParamètreTypeDéfaut
election_idstrobligatoire
act"after_2019" | "2015_2019" | "2007_2014" | "2004_2006""after_2019"
last_namestr""
first_namestr""
party_idstr"-1"
province_idstr"-1"
district_idstr"-1"
return_status"submitted" | "amended""submitted"
offsetint0
limitint300
lang"en" | "fr""en"
call_tool {"name": "elections_financial_returns_search_candidates", "arguments": {"election_id": "…"}}

Fédéral et national

InfoBase du GC

gc_infobase_

InfoBase du GC (Secrétariat du Conseil du Trésor) : jeux de données ouverts sur les dépenses et les résultats fédéraux.

Description complète

InfoBase du GC (Secrétariat du Conseil du Trésor) : jeux de données ouverts sur les dépenses et les résultats fédéraux. Liste des fichiers (Budget principal des dépenses, Comptes publics : autorisations et dépenses par crédit, article courant et paiement de transfert, dépenses et ETP prévus et réels par programme, indicateurs de résultats, organisations fédérales) et interrogation des lignes par organisation, exercice et valeurs de colonne, en français ou en anglais.

2 outils

gc_infobase_list_filesList GC InfoBase's federal spending and results files (Treasury Board Secretariat).

Utilisation : finding the file for Main Estimates, Public Accounts (authorities and expenditures by vote, standard object, transfer payments), planned vs actual spending and FTEs by program, departmental results indicators, or the inventory of federal organizations. query filters names; lang="fr" returns the French files.

Mots-clés en anglais
GC InfoBase, federal spending by department, Public Accounts, Main Estimates, departmental results, FTE, employees, public servants, programs, Treasury Board
Mots-clés en français
InfoBase du GC, dépenses fédérales par ministère, Comptes publics, Budget principal des dépenses, résultats ministériels, ETP, effectifs, fonctionnaires, programmes, budget fédéral
Paramètres de gc_infobase_list_files
ParamètreTypeDéfaut
querystr | nullnull
lang"en" | "fr""en"
call_tool {"name": "gc_infobase_list_files", "arguments": {}}
gc_infobase_queryQuery rows of one GC InfoBase file by organization, fiscal year, and column values.

Utilisation : a department's authorities and expenditures, transfer payments, program spending and FTEs, or results targets, e.g. organization="Canada Revenue Agency", fiscal_year="2023-24". organization is a substring match; fiscal_year matches the start year whatever the file's format ("2023-24", "2023-2024", "FY 2023-24"); filters are exact column matches. resource_id comes from gc_infobase_list_files; use a French file for French column names (an English file asked for with lang="fr" keeps its English name and rows, and provenance.limits names the French file). Amounts and counts come back as numbers (listed in numeric_columns); id and code columns stay text. For a department's total spending or its number of employees, this is the source; proactive disclosure (disclosure_) covers only contracts, grants, travel and hospitality.

Mots-clés en anglais
federal government spending by department, how much a department spent, department budget, expenditures, authorities, transfer payments, program spending, FTE, full-time equivalents, employees by department, number of public servants, headcount, federal workforce, public accounts
Mots-clés en français
dépenses fédérales, dépenses par ministère, combien un ministère a dépensé, budget ministériel, autorisations, paiements de transfert, dépenses de programme, ETP, équivalents temps plein, effectifs, nombre de fonctionnaires, fonction publique, comptes publics, InfoBase du GC
Paramètres de gc_infobase_query
ParamètreTypeDéfaut
resource_idstrobligatoire
organizationstr | nullnull
fiscal_yearstr | nullnull
filtersdict[str, str] | nullnull
columnslist[str] | nullnull
limitint100
lang"en" | "fr""en"
call_tool {"name": "gc_infobase_query", "arguments": {"resource_id": "…"}}

Fédéral et national

Pêches et Océans Canada : débarquements des pêches commerciales

dfo_landings_

Débarquements des pêches commerciales de Pêches et Océans Canada (Licence du gouvernement ouvert - Canada) : pêches maritimes de 1990 à 2024 par année, province, groupe d'espèces et espèce, et pêches en eau douce de 1990 à 2019 par province ou territoire et espèce…

Description complète

Débarquements des pêches commerciales de Pêches et Océans Canada (Licence du gouvernement ouvert - Canada) : pêches maritimes de 1990 à 2024 par année, province, groupe d'espèces et espèce, et pêches en eau douce de 1990 à 2019 par province ou territoire et espèce, en lignes ordonnées avec la quantité en tonnes (poids vif) et la valeur en dollars, en français ou en anglais.

2 outils

dfo_landings_get_landingsCanadian commercial fish landings by year, province, species: quantity (tonnes) and value ($).

Utilisation : value of lobster landings in Nova Scotia, Canada's fish catch by species, snow crab landed value, freshwater fishery in Manitoba, fisheries trends since 1990.

Mots-clés en anglais
DFO, commercial fisheries, landings, landed value, catch, tonnes, lobster, snow crab, shrimp, cod, herring, scallop, salmon, walleye, seafood, province, species
Mots-clés en français
MPO, pêches commerciales, débarquements, valeur au débarquement, captures, tonnes, homard, crabe des neiges, crevette, morue, hareng, pétoncle, doré, produits de la mer, province, espèce
Paramètres de dfo_landings_get_landings
ParamètreTypeDéfaut
fishery"sea" | "freshwater""sea"
yearint | nullnull
start_yearint | nullnull
end_yearint | nullnull
regionstr | nullnull
speciesstr | nullnull
species_groupstr | nullnull
include_totalsbooltrue
limitint200
lang"en" | "fr""en"
call_tool {"name": "dfo_landings_get_landings", "arguments": {}}
dfo_landings_list_tablesList DFO's commercial fisheries landings tables: years available, units and files.

Utilisation : which years of Canadian fish landings exist, the source files for DFO commercial catch statistics, citing the open data record.

Mots-clés en anglais
DFO, Fisheries and Oceans Canada, commercial fisheries, landings, catch statistics, fish, seafood, open data, years available, freshwater fisheries, sea fisheries
Mots-clés en français
MPO, Pêches et Océans Canada, pêches commerciales, débarquements, statistiques de capture, poisson, fruits de mer, données ouvertes, pêches en eau douce, pêches maritimes
Paramètres de dfo_landings_list_tables
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "dfo_landings_list_tables", "arguments": {}}

Fédéral et national

Ressources naturelles Canada : géolocalisation et toponymes

nrcan_geo_

Géolocalisation et noms géographiques de Ressources naturelles Canada : localiser un lieu, une adresse ou un code postal (Géolocalisateur), et rechercher dans la Base de données toponymiques du Canada les noms officiels de villes, lacs, rivières, montagnes et parcs par texte…

Description complète

Géolocalisation et noms géographiques de Ressources naturelles Canada : localiser un lieu, une adresse ou un code postal (Géolocalisateur), et rechercher dans la Base de données toponymiques du Canada les noms officiels de villes, lacs, rivières, montagnes et parcs par texte, province, type d'entité, rayon autour d'un point ou zone rectangulaire, en français ou en anglais.

2 outils

nrcan_geo_locateGeocode a Canadian place, street address, or postal code to coordinates (NRCan Geolocator).

Utilisation : turning "111 Wellington St Ottawa", "K1A 0A9", or "Parliament Hill" into latitude/longitude, province, and bounding box, e.g. before a spatial query elsewhere. lang="fr" returns French names and categories. The Geolocator matches loosely and has no relevance score: a query it cannot match still returns nearby spellings or unrelated places, so check the returned name.

Mots-clés en anglais
geocode, geolocation, address lookup, postal code, FSA, coordinates, latitude longitude, NRCan, geo.ca, place search
Mots-clés en français
géocodage, géolocalisation, adresse, code postal, RTA, coordonnées, latitude longitude, Ressources naturelles Canada (RNCan), recherche de lieu
Paramètres de nrcan_geo_locate
ParamètreTypeDéfaut
querystrobligatoire
limitint10
lang"en" | "fr""en"
call_tool {"name": "nrcan_geo_locate", "arguments": {"query": "…"}}
nrcan_geo_search_namesSearch the Canadian Geographical Names Database for official place names.

Utilisation : official names and locations of cities, towns, lakes, rivers, mountains, parks and other features. Combine query (name text), province ("AB" or SGC code "48"), feature_type (e.g. "CITY", "TOWN", "LAKE", "RIV", "MTN"), a point with radius_km (whole kilometres; default 10), or bbox [west, south, east, north]. lang="fr" returns French feature types. province in results is the SGC code ("48" for Alberta).

Mots-clés en anglais
geographic names lookup, place names, toponymy, gazetteer, geographical names, lake, river, mountain, official name, NRCan, CGNDB
Mots-clés en français
noms géographiques, toponymie, répertoire toponymique, lac, rivière, montagne, nom officiel, Ressources naturelles Canada (RNCan), BDTC
Paramètres de nrcan_geo_search_names
ParamètreTypeDéfaut
querystr | nullnull
provincestr | nullnull
feature_typestr | nullnull
latitudefloat | nullnull
longitudefloat | nullnull
radius_kmfloat | nullnull
bboxlist[float] | nullnull
limitint10
lang"en" | "fr""en"
call_tool {"name": "nrcan_geo_search_names", "arguments": {}}

Fédéral et national

Ressources naturelles Canada : production minérale

nrcan_minerals_

Statistiques annuelles de la production minérale de Ressources naturelles Canada, outils préfixés nrcan_minerals_ : pour chaque année de référence de 1990 à l'estimation préliminaire la plus récente, chaque produit minéral (or, cuivre, nickel, minerai de fer, potasse, diamants…

Description complète

Statistiques annuelles de la production minérale de Ressources naturelles Canada, outils préfixés nrcan_minerals_ : pour chaque année de référence de 1990 à l'estimation préliminaire la plus récente, chaque produit minéral (or, cuivre, nickel, minerai de fer, potasse, diamants, uranium, lithium, sable et gravier, charbon...) par province et territoire, quantité produite ou expédiée et valeur des expéditions, avec les indicateurs de confidentialité et de données provisoires ; et la série d'un produit sur plusieurs années. En anglais seulement, comme les fichiers de RNCan. La production mensuelle depuis 2020 est le tableau 16-10-0022 de Statistique Canada (wds_).

2 outils

nrcan_minerals_get_productionCanada's annual mineral production by commodity and province (NRCan).

Utilisation : how much gold, copper, nickel, iron ore, potash, diamonds, uranium, lithium, zinc, coal, salt, sand and gravel or stone a province or territory produced and shipped in a year, and the value of shipments (thousands of dollars), from 1990 to the latest preliminary estimate (the default year). commodity matches names ('gold', 'potash'); province is a code (ON, QC, BC...) or name, 'Canada' for the national total; category keeps values or quantities. Each row says whether it is preliminary, confidential ('x') or not available. Use nrcan_minerals_get_series for one commodity across years. English only (NRCan publishes these files in English; lang has no effect). Monthly production since 2020 is StatCan table 16-10-0022 (wds_).

Mots-clés en anglais
mineral production, mining statistics, gold production by province, value of mineral shipments, metal production, NRCan mining, potash output, critical minerals, preliminary estimate
Mots-clés en français
production minérale, statistiques minières, production d'or par province, valeur des expéditions minérales, production de métaux, Ressources naturelles Canada (RNCan), mines, potasse, minéraux critiques
Paramètres de nrcan_minerals_get_production
ParamètreTypeDéfaut
yearint | nullnull
commoditystr""
provincestr""
category"all" | "value" | "quantity""all"
limitint500
lang"en" | "fr""en"
call_tool {"name": "nrcan_minerals_get_production", "arguments": {}}
nrcan_minerals_get_seriesOne mineral commodity's production across years, 1990 onward (NRCan).

Utilisation : a long series of Canadian mine output, such as the value of gold shipments in Ontario since 1990, copper quantity shipped in British Columbia, or the grand total value of mineral production in Canada by year. Reads one file per year (a full 1990-2025 series takes about 15 seconds the first time). commodity is an exact name or a partial one that matches a single commodity in each year ('Grand total' for all minerals); years where it is ambiguous or absent are listed. Quantity produced exists from 2019 only. Units changed over time, so read each point's units. English only (lang has no effect).

Mots-clés en anglais
mineral production time series, gold output history, mining value of shipments by year, copper production trend, Canada mining history, annual mineral statistics, NRCan, metal output since 1990
Mots-clés en français
série chronologique production minérale, historique de la production d'or, valeur des expéditions par année, tendance de la production de cuivre, histoire minière du Canada, statistiques annuelles, Ressources naturelles Canada (RNCan), production de métaux depuis 1990
Paramètres de nrcan_minerals_get_series
ParamètreTypeDéfaut
commoditystrobligatoire
provincestr"Canada"
category"value" | "quantity_shipped" | "quantity_produced""value"
from_yearint | nullnull
to_yearint | nullnull
lang"en" | "fr""en"
call_tool {"name": "nrcan_minerals_get_series", "arguments": {"commodity": "…"}}

Fédéral et national

Régie de l'énergie du Canada

cer_

Données ouvertes de la Régie de l'énergie du Canada : fichiers CSV de la Régie (débits et capacité des pipelines, exportations de pétrole, de gaz, de LGN, de GNL et de produits raffinés, droits pipeliniers, incidents, pétrole brut traité…

Description complète

Données ouvertes de la Régie de l'énergie du Canada : fichiers CSV de la Régie (débits et capacité des pipelines, exportations de pétrole, de gaz, de LGN, de GNL et de produits raffinés, droits pipeliniers, incidents, pétrole brut traité, Avenir énergétique du Canada) et interrogation de leurs lignes avec filtres par colonne et par période, en français ou en anglais.

2 outils

cer_list_datasetsFind Canada Energy Regulator datasets and their CSV file URLs.

Utilisation : locating CER data such as "throughput" (pipeline throughput and capacity per pipeline and key point), "exports" (crude oil, natural gas, NGL, LNG, refined products), "tolls", "incident", "refinery", or "energy future" (Canada's Energy Future scenarios). lang="fr" returns the French files and titles.

Mots-clés en anglais
CER, Canada Energy Regulator, NEB, pipeline, throughput, capacity, oil exports, natural gas exports, LNG, tolls, incidents
Mots-clés en français
Régie de l'énergie du Canada (REC), Office national de l'énergie (ONE), pipelines, débit des pipelines, capacité, exportations de pétrole brut, exportations de gaz naturel, GNL, droits pipeliniers, incidents, raffineries, Avenir énergétique du Canada
Paramètres de cer_list_datasets
ParamètreTypeDéfaut
querystr""
limitint10
lang"en" | "fr""en"
call_tool {"name": "cer_list_datasets", "arguments": {}}
cer_query_fileRead rows from one Canada Energy Regulator CSV file with filters and a date range.

Utilisation : pipeline throughput vs capacity over time (e.g. filters {"Key Point": "International boundary at or near Haskett, Manitoba"}), export volumes by year, or tolls by pipeline. url comes from cer_list_datasets; filters match column values exactly (case-insensitive); start/end are YYYY, YYYY-MM or YYYY-MM-DD on the file's Date/Year column, both inclusive (end="2024" runs to December 31); the most recent limit rows come back. The file's own language decides the column names.

Mots-clés en anglais
CER, pipeline throughput, capacity utilization, exports, volumes, tolls, time series, CSV, oil, natural gas
Mots-clés en français
Régie de l'énergie du Canada (REC), débit des pipelines, taux d'utilisation, capacité disponible, exportations, volumes, droits pipeliniers, séries chronologiques, pétrole brut, gaz naturel
Paramètres de cer_query_file
ParamètreTypeDéfaut
urlstrobligatoire
filtersdict[str, str] | nullnull
columnslist[str] | nullnull
startstr | nullnull
endstr | nullnull
limitint100
lang"en" | "fr""en"
call_tool {"name": "cer_query_file", "arguments": {"url": "…"}}

Fédéral et national

Transports Canada : rappels de véhicules

tc_recalls_

Rappels de sécurité des véhicules automobiles de Transports Canada : recherche des rappels par marque, modèle et année-modèle, et sommaire complet d'un rappel (problème, risque pour la sécurité, mesure corrective, unités touchées…

Description complète

Rappels de sécurité des véhicules automobiles de Transports Canada : recherche des rappels par marque, modèle et année-modèle, et sommaire complet d'un rappel (problème, risque pour la sécurité, mesure corrective, unités touchées, modèles et années visés) en français ou en anglais.

2 outils

tc_recalls_getGet one Transport Canada vehicle recall: its description, units, and vehicles.

Utilisation : the details behind a recall number from tc_recalls_search (e.g. "2021001"), including the affected makes, models and years. description is Transport Canada's single text covering the issue, the safety risk and the corrective action. lang="fr" returns the French category, system and description.

Mots-clés en anglais
recall details, safety risk, corrective action, units affected, Transport Canada, vehicle defect, notification, recall
Mots-clés en français
détails du rappel, risque pour la sécurité, mesure corrective, unités touchées, Transports Canada, défaut du véhicule, rappel, véhicule, numéro de rappel, avis au propriétaire
Paramètres de tc_recalls_get
ParamètreTypeDéfaut
recall_numberstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "tc_recalls_get", "arguments": {"recall_number": "…"}}

Fédéral et national

Votes du Sénat du Canada

senate_

Votes par appel nominal du Sénat du Canada (sencanada.ca) : votes par session avec les totaux et le projet de loi visé, et le vote de chaque sénateur.

2 outils

senate_get_voteGet how each senator voted on one Senate vote.

Utilisation : every senator's yea, nay or abstention, with their group (ISG, CSG, PSG, Conservative) and province. vote_id and session come together from senate_list_votes; a vote_id not in that session's list is NotFound. vote is null for a senator with no recorded vote.

Mots-clés en anglais
senator vote, Senate ballot, how did senators vote, Senate group, ISG, CSG, PSG, abstention
Mots-clés en français
vote des sénateurs, Sénat, groupe sénatorial, abstention, appel nominal, GSI, GSC, GPS
Paramètres de senate_get_vote
ParamètreTypeDéfaut
vote_idintobligatoire
sessionstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "senate_get_vote", "arguments": {"vote_id": "…", "session": "…"}}
senate_list_votesList recorded votes in the Senate of Canada for one session, newest first.

Utilisation : Senate votes on a bill (bill like 'C-6' or 'S-205'), votes whose title contains a word, or all votes in a session (like '45-1', default current; sessions from 42-1), with yeas, nays, abstentions and result. keyword ignores case and accents.

Mots-clés en anglais
Senate vote, senators, recorded division, Senate of Canada, upper chamber, third reading, bill, adopted
Mots-clés en français
vote au Sénat, sénateurs, appel nominal, Sénat du Canada, chambre haute, troisième lecture, projet de loi, adopté
Paramètres de senate_list_votes
ParamètreTypeDéfaut
sessionstr | nullnull
keywordstr | nullnull
billstr | nullnull
limitint50
lang"en" | "fr""en"
call_tool {"name": "senate_list_votes", "arguments": {}}

Fédéral et national

Agence des services frontaliers du Canada : temps d'attente à la frontière

cbsa_border_wait_times

Temps d'attente actuels à la frontière terrestre de l'Agence des services frontaliers du Canada (ASFC), outils préfixés cbsa_ : l'attente en minutes à une trentaine de postes frontaliers canado-américains (pont Peace, pont Ambassador, Pacific Highway, Lacolle…

Description complète

Temps d'attente actuels à la frontière terrestre de l'Agence des services frontaliers du Canada (ASFC), outils préfixés cbsa_ : l'attente en minutes à une trentaine de postes frontaliers canado-américains (pont Peace, pont Ambassador, Pacific Highway, Lacolle, etc.) pour les voies commerciales et des voyageurs, vers le Canada et vers les États-Unis, avec l'heure de mise à jour de chaque poste, filtrés par province, poste ou direction, en français ou en anglais. Licence du gouvernement ouvert – Canada. Les fichiers historiques sont des jeux de données d'open.canada.ca (ckan_).

1 outil

cbsa_border_wait_timesCurrent wait times at Canada-U.S. land border crossings (CBSA).

Utilisation : how long the line is right now at the Peace Bridge, Ambassador Bridge, Gordie Howe Bridge, Blue Water Bridge, Rainbow Bridge, Lacolle, Pacific Highway, Douglas (Peace Arch), Coutts, Emerson and about 20 other crossings, for travellers and commercial trucks, entering Canada or the United States. Each crossing comes with its own update time; the file is refreshed every few minutes and cached here for two minutes. province is the Canadian side (ON, QC, BC, NB, MB, SK, AB or a name); crossing matches the office or town ('windsor', 'peace bridge'); direction keeps only Canada-bound or U.S.-bound lanes. CBSA posts Canada-bound waits; most U.S.-bound lanes read 'not_reported'. For trends, the historical files are open.canada.ca datasets (see historical_data). Open Government Licence - Canada.

Mots-clés en anglais
border wait times, border crossing delay, CBSA, Canada US border, Peace Bridge wait, Ambassador Bridge, Lacolle, Pacific Highway, border lineup, crossing into the United States
Mots-clés en français
temps d'attente à la frontière, Agence des services frontaliers du Canada (ASFC), poste frontalier, frontière canado-américaine, délai à la douane, file d'attente à la frontière, pont Ambassador, Lacolle, traverser aux États-Unis
Paramètres de cbsa_border_wait_times
ParamètreTypeDéfaut
provincestr""
crossingstr""
direction"both" | "canada_bound" | "us_bound""both"
lang"en" | "fr""en"
call_tool {"name": "cbsa_border_wait_times", "arguments": {}}

Fédéral et national

Bureau de la concurrence : examens de fusions

competition_bureau_search_mergers

Examens de fusions du Bureau de la concurrence du Canada (outils préfixés competition_bureau_) : le rapport hebdomadaire (environ 830 examens ouverts depuis novembre 2023…

Description complète

Examens de fusions du Bureau de la concurrence du Canada (outils préfixés competition_bureau_) : le rapport hebdomadaire (environ 830 examens ouverts depuis novembre 2023, en cours et conclus) et le rapport mensuel archivé (environ 1 725 examens conclus de janvier 2015 à avril 2023). Chaque examen indique les parties, les dates, le code SCIAN et le résultat (certificat de décision préalable, lettre de non-intervention, consentement, décision judiciaire, transaction abandonnée, autre ou en cours). Recherche par partie, préfixe SCIAN, résultat et date.

1 outil

competition_bureau_search_mergersSearch Competition Bureau Canada merger reviews, 2015 to this week.

Utilisation : which mergers and acquisitions the Competition Bureau reviewed and how each ended: advance ruling certificate (ARC), no action letter (NAL), consent agreement (CA), judicial decision (JD), abandoned (TA), other, or still ongoing. Filter by party name (every word must appear), NAICS industry prefix (e.g. '2111' oil and gas extraction, '52' finance), outcome, and concluded month range (YYYY-MM). Covers the weekly report (reviews opened since November 2023, with opened and concluded dates) and the archived report (concluded January 2015 to April 2023, month only). Returns newest first, with outcome counts for all matches. Not every merger: parties may ask to keep one off the report, and May-October 2023 is missing. lang sets the outcome labels.

Mots-clés en anglais
merger review, acquisition, Competition Bureau, antitrust, competition law, advance ruling certificate, no action letter, consent agreement, NAICS, M&A, concentration
Mots-clés en français
examen de fusion, acquisition, Bureau de la concurrence, droit de la concurrence, certificat de décision préalable, lettre de non-intervention, consentement, SCIAN, fusions et acquisitions
Paramètres de competition_bureau_search_mergers
ParamètreTypeDéfaut
partystr""
naicsstr | nullnull
outcome"ARC" | "NAL" | "CA" | "JD" | "TA" | "Other" | "Ongoing" | nullnull
concluded_fromstr | nullnull
concluded_tostr | nullnull
include_ongoingbooltrue
limitint25
lang"en" | "fr""en"
call_tool {"name": "competition_bureau_search_mergers", "arguments": {}}

Fédéral et national

L'Association canadienne de l'immeuble : liens vers l'IPP MLS®

crea_get_hpi_links

L'Association canadienne de l'immeuble (ACI), outils préfixés crea_ : liens seulement pour l'Indice des prix des propriétés MLS® (le fichier zip mensuel en cours, vérifié par une requête HEAD, et la page de l'outil IPP), les pages des statistiques nationales…

Description complète

L'Association canadienne de l'immeuble (ACI), outils préfixés crea_ : liens seulement pour l'Indice des prix des propriétés MLS® (le fichier zip mensuel en cours, vérifié par une requête HEAD, et la page de l'outil IPP), les pages des statistiques nationales, des prévisions trimestrielles et de l'aperçu du marché, le calendrier de diffusion (mensuel, vers le 15), la mention de source exigée et un résumé des conditions de l'ACI. Aucune valeur de l'ACI n'est renvoyée : les conditions permettent une analyse privée et non commerciale seulement, et toute publication ou présentation exige le consentement écrit de l'ACI. Solutions ouvertes (mesures différentes) : Indice des prix des logements neufs et prix de vente du PSLC de StatCan (wds_), mises en chantier de la SCHL (cmhc_).

1 outil

Fédéral et national

Registre de l'économie numérique de l'ARC

cra_digital_economy_registry_search

Registre public de l'ARC des entreprises de l'économie numérique (produits et services numériques transfrontaliers, hébergement de courte durée par plateforme) inscrites à la TPS/TVH simplifiée en vertu de la Loi sur la taxe d'accise (canada.ca, pas CKAN).

Description complète

Registre public de l'ARC des entreprises de l'économie numérique (produits et services numériques transfrontaliers, hébergement de courte durée par plateforme) inscrites à la TPS/TVH simplifiée en vertu de la Loi sur la taxe d'accise (canada.ca, pas CKAN). Recherche par nom légal, nom commercial ou numéro d'entreprise pour confirmer si une entreprise peut facturer la TPS/TVH sous le régime simplifié.

1 outil

Fédéral et national

Ressources naturelles Canada : zones brûlées

nrcan_nbac_query_fires

Composite national des zones brûlées (CNZB) de Ressources naturelles Canada : polygones d'incendies, dates de début et de fin déclarées/ajustées, et superficie brûlée ajustée (hectares) pour chaque incendie cartographié au Canada depuis 1972, filtrable par année…

Description complète

Composite national des zones brûlées (CNZB) de Ressources naturelles Canada : polygones d'incendies, dates de début et de fin déclarées/ajustées, et superficie brûlée ajustée (hectares) pour chaque incendie cartographié au Canada depuis 1972, filtrable par année, province/territoire et identifiant d'incendie via une requête OGC WFS 2.0 CQL_FILTER.

1 outil

nrcan_nbac_query_firesQuery mapped fire polygons/records from Natural Resources Canada's NBAC.

Utilisation : wildfire start/end dates, adjusted burned area (hectares), fire cause, and (optionally) fire polygon geometry, for any fire event mapped in Canada since 1972. Filter with a standard OGC CQL expression against NBAC's own field names, e.g. "admin_area = 'BC' AND year >= 2017 AND year <= 2024" to get every mapped BC fire from 2017 to 2024. latest_year in the result is the newest fire year in NBAC (later years return nothing). Leave include_geometry false (the default) unless you specifically need the fire polygons: one polygon can be several MB, so with geometry at most 10 fires come back per call and polygons beyond a 2 MB budget are left out (note says which).

Mots-clés en anglais
NRCan, National Burned Area Composite, NBAC, wildfire, forest fire, burned area, fire polygon, hectares burned, CWFIS, fire perimeter, fire season, prescribed burn
Mots-clés en français
Ressources naturelles Canada (RNCan), Composite national des zones brûlées, CNZB, feu de forêt, incendie, superficie brûlée, polygone d'incendie, hectares brûlés, SCIFV, périmètre d'incendie, saison des feux, brûlage dirigé
Paramètres de nrcan_nbac_query_fires
ParamètreTypeDéfaut
cql_filterstr | nullnull
include_geometryboolfalse
sort_bystr | nullnull
limitint20
offsetint0
lang"en" | "fr""en"
call_tool {"name": "nrcan_nbac_query_fires", "arguments": {}}

Fédéral et national

Séismes Canada

earthquakes_search

Catalogue des séismes de Séismes Canada (Ressources naturelles Canada) : recherche des tremblements de terre au Canada et à proximité par période, magnitude, zone géographique ou distance d'un point, ou par identifiant d'événement.

1 outil

Comparateurs internationaux

Eurostat (UE, zone euro et États membres, comme points de comparaison)

eurostat_

Eurostat, l'office statistique de l'UE, comme point de comparaison pour les chiffres canadiens : l'UE, la zone euro et les États membres (ainsi que l'AELE, les pays candidats et, dans certains jeux, les États-Unis) pour le PIB et la croissance, l'inflation IPCH, le chômage…

Description complète

Eurostat, l'office statistique de l'UE, comme point de comparaison pour les chiffres canadiens : l'UE, la zone euro et les États membres (ainsi que l'AELE, les pays candidats et, dans certains jeux, les États-Unis) pour le PIB et la croissance, l'inflation IPCH, le chômage, l'emploi, les prix des logements, la dette et le déficit publics, les exportations et les importations ; et tout jeu de données ou tableau d'Eurostat par code, cherché par titre, avec les indicateurs de statut (provisoire, estimé, rupture de série) décodés ; là où le serveur l'offre, eurostat_query_dataset exécute du SQL sur une tranche d'un jeu de données côté serveur, en refusant de sommer un total avec ses parties. Libellés en anglais ou en français. Réutilisation libre avec mention de la source (CC BY 4.0) ; les données des pays hors UE, AELE et pays candidats ne peuvent pas être réutilisées à des fins commerciales.

5 outils

eurostat_compareCompare the EU, the euro area and European countries on a headline indicator.

Utilisation : EU or euro area GDP growth, HICP inflation, unemployment rate, employment rate, house price growth, government debt or deficit as a share of GDP, exports or imports as a share of GDP, beside Germany, France, Italy, Spain or any member state, to compare with Canada. geo takes EU27, EURO_AREA, EU_MEMBERS, EURO_AREA_MEMBERS, BIG_FOUR, country names or codes (DE, FR, EL for Greece); the default is EU27, euro area and the four largest economies. Status flags (provisional, estimated, break in series) are decoded. canada_counterpart names the series to pair with (Eurostat has no Canadian data).

Mots-clés en anglais
Eurostat, European Union, euro area, eurozone, EU comparison, HICP inflation, unemployment rate Europe, GDP growth EU, government debt Maastricht, house prices Europe, Germany, France
Mots-clés en français
Eurostat, Union européenne, zone euro, comparaison européenne, inflation IPCH, taux de chômage en Europe, croissance du PIB de l'UE, dette publique, prix des logements en Europe, Allemagne, France
Paramètres de eurostat_compare
ParamètreTypeDéfaut
indicator"gdp_growth_quarterly" | "gdp_growth_year_on_year" | "gdp_growth_annual" | "gdp_per_capita_pps" | "hicp_inflation" | "unemployment_rate" | "employment_rate" | "house_price_growth" | "government_debt_to_gdp" | "government_deficit_to_gdp" | "exports_to_gdp" | "imports_to_gdp"obligatoire
geolist[str] | nullnull
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "eurostat_compare", "arguments": {"indicator": "…"}}
eurostat_describe_datasetDescribe a Eurostat dataset's dimensions, codes and status flags.

Utilisation : the dimensions (geo, unit, na_item, s_adj...) and the codes with data of a Eurostat dataset, before eurostat_get_data, plus the meaning of its flags (p provisional, e estimated, b break in series).

Mots-clés en anglais
Eurostat, dataset structure, dimensions, code list, filters, geo codes, units, metadata, status flags, DSD
Mots-clés en français
Eurostat, structure du jeu, dimensions, liste de codes, filtres, codes géographiques, unités, métadonnées, indicateurs de statut
Paramètres de eurostat_describe_dataset
ParamètreTypeDéfaut
datasetstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "eurostat_describe_dataset", "arguments": {"dataset": "…"}}
eurostat_get_dataGet Eurostat data as tidy rows (geo, time, unit, value, flag).

Utilisation : any Eurostat series by dataset code, filtered by dimension codes (e.g. namq_10_gdp with {"unit": ["CLV_PCH_PRE"], "s_adj": ["SCA"], "na_item": ["B1GQ"]}) and geo (EU27, EURO_AREA, EU_MEMBERS, country names or codes). Periods: 2020, 2020-Q1, 2020-01; without them, the last 12 periods. Flags are decoded on each row.

Mots-clés en anglais
Eurostat, EU data, time series, JSON-stat, member states, euro area, regional data, statistics download, tidy data, flags
Mots-clés en français
Eurostat, données de l'UE, séries chronologiques, États membres, zone euro, données régionales, téléchargement, indicateurs de statut
Paramètres de eurostat_get_data
ParamètreTypeDéfaut
datasetstrobligatoire
filtersdict[str, list[str]] | nullnull
geolist[str] | nullnull
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "eurostat_get_data", "arguments": {"dataset": "…"}}
eurostat_query_datasetRun one read-only SQL query over a Eurostat dataset, or a slice of it, on the server, and get back only its result.

Utilisation : questions across a Eurostat dataset's breadth that eurostat_get_data (400 series) cannot hold: every NUTS region ranked, all member states by sex and age, averages and growth over many series. The server reads the slice (codes per dimension in filters, e.g. {"unit": ["CP_MEUR"]}, geo as in eurostat_get_data, and start_period / end_period), up to 20,000 series and 150,000 observations, and runs sql with DuckDB over them as the table obs: series_id, dataset, series_key, period, ref_period (DATE), value, scale_multiplier, decimals, status, series_title, dataset_title, unit, scale, frequency, geography, adjustment, quality, and per dimension its code and its label (dimension_columns names them: geo and geo_label). A query that mixes units or adjustments, or sums a total with its own parts (the EU and its members, a country and its regions, a total age band and its parts), is refused with the reason. At most 500 rows come back. Quote the citation and any warnings with the result.

Mots-clés en anglais
Eurostat, SQL, query dataset, whole dataset, EU regions, NUTS, member states, aggregate, group by, ranking, DuckDB
Mots-clés en français
Eurostat, requête SQL, jeu de données complet, régions NUTS, États membres, agréger, regrouper, classement, tranche
Paramètres de eurostat_query_dataset
ParamètreTypeDéfaut
datasetstrobligatoire
sqlstrobligatoire
filtersdict[str, list[str]] | nullnull
geolist[str] | nullnull
start_periodstr | nullnull
end_periodstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "eurostat_query_dataset", "arguments": {"dataset": "…", "sql": "…"}}
eurostat_search_datasetsSearch Eurostat's datasets and tables by title words or code.

Utilisation : finding the Eurostat dataset code for an EU statistic (labour market, prices, national accounts, trade, government finance, population, energy) before describing and fetching it. Each hit gives its last update and data coverage; an old data_end means discontinued.

Mots-clés en anglais
Eurostat, EU datasets, European statistics, table of contents, dataset code, database, find data, EU indicators, euro area statistics, catalogue
Mots-clés en français
Eurostat, jeux de données de l'UE, statistiques européennes, table des matières, code de jeu, base de données, trouver des données, indicateurs de l'UE, catalogue
Paramètres de eurostat_search_datasets
ParamètreTypeDéfaut
querystrobligatoire
dataset_type"dataset" | "table" | nullnull
limitint10
lang"en" | "fr""en"
call_tool {"name": "eurostat_search_datasets", "arguments": {"query": "…"}}

Comparateurs internationaux

Portail de données de la Banque centrale européenne (comparaisons avec la zone euro)

ecb_

Portail de données de la Banque centrale européenne, pour comparer avec le Canada : taux directeurs de la BCE et €STR, taux de change de référence de l'euro (EUR/CAD, EUR/USD), inflation IPCH de la zone euro, agrégats monétaires et prêts (M3, crédit aux ménages)…

Description complète

Portail de données de la Banque centrale européenne, pour comparer avec le Canada : taux directeurs de la BCE et €STR, taux de change de référence de l'euro (EUR/CAD, EUR/USD), inflation IPCH de la zone euro, agrégats monétaires et prêts (M3, crédit aux ménages), taux d'intérêt bancaires et rendements des obligations d'État ; et toute série des 105 jeux de données de la BCE par clé SDMX. Sans clé. Réutilisation libre, y compris commerciale, avec la mention « Source : statistiques de la BCE ». Libellés en anglais seulement à la source.

5 outils

ecb_describe_datasetDescribe an ECB dataset's dimensions and codes, to build a series key.

Utilisation : the order of an ECB dataset's key dimensions and the codes each may take (frequencies, areas, currencies, instruments, units), before calling ecb_search_series or ecb_get_series. dataset is an id from ecb_list_datasets (e.g. EXR); code_query keeps codes whose id or label has the words (e.g. "Canadian dollar").

Mots-clés en anglais
ECB, dataset structure, dimensions, code list, series key, SDMX key, data structure definition, codes, metadata
Mots-clés en français
BCE, structure du jeu de données, dimensions, liste de codes, clé de série, clé SDMX, définition de structure, métadonnées
Paramètres de ecb_describe_dataset
ParamètreTypeDéfaut
datasetstrobligatoire
code_querystr | nullnull
lang"en" | "fr""en"
call_tool {"name": "ecb_describe_dataset", "arguments": {"dataset": "…"}}
ecb_get_indicatorGet a European Central Bank headline series: euro area rates, the euro, inflation, money, credit and yields.

Utilisation : the ECB deposit facility, main refinancing and marginal lending rates, €STR (beside CORRA), the euro in Canadian dollars (EUR/CAD reference rate) or US dollars, euro area HICP inflation (headline and core), M3 growth, household loan growth, mortgage rates and the euro area 10-year yield. Each result names the Canadian series to set beside it. Periods are 2024, 2024-Q1, 2024-06 or 2024-06-30; without them the latest values come back (the last 10 changes for key rates). Rows are tidy: date, value, unit, frequency, series id.

Mots-clés en anglais
European Central Bank, ECB, euro area, eurozone, ECB interest rates, deposit facility rate, EUR/CAD exchange rate, euro reference rate, HICP inflation, euro area comparison
Mots-clés en français
Banque centrale européenne, BCE, zone euro, taux directeurs de la BCE, taux de la facilité de dépôt, taux de change de l'euro, taux de référence de l'euro, inflation IPCH, comparaison avec la zone euro
Paramètres de ecb_get_indicator
ParamètreTypeDéfaut
indicator"deposit_facility_rate" | "main_refinancing_rate" | "marginal_lending_rate" | "estr" | "eur_cad" | "eur_cad_monthly" | "eur_usd" | "hicp_inflation" | "hicp_core_inflation" | "m3_growth" | "household_loan_growth" | "mortgage_rate" | "euro_area_10y_yield"obligatoire
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "ecb_get_indicator", "arguments": {"indicator": "…"}}
ecb_get_seriesGet ECB time series by dataset and SDMX key, as tidy rows.

Utilisation : any ECB series beyond the preset indicators: another currency's euro reference rate, a member state's HICP, a bank lending rate, a monetary aggregate. key has one part per dimension in the order ecb_describe_dataset gives, codes joined by + (e.g. EXR M.CAD+USD.EUR.SP00.A). Periods are 2024, 2024-Q1, 2024-06 or 2024-06-30; last_n keeps the last N per series. The result has a csv_url that opens the same query as CSV.

Mots-clés en anglais
ECB, European Central Bank, time series, SDMX key, euro area data, exchange rates, monetary statistics, CSV download
Mots-clés en français
BCE, Banque centrale européenne, séries chronologiques, clé SDMX, données de la zone euro, taux de change, statistiques monétaires, téléchargement CSV
Paramètres de ecb_get_series
ParamètreTypeDéfaut
datasetstrobligatoire
keystrobligatoire
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "ecb_get_series", "arguments": {"dataset": "…", "key": "…"}}
ecb_list_datasetsList the European Central Bank's statistical datasets (dataflows).

Utilisation : finding which ECB dataset holds a series before describing it: exchange rates (EXR), financial market data and key rates (FM), €STR (EST), consumer prices (HICP), monetary aggregates and bank balance sheets (BSI), bank interest rates (MIR), the yield curve (YC), the Bank Lending Survey, property prices, the Survey of Professional Forecasters, balance of payments and government finance. query keeps datasets whose name or description has every word.

Mots-clés en anglais
ECB, European Central Bank, datasets, dataflows, SDMX, ECB Data Portal, euro area statistics, catalogue
Mots-clés en français
BCE, Banque centrale européenne, jeux de données, flux SDMX, portail de données de la BCE, statistiques de la zone euro, catalogue, liste des jeux
Paramètres de ecb_list_datasets
ParamètreTypeDéfaut
querystr | nullnull
lang"en" | "fr""en"
call_tool {"name": "ecb_list_datasets", "arguments": {}}
ecb_search_seriesList the series of an ECB dataset that match a key and title words.

Utilisation : finding the exact ECB series key: every euro reference rate (EXR key D..EUR.SP00.A), the HICP items for the euro area (HICP key M.U2.N..4D0.ANR), a bank interest rate. key has one part per dimension (empty or * for all, codes joined by +); empty lists the whole dataset. query keeps series whose title has every word (English, e.g. "Canadian dollar", "services").

Mots-clés en anglais
ECB, series search, series key, find series, series titles, euro area series, SDMX, ECB Data Portal
Mots-clés en français
BCE, recherche de séries, clé de série, trouver une série, titres des séries, séries de la zone euro, portail de données de la BCE, SDMX
Paramètres de ecb_search_series
ParamètreTypeDéfaut
datasetstrobligatoire
keystr""
querystr | nullnull
limitint50
lang"en" | "fr""en"
call_tool {"name": "ecb_search_series", "arguments": {"dataset": "…"}}

Comparateurs internationaux

Publications statistiques de la Réserve fédérale des États-Unis (comparaisons avec les États-Unis)

fed_

Publications statistiques du Conseil des gouverneurs de la Réserve fédérale des États-Unis, pour comparer avec le Canada : taux d'intérêt H.15 (taux des fonds fédéraux, rendements du Trésor, taux préférentiel), taux de change H.10/G.5 (dollar canadien par dollar américain…

Description complète

Publications statistiques du Conseil des gouverneurs de la Réserve fédérale des États-Unis, pour comparer avec le Canada : taux d'intérêt H.15 (taux des fonds fédéraux, rendements du Trésor, taux préférentiel), taux de change H.10/G.5 (dollar canadien par dollar américain, indice large du dollar), taux directeurs (taux sur les soldes de réserve), production industrielle et taux d'utilisation des capacités G.17, masse monétaire H.6, crédit à la consommation G.19, bilans bancaires H.8, bilan de la Fed H.4.1, papier commercial, ratios du service de la dette des ménages et enquêtes auprès des responsables du crédit. Lus dans le fichier XML complet de chaque publication ; sans clé. Domaine public, le Conseil cité comme source. Libellés en anglais seulement à la source.

5 outils

fed_describe_releaseDescribe a Federal Reserve release: its groups, dimensions and codes.

Utilisation : what a Fed release holds before searching it: its data groups (G.17's industry groups, capacity utilization, motor vehicle assemblies), the dimensions its series vary by (instrument, maturity, currency, seasonal adjustment) with the codes used, the frequencies, the number of series, when the file was prepared, and example series ids.

Mots-clés en anglais
Federal Reserve, release structure, dimensions, code list, series groups, metadata, frequencies, data set description
Mots-clés en français
Réserve fédérale, structure de la publication, dimensions, liste de codes, groupes de séries, métadonnées, fréquences, publication statistique
Paramètres de fed_describe_release
ParamètreTypeDéfaut
release"H15" | "PRATES" | "H10" | "G17" | "H6" | "G19" | "DSR" | "H8" | "H41" | "CP" | "G20" | "CHGDEL" | "SLOOS" | "SCOOS"obligatoire
lang"en" | "fr""en"
call_tool {"name": "fed_describe_release", "arguments": {"release": "…"}}
fed_get_indicatorGet a US Federal Reserve headline series: US rates, yields, the US dollar, output and credit.

Utilisation : US figures: the US federal funds rate, US Treasury 2- and 10-year yields, the Fed's H.10 noon exchange rates, the broad dollar index, the Fed's interest on reserve balances, the US prime rate, US industrial production and capacity utilization (G.17), M2 money stock, US consumer credit and the household debt service ratio. Each result names the Canadian series to set beside it. Dates are 2024, 2024-06 or 2024-06-30; without them the latest year (daily) or five years (monthly) come back. Rows are tidy: date, value, unit, frequency, series id.

Mots-clés en anglais
Federal Reserve, Fed, United States, US interest rates, federal funds rate, Treasury yields, USD/CAD exchange rate, industrial production, capacity utilization, US comparison
Mots-clés en français
Réserve fédérale, Fed, États-Unis, taux d'intérêt américains, taux des fonds fédéraux, rendements du Trésor, taux de change du dollar américain (H.10), production industrielle, utilisation des capacités, comparaison avec les États-Unis
Paramètres de fed_get_indicator
ParamètreTypeDéfaut
indicator"cad_per_usd" | "cad_per_usd_monthly" | "broad_dollar_index" | "fed_funds_rate" | "fed_funds_rate_monthly" | "interest_on_reserve_balances" | "prime_rate" | "treasury_2y" | "treasury_10y" | "industrial_production" | "manufacturing_production" | "capacity_utilization" | "m2_money_stock" | "consumer_credit" | "household_debt_service_ratio"obligatoire
start_datestr | nullnull
end_datestr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "fed_get_indicator", "arguments": {"indicator": "…"}}
fed_get_seriesGet Federal Reserve series by id from one release, as tidy rows.

Utilisation : any Fed series beyond the preset indicators, by the ids fed_search_series returns (e.g. H15 RIFLGFCY05_N.B, H10 RXI_N.M.JA, G17 IP.G3361T3.S), up to 25 from one release. Dates are 2024, 2024-06 or 2024-06-30; last_n keeps the last N per series. Rows give date (period end), value, unit, frequency and series id.

Mots-clés en anglais
Federal Reserve, time series, series id, US data download, H.15 data, H.10 data, G.17 data, tidy data
Mots-clés en français
Réserve fédérale, séries chronologiques, identifiant de série, données américaines, téléchargement de données, données ordonnées, taux d'intérêt américains, production industrielle
Paramètres de fed_get_series
ParamètreTypeDéfaut
release"H15" | "PRATES" | "H10" | "G17" | "H6" | "G19" | "DSR" | "H8" | "H41" | "CP" | "G20" | "CHGDEL" | "SLOOS" | "SCOOS"obligatoire
serieslist[str]obligatoire
start_datestr | nullnull
end_datestr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "fed_get_series", "arguments": {"release": "…", "series": "…"}}
fed_list_releasesList the Federal Reserve Board statistical releases this server reads.

Utilisation : finding which Fed release holds a US series: H.15 selected interest rates, policy rates, H.10/G.5 foreign exchange rates, G.17 industrial production, H.6 money stock, G.19 consumer credit, H.8 commercial bank assets, H.4.1 the Fed's balance sheet, commercial paper, G.20 finance companies, charge-off and delinquency rates, the senior loan officer survey (SLOOS) and SCOOS. Each entry links the release page and its complete XML data file.

Mots-clés en anglais
Federal Reserve Board, statistical releases, H.15, H.10, G.17, H.8, H.4.1, SLOOS, US data, release list
Mots-clés en français
Réserve fédérale, publications statistiques, H.15, H.10, G.17, bilan de la Fed, enquête auprès des responsables du crédit, données américaines, liste des publications
Paramètres de fed_list_releases
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "fed_list_releases", "arguments": {}}
fed_search_seriesSearch Federal Reserve series by words in their descriptions.

Utilisation : finding a Fed series id: a Treasury maturity, a commercial paper rate, a currency's exchange rate against the US dollar, an industry's production index, a G.19 credit category, a bank balance sheet item. Descriptions are English (Treasury 5-year, Japan yen, motor vehicles). Without release it searches H.15, policy rates, H.10 and G.17; name a release for the others. Each hit has its unit, frequency, dates covered and latest value.

Mots-clés en anglais
Federal Reserve, series search, series id, find series, US interest rate series, exchange rate series, production index, credit series
Mots-clés en français
Réserve fédérale, recherche de séries, identifiant de série, trouver une série, séries de taux américains, séries de taux de change, indice de production, séries de crédit
Paramètres de fed_search_series
ParamètreTypeDéfaut
querystrobligatoire
release"H15" | "PRATES" | "H10" | "G17" | "H6" | "G19" | "DSR" | "H8" | "H41" | "CP" | "G20" | "CHGDEL" | "SLOOS" | "SCOOS" | nullnull
frequency"daily" | "weekly" | "monthly" | "quarterly" | "annual" | nullnull
include_discontinuedboolfalse
limitint25
lang"en" | "fr""en"
call_tool {"name": "fed_search_series", "arguments": {"query": "…"}}

Comparateurs internationaux

Statistiques de l'Explorateur de données de l'OCDE (Canada et pays comparables)

oecd_

Statistiques de l'Explorateur de données de l'OCDE, centrées sur le Canada : le Canada à côté du G7 ou d'autres économies de l'OCDE pour les projections des Perspectives économiques (croissance du PIB, inflation, chômage, solde et dette des administrations publiques)…

Description complète

Statistiques de l'Explorateur de données de l'OCDE, centrées sur le Canada : le Canada à côté du G7 ou d'autres économies de l'OCDE pour les projections des Perspectives économiques (croissance du PIB, inflation, chômage, solde et dette des administrations publiques), la productivité (PIB par heure travaillée), les coûts unitaires de main-d'œuvre, les parités de pouvoir d'achat, les recettes fiscales en pourcentage du PIB (Statistiques des recettes publiques), les prix des logements et les indicateurs composites avancés ; et toute série des 1 500 jeux de données de l'OCDE par clé SDMX ; là où le serveur l'offre, oecd_query_dataset exécute du SQL sur une tranche d'un jeu de données côté serveur, en refusant de sommer un total avec ses parties. Réutilisation libre avec mention de la source, sauf données de tiers. 60 téléchargements de données par heure.

5 outils

oecd_compare_countriesCompare Canada with the G7 or other OECD countries on an OECD indicator.

Utilisation : how Canada compares with peers on OECD Economic Outlook projections (real GDP growth, inflation, unemployment, government balance and debt, current account), labour productivity (GDP per hour worked, productivity growth), GDP per capita, unit labour costs, purchasing power parities, tax-to-GDP ratio (Revenue Statistics), real house prices, price-to-income and price-to-rent ratios, and the composite leading indicator. compare_with takes "G7" or OECD codes ("USA", "GBR", "AUS", "OECD"; "US" also works). Periods are SDMX (2020, 2020-Q1, 2020-01); without them the recent years come back, Economic Outlook projections included. The result gives the rank (1 = highest) and the citation the OECD asks for. For Canada's own latest figures use the wds_ and boc_ tools.

Mots-clés en anglais
OECD, international comparison, peer countries, G7, economic outlook, projections, forecast, productivity, unit labour costs, purchasing power parity, tax-to-GDP, house prices, leading indicator
Mots-clés en français
OCDE, comparaison internationale, pays comparables, G7, perspectives économiques, projections, prévisions, productivité du travail, coûts unitaires de main-d'œuvre, parité de pouvoir d'achat, recettes fiscales, prix des logements, indicateur avancé
Paramètres de oecd_compare_countries
ParamètreTypeDéfaut
indicator"real_gdp_growth" | "inflation" | "unemployment_rate" | "government_balance" | "government_debt" | "current_account" | "gdp_per_hour_worked" | "labour_productivity_growth" | "gdp_per_capita" | "unit_labour_cost_growth" | "ppp_gdp" | "tax_to_gdp" | "real_house_price_index" | "house_price_to_income" | "house_price_to_rent" | "composite_leading_indicator"obligatoire
compare_withlist[str] | nullnull
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "oecd_compare_countries", "arguments": {"indicator": "…"}}
oecd_describe_datasetDescribe an OECD dataset's dimensions and codes, to build a series key.

Utilisation : the order of an OECD dataset's key dimensions and the codes that have data in each (countries, measures, units, frequencies), before calling oecd_get_data; also when the dataset was last updated, how many observations it has, and how to cite it. dataset is an id from oecd_search_datasets (e.g. DSD_EO@DF_EO). The result gives a key template and an example key for Canada.

Mots-clés en anglais
OECD, dataset structure, dimensions, code list, series key, SDMX key, data structure definition, DSD, country codes, metadata, last updated
Mots-clés en français
OCDE, structure du jeu de données, dimensions, liste de codes, clé de série, clé SDMX, définition de structure, codes de pays, métadonnées, mise à jour
Paramètres de oecd_describe_dataset
ParamètreTypeDéfaut
datasetstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "oecd_describe_dataset", "arguments": {"dataset": "…"}}
oecd_get_dataGet OECD data by dataset and SDMX key, as tidy rows.

Utilisation : any OECD series beyond the preset comparisons: Economic Outlook measures (DSD_EO@DF_EO, e.g. CAN+USA.GDPV_ANNPCT.A), quarterly real GDP growth (DSD_NAMAIN1@DF_QNA_EXPENDITURE_GROWTH_OECD, Q.Y.CAN.S1.S1.B1GQ._Z._Z._Z.PC.L.G1.T0102), productivity by industry, PPPs and price levels, tax revenue by tax type, labour, health, education. key has one part per dimension in the order oecd_describe_dataset gives, codes joined by +, an empty part for all. Periods are SDMX (2020, 2020-Q1, 2020-01); last_n keeps the last N per series. Each row has the country, period, value, unit and frequency; csv_url opens the same query as CSV. Each query spends one of the OECD's hourly downloads.

Mots-clés en anglais
OECD, time series, SDMX key, international data, country comparison, economic statistics, projections, tidy data, CSV download, OECD.Stat
Mots-clés en français
OCDE, séries chronologiques, clé SDMX, données internationales, comparaison entre pays, statistiques économiques, projections, téléchargement CSV, OCDE.Stat
Paramètres de oecd_get_data
ParamètreTypeDéfaut
datasetstrobligatoire
keystrobligatoire
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "oecd_get_data", "arguments": {"dataset": "…", "key": "…"}}
oecd_query_datasetRun one read-only SQL query over an OECD dataset, or a slice of it, on the server, and get back only its result.

Utilisation : questions across an OECD dataset's breadth that oecd_get_data (200 series) cannot hold: every member country ranked, all age groups and activities, averages and growth over many series. The server reads the slice (codes per dimension in filters, e.g. {"REF_AREA": ["DEU", "FRA"], "FREQ": ["A"]}, ids as in oecd_describe_dataset, and start_period / end_period), up to 20,000 series and 150,000 observations, and runs sql with DuckDB over them as the table obs: series_id, dataset, series_key, period, ref_period (DATE), value, scale_multiplier, decimals, status, series_title, dataset_title, unit, scale, frequency, geography, adjustment, quality, and per dimension its code and its label (dimension_columns names them: ref_area and ref_area_label). A query that mixes units or adjustments, or sums a total with its own parts (the OECD or G7 and their members, an activity and its sections, a total and its categories), is refused with the reason. At most 500 rows come back. Each query spends one of the OECD's hourly downloads; this tool takes at most 15 an hour. Quote the citation and any warnings.

Mots-clés en anglais
OECD, SQL, query dataset, whole dataset, member countries, aggregate, group by, ranking, cross-country, DuckDB
Mots-clés en français
OCDE, requête SQL, jeu de données complet, pays membres, agréger, regrouper, classement, comparaison internationale, tranche
Paramètres de oecd_query_dataset
ParamètreTypeDéfaut
datasetstrobligatoire
sqlstrobligatoire
filtersdict[str, list[str]] | nullnull
start_periodstr | nullnull
end_periodstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "oecd_query_dataset", "arguments": {"dataset": "…", "sql": "…"}}
oecd_search_datasetsSearch the OECD Data Explorer's datasets (dataflows) by keyword.

Utilisation : finding which OECD dataset holds a series before describing and fetching it: Economic Outlook, productivity, unit labour costs, PPPs, Revenue Statistics, house prices, leading indicators, national accounts, labour force, education, health, environment, trade in value added. query is English (the OECD names datasets in English only), e.g. "tax revenue", "health expenditure", "pensions". Each result has the dataset id to pass to oecd_describe_dataset and oecd_get_data, and a Data Explorer link.

Mots-clés en anglais
OECD, Data Explorer, datasets, dataflows, SDMX, OECD.Stat, search, statistics catalogue, international statistics, OECD databases
Mots-clés en français
OCDE, Explorateur de données, jeux de données, flux SDMX, recherche, catalogue statistique, statistiques internationales, bases de données de l'OCDE, OCDE.Stat
Paramètres de oecd_search_datasets
ParamètreTypeDéfaut
querystrobligatoire
limitint10
lang"en" | "fr""en"
call_tool {"name": "oecd_search_datasets", "arguments": {"query": "…"}}

Comparateurs internationaux

Australian Bureau of Statistics (points de comparaison australiens)

abs_

API de données de l'Australian Bureau of Statistics, comme points de comparaison pour le Canada : inflation australienne (IPC et moyenne tronquée), taux de chômage, d'activité et d'emploi, croissance trimestrielle du PIB…

Description complète

API de données de l'Australian Bureau of Statistics, comme points de comparaison pour le Canada : inflation australienne (IPC et moyenne tronquée), taux de chômage, d'activité et d'emploi, croissance trimestrielle du PIB, croissance de l'indice des prix des salaires et de la population, chacun avec la série canadienne à mettre en regard ; et tout jeu des 1 200 jeux de données de l'ABS par clé SDMX. CC BY 4.0, sans clé.

4 outils

abs_describe_datasetDescribe an ABS (Australian) dataset's dimensions and codes, to build a key.

Utilisation : the order of an Australian Bureau of Statistics dataset's key dimensions and the codes that have data in each (measure, index or data item, adjustment type, region, frequency), before calling abs_get_data. dataset is an id from abs_search_datasets (e.g. CPI, LF, ANA_AGG). The result gives a key template and an example key for Australia.

Mots-clés en anglais
Australia, ABS, dataset structure, dimensions, code list, series key, SDMX key, Australian statistics, metadata
Mots-clés en français
Australie, ABS, structure du jeu de données, dimensions, liste de codes, clé de série, clé SDMX, métadonnées
Paramètres de abs_describe_dataset
ParamètreTypeDéfaut
datasetstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "abs_describe_dataset", "arguments": {"dataset": "…"}}
abs_get_dataGet Australian Bureau of Statistics data by dataset and SDMX key, as tidy rows.

Utilisation : any ABS series beyond the presets: CPI groups and capital cities, labour force by state and sex, national accounts aggregates, pay indices by industry, population by state. key has one part per dimension in the order abs_describe_dataset gives, codes joined by +, an empty part for all (e.g. M13.3.1599.20.1+2+AUS.M for unemployment in NSW, Victoria and Australia). Periods are SDMX (2020, 2020-Q1, 2020-01); last_n keeps the last N per series. Each series names its adjustment type and unit.

Mots-clés en anglais
Australia, ABS, Australian data, time series, SDMX key, states and territories, tidy data, CSV download
Mots-clés en français
Australie, ABS, données australiennes, séries chronologiques, clé SDMX, États et territoires, téléchargement CSV, statistiques australiennes
Paramètres de abs_get_data
ParamètreTypeDéfaut
datasetstrobligatoire
keystrobligatoire
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "abs_get_data", "arguments": {"dataset": "…", "key": "…"}}
abs_get_indicatorGet a headline Australian figure from the ABS, with Canada's counterpart.

Utilisation : Australian comparators from the Australian Bureau of Statistics: CPI and trimmed-mean inflation, unemployment, participation and employment-to-population rates, quarterly GDP growth, Wage Price Index growth, population growth. Periods are 2026, 2026-Q3 or 2026-09; without them the recent values come back. The result names the Canadian table (wds_) to pair with and how the measures differ, and gives the ABS citation.

Mots-clés en anglais
Australia, Australian, ABS, Australian Bureau of Statistics, Australian inflation, trimmed mean, Australian unemployment, WPI, comparator
Mots-clés en français
Australie, australien, ABS, inflation australienne, moyenne tronquée, chômage en Australie, indice des prix des salaires, point de comparaison
Paramètres de abs_get_indicator
ParamètreTypeDéfaut
indicator"cpi_inflation" | "trimmed_mean_inflation" | "unemployment_rate" | "participation_rate" | "employment_to_population_ratio" | "gdp_quarterly_growth" | "wage_price_index_growth" | "population_growth"obligatoire
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "abs_get_indicator", "arguments": {"indicator": "…"}}
abs_search_datasetsSearch the Australian Bureau of Statistics' datasets (ABS Data API) by keyword.

Utilisation : finding which ABS dataset holds an Australian series before describing and fetching it: consumer prices, labour force, national accounts, wages, population, building approvals, trade, household spending. query is English (the ABS publishes in English only). Each result has the dataset id for abs_describe_dataset and abs_get_data.

Mots-clés en anglais
Australia, ABS, Australian Bureau of Statistics, datasets, dataflows, SDMX, search, catalogue, Australian statistics
Mots-clés en français
Australie, ABS, jeux de données australiens, flux SDMX, recherche, catalogue, statistiques australiennes, bureau australien de la statistique
Paramètres de abs_search_datasets
ParamètreTypeDéfaut
querystrobligatoire
limitint10
lang"en" | "fr""en"
call_tool {"name": "abs_search_datasets", "arguments": {"query": "…"}}

Comparateurs internationaux

Fonds monétaire international (Canada et pays comparables ; un éditeur distinct de Statistique Canada)

imf_

Données du Fonds monétaire international (data.imf.org), un éditeur distinct de Statistique Canada, centrées sur le Canada : chercher parmi les jeux de données du FMI (prix à la consommation, taux de change, balance des paiements, statistiques du travail, comptes nationaux…

Description complète

Données du Fonds monétaire international (data.imf.org), un éditeur distinct de Statistique Canada, centrées sur le Canada : chercher parmi les jeux de données du FMI (prix à la consommation, taux de change, balance des paiements, statistiques du travail, comptes nationaux, finances publiques, commerce par partenaire, Perspectives de l'économie mondiale, prix des produits de base), lister les séries du Canada d'un jeu et lire les observations par clé SDMX avec filtres de période. Ce sont des chiffres du FMI et non de Statistique Canada ; les prix à la consommation du FMI ont environ un mois de retard. Les données peuvent être copiées en citant le FMI ; la réutilisation commerciale exige son autorisation.

4 outils

imf_describe_datasetDescribe an IMF dataset's key dimensions and codes, to build a series key.

Utilisation : the order of an IMF dataset's key dimensions (country, frequency, ...) and the codes in each, before calling imf_get_data; also how to cite the dataset. dataset is an id from imf_search_datasets (ER, BOP, WEO). The result gives a key template and an example key. The IMF does not publish which codes have data.

Mots-clés en anglais
IMF, dataset structure, dimensions, code list, series key, SDMX key, data structure definition, country codes, metadata, International Monetary Fund
Mots-clés en français
FMI, structure du jeu de données, dimensions, liste de codes, clé de série, clé SDMX, codes de pays, métadonnées, Fonds monétaire international
Paramètres de imf_describe_dataset
ParamètreTypeDéfaut
datasetstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "imf_describe_dataset", "arguments": {"dataset": "…"}}
imf_get_dataGet IMF observations by dataset and SDMX key, as tidy rows.

Utilisation : an IMF series for a country, such as World Economic Outlook real GDP growth (WEO, CAN.NGDP_RPCH.A). key has one part per dimension in the order imf_describe_dataset gives, codes joined by +, an empty part for all; a short key is a prefix. Periods are SDMX (2026, 2026-Q1, 2026-M09); last_n keeps the last N per series. IMF figures, not official Canadian statistics.

Mots-clés en anglais
IMF, time series, SDMX key, observations, International Monetary Fund, World Economic Outlook, international data, tidy data
Mots-clés en français
FMI, séries chronologiques, clé SDMX, observations, Fonds monétaire international, Perspectives de l'économie mondiale, données internationales, API du FMI
Paramètres de imf_get_data
ParamètreTypeDéfaut
datasetstrobligatoire
keystrobligatoire
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "imf_get_data", "arguments": {"dataset": "…", "key": "…"}}
imf_search_datasetsSearch the IMF's datasets by keyword (World Economic Outlook, balance of payments).

Utilisation : finding which International Monetary Fund dataset holds a series for a country, before listing its series. query is English (the IMF names datasets in English only). An IMF figure is not an official Canadian statistic; use it for comparison or when the Canadian source is out.

Mots-clés en anglais
IMF, International Monetary Fund, data.imf.org, datasets, dataflows, SDMX, World Economic Outlook, WEO, international statistics
Mots-clés en français
FMI, Fonds monétaire international, jeux de données, flux SDMX, Perspectives de l'économie mondiale, statistiques internationales, base de données du FMI, données du FMI
Paramètres de imf_search_datasets
ParamètreTypeDéfaut
querystrobligatoire
limitint10
lang"en" | "fr""en"
call_tool {"name": "imf_search_datasets", "arguments": {"query": "…"}}
imf_search_seriesList a country's series in an IMF dataset, with the newest value of each.

Utilisation : finding the series key for a country code (CAN by default) in an IMF dataset: every series with its labels, frequency, newest period and value. query keeps the series whose labels hold every word (English, or French with lang="fr"). Then pass the key to imf_get_data. IMF figures, not official Canadian statistics.

Mots-clés en anglais
IMF, series for a country, country series, newest value, series key, International Monetary Fund, IMF API, SDMX series, IMF country data
Mots-clés en français
FMI, séries d'un pays, séries par pays, dernière valeur, clé de série, Fonds monétaire international, API du FMI, séries SDMX, données du FMI par pays
Paramètres de imf_search_series
ParamètreTypeDéfaut
datasetstrobligatoire
querystr | nullnull
countrystr"CAN"
limitint25
lang"en" | "fr""en"
call_tool {"name": "imf_search_series", "arguments": {"dataset": "…"}}

Comparateurs internationaux

Indicateurs du développement dans le monde de la Banque mondiale (Canada et pays comparables)

worldbank_

Indicateurs du développement dans le monde (WDI) de la Banque mondiale, centrés sur le Canada : chercher parmi les 1 500 indicateurs par mots ou par thème, lire la définition d'un indicateur et obtenir la série annuelle du Canada (PIB, croissance, inflation, chômage, commerce…

Description complète

Indicateurs du développement dans le monde (WDI) de la Banque mondiale, centrés sur le Canada : chercher parmi les 1 500 indicateurs par mots ou par thème, lire la définition d'un indicateur et obtenir la série annuelle du Canada (PIB, croissance, inflation, chômage, commerce, population, émissions, etc., souvent depuis 1960), avec une comparaison facultative avec les pays du G7, les pays membres de l'OCDE ou l'agrégat des pays membres de l'OCDE. CC BY 4.0.

4 outils

worldbank_get_canada_seriesGet Canada's annual World Bank WDI series, optionally beside G7 or OECD peers.

Utilisation : how Canada compares internationally on one indicator over time: real GDP growth (NY.GDP.MKTP.KD.ZG), GDP per capita at PPP (NY.GDP.PCAP.PP.KD), inflation (FP.CPI.TOTL.ZG), unemployment (SL.UEM.TOTL.ZS), exports (NE.EXP.GNFS.ZS), population (SP.POP.TOTL), CO2 emissions per capita (EN.GHG.CO2.PC.CE.AR5). Canada is always included, first. compare_with takes "G7", "OECD" (the World Bank's OECD members aggregate), "OECD_MEMBERS" (all 38) or ISO3 codes of OECD members ("USA", "AUS"); other countries are refused. Years: start_year/end_year, or most_recent (the last N years with a value). With comparisons the result gives the rank (1 = highest). For Canada's own latest figures use the wds_ and boc_ tools.

Mots-clés en anglais
world bank, Canada compared, international comparison, G7 comparison, OECD comparison, peer countries, cross-country, ranking, GDP per capita, annual series, Canada vs United States
Mots-clés en français
Banque mondiale, Canada comparé, comparaison internationale, comparaison avec le G7, comparaison avec l'OCDE, pays comparables, classement du Canada, PIB par habitant, série annuelle, Canada et États-Unis
Paramètres de worldbank_get_canada_series
ParamètreTypeDéfaut
indicatorstrobligatoire
compare_withlist[str] | nullnull
start_yearint | nullnull
end_yearint | nullnull
most_recentint | nullnull
lang"en" | "fr""en"
call_tool {"name": "worldbank_get_canada_series", "arguments": {"indicator": "…"}}
worldbank_get_indicatorGet the definition and original source of one World Bank WDI indicator.

Utilisation : checking what a World Development Indicators code measures and who compiles it (e.g. NY.GDP.PCAP.PP.KD is GDP per capita at constant PPP dollars from the World Bank's national accounts; SL.UEM.TOTL.ZS is the ILO modelled unemployment rate, not the Labour Force Survey rate) before comparing Canada with other countries.

Mots-clés en anglais
world bank, WDI, indicator definition, methodology, source organization, metadata, ILO modelled estimate, purchasing power parity, international data
Mots-clés en français
Banque mondiale, WDI, définition de l'indicateur, méthodologie, organisme source, métadonnées, estimation modélisée de l'OIT, parité de pouvoir d'achat, données internationales
Paramètres de worldbank_get_indicator
ParamètreTypeDéfaut
indicatorstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "worldbank_get_indicator", "arguments": {"indicator": "…"}}
worldbank_list_topicsList the World Bank WDI topics (themes) with how many indicators each has.

Utilisation : browsing World Development Indicators by theme before a search (economy and growth, trade, health, education, environment, climate change, energy, financial sector, public sector, labour and social protection, science and technology), to pick the topic for worldbank_search_indicators.

Mots-clés en anglais
world bank, WDI topics, themes, indicator categories, international indicators, browse, economy and growth, climate change, trade, health, education
Mots-clés en français
Banque mondiale, thèmes WDI, catégories d'indicateurs, indicateurs internationaux, parcourir, économie et croissance, changement climatique, échanges commerciaux, santé, éducation
Paramètres de worldbank_list_topics
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "worldbank_list_topics", "arguments": {}}
worldbank_search_indicatorsFind a World Bank World Development Indicators code to compare Canada internationally.

Utilisation : finding the WDI code for an international comparison of Canada (GDP per capita, real GDP growth, inflation, unemployment, exports as a share of GDP, government debt, CO2 emissions, life expectancy, R&D spending, population ageing). query matches every word against the name, code and definition; topic (an id or name from worldbank_list_topics, e.g. 3 or "Economy & Growth") narrows to one theme. Then call worldbank_get_canada_series with the code.

Mots-clés en anglais
world bank, world development indicators, WDI, international comparison, indicator code, cross-country, G7, OECD countries, peer countries, global ranking, GDP per capita, development indicators
Mots-clés en français
Banque mondiale, Indicateurs du développement dans le monde (IDM), comparaison internationale, code d'indicateur, comparaison entre pays, pays du G7, pays de l'OCDE, pays comparables, classement mondial, PIB par habitant, indicateurs internationaux
Paramètres de worldbank_search_indicators
ParamètreTypeDéfaut
querystr | nullnull
topicstr | nullnull
limitint25
lang"en" | "fr""en"
call_tool {"name": "worldbank_search_indicators", "arguments": {}}

Comparateurs internationaux

Statistiques de la Banque des règlements internationaux (Canada et pays comparables)

bis_

Statistiques de la Banque des règlements internationaux, centrées sur le Canada : le Canada à côté du G7 ou d'autres économies pour les taux directeurs des banques centrales, les ratios du service de la dette des ménages et du secteur privé, les écarts du ratio crédit/PIB…

Description complète

Statistiques de la Banque des règlements internationaux, centrées sur le Canada : le Canada à côté du G7 ou d'autres économies pour les taux directeurs des banques centrales, les ratios du service de la dette des ménages et du secteur privé, les écarts du ratio crédit/PIB, le crédit total, les prix de l'immobilier résidentiel, les prix à la consommation et les taux de change effectifs ; et toute série des 28 jeux de données de la BRI (activité bancaire, titres de créance, dérivés, statistiques de paiement du CPIM) par clé SDMX. Libellés en anglais seulement à la source. Réutilisation libre avec mention de la source.

4 outils

bis_compare_countriesCompare Canada with G7 or other economies on a BIS financial indicator.

Utilisation : how Canada's household debt service ratio, credit-to-GDP gap, household or government debt as a share of GDP, real house price growth, policy rate, inflation or effective exchange rate compares with the United States, the United Kingdom, Australia, the euro area or the G7. indicator is one of the preset names. compare_with takes "G7", "EURO_AREA" or two-letter BIS area codes ("US", "GB", "AU", "NZ", "SE", "NO"). Periods are SDMX (2020, 2020-Q1, 2020-01); without them the last 5 years come back. The result lists Canada first, with its rank (1 = highest) in the period most of them report. For Canada's own latest figures use the boc_ and wds_ tools.

Mots-clés en anglais
BIS, Bank for International Settlements, international comparison, debt service ratio, household debt, credit-to-GDP gap, house prices, policy rates, central banks, G7, peer countries, effective exchange rate
Mots-clés en français
BRI, Banque des règlements internationaux, comparaison internationale, ratio du service de la dette, endettement des ménages, écart crédit/PIB, prix des logements, taux directeurs, banques centrales, pays du G7, taux de change effectif
Paramètres de bis_compare_countries
ParamètreTypeDéfaut
indicator"policy_rate" | "household_debt_service_ratio" | "private_debt_service_ratio" | "credit_to_gdp_gap" | "household_credit_to_gdp" | "private_credit_to_gdp" | "government_debt_to_gdp" | "real_house_price_growth" | "nominal_house_price_growth" | "real_house_price_index" | "cpi_inflation" | "real_effective_exchange_rate" | "nominal_effective_exchange_rate"obligatoire
compare_withlist[str] | nullnull
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "bis_compare_countries", "arguments": {"indicator": "…"}}
bis_describe_datasetDescribe a BIS dataset's dimensions and codes, to build a series key.

Utilisation : the order of a BIS dataset's key dimensions and the codes each takes (areas, sectors, units, frequencies), before calling bis_get_series. dataset is an id from bis_list_datasets (e.g. WS_DSR). The result gives a key template and an example key for Canada.

Mots-clés en anglais
BIS, dataset structure, dimensions, code list, series key, SDMX key, data structure definition, DSD, reference area codes, metadata
Mots-clés en français
BRI, structure du jeu de données, dimensions, liste de codes, clé de série, clé SDMX, définition de structure, codes de zone, métadonnées
Paramètres de bis_describe_dataset
ParamètreTypeDéfaut
datasetstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "bis_describe_dataset", "arguments": {"dataset": "…"}}
bis_get_seriesGet BIS time series by dataset and SDMX key.

Utilisation : any BIS series beyond the preset comparisons: Canada's cross-border bank claims, debt securities outstanding, CPMI cashless payment volumes, daily policy rates (WS_CBPOL key D.CA), US dollar exchange rates, OTC derivatives. key has one part per dimension in the order bis_describe_dataset gives, codes joined by +, * for all (e.g. WS_DSR Q.CA+US.H). Periods are SDMX (2020, 2020-Q1, 2020-01, 2020-01-31); last_n keeps the last N per series. The result has a csv_url that opens the same query as CSV.

Mots-clés en anglais
BIS, Bank for International Settlements, time series, SDMX key, banking statistics, payment statistics, exchange rates, policy rate, debt securities, CSV download
Mots-clés en français
BRI, Banque des règlements internationaux, séries chronologiques, clé SDMX, statistiques bancaires, statistiques de paiement, taux de change, taux directeur, titres de créance, téléchargement CSV
Paramètres de bis_get_series
ParamètreTypeDéfaut
datasetstrobligatoire
keystrobligatoire
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "bis_get_series", "arguments": {"dataset": "…", "key": "…"}}
bis_list_datasetsList the Bank for International Settlements statistical datasets.

Utilisation : finding which BIS dataset holds a series before describing it and fetching it: central bank policy rates (WS_CBPOL), debt service ratios (WS_DSR), total credit (WS_TC), credit-to-GDP gaps (WS_CREDIT_GAP), residential and commercial property prices (WS_SPP, WS_DPP, WS_CPP), consumer prices (WS_LONG_CPI), exchange rates (WS_EER, WS_XRU), international banking (WS_LBS_D_PUB, WS_CBS_PUB), debt securities, derivatives and CPMI payment statistics.

Mots-clés en anglais
BIS, Bank for International Settlements, datasets, dataflows, SDMX, international banking statistics, payment statistics, CPMI, derivatives, debt securities, global liquidity
Mots-clés en français
BRI, Banque des règlements internationaux, jeux de données, flux SDMX, statistiques bancaires internationales, statistiques de paiement, CPIM, produits dérivés, titres de créance, liquidité mondiale
Paramètres de bis_list_datasets
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "bis_list_datasets", "arguments": {}}

Comparateurs internationaux

Statistiques du travail d'ILOSTAT (Canada et pays comparables)

ilo_

ILOSTAT, les statistiques du travail de l'Organisation internationale du Travail, centrées sur le Canada : le Canada à côté du G7 ou d'autres pays pour le chômage, le chômage des jeunes, le taux d'activité, le taux d'emploi, la sous-utilisation de la main-d'œuvre (LU3)…

Description complète

ILOSTAT, les statistiques du travail de l'Organisation internationale du Travail, centrées sur le Canada : le Canada à côté du G7 ou d'autres pays pour le chômage, le chômage des jeunes, le taux d'activité, le taux d'emploi, la sous-utilisation de la main-d'œuvre (LU3), les NEET, les heures hebdomadaires, l'emploi temporaire, les gains et le salaire minimum en dollars PPA, comparables entre pays, et les estimations modélisées de l'OIT (projections du chômage, part du revenu du travail, production par heure) ; et tout jeu des 1 200 jeux de données d'ILOSTAT par clé SDMX. CC BY 4.0.

4 outils

ilo_compare_countriesCompare Canada's labour market with other countries on ILOSTAT (ILO) indicators.

Utilisation : how Canada compares internationally on labour statistics the International Labour Organization harmonises: unemployment rate, youth unemployment, labour force participation, employment-to- population ratio, labour underutilisation (LU3), NEET rate, weekly hours worked, share of temporary employees, monthly earnings and the statutory minimum in PPP dollars, and ILO modelled estimates (unemployment projections, labour income share, output per hour worked). compare_with takes "G7", "WORLD", "EU27" or ISO 3 codes ("USA", "GBR", "AUS", "MEX"; "US", "UK" also work). sex splits by sex; frequency is annual, or quarterly/monthly for survey series (not seasonally adjusted). The result gives the rank (1 = highest) and the ILO citation. For Canada's own latest monthly figures use the wds_ tools (Labour Force Survey).

Mots-clés en anglais
ILO, ILOSTAT, International Labour Organization, international comparison, unemployment rate, labour force participation, employment rate, youth unemployment, NEET, hours worked, earnings, labour income share, G7 countries
Mots-clés en français
OIT, BIT, ILOSTAT, Organisation internationale du Travail, comparaison internationale, chômage comparé entre pays, activité, emploi, jeunes, heures travaillées, salaire minimum, gains, part du revenu du travail, pays du G7
Paramètres de ilo_compare_countries
ParamètreTypeDéfaut
indicator"unemployment_rate" | "youth_unemployment_rate" | "labour_force_participation_rate" | "employment_to_population_ratio" | "labour_underutilisation_lu3" | "neet_rate" | "weekly_hours_worked" | "temporary_employees_share" | "average_monthly_earnings_ppp" | "minimum_wage_ppp" | "unemployment_rate_modelled" | "labour_income_share" | "output_per_hour_worked"obligatoire
compare_withlist[str] | nullnull
sex"total" | "male" | "female""total"
frequency"annual" | "quarterly" | "monthly""annual"
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "ilo_compare_countries", "arguments": {"indicator": "…"}}
ilo_describe_datasetDescribe an ILOSTAT dataset's dimensions and codes, to build a series key.

Utilisation : the order of an ILOSTAT (ILO) dataset's key dimensions and the codes that have data in each (countries, frequency, measure, sex, age bands, economic activity, currency), before calling ilo_get_data; also when it was last updated and how to cite it. dataset is an id from ilo_search_datasets (e.g. DF_UNE_DEAP_SEX_AGE_RT). The result gives a key template and an example key for Canada.

Mots-clés en anglais
ILO, ILOSTAT, dataset structure, dimensions, code list, series key, SDMX key, age bands, classification codes, metadata
Mots-clés en français
OIT, ILOSTAT, structure du jeu de données, dimensions, liste de codes, clé de série, clé SDMX, tranches d'âge, nomenclatures, métadonnées
Paramètres de ilo_describe_dataset
ParamètreTypeDéfaut
datasetstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "ilo_describe_dataset", "arguments": {"dataset": "…"}}
ilo_get_dataGet ILOSTAT (ILO) labour data by dataset and SDMX key, as tidy rows.

Utilisation : any ILOSTAT series beyond the preset comparisons: by age band, education, economic activity, occupation, status in employment, informality, earnings by industry, for any country. key has one part per dimension in the order ilo_describe_dataset gives, codes joined by +, an empty part for all (e.g. CAN+USA.A.UNE_DEAP_RT.SEX_T.AGE_YTHADULT_Y15-24). Periods are SDMX (2020, 2020-Q1, 2020-M01 or 2020-01); last_n keeps the last N per series. Each row has the country, period, value, unit and frequency; each series names its national source survey.

Mots-clés en anglais
ILO, ILOSTAT, labour data, time series, SDMX key, international data, country comparison, labour market statistics, tidy data, CSV download
Mots-clés en français
OIT, ILOSTAT, données sur le travail, séries chronologiques, clé SDMX, données internationales, comparaison entre pays, marché du travail, téléchargement CSV
Paramètres de ilo_get_data
ParamètreTypeDéfaut
datasetstrobligatoire
keystrobligatoire
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "ilo_get_data", "arguments": {"dataset": "…", "key": "…"}}
ilo_search_datasetsSearch ILOSTAT's labour statistics datasets (ILO) by keyword.

Utilisation : finding which ILOSTAT dataset holds a labour series before describing and fetching it: unemployment, employment by industry or occupation, informal employment, earnings, hours, labour income, working poverty, child labour, occupational injuries, labour inspection, strikes, ILO modelled estimates. query is English, or French with lang="fr" (names are searched in that language). Each result has the dataset id for ilo_describe_dataset and ilo_get_data, and says whether it is an ILO modelled estimate.

Mots-clés en anglais
ILO, ILOSTAT, labour statistics, datasets, dataflows, SDMX, search, catalogue, international labour data, employment statistics
Mots-clés en français
OIT, ILOSTAT, statistiques du travail, jeux de données, flux SDMX, recherche, catalogue, données internationales sur le travail, statistiques de l'emploi
Paramètres de ilo_search_datasets
ParamètreTypeDéfaut
querystrobligatoire
limitint10
lang"en" | "fr""en"
call_tool {"name": "ilo_search_datasets", "arguments": {"query": "…"}}

Comparateurs internationaux

Office for National Statistics du Royaume-Uni (points de comparaison britanniques)

ons_

Séries chronologiques de l'Office for National Statistics du Royaume-Uni, comme points de comparaison pour le Canada : inflation britannique (IPC, CPIH, inflation fondamentale, RPI), croissance du PIB trimestrielle, annuelle et mensuelle, taux de chômage…

Description complète

Séries chronologiques de l'Office for National Statistics du Royaume-Uni, comme points de comparaison pour le Canada : inflation britannique (IPC, CPIH, inflation fondamentale, RPI), croissance du PIB trimestrielle, annuelle et mensuelle, taux de chômage, d'emploi et d'inactivité, croissance des salaires, postes vacants, dette nette du secteur public et ventes au détail, chacun avec la série canadienne à mettre en regard ; et toute série de l'ONS par son identifiant à quatre caractères (CDID). Open Government Licence v3.0.

3 outils

ons_get_indicatorGet a headline United Kingdom figure from the ONS, with Canada's counterpart.

Utilisation : UK comparators from the Office for National Statistics: CPI, CPIH, core CPI and RPI inflation, UK GDP growth, unemployment, employment and inactivity rates, regular and total pay growth, job vacancies, public sector net debt (% of GDP), retail sales volume. Periods are 2026, 2026-Q3 or 2026-09; without them the recent values come back. The result names the Canadian table (wds_) to pair with and how the definitions differ, the next release date and the ONS citation.

Mots-clés en anglais
United Kingdom, UK, Britain, ONS, Office for National Statistics, UK inflation, CPIH, UK GDP, UK unemployment, UK pay, comparator
Mots-clés en français
Royaume-Uni, britannique, Grande-Bretagne, ONS, inflation britannique, PIB britannique, chômage au Royaume-Uni, salaires britanniques, point de comparaison
Paramètres de ons_get_indicator
ParamètreTypeDéfaut
indicator"cpi_inflation" | "cpih_inflation" | "core_cpi_inflation" | "rpi_inflation" | "gdp_quarterly_growth" | "gdp_annual_growth" | "monthly_gdp_growth" | "unemployment_rate" | "employment_rate" | "inactivity_rate" | "regular_pay_growth" | "total_pay_growth" | "vacancies" | "public_sector_net_debt" | "retail_sales_volume"obligatoire
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "ons_get_indicator", "arguments": {"indicator": "…"}}
ons_get_seriesGet any UK ONS time series by its id (CDID), as tidy observations.

Utilisation : a UK series beyond the presets, by its four-character ONS id from ons_search_series (e.g. D7G7 CPI annual rate, MGSX unemployment rate, ABMI real GDP). dataset picks one when several ONS datasets publish the id; frequency picks the frequency (default: the most frequent published). Periods are 2026, 2026-Q3 or 2026-09; last_n keeps the last N. The result has the unit, release and next-release dates, a CSV link and the citation.

Mots-clés en anglais
ONS, Office for National Statistics, United Kingdom, UK time series, CDID, series id, British statistics, CSV download
Mots-clés en français
ONS, Royaume-Uni, série chronologique britannique, CDID, mensuel, trimestriel, annuel, téléchargement CSV
Paramètres de ons_get_series
ParamètreTypeDéfaut
series_idstrobligatoire
datasetstr | nullnull
frequency"monthly" | "quarterly" | "annual" | nullnull
start_periodstr | nullnull
end_periodstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "ons_get_series", "arguments": {"series_id": "…"}}
ons_search_seriesSearch the UK Office for National Statistics' time series by keyword.

Utilisation : finding the ONS series id (CDID, e.g. D7G7) of a UK statistic before fetching it: price indices and their components, labour market, earnings, GDP and its components, trade, public finances, retail sales, productivity. query is English (the ONS publishes in English only); dataset narrows to one ONS dataset (MM23 consumer prices, LMS labour market, QNA quarterly national accounts, PUSF public finances). Each result has the series id and dataset to pass to ons_get_series.

Mots-clés en anglais
ONS, Office for National Statistics, United Kingdom, UK time series, CDID, series id, search, British statistics
Mots-clés en français
ONS, Royaume-Uni, séries chronologiques britanniques, identifiant de série, CDID, recherche, statistiques britanniques, Grande-Bretagne
Paramètres de ons_search_series
ParamètreTypeDéfaut
querystrobligatoire
datasetstr | nullnull
limitint10
lang"en" | "fr""en"
call_tool {"name": "ons_search_series", "arguments": {"query": "…"}}

Provincial · Ontario · Québec · Alberta

Électricité : Ontario (SIERE), Québec (Hydro-Québec) et Alberta (AESO)

electricity_

Données du réseau d'électricité de l'Ontario (rapports publics de la SIERE) : demande horaire de l'Ontario et du marché (depuis 2002), demande en temps réel aux 5 minutes, production horaire par combustible (depuis 2015), prix zonal de l'Ontario (prévisionnel horaire…

Description complète

Données du réseau d'électricité de l'Ontario (rapports publics de la SIERE) : demande horaire de l'Ontario et du marché (depuis 2002), demande en temps réel aux 5 minutes, production horaire par combustible (depuis 2015), prix zonal de l'Ontario (prévisionnel horaire, temps réel ; remplace le PHEO depuis le 2025-05-01), moyennes mensuelles du PHEO jusqu'en 2025, perspective quotidienne de suffisance et échanges aux interconnexions. Ainsi que le Québec (Hydro-Québec, CC BY-NC 4.0, usage non commercial) : demande aux 15 minutes, production par source, importations et exportations, et débits horaires et apports naturels quotidiens à 94 centrales et barrages d'Hydro-Québec. Ainsi que l'Alberta (AESO, usage non commercial seulement) : prix horaire du pool et charge interne de l'Alberta (depuis 1999), moyennes quotidiennes et mensuelles du prix du pool, et offre et demande actuelles par combustible, échanges et centrale. Les autres provinces ne sont pas couvertes.

16 outils

electricity_alberta_get_daily_pool_priceAlberta daily average pool price, on-peak and off-peak averages, and 30-day rolling averages.

Utilisation : Alberta power price by day, on-peak versus off-peak prices, daily electricity price trend in Alberta.

Mots-clés en anglais
Alberta, AESO, daily average pool price, on-peak, off-peak, 30-day rolling average, electricity price, $/MWh, wholesale, power price
Mots-clés en français
Alberta, AESO, prix moyen quotidien du pool, heures de pointe, heures creuses, moyenne mobile sur 30 jours, prix de l'électricité, prix de gros
Paramètres de electricity_alberta_get_daily_pool_price
ParamètreTypeDéfaut
start_datestr | nullnull
end_datestr | nullnull
lang"en" | "fr""en"
call_tool {"name": "electricity_alberta_get_daily_pool_price", "arguments": {}}
electricity_alberta_get_monthly_summaryAlberta monthly pool price and demand statistics from the AESO's Pool Monthly Summary, 1999 on.

Utilisation : Alberta average electricity price for a month or year, monthly peak demand, Alberta energy consumption by month.

Mots-clés en anglais
Alberta, AESO, monthly average pool price, pool monthly summary, peak demand, load factor, total energy, GWh, electricity price history, wholesale
Mots-clés en français
Alberta, AESO, prix moyen mensuel du pool, sommaire mensuel, demande de pointe, facteur de charge, énergie totale, GWh, historique des prix de l'électricité
Paramètres de electricity_alberta_get_monthly_summary
ParamètreTypeDéfaut
start_monthstr | nullnull
end_monthstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "electricity_alberta_get_monthly_summary", "arguments": {}}
electricity_alberta_get_pool_priceAlberta hourly pool price ($/MWh) and Alberta Internal Load (MW) from the AESO, 1999 on.

Utilisation : Alberta electricity price today, hourly power price spikes, Alberta wholesale price history, Alberta electricity demand by hour.

Mots-clés en anglais
Alberta, AESO, pool price, wholesale electricity price, hourly price, $/MWh, Alberta Internal Load, AIL, power market, electricity demand, energy-only market
Mots-clés en français
Alberta, AESO, prix du pool, prix de gros de l'électricité, prix horaire, $/MWh, charge interne de l'Alberta, demande d'électricité, marché de l'électricité, pointe
Paramètres de electricity_alberta_get_pool_price
ParamètreTypeDéfaut
start_datestr | nullnull
end_datestr | nullnull
limitint48
lang"en" | "fr""en"
call_tool {"name": "electricity_alberta_get_pool_price", "arguments": {}}
electricity_alberta_get_supply_demandAlberta grid right now: internal load, generation by fuel type, interchange and assets (AESO).

Utilisation : how much wind Alberta is generating now, Alberta generation mix, Alberta imports and exports, current Alberta electricity demand.

Mots-clés en anglais
Alberta, AESO, current supply demand, generation by fuel, wind generation, solar, gas, cogeneration, interchange, imports, exports, power plants, MW
Mots-clés en français
Alberta, AESO, offre et demande actuelles, production par combustible, éolien, solaire, gaz, cogénération, échanges, importations, exportations, centrales électriques
Paramètres de electricity_alberta_get_supply_demand
ParamètreTypeDéfaut
include_assetsboolfalse
groupstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "electricity_alberta_get_supply_demand", "arguments": {}}
electricity_ontario_get_adequacy_outlookOntario's hourly supply-adequacy outlook for one delivery day (today by default).

Utilisation : will Ontario have enough power, reserve margin, forecast peak demand, supply outlook, generator outages.

Mots-clés en anglais
Ontario, IESO, adequacy, outlook, reserve margin, excess capacity, forecast demand, supply, outages, reliability, MW
Mots-clés en français
Ontario, Société indépendante d'exploitation du réseau d'électricité (SIERE), suffisance, perspective, marge de réserve, capacité excédentaire, demande prévue, approvisionnement, pannes, fiabilité
Paramètres de electricity_ontario_get_adequacy_outlook
ParamètreTypeDéfaut
datestr | nullnull
lang"en" | "fr""en"
call_tool {"name": "electricity_ontario_get_adequacy_outlook", "arguments": {}}
electricity_ontario_get_hoep_historyMonthly averages of the Hourly Ontario Energy Price (HOEP), 2002-2025.

Utilisation : historical Ontario electricity spot prices, HOEP by month, price trends before the 2025 market renewal.

Mots-clés en anglais
Ontario, IESO, HOEP, hourly Ontario energy price, historical price, monthly average, on-peak, off-peak, weighted average, wholesale
Mots-clés en français
Ontario, Société indépendante d'exploitation du réseau d'électricité (SIERE), prix horaire de l'énergie en Ontario (PHEO), historique des prix, moyenne mensuelle, période de pointe, hors pointe, moyenne pondérée, prix de gros de l'électricité
Paramètres de electricity_ontario_get_hoep_history
ParamètreTypeDéfaut
yearint | nullnull
lang"en" | "fr""en"
call_tool {"name": "electricity_ontario_get_hoep_history", "arguments": {}}
electricity_ontario_get_hourly_demandOntario hourly electricity demand in MW, 2002 to the previous day.

Utilisation : Ontario electricity load, peak demand, daily or seasonal demand profile, demand history, how much power Ontario uses.

Mots-clés en anglais
Ontario, IESO, electricity demand, hourly demand, peak demand, load, MW, market demand, Ontario demand, power grid, consumption
Mots-clés en français
Ontario, Société indépendante d'exploitation du réseau d'électricité (SIERE), demande d'électricité, demande horaire, pointe, charge, MW, demande du marché, réseau électrique, consommation
Paramètres de electricity_ontario_get_hourly_demand
ParamètreTypeDéfaut
yearint | nullnull
start_datestr | nullnull
end_datestr | nullnull
limitint48
lang"en" | "fr""en"
call_tool {"name": "electricity_ontario_get_hourly_demand", "arguments": {}}
electricity_ontario_get_intertie_flowsOntario electricity imports and exports by intertie zone (Manitoba, Quebec, New York, ...).

Utilisation : Ontario electricity trade, imports from Quebec, exports to the United States, interprovincial power flows.

Mots-clés en anglais
Ontario, IESO, intertie, imports, exports, Quebec, Manitoba, New York, Michigan, Minnesota, flows, schedule, interprovincial, trade
Mots-clés en français
Ontario, Société indépendante d'exploitation du réseau d'électricité (SIERE), interconnexion, importations, exportations, Québec, Manitoba, New York, flux, échanges d'électricité, interprovincial
Paramètres de electricity_ontario_get_intertie_flows
ParamètreTypeDéfaut
datestr | nullnull
lang"en" | "fr""en"
call_tool {"name": "electricity_ontario_get_intertie_flows", "arguments": {}}
electricity_ontario_get_pricesOntario Zonal Price (CAD/MWh): day-ahead hourly or real-time 5-minute.

Utilisation : Ontario wholesale electricity price, day-ahead price, spot price now, price spikes, congestion and loss components. For Alberta pool prices use electricity_alberta_get_pool_price.

Mots-clés en anglais
Ontario, IESO, electricity price, zonal price, OZP, day-ahead, real-time, LMP, CAD/MWh, wholesale, spot, market renewal, congestion
Mots-clés en français
Ontario, Société indépendante d'exploitation du réseau d'électricité (SIERE), prix de l'électricité, prix zonal, prévisionnel, temps réel, prix marginal, $/MWh, gros, marché au comptant, congestion
Paramètres de electricity_ontario_get_prices
ParamètreTypeDéfaut
market"day_ahead" | "real_time""day_ahead"
datestr | nullnull
hourint | nullnull
lang"en" | "fr""en"
call_tool {"name": "electricity_ontario_get_prices", "arguments": {}}
electricity_ontario_get_realtime_demandOntario demand every 5 minutes for the latest delivery hour (or a past hour).

Utilisation : right-now Ontario electricity demand, 5-minute load, real-time grid conditions in Ontario.

Mots-clés en anglais
Ontario, IESO, real-time demand, 5-minute, current load, live, electricity, MW, dispatch, grid, now
Mots-clés en français
Ontario, Société indépendante d'exploitation du réseau d'électricité (SIERE), demande en temps réel, 5 minutes, charge actuelle, électricité, MW, réseau, maintenant, répartition
Paramètres de electricity_ontario_get_realtime_demand
ParamètreTypeDéfaut
datestr | nullnull
hourint | nullnull
lang"en" | "fr""en"
call_tool {"name": "electricity_ontario_get_realtime_demand", "arguments": {}}
electricity_ontario_get_supply_by_fuelOntario hourly generator output by fuel (nuclear, gas, hydro, wind, solar, biofuel), 2015 onward.

Utilisation : Ontario generation mix, nuclear or wind share, gas-fired output, supply by fuel type, clean electricity share.

Mots-clés en anglais
Ontario, IESO, generation mix, supply by fuel, nuclear, gas, hydro, wind, solar, biofuel, output, MW, MWh, energy mix
Mots-clés en français
Ontario, Société indépendante d'exploitation du réseau d'électricité (SIERE), bouquet énergétique, production par combustible, nucléaire, gaz, hydroélectricité, éolien, solaire, MW, MWh
Paramètres de electricity_ontario_get_supply_by_fuel
ParamètreTypeDéfaut
yearint | nullnull
start_datestr | nullnull
end_datestr | nullnull
limitint48
lang"en" | "fr""en"
call_tool {"name": "electricity_ontario_get_supply_by_fuel", "arguments": {}}
electricity_quebec_get_demandQuebec electricity demand in MW from Hydro-Quebec open data.

Utilisation : how much electricity Quebec is using now, Quebec peak demand, Hydro-Quebec load history, winter peaks.

Mots-clés en anglais
Quebec, Hydro-Quebec, electricity demand, load, MW, peak demand, 15-minute, hourly, open data, power grid, consumption
Mots-clés en français
Québec, Hydro-Québec, demande d'électricité, charge, MW, pointe, 15 minutes, horaire, données ouvertes, réseau, consommation
Paramètres de electricity_quebec_get_demand
ParamètreTypeDéfaut
dataset"recent" | "history""recent"
start_datestr | nullnull
end_datestr | nullnull
limitint48
lang"en" | "fr""en"
call_tool {"name": "electricity_quebec_get_demand", "arguments": {}}
electricity_quebec_get_facility_flowsHourly flows (total, turbined, spilled) and daily natural inflows at one Hydro-Quebec generating station or control structure, in m³/s, for the last ten days or so.

Utilisation : hourly flow through a Quebec power station, is a dam spilling now, reservoir inflow trend this week, flow at Beauharnois or Carillon.

Mots-clés en anglais
Hydro-Quebec, hourly flow, discharge, turbined flow, spilled flow, natural inflow, dam, generating station, hydroelectric, m3/s, time series
Mots-clés en français
Hydro-Québec, débit horaire, débit turbiné, débit déversé, apport naturel, barrage, centrale, hydroélectricité, série chronologique, m3/s
Paramètres de electricity_quebec_get_facility_flows
ParamètreTypeDéfaut
facilitystrobligatoire
kind"total" | "turbined" | "spilled" | "inflow" | nullnull
startstr | nullnull
endstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "electricity_quebec_get_facility_flows", "arguments": {"facility": "…"}}
electricity_quebec_get_generationQuebec electricity generation by source (hydro, wind, solar, thermal, other) in MW.

Utilisation : Quebec generation mix, hydroelectric output, wind share, thermal generation in Quebec.

Mots-clés en anglais
Quebec, Hydro-Quebec, generation, supply, hydroelectric, wind, solar, thermal, energy mix, MW, open data, sources of electricity
Mots-clés en français
Québec, Hydro-Québec, production d'électricité, hydraulique, éolien, solaire, thermique, bouquet énergétique, MW, sources d'électricité
Paramètres de electricity_quebec_get_generation
ParamètreTypeDéfaut
dataset"recent" | "history""recent"
start_datestr | nullnull
end_datestr | nullnull
limitint48
lang"en" | "fr""en"
call_tool {"name": "electricity_quebec_get_generation", "arguments": {}}
electricity_quebec_get_tradeQuebec hourly electricity exports and imports by market (incl. wheel-through).

Utilisation : Quebec electricity exports, imports from Ontario or New York, interprovincial and cross-border power trade.

Mots-clés en anglais
Quebec, Hydro-Quebec, exports, imports, electricity trade, New England, New Brunswick, New York, Ontario, wheel-through, interties
Mots-clés en français
Québec, Hydro-Québec, exportations, importations, commerce d'électricité, Nouvelle-Angleterre, Nouveau-Brunswick, New York, Ontario, transits, interconnexions
Paramètres de electricity_quebec_get_trade
ParamètreTypeDéfaut
start_datestr | nullnull
end_datestr | nullnull
limitint48
lang"en" | "fr""en"
call_tool {"name": "electricity_quebec_get_trade", "arguments": {}}
electricity_quebec_list_facilitiesHydro-Quebec generating stations, dams and reservoirs with flow data (94 sites): id, name, administrative region, coordinates and each series with its latest value in m³/s.

Utilisation : flow at a Quebec dam or power station, which Hydro-Quebec plants are spilling, natural inflows to reservoirs, the site id for electricity_quebec_get_facility_flows.

Mots-clés en anglais
Hydro-Quebec, dam flow, discharge, turbined flow, spillway, dam, reservoir inflow, generating station, hydroelectric, m3/s, Quebec rivers
Mots-clés en français
Hydro-Québec, débit, débit turbiné, débit déversé, évacuateur de crues, barrage, apport naturel, centrale, réservoir, hydroélectricité, rivières du Québec
Paramètres de electricity_quebec_list_facilities
ParamètreTypeDéfaut
querystr | nullnull
regionstr | nullnull
kind"total" | "turbined" | "spilled" | "inflow" | nullnull
limitint100
lang"en" | "fr""en"
call_tool {"name": "electricity_quebec_list_facilities", "arguments": {}}

Provincial · Colombie-Britannique

Ministère de l'Environnement de la C.-B. : qualité de l'air, neige, eaux souterraines et débits

bc_env_

Fichiers de surveillance du ministère de l'Environnement de la Colombie-Britannique sur www.env.gov.bc.ca (outils préfixés bc_env_) : qualité de l'air et météo horaires non vérifiées des 30 derniers jours à une centaine de stations provinciales…

Description complète

Fichiers de surveillance du ministère de l'Environnement de la Colombie-Britannique sur www.env.gov.bc.ca (outils préfixés bc_env_) : qualité de l'air et météo horaires non vérifiées des 30 derniers jours à une centaine de stations provinciales, de Metro Vancouver et de l'industrie (PM2,5, ozone, NO2, SO2, SRT, CO et autres, valeurs brutes et déclarées), cote air santé (CAS) actuelle et prévisions pour 27 secteurs, stations nivométéorologiques automatiques (équivalent en eau de la neige, épaisseur de neige, précipitations, température ; saison en cours et archive horaire depuis 2003), relevés nivométriques manuels depuis 1935, niveaux des puits d'observation des eaux souterraines (profondeur de l'eau, moyennes quotidiennes depuis les années 1960) et débit et niveau du réseau hydrométrique provincial (une soixantaine de stations hors du réseau de Relevés hydrologiques du Canada, archives depuis les années 2000). Licence du gouvernement ouvert – Colombie-Britannique.

12 outils

bc_env_get_air_parameter_dataOne air pollutant or weather parameter across all BC stations, hourly.

Utilisation : comparing stations for one parameter (PM25, PM10, O3, NO2, NO, NOx, SO2, TRS, H2S, CO, CH4, THC, NMHC, HF, or TEMP, HUMIDITY, PRECIP, PRESSURE, WSPD_SCLR, WDIR_VECT and other meteorology), e.g. the latest PM2.5 at every station (latest_only=true) or ozone at one station over a week. Each row has the unrounded raw value, the reported value, the instrument and the unit; hours are Pacific Standard Time (UTC-8) with time_utc. Last 30 days, unverified.

Mots-clés en anglais
British Columbia, air pollutant, PM2.5 map, latest readings, ozone, instrument, raw value, reported value, meteorology, provincial network
Mots-clés en français
Colombie-Britannique, polluant atmosphérique, PM2, 5, dernières mesures, ozone, instrument, valeur brute, valeur déclarée, météorologie, réseau provincial
Paramètres de bc_env_get_air_parameter_data
ParamètreTypeDéfaut
parameterstrobligatoire
stationstr | nullnull
startstr | nullnull
endstr | nullnull
latest_onlyboolfalse
limitint200
lang"en" | "fr""en"
call_tool {"name": "bc_env_get_air_parameter_data", "arguments": {"parameter": "…"}}
bc_env_get_air_station_dataHourly pollutant and weather readings at one BC monitoring site, last 30 days.

Utilisation : the recent hourly record of one station (name or EMS id from bc_env_list_air_stations), e.g. PM2.5 during a wildfire smoke event in Kamloops or SO2 in Trail, reshaped from the station's wide file into one row per hour and parameter (newest first) with units, plus the published rolling means (PM25_24, O3_8, SO2_24). parameters keeps some columns; start/end (2026-09-15 or 2026-09-15 08:00) filter on the hour in Pacific Standard Time (UTC-8 all year; time_utc is also given). Data are unverified raw values; verified history is only on an ftp server this tool cannot reach.

Mots-clés en anglais
British Columbia, hourly pollution, PM2.5, ozone, NO2, SO2, station data, time series, wildfire smoke, raw data, last 30 days
Mots-clés en français
Colombie-Britannique, pollution horaire, PM2, 5, ozone, NO2, SO2, données de station, série chronologique, fumée de feux de forêt, données brutes
Paramètres de bc_env_get_air_station_data
ParamètreTypeDéfaut
stationstrobligatoire
parameterslist[str] | nullnull
startstr | nullnull
endstr | nullnull
limitint200
lang"en" | "fr""en"
call_tool {"name": "bc_env_get_air_station_data", "arguments": {"station": "…"}}
bc_env_get_aqhiCurrent AQHI and forecasts for British Columbia areas (BC Ministry of Environment).

Utilisation : the AQHI now in each of 27 BC areas (Metro Vancouver NW/NE/SW/SE, Fraser Valley, Victoria, Kamloops, Kelowna (Central Okanagan), Prince George, Williams Lake ...) with the risk category and the forecasts for today, tonight, tomorrow and tomorrow night; with area and history_hours (up to 720), the area's hourly AQHI for the last days, newest first.

Mots-clés en anglais
AQHI, British Columbia, BC smoke forecast, risk category, wildfire smoke, Metro Vancouver, Okanagan, Kamloops, Prince George, BC areas
Mots-clés en français
cote air santé, CAS, Colombie-Britannique, prévision de la qualité de l'air, risque pour la santé, fumée, Metro Vancouver, Okanagan, conditions actuelles, horaire
Paramètres de bc_env_get_aqhi
ParamètreTypeDéfaut
areastr | nullnull
history_hoursint0
lang"en" | "fr""en"
call_tool {"name": "bc_env_get_aqhi", "arguments": {}}
bc_env_get_snow_readingsBC snow pillow readings for many stations, reshaped from the wide files, with archive.

Utilisation : one variable across stations or across years: SW (SWE, mm), SD (snow depth, cm), PC (cumulative precipitation, mm), TA (degC), SW_DAILY (daily SWE), and current-season PA, XR, UD, US, UP, UR (pressure, humidity, wind). The source publishes one column per station; this returns one row per time and station (UTC, newest first). stations takes ids or name fragments. A start before the current season reads the archive (hourly since October 2003, daily SWE since 1967) by range requests, e.g. SWE at 2F01AP on 1 April 2023.

Mots-clés en anglais
snow water equivalent, SWE history, snow depth, snowpack, British Columbia, archive, hourly, daily, April 1 snowpack, wide to long, tidy
Mots-clés en français
équivalent en eau de la neige, historique, épaisseur de neige, manteau neigeux, Colombie-Britannique, archive, horaire, quotidien, relevé du 1er avril
Paramètres de bc_env_get_snow_readings
ParamètreTypeDéfaut
variablestrobligatoire
stationslist[str] | nullnull
startstr | nullnull
endstr | nullnull
limitint200
lang"en" | "fr""en"
call_tool {"name": "bc_env_get_snow_readings", "arguments": {"variable": "…"}}
bc_env_get_snow_station_dataCurrent-season readings of one BC automated snow station, with units and grades.

Utilisation : everything one snow pillow station measured since 1 October: SWE (SW, mm), snow depth (SD, cm), TA (degC), cumulative precipitation (PC, mm) and, where present, peak wind, one row per time and variable (newest first, UTC), with the data grade. variables keeps some (e.g. ["SW", "SD"]). For earlier seasons use bc_env_get_snow_readings.

Mots-clés en anglais
snow water equivalent, SWE, snow depth, snow pillow, British Columbia, snowpack, data grade, current season, station readings, River Forecast Centre
Mots-clés en français
équivalent en eau de la neige, épaisseur de neige, coussin à neige, Colombie-Britannique, manteau neigeux, données horaires, précipitations, saison en cours
Paramètres de bc_env_get_snow_station_data
ParamètreTypeDéfaut
stationstrobligatoire
variableslist[str] | nullnull
startstr | nullnull
endstr | nullnull
limitint200
lang"en" | "fr""en"
call_tool {"name": "bc_env_get_snow_station_data", "arguments": {"station": "…"}}
bc_env_get_snow_surveysManual snow survey (snow course) measurements in British Columbia.

Utilisation : snow depth (cm), SWE (mm) and density (%) measured by hand at snow courses around the survey dates (1 January to 15 June), for the current season or the archive back to the 1930s, e.g. the 1 April survey at Yellowhead (1A01). query matches course name or number prefix; start/end filter the survey date. Newest first.

Mots-clés en anglais
snow survey, snow course, manual measurement, SWE, snowpack, snow depth, density, British Columbia, River Forecast Centre, history, April 1
Mots-clés en français
relevé nivométrique, parcours nivométrique, mesure manuelle, équivalent en eau de la neige, épaisseur de neige, densité, Colombie-Britannique, historique
Paramètres de bc_env_get_snow_surveys
ParamètreTypeDéfaut
querystr | nullnull
season"current" | "archive""current"
startstr | nullnull
endstr | nullnull
limitint200
lang"en" | "fr""en"
call_tool {"name": "bc_env_get_snow_surveys", "arguments": {}}
bc_env_get_streamflowDischarge (m3/s) or stage (m) at one BC provincial streamflow gauge.

Utilisation : the flow or gauge-height record of a provincial gauge (id from bc_env_list_streamflow_gauges): the current hydrological year (since 1 October) hourly, or, with start earlier, the yearly archives (back to the 2000s) read by range requests, e.g. 08HA0022 in August 2024. Rows are UTC, newest first, with the grade (Undefined, RISC U, RISC E, Estimated ...).

Mots-clés en anglais
discharge, streamflow, creek flow, gauge height, British Columbia, provincial gauge, archive, low flow, freshet, m3/s
Mots-clés en français
débit, écoulement, débit fluvial, hauteur d'eau, niveau d'eau, hydrométrique, Colombie-Britannique, station provinciale, archive, étiage, crue
Paramètres de bc_env_get_streamflow
ParamètreTypeDéfaut
stationstrobligatoire
parameter"discharge" | "stage""discharge"
startstr | nullnull
endstr | nullnull
limitint200
lang"en" | "fr""en"
call_tool {"name": "bc_env_get_streamflow", "arguments": {"station": "…"}}
bc_env_get_well_levelsGroundwater levels at one BC observation well (depth below ground, metres).

Utilisation : the groundwater record of a well such as OW002 Abbotsford: series "daily" (daily means over the whole record, back to the 1960s for the oldest wells), "hourly" (last 12 months, with approval status Approved or Working) or "all" (every published reading). Values are metres below ground, so a larger number means a deeper level. Hourly times are a fixed UTC-7 clock. start/end filter by date; newest first.

Mots-clés en anglais
groundwater level, depth below ground, observation well, piezometric level, aquifer, British Columbia, drought, time series, daily mean, hourly
Mots-clés en français
niveau des eaux souterraines, profondeur de l'eau, puits d'observation, nappe phréatique, aquifère, Colombie-Britannique, sécheresse, série chronologique, moyenne quotidienne
Paramètres de bc_env_get_well_levels
ParamètreTypeDéfaut
wellstrobligatoire
series"daily" | "hourly" | "all""daily"
startstr | nullnull
endstr | nullnull
limitint200
lang"en" | "fr""en"
call_tool {"name": "bc_env_get_well_levels", "arguments": {"well": "…"}}
bc_env_list_air_stationsList British Columbia pollution monitoring sites reporting this hour.

Utilisation : finding a BC monitoring site and its EMS id before reading its hourly data: about 100 stations run by the province (ENV), Metro Vancouver (MVRD) and industry, with city, coordinates, the parameters each measures (PM25, PM10, O3, NO2, SO2, TRS, H2S, CO, wind) and their units, and the latest hour. query matches name, city or EMS id; parameter keeps stations measuring it (e.g. PM25); owner filters ENV, MVRD or INDUSTRY.

Mots-clés en anglais
British Columbia, pollution, monitoring site, PM2.5, ozone, nitrogen dioxide, sulphur dioxide, EMS id, Metro Vancouver, wildfire smoke
Mots-clés en français
Colombie-Britannique, qualité de l'air, station de surveillance, PM2, 5, particules fines, ozone, dioxyde d'azote, dioxyde de soufre, fumée de feux de forêt, Metro Vancouver
Paramètres de bc_env_list_air_stations
ParamètreTypeDéfaut
querystr | nullnull
parameterstr | nullnull
ownerstr | nullnull
limitint100
lang"en" | "fr""en"
call_tool {"name": "bc_env_list_air_stations", "arguments": {}}
bc_env_list_snow_stationsList BC automated snow weather stations (snow pillows).

Utilisation : finding an automated snow station id (such as 1A01P Yellowhead Lake or 2F01AP Trout Creek West) before reading SWE or snow depth; about 156 stations with elevation, status, operator (BC ENV, BC Hydro ...) and coordinates. The first digit and letter of the id give the basin (1 Fraser, 2 Columbia, 3 coast, 4 north).

Mots-clés en anglais
British Columbia, snow pillow, automated snow weather station, snow survey, River Forecast Centre, snowpack, station list, elevation, basin, BC Hydro
Mots-clés en français
Colombie-Britannique, coussin à neige, station nivométéorologique automatique, relevé nivométrique, Centre de prévision des crues, manteau neigeux, liste des stations, altitude
Paramètres de bc_env_list_snow_stations
ParamètreTypeDéfaut
querystr | nullnull
statusstr | nullnull
operatorstr | nullnull
limitint100
lang"en" | "fr""en"
call_tool {"name": "bc_env_list_snow_stations", "arguments": {}}
bc_env_list_streamflow_gaugesList BC provincial streamflow gauges (Ministry of Environment network).

Utilisation : finding a BC provincial creek gauge, about 60 stations run by the Ministry of Environment and partners (ids like 08HA0022 Koksilah River at Trestle or H08KC0844 Hakai) that are not in the federal WSC network served by eccc_ tools; with the parameters each reports (discharge, stage) and the latest time.

Mots-clés en anglais
BC provincial gauge, streamflow, creek flow, discharge, British Columbia, Ministry of Environment, Hakai, flow monitoring, provincial network
Mots-clés en français
station hydrométrique, débit, écoulement fluvial, niveau d'eau, hauteur d'eau, Colombie-Britannique, réseau provincial, jauge, ruisseau
Paramètres de bc_env_list_streamflow_gauges
ParamètreTypeDéfaut
querystr | nullnull
limitint100
lang"en" | "fr""en"
call_tool {"name": "bc_env_list_streamflow_gauges", "arguments": {}}
bc_env_list_wellsList BC provincial groundwater observation wells.

Utilisation : finding an observation well id (OW002 ...) by city, address, region (Cariboo, Okanagan, Lower Mainland, Vancouver Island ...) or status (Active, Inactive) before reading its levels; each well has coordinates, aquifer id and material, depth and ground elevation (feet, as in the provincial wells database), the date its data file last changed and a GWELLS link. with_data_only=false also lists wells that have no level files.

Mots-clés en anglais
groundwater, observation well, aquifer, GWELLS id, British Columbia, well list, monitoring network, drought, GWELLS, piezometer
Mots-clés en français
eaux souterraines, puits d'observation, aquifère, nappe phréatique, Colombie-Britannique, liste des puits, réseau de surveillance, sécheresse, niveau d'eau
Paramètres de bc_env_list_wells
ParamètreTypeDéfaut
querystr | nullnull
statusstr | nullnull
regionstr | nullnull
with_data_onlybooltrue
limitint100
lang"en" | "fr""en"
call_tool {"name": "bc_env_list_wells", "arguments": {}}

Provincial · Alberta

Alberta Wildfire : état des feux en direct

ab_wildfire_

État des feux de forêt en Alberta (gouvernement de l'Alberta, licence ouverte) : localisation des feux de la saison avec statut, cause, classe de superficie et zone forestière (actifs et éteints, plus comparaison à la même date des cinq années précédentes)…

Description complète

État des feux de forêt en Alberta (gouvernement de l'Alberta, licence ouverte) : localisation des feux de la saison avec statut, cause, classe de superficie et zone forestière (actifs et éteints, plus comparaison à la même date des cinq années précédentes), périmètres cartographiés, danger d'incendie à un point ou sur une zone, interdictions, restrictions et avis de feu, statistiques de la saison par rapport aux moyennes sur 5, 10 et 25 ans, et feux signalés par les municipalités hors de la zone de protection des forêts. Les couches de feux actifs sont vides hors saison.

8 outils

ab_wildfire_get_fire_dangerAlberta's fire danger rating at a point: Low, Moderate, High, Very High or Extreme, with what the class means.

Utilisation : how dangerous is the wildfire risk at a town, is the fire danger extreme near me, camping or burning conditions in Alberta.

Mots-clés en anglais
Alberta, fire danger, fire danger rating, wildfire risk, fire weather index, extreme, very high, high, moderate, low, forest fire danger, Alberta Wildfire
Mots-clés en français
Alberta, danger d'incendie, cote de danger d'incendie, risque de feu de forêt, indice forêt-météo, extrême, très élevé, élevé, modéré, faible, danger de feu de forêt
Paramètres de ab_wildfire_get_fire_danger
ParamètreTypeDéfaut
latitudefloatobligatoire
longitudefloatobligatoire
lang"en" | "fr""en"
call_tool {"name": "ab_wildfire_get_fire_danger", "arguments": {"latitude": "…", "longitude": "…"}}
ab_wildfire_get_fire_perimetersList mapped Alberta wildfire perimeters (polygons), largest first, with the fire's status, cause, estimated and mapped area, and how the outline was captured (GPS, aerial imagery, hybrid).

Utilisation : the outline of an Alberta wildfire, the size of a burned area, mapping extinguished fires, how a perimeter was captured.

Mots-clés en anglais
Alberta, wildfire, fire perimeter, burned area, polygon, GeoJSON, fire boundary, extinguished fires, active fires, area hectares, Alberta Wildfire
Mots-clés en français
Alberta, feu de forêt, périmètre du feu, zone brûlée, polygone, GeoJSON, limite du feu, feux éteints, feux actifs, superficie en hectares
Paramètres de ab_wildfire_get_fire_perimeters
ParamètreTypeDéfaut
state"active" | "extinguished""active"
fire_numberstr | nullnull
causestr | nullnull
size_classstr | nullnull
forest_areastr | nullnull
min_area_hafloat | nullnull
include_geometryboolfalse
limitint20
offsetint0
lang"en" | "fr""en"
call_tool {"name": "ab_wildfire_get_fire_perimeters", "arguments": {}}
ab_wildfire_get_fire_restrictionsList Alberta fire bans, fire restrictions, fire advisories and forest area closures (plus off-highway-vehicle restrictions when any exist) from the Alberta Fire Ban System, most severe first, province-wide or only those covering a point.

Utilisation : is there a fire ban where I am, which Alberta counties have fire restrictions, campfire rules in a municipality, current fire bans.

Mots-clés en anglais
Alberta, fire ban, fire restriction, fire advisory, forest closure, burning ban, campfire, open fire, OHV restriction, county, municipality, national park, Alberta Fire Ban System
Mots-clés en français
Alberta, interdiction de feu, restriction de feu, avis de feu, fermeture de forêt, interdiction de brûlage, feu de camp, feu à ciel ouvert, restriction VTT, comté, municipalité, parc national
Paramètres de ab_wildfire_get_fire_restrictions
ParamètreTypeDéfaut
latitudefloat | nullnull
longitudefloat | nullnull
alert_typestr | nullnull
name_containsstr | nullnull
limitint100
lang"en" | "fr""en"
call_tool {"name": "ab_wildfire_get_fire_restrictions", "arguments": {}}
ab_wildfire_get_firesList Alberta Wildfire fire locations (points) with status, cause, size class, estimated area in hectares and responsible forest area, from Alberta Wildfire's own status map. No API key.

Utilisation : wildfires burning now in Alberta, the biggest fires of the season, lightning versus human-caused fires, fires near a town or in a forest area, how many fires Alberta had this year.

Mots-clés en anglais
Alberta, wildfire, forest fire, active fires, fire status, out of control, being held, under control, extinguished, fire cause, lightning, human caused, size class, forest area, mutual aid, fire locations, fire season, Alberta Wildfire
Mots-clés en français
Alberta, feu de forêt, incendie de forêt, feux actifs, statut du feu, hors de contrôle, maîtrisé, éteint, cause du feu, foudre, cause humaine, classe de superficie, zone forestière, entraide, saison des feux
Paramètres de ab_wildfire_get_fires
ParamètreTypeDéfaut
dataset"current" | "previous_5_years""current"
statusstr | nullnull
active_onlyboolfalse
fire_typestr | nullnull
causestr | nullnull
size_classstr | nullnull
forest_areastr | nullnull
fire_yearint | nullnull
carryoverbool | nullnull
start_datestr | nullnull
end_datestr | nullnull
date_basis"assessed" | "status_changed""assessed"
min_area_hafloat | nullnull
bboxlist[float] | nullnull
latitudefloat | nullnull
longitudefloat | nullnull
radius_kmfloat | nullnull
sort_by"latest" | "largest""latest"
limitint20
offsetint0
lang"en" | "fr""en"
call_tool {"name": "ab_wildfire_get_fires", "arguments": {}}
ab_wildfire_get_municipal_firesWildfires that Alberta municipalities reported outside the Forest Protection Area (the settled south and east, where counties and municipal districts fight grass and brush fires), as shown on Alberta Wildfire's status map: fire number, status, hectares, estimated start date, when it went inactive or out, the reporting local government and its fire info phone and website, mutual aid zone and location. Fires inside the Forest Protection Area are in ab_wildfire_get_fires.

Utilisation : grass fires reported by a county, wildfires near a town in southern or central Alberta, how many fires municipalities fought this year, who to call about a local fire.

Mots-clés en anglais
Alberta, municipal wildfire, grass fire, county fire, local government, municipal district, outside forest protection area, mutual aid, fire department, wildfire map, Alberta Wildfire
Mots-clés en français
Alberta, feu de forêt municipal, feu d'herbe, feu de broussailles, comté, district municipal, administration locale, hors de la zone de protection des forêts, entraide, service d'incendie
Paramètres de ab_wildfire_get_municipal_fires
ParamètreTypeDéfaut
state"all" | "active" | "inactive""all"
local_governmentstr | nullnull
mutual_aid_zonestr | nullnull
start_datestr | nullnull
end_datestr | nullnull
latitudefloat | nullnull
longitudefloat | nullnull
radius_kmfloat | nullnull
sort_by"latest" | "largest""latest"
limitint20
offsetint0
lang"en" | "fr""en"
call_tool {"name": "ab_wildfire_get_municipal_fires", "arguments": {}}
ab_wildfire_get_season_statisticsAlberta Wildfire's season dashboard: active wildfires and area, wildfires and area burned so far this year, new wildfires in the last 24 hours, and the totals as at the same calendar date in each of the last six years next to the 5, 10 and 25-year averages.

Utilisation : how this fire season compares with the average, hectares burned in Alberta so far this year, how many wildfires Alberta has had, new fires in the past day.

Mots-clés en anglais
Alberta, wildfire, fire season, season statistics, hectares burned, area burned, year to date, five year average, ten year average, comparison, wildfire count, Alberta Wildfire dashboard
Mots-clés en français
Alberta, feu de forêt, saison des feux, statistiques de la saison, hectares brûlés, superficie brûlée, depuis le début de l'année, moyenne sur cinq ans, moyenne sur dix ans, comparaison, nombre de feux, tableau de bord
Paramètres de ab_wildfire_get_season_statistics
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "ab_wildfire_get_season_statistics", "arguments": {}}
ab_wildfire_summarize_fire_dangerCount Alberta's fire danger rating polygons by class (Low to Extreme), province-wide or for a box [min_lon, min_lat, max_lon, max_lat], with the most severe class present.

Utilisation : is any part of Alberta at extreme fire danger, fire danger across a region, the worst rating in an area.

Mots-clés en anglais
Alberta, fire danger, danger rating, wildfire risk, region, province-wide, extreme, very high, fire weather, rating polygons, Alberta Wildfire
Mots-clés en français
Alberta, danger d'incendie, cote de danger, risque de feu de forêt, région, ensemble de la province, extrême, très élevé, météo des incendies, polygones de cote
Paramètres de ab_wildfire_summarize_fire_danger
ParamètreTypeDéfaut
bboxlist[float] | nullnull
lang"en" | "fr""en"
call_tool {"name": "ab_wildfire_summarize_fire_danger", "arguments": {}}
ab_wildfire_summarize_firesCount Alberta wildfires and sum their estimated area (hectares) grouped by "status", "cause", "size_class", "forest_area", "fire_type" or "fire_year", with the same filters as ab_wildfire_get_fires. Computed by the server over every matching row, not a sample.

Utilisation : fires by cause this season, area burned by forest area, how many fires are out of control, fire counts by size class, comparing this year with earlier years on the same date.

Mots-clés en anglais
Alberta, wildfire, fire statistics, fires by cause, area burned, hectares, lightning, human caused, forest area, size class, fire counts, season totals, Alberta Wildfire
Mots-clés en français
Alberta, feu de forêt, statistiques des feux, feux par cause, superficie brûlée, hectares, foudre, cause humaine, zone forestière, classe de superficie, nombre de feux, bilan de la saison
Paramètres de ab_wildfire_summarize_fires
ParamètreTypeDéfaut
dataset"current" | "previous_5_years""current"
group_by"status" | "cause" | "size_class" | "forest_area" | "fire_type" | "fire_year""status"
statusstr | nullnull
active_onlyboolfalse
fire_typestr | nullnull
causestr | nullnull
size_classstr | nullnull
forest_areastr | nullnull
fire_yearint | nullnull
carryoverbool | nullnull
start_datestr | nullnull
end_datestr | nullnull
date_basis"assessed" | "status_changed""assessed"
min_area_hafloat | nullnull
bboxlist[float] | nullnull
lang"en" | "fr""en"
call_tool {"name": "ab_wildfire_summarize_fires", "arguments": {}}

Provincial · Colombie-Britannique

BC Energy Regulator : fichiers sur les puits, la production et le forage

bcer_

Données massives sur les puits de la BC Energy Regulator (BCER, ancienne Commission du pétrole et du gaz de la C.-B.), outils préfixés bcer_ : recherche dans l'index des puits (numéro d'autorisation, UWI, nom, emplacement, statut, fluide, zone, formation, exploitant…

Description complète

Données massives sur les puits de la BC Energy Regulator (BCER, ancienne Commission du pétrole et du gaz de la C.-B.), outils préfixés bcer_ : recherche dans l'index des puits (numéro d'autorisation, UWI, nom, emplacement, statut, fluide, zone, formation, exploitant, coordonnées de surface), production mensuelle de pétrole, gaz, eau et condensat par puits et par zone (un puits, un exploitant, un secteur ou toute la Colombie-Britannique, avec totaux mensuels), dossiers de forage et de complétion d'un puits (tubage, sommets de formations, essais, historique de statut, abandon), fracturation hydraulique et perforation, levés directionnels, index des installations et capacités des usines de gaz, et tables de codes (secteurs, exploitants, formations, codes de statut). Fichiers de l'ancienne zone de téléchargement IRIS de la BCER, lus en continu : le zip de production de 124 Mo n'est jamais chargé en entier. La BCER n'énonce aucune licence pour ces fichiers : à utiliser pour une analyse personnelle ou interne ; vérifiez auprès de la BCER avant de redistribuer.

8 outils

bcer_get_directional_surveyDirectional survey of one British Columbia well from the BC Energy Regulator (BCER): the stations of its wellbore path (measured depth, inclination, azimuth, true vertical depth, north-south and east-west offsets), as published.

Utilisation : the path of a horizontal or deviated well in British Columbia: its true vertical depth, lateral length and offsets.

Mots-clés en anglais
BCER, BC Energy Regulator, British Columbia, directional survey, wellbore path, inclination, azimuth, true vertical depth, TVD, horizontal well, measured depth, deviation survey
Mots-clés en français
BCER, BC Energy Regulator, Colombie-Britannique, levé directionnel, trajectoire du puits, inclinaison, azimut, profondeur verticale vraie, puits horizontal, profondeur mesurée, levé de déviation, trajectoire
Paramètres de bcer_get_directional_survey
ParamètreTypeDéfaut
well_authorizationstrobligatoire
limitint100
lang"en" | "fr""en"
call_tool {"name": "bcer_get_directional_survey", "arguments": {"well_authorization": "…"}}
bcer_get_drilling_recordsDrilling, completion, test and status records of one British Columbia well from the BC Energy Regulator (BCER) drilling tables (drill_csv.zip), as published.

Utilisation : a British Columbia well's casing program, formation tops, completion and abandonment history, drill stem and pressure tests, or status changes.

Mots-clés en anglais
BCER, BC Energy Regulator, British Columbia, drilling records, well completion, casing, formation tops, abandonment, drill stem test, well status history, workover, well file, wells
Mots-clés en français
BCER, BC Energy Regulator, Colombie-Britannique, dossiers de forage, complétion de puits, tubage, sommets de formations, abandon, essai aux tiges, historique de statut, reconditionnement, dossier de puits, puits
Paramètres de bcer_get_drilling_records
ParamètreTypeDéfaut
well_authorizationstrobligatoire
tablestr"drill_ev"
limitint100
lang"en" | "fr""en"
call_tool {"name": "bcer_get_drilling_records", "arguments": {"well_authorization": "…"}}
bcer_get_fracture_recordsHydraulic fracture, perforation and perforation-interval records of one British Columbia well from the BC Energy Regulator (BCER) hydraulic fracture files, as published.

Utilisation : how a British Columbia well was fracked: number of stages, fluid volume, proppant, pressures and perforation intervals.

Mots-clés en anglais
BCER, BC Energy Regulator, British Columbia, hydraulic fracturing, fracking, frac stages, proppant, perforations, fluid pumped, treating pressure, completion, Montney, horizontal wells
Mots-clés en français
BCER, BC Energy Regulator, Colombie-Britannique, fracturation hydraulique, étapes de fracturation, agent de soutènement, perforations, fluide pompé, pression de traitement, complétion, Montney, puits horizontaux
Paramètres de bcer_get_fracture_records
ParamètreTypeDéfaut
well_authorizationstrobligatoire
tablestr"hydraulic_fracture"
limitint100
lang"en" | "fr""en"
call_tool {"name": "bcer_get_fracture_records", "arguments": {"well_authorization": "…"}}
bcer_get_productionMonthly oil, gas, water and condensate production in British Columbia from the BC Energy Regulator (BCER) production files (1954 to the latest published month), for a well, a list of wells, an operator, an area or formation, or the whole province, with monthly totals and the most recent well-zone rows.

Utilisation : how much gas or oil a British Columbia well, an operator's wells or the Montney produced each month, and BC's monthly gas, oil and water totals.

Mots-clés en anglais
BCER, BC Energy Regulator, British Columbia, production, monthly production, gas production, oil production, natural gas, Montney, well production, operator production, condensate, water production, BC gas
Mots-clés en français
BCER, BC Energy Regulator, Colombie-Britannique, production, production mensuelle, production de gaz, production de pétrole, gaz naturel, Montney, production d'un puits, production d'un exploitant, condensat, production d'eau, gaz de la C.-B
Paramètres de bcer_get_production
ParamètreTypeDéfaut
well_authorizationstr | nullnull
uwistr | nullnull
operatorstr | nullnull
area_codestr | nullnull
formation_codestr | nullnull
from_periodstr | nullnull
to_periodstr | nullnull
limitint24
lang"en" | "fr""en"
call_tool {"name": "bcer_get_production", "arguments": {}}
bcer_get_reference_tableLook up the code tables behind BC Energy Regulator (BCER) well data: operator (client) ids and names, area (field) codes, formation and status codes, pools, projects and facility types, from the drilling zip.

Utilisation : turning a BCER formation, area, status or operator code into a name, or finding the code for Montney, an operator or an oil and gas field.

Mots-clés en anglais
BCER, BC Energy Regulator, British Columbia, formation codes, area codes, operator list, well status codes, code tables, Montney formation code, oil and gas fields, pools, projects
Mots-clés en français
BCER, BC Energy Regulator, Colombie-Britannique, codes de formation, codes de secteur, liste des exploitants, codes de statut des puits, tables de codes, code de la formation Montney, champs pétroliers et gaziers, réservoirs, projets
Paramètres de bcer_get_reference_table
ParamètreTypeDéfaut
tablestrobligatoire
querystr | nullnull
limitint100
lang"en" | "fr""en"
call_tool {"name": "bcer_get_reference_table", "arguments": {"table": "…"}}
bcer_list_filesList the BC Energy Regulator (BCER) bulk files this module reads: each file's size, last-modified date, layout notes and which tool reads it, plus what BCER states about reuse.

Utilisation : knowing how fresh BCER's well and production files are, what each holds and where to download the whole file yourself.

Mots-clés en anglais
BCER, BC Energy Regulator, British Columbia, BC Oil and Gas Commission, IRIS, well index, production data, drilling data, data downloads, file list, oil and gas data, bulk files
Mots-clés en français
BCER, BC Energy Regulator, Colombie-Britannique, Commission du pétrole et du gaz de la C.-B., IRIS, index des puits, données de production, données de forage, téléchargement de données, liste des fichiers, pétrole et gaz, fichiers massifs
Paramètres de bcer_list_files
ParamètreTypeDéfaut
include_membersboolfalse
lang"en" | "fr""en"
call_tool {"name": "bcer_list_files", "arguments": {}}
bcer_search_facilitiesSearch the BC Energy Regulator (BCER) facility files for British Columbia: the facility index (batteries, gas plants, compressor stations: code, name, type, operator, location, class, compressor power, status and dates) or gas processing plant capacities (raw gas, sales gas, propane, butane, pentanes, sulphur).

Utilisation : finding a British Columbia gas plant, battery or compressor station and its operator, or a plant's processing capacity.

Mots-clés en anglais
BCER, BC Energy Regulator, British Columbia, facilities, gas plants, processing capacity, batteries, compressor stations, facility index, sour gas, sulphur recovery, natural gas processing
Mots-clés en français
BCER, BC Energy Regulator, Colombie-Britannique, installations, usines de gaz, capacité de traitement, batteries, stations de compression, index des installations, gaz sulfureux, récupération du soufre, traitement du gaz naturel
Paramètres de bcer_search_facilities
ParamètreTypeDéfaut
kindstr"index"
querystr | nullnull
operatorstr | nullnull
facility_typestr | nullnull
statusstr | nullnull
limitint100
lang"en" | "fr""en"
call_tool {"name": "bcer_search_facilities", "arguments": {}}
bcer_search_wellsSearch the BC Energy Regulator (BCER) well index of British Columbia: about 40,000 oil, gas, water and other wells (about 49,000 rows, one per pool or completion), by well authorization number, UWI, name, location, operator, status, fluid, area, formation, class or rig-release date, with each well's operator and surface coordinates.

Utilisation : finding a British Columbia well's authorization number, UWI, status, operator or location before asking for its production or drilling records, and counting wells by status, fluid, area or operator.

Mots-clés en anglais
BCER, BC Energy Regulator, British Columbia, well index, well authorization number, WA number, UWI, wells, operator, well status, abandoned wells, Montney, northeast BC, oil and gas wells, well search
Mots-clés en français
BCER, BC Energy Regulator, Colombie-Britannique, index des puits, numéro d'autorisation de puits, UWI, puits, exploitant, statut du puits, puits abandonnés, Montney, nord-est de la C.-B., puits de pétrole et de gaz, recherche de puits
Paramètres de bcer_search_wells
ParamètreTypeDéfaut
well_authorizationstr | nullnull
uwistr | nullnull
namestr | nullnull
locationstr | nullnull
operatorstr | nullnull
statusstr | nullnull
fluidstr | nullnull
area_codestr | nullnull
formation_codestr | nullnull
well_classstr | nullnull
rig_release_fromstr | nullnull
rig_release_tostr | nullnull
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "bcer_search_wells", "arguments": {}}

Provincial · Alberta

Fichiers d'Open Alberta

ab_opendata_

Lecteur de fichiers d'Open Alberta (outils préfixés ab_opendata_) : les fichiers Excel et CSV publiés sur open.alberta.ca, dont le DataStore n'a aucune ressource active, de sorte que les fichiers sont le seul accès aux chiffres.

Description complète

Lecteur de fichiers d'Open Alberta (outils préfixés ab_opendata_) : les fichiers Excel et CSV publiés sur open.alberta.ca, dont le DataStore n'a aucune ressource active, de sorte que les fichiers sont le seul accès aux chiffres. Recherche des jeux de données ouverts de l'Alberta ayant des fichiers .xlsx, .xls ou .csv (filtres : organisation, texte, format) avec titre, ministère, licence, ressources (format et taille) et date de dernière modification ; liste des organisations ; description des feuilles et des colonnes d'un fichier ; lecture d'un fichier avec choix des colonnes, filtres exacts, filtre de texte, ligne d'en-tête devinée (ou donnée) et pagination. Outils nommés pour les produits du Conseil du Trésor et des Finances : l'indice d'activité de l'Alberta, mensuel depuis 1981, les projections démographiques jusqu'en 2051 pour l'Alberta (scénarios faible, moyen et fort) et ses divisions de recensement, RMR, régions économiques, zones de santé et autorités scolaires, par genre et année d'âge, et le sommaire des projections (naissances, décès, migration, rapports de dépendance). Couvre les tableaux d'indicateurs d'Alberta Health, le Conseil du Trésor et les Finances (revue économique, indicateurs en bref, projections de population), les résultats en éducation, les dossiers de l'AISH et du soutien du revenu, les déclarations financières municipales, les redevances énergétiques, les volumes de circulation et les collisions, les statistiques de l'état civil et les données postsecondaires. Presque tous les jeux relèvent de la Licence du gouvernement ouvert – Alberta (usage commercial permis avec mention de la source) ; un jeu sous une autre licence est signalé. La découverte passe par l'API CKAN du portail et les lectures de fichiers attendent 10 secondes entre deux requêtes. Voir ckan_ avec portal=ab pour le reste du catalogue.

8 outils

ab_opendata_describe_resourceList the sheets and columns of an Open Alberta Excel or CSV file.

Utilisation : looking inside a file before reading it: every sheet name with its declared row and column counts, the guessed header row, the column names and the first rows after the header. Many Alberta workbooks open with a notes or cover sheet, put title rows above the table or run years across columns, so check this before ab_opendata_read_resource. url is a resource URL from ab_opendata_search_datasets (a /dataset/<id>/resource/<id>/download/ link on open.alberta.ca); .xlsx, .xls and .csv are read, and the real format is detected from the file because the portal's labels are sometimes wrong. The result carries the licence and the attribution statement to cite. Pace: one request per 10 seconds.

Mots-clés en anglais
Open Alberta, sheets, columns, header row, Excel, xlsx, xls, CSV, file structure, preview, workbook, Alberta government data
Mots-clés en français
Open Alberta, feuilles, colonnes, ligne d'en-tête, Excel, xlsx, xls, CSV, structure d'un fichier, aperçu, classeur, données du gouvernement de l'Alberta
Paramètres de ab_opendata_describe_resource
ParamètreTypeDéfaut
urlstrobligatoire
sheetstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "ab_opendata_describe_resource", "arguments": {"url": "…"}}
ab_opendata_get_activity_indexGet the Alberta Activity Index (AAX), Treasury Board and Finance's monthly index.

Utilisation : the province's own monthly gauge of Alberta economic activity, January 1981 = 100, from 1981 to the most recent month (about two months behind): a weighted average of nine indicators (employment, average weekly earnings, retail and wholesale trade, manufacturing, new truck sales, housing starts, rigs drilling, oil production). start and end are months as YYYY-MM; last_n keeps the last n months of that range. With none of them, the last 24 months come back. Values are the published index levels; recent months are revised. Read from the current file of the Open Alberta dataset alberta-activity-index-data-tables (Open Government Licence - Alberta; cite the attribution). For a quarterly or annual output figure use StatCan's wds_ tools; for the indicators themselves use ab_economic_ (Alberta Economic Dashboard). Pace: one request per 10 seconds.

Mots-clés en anglais
Alberta Activity Index, AAX, Alberta economy, economic activity index, Alberta economic indicator, Treasury Board and Finance, Office of Statistics and Information, business cycle, nowcast
Mots-clés en français
indice d'activité de l'Alberta, AAX, économie albertaine, activité économique mensuelle, indicateur économique, Conseil du Trésor et Finances, conjoncture, cycle économique, substitut du PIB, Alberta
Paramètres de ab_opendata_get_activity_index
ParamètreTypeDéfaut
startstr | nullnull
endstr | nullnull
last_nint | nullnull
lang"en" | "fr""en"
call_tool {"name": "ab_opendata_get_activity_index", "arguments": {}}
ab_opendata_get_datasetGet one Open Alberta dataset with every resource, its licence and update cycle.

Utilisation : seeing all the files of a dataset found by ab_opendata_search_datasets (yearly workbooks, CSV and XLSX copies of one table, former versions), each with format, size, last-modified date, whether this module can read it, and the licence. dataset is the slug, the dataset id, or the open.alberta.ca/dataset page URL. Files that are links to other sites (regional dashboard exports, maps, PDFs) are listed with readable false.

Mots-clés en anglais
Open Alberta, dataset, resources, files, licence, update frequency, metadata, Excel, CSV, Alberta government, Open Government Licence
Mots-clés en français
Open Alberta, jeu de données, ressources, fichiers, licence, fréquence de mise à jour, métadonnées, Excel, CSV, gouvernement de l'Alberta, Licence du gouvernement ouvert
Paramètres de ab_opendata_get_dataset
ParamètreTypeDéfaut
datasetstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "ab_opendata_get_dataset", "arguments": {"dataset": "…"}}
ab_opendata_get_population_projectionGet Alberta government population projections to 2051, for Alberta or an area.

Utilisation : how many people Alberta, a census division, a CMA (Calgary, Edmonton, Lethbridge, Red Deer), an economic region, a local geographic area, a health zone area or a school authority is projected to have each year to 2051, from Treasury Board and Finance (Office of Statistics and Information), with StatCan estimates for 2001 up to the edition's first year (projected false). Alberta has low, medium and high scenarios; every sub-provincial geography is the medium scenario only. For a sub-provincial geography, area is a sheet of its workbook (census division codes 4801 to 4819, CMA names, ...): leave it unset first to get areas and no rows. gender is all (default), women+, men+ or any (all three). start_year/end_year trim the years; ages=true adds population by single year of age. edition is the first projection year (2024 onward); by default the newest edition found. Population on July 1. Open Government Licence - Alberta. For projected births and deaths use ab_opendata_get_population_projection_summary. Pace: one request per 10 seconds; a large workbook (local geographic areas, 6 MB) takes longer to open.

Mots-clés en anglais
Alberta population projections, population forecast, demographic projection, 2051, census division, Calgary, Edmonton, scenario, age, Treasury Board and Finance, future population
Mots-clés en français
projections démographiques de l'Alberta, prévisions de population, population future, 2051, division de recensement, Calgary, Edmonton, scénario, âge, Conseil du Trésor et Finances
Paramètres de ab_opendata_get_population_projection
ParamètreTypeDéfaut
geography"alberta" | "census_division" | "census_metropolitan_area" | "economic_region" | "local_geographic_area" | "aggregated_local_geographic_area" | "css_region" | "land_use_framework_region" | "health_subzone" | "health_status_area" | "health_corridor" | "health_peer_group" | "school_authority_public" | "school_authority_separate" | "school_authority_francophone""alberta"
areastr | nullnull
scenario"low" | "medium" | "high""medium"
gender"all" | "women+" | "men+" | "any""all"
start_yearint | nullnull
end_yearint | nullnull
agesboolfalse
editionint | nullnull
lang"en" | "fr""en"
call_tool {"name": "ab_opendata_get_population_projection", "arguments": {}}
ab_opendata_get_population_projection_summaryGet the summary of Alberta's population projections: growth and its components.

Utilisation : Alberta's projected population to 2051 (medium scenario) with the percent change, men+ per 100 women+, average age, child and elderly dependency ratios, total fertility rate, median age at death, and the components of growth (births, deaths, immigrants, net emigrants, net non-permanent residents, net inflow from elsewhere in the country, total net inflow), as projected by Treasury Board and Finance (Office of Statistics and Information). Years before the edition's first projection year are StatCan estimates (projected false). Components cover the July-to-June period ending in that year (period). edition is the first projection year (2024 onward); by default the newest found. Open Government Licence - Alberta. For areas, ages or the low and high scenarios use ab_opendata_get_population_projection. Pace: one request per 10 seconds.

Mots-clés en anglais
Alberta population projections, projected components of growth, projected births, projected deaths, fertility rate, dependency ratio, average age, population summary, 2051
Mots-clés en français
projections démographiques de l'Alberta, accroissement démographique, solde migratoire projeté, naissances, décès, indice de fécondité, rapport de dépendance, âge moyen, 2051
Paramètres de ab_opendata_get_population_projection_summary
ParamètreTypeDéfaut
start_yearint | nullnull
end_yearint | nullnull
editionint | nullnull
lang"en" | "fr""en"
call_tool {"name": "ab_opendata_get_population_projection_summary", "arguments": {}}
ab_opendata_list_organizationsList the Alberta ministries and agencies that publish Excel or CSV datasets.

Utilisation : getting the organization slug (health, treasuryboardandfinance, education, municipalaffairs, energy-and-minerals, assisted-living-and-social- services, transportation-and-economic-corridors, servicealberta, advancededucation and others) to pass as organization to ab_opendata_search_datasets, with the number of datasets each has with files. Ministries are renamed after reorganizations, so older datasets can sit under a former name.

Mots-clés en anglais
Open Alberta, organizations, ministries, departments, agencies, Alberta Health, Treasury Board and Finance, Education, Municipal Affairs, publishers, dataset counts
Mots-clés en français
Open Alberta, organisations, ministères, organismes, Alberta Health, Conseil du Trésor et Finances, Éducation, Affaires municipales, éditeurs, nombre de jeux de données, gouvernement de l'Alberta
Paramètres de ab_opendata_list_organizations
ParamètreTypeDéfaut
format"xlsx" | "xls" | "csv" | nullnull
lang"en" | "fr""en"
call_tool {"name": "ab_opendata_list_organizations", "arguments": {}}
ab_opendata_read_resourceRead rows of an Open Alberta Excel (.xlsx, .xls) or CSV file.

Utilisation : getting the numbers: AISH and Income Support monthly caseloads, Alberta Health indicators by zone, population projections, post-secondary enrolment, municipal financial returns and tax rates, oil sands royalty and project data, highway traffic volumes, live births and deaths, wildfire records. url is a resource URL from ab_opendata_search_datasets. With several sheets and no sheet, the largest is read only when it holds most of the workbook (a notes sheet beside the table); otherwise no rows come back, only the sheet list, so pick one (same rule as ckan_read_resource). A CSV has no sheets: leave sheet unset. header_row is guessed (the first row with three filled cells) and can be set as a 1-based row number; header_rows (1 to 5) joins that many rows into the column names when a header spans several rows (years above labels, as in highway traffic volumes); layouts are kept as published, every value is text, and columns are named from the header (blank ones column_N). columns picks columns, filters keeps rows whose column equals the value exactly (case-insensitive, e.g. {"Zone": "Calgary"}), contains keeps rows with that text in any cell, and offset and limit page the result (total_rows counts every match). The result carries the licence and, for Open Government Licence - Alberta datasets, the attribution statement to cite. Pace: one request per 10 seconds.

Mots-clés en anglais
Open Alberta, read file, Excel, xlsx, xls, CSV, rows, filter, caseload, population projections, traffic volume, royalties, wildfire, Alberta Health
Mots-clés en français
Open Alberta, lire un fichier, Excel, xlsx, xls, CSV, lignes, filtre, dossiers, projections de population, volume de circulation, redevances, feux de forêt, Alberta Health
Paramètres de ab_opendata_read_resource
ParamètreTypeDéfaut
urlstrobligatoire
sheetstr | nullnull
columnslist[str] | nullnull
filtersdict[str, str] | nullnull
containsstr | nullnull
header_rowint | nullnull
header_rowsint1
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "ab_opendata_read_resource", "arguments": {"url": "…"}}
ab_opendata_search_datasetsSearch Open Alberta (open.alberta.ca) datasets that have Excel or CSV files.

Utilisation : finding the file behind an Alberta government number: AISH and Income Support caseloads, Alberta Health indicator tables, Treasury Board and Finance (economic review indicators at a glance, population projections), Education and post-secondary results, Municipal Affairs financial returns, energy royalties, traffic volumes and collisions, vital statistics (births, deaths). Each dataset shows title, ministry (organization), licence, last-modified date, update frequency and its resources with format, size and file URL (for ab_opendata_describe_resource and ab_opendata_read_resource). query is free text; organization is a slug (see ab_opendata_list_organizations); format keeps xlsx, xls or csv; ogl_alberta_only drops the rare dataset under another licence (those are flagged, with a plain note that other terms apply). The portal's DataStore has no active resources, so files are the only route to rows. sort modified or title, or an offset, drops the organization counts (portal limitation). Pace: one request per 10 seconds.

Mots-clés en anglais
Open Alberta, Alberta government, open.alberta.ca, dataset search, Excel, CSV, AISH, Income Support, Alberta Health, Treasury Board and Finance, Open Government Licence Alberta, ministry
Mots-clés en français
Open Alberta, gouvernement de l'Alberta, données ouvertes Alberta, recherche de jeux de données, Excel, CSV, AISH, soutien du revenu, Alberta Health, Conseil du Trésor et Finances, Licence du gouvernement ouvert – Alberta, ministère
Paramètres de ab_opendata_search_datasets
ParamètreTypeDéfaut
querystr | nullnull
organizationstr | nullnull
format"xlsx" | "xls" | "csv" | nullnull
ogl_alberta_onlyboolfalse
sort"relevance" | "modified" | "title""relevance"
limitint20
offsetint0
lang"en" | "fr""en"
call_tool {"name": "ab_opendata_search_datasets", "arguments": {}}

Provincial · Alberta

Alberta Energy Regulator

aer_

Rapports statistiques de l'Alberta Energy Regulator (AER, www.aer.ca) : listes quotidiennes ST1 des permis de puits (texte brut) et liens d'archives mensuelles/annuelles, liens de téléchargement XLSX ST3 des volumes de production mensuels et des prix…

Description complète

Rapports statistiques de l'Alberta Energy Regulator (AER, www.aer.ca) : listes quotidiennes ST1 des permis de puits (texte brut) et liens d'archives mensuelles/annuelles, liens de téléchargement XLSX ST3 des volumes de production mensuels et des prix, et lignes mensuelles d'offre, d'utilisation et de prix depuis 2017 (butane, éthane, gaz, LGN, pétrole, propane, soufre, prix du pétrole), et données ST98 des perspectives énergétiques de l'Alberta (de 2022 à la dernière édition) en lignes ordonnées : réserves, prix, dépenses en immobilisations, production, demande et sorties d'énergie, offre de pétrole brut et de bitume, forage, avec les prévisions décennales de l'AER signalées. Distinct du catalogue CKAN d'open.alberta.ca déjà couvert par ckan_* (portal="ab").

6 outils

aer_get_well_licences_dailyFetch AER's ST1 "Well Licences Issued - Daily List" report text for the latest date with one weekday (well name, licence number, unique identifier, licensee, substance, field, and more, per licence).

Utilisation : which new oil and gas wells AER licensed on a given day this week, and who the licensee is.

Mots-clés en anglais
Alberta, AER, Alberta Energy Regulator, ST1, well licence, well licences issued, oil and gas, drilling, licensee, daily report, mineral rights, field
Mots-clés en français
Alberta, AER, Alberta Energy Regulator, organisme de réglementation de l'énergie de l'Alberta, ST1, permis de puits, nouveaux puits, permis délivrés, pétrole et gaz, forage, titulaire de permis, rapport quotidien, droits miniers, champ pétrolier
Paramètres de aer_get_well_licences_daily
ParamètreTypeDéfaut
daystr | nullnull
lang"en" | "fr""en"
call_tool {"name": "aer_get_well_licences_daily", "arguments": {}}
aer_st3_get_monthly_statisticsRead AER's ST3 monthly statistics as tidy rows: one product's supply and disposition lines (production, receipts, imports, Alberta use, removals from Alberta, inventories) or oil prices, by month, with value, unit and section.

Utilisation : Alberta crude oil, bitumen or natural gas production by month, gas removals by destination, NGL and sulphur supply.

Mots-clés en anglais
Alberta, AER, ST3, monthly statistics, supply and disposition, oil production, bitumen, oil sands, natural gas, NGL, propane, butane, ethane, sulphur, removals
Mots-clés en français
Alberta, AER, ST3, statistiques mensuelles, offre et utilisation, production de pétrole, bitume, sables bitumineux, gaz naturel, LGN, propane, butane, éthane, soufre
Paramètres de aer_st3_get_monthly_statistics
ParamètreTypeDéfaut
productstrobligatoire
start_yearint | nullnull
end_yearint | nullnull
itemstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "aer_st3_get_monthly_statistics", "arguments": {"product": "…"}}
aer_st98_get_tableRead one figure or table of AER's ST98 Alberta Energy Outlook as tidy rows: series, year (or month, or item), value, unit, a forecast flag (true from the edition year on, AER's projection; false for history), an estimated flag, and the edition.

Utilisation : AER's forecast of Alberta bitumen or natural gas production to 2035, WTI or Henry Hub price assumptions, remaining reserves, capital spending, or wells drilled by year.

Mots-clés en anglais
Alberta, AER, ST98, Alberta Energy Outlook, forecast, projection, oil sands production, bitumen, crude oil, natural gas, reserves, WTI, Henry Hub, capital expenditure, drilling, energy demand
Mots-clés en français
Alberta, AER, ST98, perspectives énergétiques, prévision, projection, production des sables bitumineux, bitume, pétrole brut, gaz naturel, réserves, prix WTI, dépenses en immobilisations, forage, demande d'énergie
Paramètres de aer_st98_get_table
ParamètreTypeDéfaut
tablestrobligatoire
editionint | nullnull
seriesstr | nullnull
start_yearint | nullnull
end_yearint | nullnull
forecastbool | nullnull
lang"en" | "fr""en"
call_tool {"name": "aer_st98_get_table", "arguments": {"table": "…"}}
aer_st98_list_tablesList the figures and tables in AER's ST98 Alberta Energy Outlook data workbook for one edition (default the latest), with each one's title, series (with units), year range and whether it holds forecasts; also lists the editions (2022 to the latest).

Utilisation : finding which ST98 figure holds Alberta's oil sands or natural gas outlook, or AER's price and capital-spending forecast.

Mots-clés en anglais
Alberta, AER, ST98, Alberta Energy Outlook, energy forecast, reserves, oil sands, bitumen, crude oil, natural gas, NGL, oil price, capital expenditure, supply and demand, outlook
Mots-clés en français
Alberta, AER, ST98, perspectives énergétiques de l'Alberta, prévisions énergétiques, réserves, sables bitumineux, bitume, pétrole brut, gaz naturel, LGN, prix du pétrole, dépenses en immobilisations, offre et demande
Paramètres de aer_st98_list_tables
ParamètreTypeDéfaut
editionint | nullnull
querystr""
lang"en" | "fr""en"
call_tool {"name": "aer_st98_list_tables", "arguments": {}}

Provincial · Ontario

Rapport d'information financière de l'Ontario (finances municipales)

on_fir_

Rapport d'information financière (RIF) des municipalités de l'Ontario, de 2000 à l'année la plus récente, publié par le ministère des Affaires municipales et du Logement : toutes les annexes que chaque municipalité dépose (revenus, charges par fonction, impôts fonciers…

Description complète

Rapport d'information financière (RIF) des municipalités de l'Ontario, de 2000 à l'année la plus récente, publié par le ministère des Affaires municipales et du Logement : toutes les annexes que chaque municipalité dépose (revenus, charges par fonction, impôts fonciers, réserves, dette, immobilisations corporelles, situation financière, statistiques et mesures du rendement), l'annexe d'une municipalité avec ses libellés, et une ligne comparée entre municipalités ou années, par habitant. L'année la plus récente reste incomplète tant que les 444 déclarations ne sont pas déposées. Libellés en anglais seulement. Licence du gouvernement ouvert – Ontario.

5 outils

on_fir_compareCompare one FIR figure across Ontario municipalities or years, optionally per capita.

Utilisation : ranking municipalities on a line (police spending per capita, debt per household, property taxes, reserves), or one municipality's figure over time. slc is a code from on_fir_search_lines or on_fir_get_schedule, such as "slc.40X.L0420.C01.11". years takes up to 10 years (default: the year before the newest); municipalities up to 50 MUNIDs or names (default: every municipality that reported it, largest first); tier keeps UT, LT or ST only, since upper and lower tiers split services and should not be ranked together. per_capita divides by the population on schedule 02. Line numbers change between FIR templates, so label_changes lists years whose labels differ.

Mots-clés en anglais
compare municipalities, per capita spending, municipal benchmarking, ranking, time series, Ontario cities, police cost, debt per capita, property tax
Mots-clés en français
comparer les municipalités, dépenses par habitant, étalonnage municipal, classement, série chronologique, villes de l'Ontario, coût des services, dette par habitant
Paramètres de on_fir_compare
ParamètreTypeDéfaut
slcstrobligatoire
yearslist[int] | nullnull
municipalitieslist[str] | nullnull
tier"UT" | "LT" | "ST" | nullnull
per_capitaboolfalse
limitint50
lang"en" | "fr""en"
call_tool {"name": "on_fir_compare", "arguments": {"slc": "…"}}
on_fir_get_scheduleRead one Ontario municipality's FIR schedule for one year, with labels.

Utilisation : a city's revenue by source (schedule 10), expenses by function and object (40: salaries, interest, materials, contracted services, amortization for governance, police, fire, roads, transit, waste, social housing, parks, planning), property taxes levied (26), reserves and reserve funds (60), statement of financial position (70), long-term liabilities (74), tangible capital assets (51), staff, building permits and road condition (80). municipality is a MUNID or a name ("Toronto", "Peel R"); schedule is "40", "40X" or "26A"; line ("0420") limits it to one line. Amounts are dollars.

Mots-clés en anglais
municipal budget, municipal spending, city finances, revenue, expenses, property tax, reserves, debt, financial statements, Ontario
Mots-clés en français
budget municipal, dépenses municipales, finances de la ville, revenus, charges, impôt foncier, réserves, dette, états financiers, Ontario
Paramètres de on_fir_get_schedule
ParamètreTypeDéfaut
municipalitystrobligatoire
schedulestrobligatoire
yearint | nullnull
linestr | nullnull
lang"en" | "fr""en"
call_tool {"name": "on_fir_get_schedule", "arguments": {"municipality": "…", "schedule": "…"}}
on_fir_list_schedulesList the FIR years published and the schedules filed for one year.

Utilisation : which years of Ontario municipal Financial Information Return data exist (2000 to the newest, with each file's update date), which schedules a year has (10 revenue, 12 grants and user fees, 22 and 26 taxation, 40 expenses by function, 51 tangible capital assets, 60 reserves, 70 financial position, 74 long-term debt, 80 statistics and service measures such as staff, building permits and road condition, 81 debt repayment limit), and how many of the 444 municipalities have filed. Without year, the year before the newest (the newest fills in over the following year). The first call for a year downloads it (about 10 MB).

Mots-clés en anglais
Ontario, municipal finance, Financial Information Return, FIR, schedules, municipalities, MMAH, local government finance, years available, budget, audited financial statements
Mots-clés en français
Ontario, finances municipales, rapport d'information financière, RIF, annexes, municipalités, ministère des Affaires municipales, administration locale, années disponibles, états financiers
Paramètres de on_fir_list_schedules
ParamètreTypeDéfaut
yearint | nullnull
lang"en" | "fr""en"
call_tool {"name": "on_fir_list_schedules", "arguments": {}}
on_fir_search_linesFind FIR data point codes (SLC) by the words in their line and column labels.

Utilisation : the code of a municipal finance figure before comparing it, e.g. "police total expenses" (schedule 40), "residential total taxes" (26), "reserves balance end of year" (60), "long term debt" (74), "closing net book value" (51), "full-time funded positions" or "paved lane km" (80). Every word must appear in the schedule, line or column label (English, as the Ministry publishes it). schedule ("40", "26A") narrows the search. Each result gives the SLC, its labels, data type and how many municipalities reported it.

Mots-clés en anglais
FIR line codes, SLC, schedule line column, municipal expenses, revenue, taxation, reserves, debt, capital assets, police, roads, transit
Mots-clés en français
codes de ligne du RIF, annexe ligne colonne, charges municipales, revenus, impôts fonciers, réserves, dette, immobilisations, police, voirie, transport en commun
Paramètres de on_fir_search_lines
ParamètreTypeDéfaut
querystrobligatoire
yearint | nullnull
schedulestr | nullnull
limitint25
lang"en" | "fr""en"
call_tool {"name": "on_fir_search_lines", "arguments": {"query": "…"}}
on_fir_search_municipalitiesFind Ontario municipalities in the FIR and their MUNID, tier and population.

Utilisation : the Ministry municipal ID (MUNID) of a city, town, township, county or region to pass to on_fir_get_schedule or on_fir_compare; whether it is upper tier (UT: county, region, district), lower tier (LT) or single tier (ST); its upper tier number, population and households as reported on schedule 02; whether it has filed a return for the year yet. Words match the name ("toronto", "peel", "sault"), a number matches the MUNID or assessment code; an empty query lists every municipality that filed. Names carry a type suffix: C city, T town, Tp township, V village, M municipality, Co county, R region, UCo united counties.

Mots-clés en anglais
Ontario municipalities, MUNID, municipal ID, upper tier, lower tier, single tier, county, region, population, households
Mots-clés en français
municipalités de l'Ontario, identifiant municipal, palier supérieur, palier inférieur, palier unique, comté, région, population, ménages, cantons
Paramètres de on_fir_search_municipalities
ParamètreTypeDéfaut
querystr""
yearint | nullnull
tier"UT" | "LT" | "ST" | nullnull
limitint25
lang"en" | "fr""en"
call_tool {"name": "on_fir_search_municipalities", "arguments": {}}

Provincial · Colombie-Britannique

Registraire des lobbyistes de la C.-B. : inscriptions et rapports d'activité

bc_lobbyists_

Registre des lobbyistes de la Colombie-Britannique (ORL), outils préfixés bc_lobbyists_ : recherche des inscriptions (client, cabinet-conseil, lobbyistes, sujets, ministères visés, actives ou terminées…

Description complète

Registre des lobbyistes de la Colombie-Britannique (ORL), outils préfixés bc_lobbyists_ : recherche des inscriptions (client, cabinet-conseil, lobbyistes, sujets, ministères visés, actives ou terminées, période) et des rapports d'activité de lobbying depuis le 2020-05-04 (qui a rencontré quel titulaire de charge publique supérieure, quel ministère, sur quel sujet), décompte de l'activité par client, ministère, titulaire, sujet ou mois, et liste des sujets, résultats visés et ministères du registre. Données ouvertes mensuelles sous la licence de données ouvertes de l'ORL ; les adresses, numéros de téléphone, indicateurs de contributions politiques, cadeaux et anciennes charges publiques des lobbyistes sont exclus, la licence n'accordant aucun droit sur les renseignements personnels. Le registre fédéral est inaccessible aux requêtes automatisées (voir la feuille de route).

5 outils

bc_lobbyists_get_registrationRead one BC lobbyist registration in full: every lobbyist, topic and ministry.

Utilisation : the complete record of a registration found with bc_lobbyists_search_registrations: all lobbyists named, every topic of lobbying in the filer's words with its subject matters and intended outcomes (legislation, regulation, program or policy, contract or grant), ministries and entities to be contacted, client description and website, start and end dates. registration is the record id ('R-56584653'), the registration number ('9997-443-56') or just 'filer-client' ('9997-443') for the current version of that pair. An older version's number or id resolves to the current one.

Mots-clés en anglais
lobbyist registration detail, BC lobbying registration number, lobbying topics, intended outcomes, ministries contacted, registrar of lobbyists record, lobbyists named, registration return
Mots-clés en français
détail d'une inscription de lobbyiste, numéro d'inscription, Colombie-Britannique, sujets de lobbying, résultats visés, ministères visés, registraire des lobbyistes, lobbyistes nommés, déclaration d'inscription
Paramètres de bc_lobbyists_get_registration
ParamètreTypeDéfaut
registrationstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "bc_lobbyists_get_registration", "arguments": {"registration": "…"}}
bc_lobbyists_list_codesList the BC lobbyists registry's subject matters, intended outcomes or ministries.

Utilisation : the exact words the registry uses before filtering: subject_matters (Forestry, Health, Energy, Housing, COVID-19 and about 50 more, for the subject_matter filter), intended_outcomes (the seven BC-xx outcomes of the 2020 Act and the six legacy IO-xx ones: legislation, regulation, program or policy, contract or grant, privatization, arranging a meeting) or ministries (every ministry, agency or 'Member(s) of the BC Legislative Assembly' named in activity reports, with the number of reports naming it, for the agency filter). query keeps names holding every word.

Mots-clés en anglais
BC lobbying subject matters, lobbying intended outcomes, ministries lobbied, registry codes, lobbying topics list, provincial entities, Lobbyists Transparency Act outcomes, code list
Mots-clés en français
sujets de lobbying, résultats visés, ministères visés, codes du registre, liste des sujets, organismes provinciaux, loi sur la transparence du lobbying, Colombie-Britannique, liste de codes
Paramètres de bc_lobbyists_list_codes
ParamètreTypeDéfaut
kind"subject_matters" | "intended_outcomes" | "ministries"obligatoire
querystr""
lang"en" | "fr""en"
call_tool {"name": "bc_lobbyists_list_codes", "arguments": {"kind": "…"}}
bc_lobbyists_search_activity_reportsSearch BC lobbying activity reports: who lobbied which public office holder.

Utilisation : the monthly reports lobbyists file about communications with senior public office holders in British Columbia since 2020-05-04: the meeting date, the client, the lobbyists, each office holder reached (name, title, ministry or MLA), and the topic and subject matter. Find who lobbied a minister, deputy minister or ministry, what a client lobbied on, which meetings a lobbyist reported, and lobbying on a subject in a period. query words must all appear in the client, people, ministries or topics; office_holder matches a name or title ('Deputy Minister'); agency a ministry ('Health', 'Office of the Premier', 'Legislative Assembly'); date_from and date_to (YYYY-MM-DD) bound the meeting date; arranged_only true keeps reports about arranging a meeting. Newest first. A report is a filing, not a meeting; use bc_lobbyists_summarize_activity for counts.

Mots-clés en anglais
BC lobbying activity report, who met minister, lobbyist meetings, senior public office holder, deputy minister lobbying, ministry lobbied, lobbying communications, British Columbia lobbying disclosure, meeting date
Mots-clés en français
rapport d'activité de lobbying, qui a rencontré le ministre, rencontres de lobbyistes, titulaire de charge publique supérieure, sous-ministre, ministère visé, communications de lobbying, Colombie-Britannique, divulgation du lobbying, date de la rencontre
Paramètres de bc_lobbyists_search_activity_reports
ParamètreTypeDéfaut
querystr""
client_namestr""
lobbyiststr""
office_holderstr""
agencystr""
subject_matterstr""
kind"consultant" | "in_house" | nullnull
date_fromstr | nullnull
date_tostr | nullnull
arranged_onlybool | nullnull
limitint25
lang"en" | "fr""en"
call_tool {"name": "bc_lobbyists_search_activity_reports", "arguments": {}}
bc_lobbyists_search_registrationsSearch British Columbia lobbyist registrations (clients, consultants, topics).

Utilisation : who is registered to lobby the BC government, for whom and on what: a company or association's registrations (client or organization), a consulting firm's clients, one lobbyist's registrations, lobbying topics and subject matters (forestry, health, energy, housing), the ministries to be contacted, and whether a registration is still active. Current version of each registration since 2010, under the Lobbyists Transparency Act (from 2020-05-04) or the earlier Act. Words in query must all appear in the client, firm, lobbyist names, topics or client description; client_name, lobbyist, firm (consulting firm or filer), agency (ministry) and subject_matter (a registry subject like 'Forestry') narrow it; date_from and date_to (YYYY-MM-DD) keep registrations active at any time in that period. For who actually met whom use bc_lobbyists_search_activity_reports. Addresses, phone numbers, contribution flags and gifts are not included (ORL licence).

Mots-clés en anglais
BC lobbyist registry, lobbyist registration, British Columbia lobbying, consultant lobbyist, in-house lobbyist, lobbying client, Registrar of Lobbyists, Lobbyists Transparency Act, lobbying topics, who lobbies
Mots-clés en français
registre des lobbyistes, inscription de lobbyiste, Colombie-Britannique, lobbying, lobbyiste-conseil, lobbyiste interne, client du lobbyiste, registraire des lobbyistes, loi sur la transparence du lobbying, sujets de lobbying, qui fait du lobbying
Paramètres de bc_lobbyists_search_registrations
ParamètreTypeDéfaut
querystr""
client_namestr""
lobbyiststr""
firmstr""
subject_matterstr""
agencystr""
kind"consultant" | "in_house" | nullnull
status"active" | "ended" | nullnull
date_fromstr | nullnull
date_tostr | nullnull
limitint25
lang"en" | "fr""en"
call_tool {"name": "bc_lobbyists_search_registrations", "arguments": {}}
bc_lobbyists_summarize_activityCount BC lobbying activity reports by client, ministry, office holder, subject or month.

Utilisation : rankings and trends in BC lobbying since 2020-05-04: the clients reporting the most lobbying, the ministries or office holders lobbied most, the busiest subjects (health, forestry, energy, housing), the most active lobbyists, and monthly or yearly volume. group_by is client, ministry, office_holder, subject_matter, lobbyist, month or year; the filters are those of bc_lobbyists_search_activity_reports (all optional), so 'reports per ministry for one client in 2025' is one call. Counts are distinct reports, not meetings; rows for a report with several ministries or subjects add up to more than the total. top caps the rows: for client, ministry, office_holder, subject_matter and lobbyist they are the top largest counts, largest first; for month and year they are the top most recent periods (a contiguous trend, not the busiest periods), oldest to newest. groups_total gives the number of groups before the cap.

Mots-clés en anglais
BC lobbying statistics, most lobbied ministry, top lobbying clients, lobbying by subject, lobbying trend by month, lobbying volume, count of lobbying reports, who lobbies most, lobbying ranking
Mots-clés en français
statistiques sur le lobbying, ministère le plus visé, clients les plus actifs, lobbying par sujet, tendance mensuelle, volume de lobbying, nombre de rapports de lobbying, Colombie-Britannique, classement du lobbying
Paramètres de bc_lobbyists_summarize_activity
ParamètreTypeDéfaut
group_by"client" | "ministry" | "office_holder" | "subject_matter" | "lobbyist" | "month" | "year"obligatoire
querystr""
client_namestr""
lobbyiststr""
office_holderstr""
agencystr""
subject_matterstr""
kind"consultant" | "in_house" | nullnull
date_fromstr | nullnull
date_tostr | nullnull
arranged_onlybool | nullnull
topint20
lang"en" | "fr""en"
call_tool {"name": "bc_lobbyists_summarize_activity", "arguments": {"group_by": "…"}}

Provincial · Alberta

Tableau de bord économique de l'Alberta

ab_economic_

Tableau de bord économique de l'Alberta (gouvernement de l'Alberta) : liste de ses quelque 260 tableaux de données économiques, colonnes et valeurs de filtre d'un tableau, séries chronologiques filtrées (emploi, IPC, PIB, énergie, exportations, logement, population…

Description complète

Tableau de bord économique de l'Alberta (gouvernement de l'Alberta) : liste de ses quelque 260 tableaux de données économiques, colonnes et valeurs de filtre d'un tableau, séries chronologiques filtrées (emploi, IPC, PIB, énergie, exportations, logement, population, entreprises) et catalogue des indicateurs clés avec leur date de mise à jour. Contenu uniquement en anglais.

5 outils

ab_economic_get_dataGet time-series rows from an Alberta Economic Dashboard table.

Utilisation : Alberta unemployment, employment, wages, CPI, GDP, exports, energy production, housing and population series. Pass a table and filters from ab_economic_get_indicator_series (preferred), or column values from ab_economic_get_table_fields, e.g. table="UnemploymentRates_14100287", filters={"GeoName": "Alberta", "Sex": "Both sexes", "Age": "15 years and over"}. Dates are inclusive ISO dates; the most recent limit rows (max 2000) come back oldest first. provenance.caveats says when the newest row is over three years old, or when rows repeat or disagree for one date.

Mots-clés en anglais
Alberta, economic data, time series, unemployment rate, inflation, GDP, exports, oil production, Calgary, Edmonton
Mots-clés en français
Alberta, données économiques, séries chronologiques, taux de chômage, emploi, salaires, inflation, PIB, exportations, production pétrolière, Calgary, Edmonton
Paramètres de ab_economic_get_data
ParamètreTypeDéfaut
tablestrobligatoire
filtersdict[str, str] | nullnull
start_datestr | nullnull
end_datestr | nullnull
limitint120
lang"en" | "fr""en"
call_tool {"name": "ab_economic_get_data", "arguments": {"table": "…"}}
ab_economic_get_indicator_seriesGet the official API series published on one Alberta Economic Dashboard indicator page.

Utilisation : the recommended route to Alberta data. Each indicator page (e.g. "Unemployment Rate", "Housing Starts", "Farm Cash Receipts") publishes named API links such as "Unemployment rate in Alberta" or "... by Industry"; each comes back as a table plus filters to pass straight to ab_economic_get_data. "... by Province" series hold every province and Canada, to compare Alberta with the national figure (checked on the unemployment rate page, 2026-11-20).

Mots-clés en anglais
Alberta, economic dashboard, indicator, API, series, official data link, unemployment, housing starts, CPI
Mots-clés en français
Alberta, tableau de bord économique, indicateur, API, série officielle, lien de données officiel, taux de chômage, mises en chantier, IPC, recettes monétaires agricoles
Paramètres de ab_economic_get_indicator_series
ParamètreTypeDéfaut
indicatorstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "ab_economic_get_indicator_series", "arguments": {"indicator": "…"}}
ab_economic_get_table_fieldsGet an Alberta Economic Dashboard table's columns and their filter values.

Utilisation : learning which columns (GeoName, Sex, Age, Industry, ...) and values to pass as filters to ab_economic_get_data, plus the indicator's name and frequency.

Mots-clés en anglais
Alberta, economic dashboard, table schema, columns, dimensions, filter values, metadata, field names
Mots-clés en français
Alberta, tableau de bord économique, structure du tableau, colonnes, dimensions, valeurs de filtre, métadonnées, noms de champs
Paramètres de ab_economic_get_table_fields
ParamètreTypeDéfaut
tablestrobligatoire
lang"en" | "fr""en"
call_tool {"name": "ab_economic_get_table_fields", "arguments": {"table": "…"}}
ab_economic_list_indicatorsList the Alberta Economic Dashboard's key indicators by topic, with last-update dates.

Utilisation : seeing what Alberta's government tracks (agriculture, consumer spending, construction, energy, jobs, business, exports, productivity, population, GDP) and what was updated recently. Then get an indicator's published series with ab_economic_get_indicator_series.

Mots-clés en anglais
Alberta, economic dashboard, key indicators, economy, latest data, Government of Alberta, snapshot, updates
Mots-clés en français
Alberta, tableau de bord économique de l'Alberta, indicateurs clés, indicateurs économiques, économie albertaine, données récentes, gouvernement de l'Alberta, mises à jour, conjoncture
Paramètres de ab_economic_list_indicators
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "ab_economic_list_indicators", "arguments": {}}
ab_economic_list_tablesList or search the Alberta Economic Dashboard's ~260 data tables.

Utilisation : finding the table behind an Alberta indicator, e.g. query="Unemployment", "CPI", "AESO", "RigCount", "Exports", or a StatCan table number such as "14100287". Names ending in an 8-10 digit number mirror that StatCan table with Alberta-focused cuts. The dashboard's own working tables (TableIndex, "_stage" copies that stopped updating, Defence_* project lists) come last with internal=true; prefer a published table.

Mots-clés en anglais
Alberta, economic data, tables, labour force, CPI, exports, energy, housing starts, population, rig count
Mots-clés en français
Alberta, données économiques, tableaux de données, population active, IPC, exportations, énergie, mises en chantier, population, nombre d'appareils de forage, tableau de Statistique Canada
Paramètres de ab_economic_list_tables
ParamètreTypeDéfaut
querystr | nullnull
lang"en" | "fr""en"
call_tool {"name": "ab_economic_list_tables", "arguments": {}}

Provincial · Ontario

Commission de l'énergie de l'Ontario

oeb_

Données ouvertes de la Commission de l'énergie de l'Ontario (CEO, oeb.ca) : rapports RRR par distributeur d'électricité et de gaz naturel (fiabilité du réseau SAIDI/SAIFI, clients, demande et revenus, immobilisations, main-d'œuvre, exactitude de la facturation…

Description complète

Données ouvertes de la Commission de l'énergie de l'Ontario (CEO, oeb.ca) : rapports RRR par distributeur d'électricité et de gaz naturel (fiabilité du réseau SAIDI/SAIFI, clients, demande et revenus, immobilisations, main-d'œuvre, exactitude de la facturation, programmes LEAP et POAFE, balance de vérification, facturation nette), fiches de rendement et plaintes, tarifs d'électricité et de gaz en vigueur, prix historiques de la grille tarifaire réglementée, bases de données des tarifs de distribution, permis, demandes en cours, annuaire 2021. Licence du gouvernement ouvert – Ontario.

4 outils

oeb_describe_datasetDescribe one OEB open data dataset: its files (numbered, with release: 'current' or the date of an archived release) and, for one file, the fields with example values, the record count, the years and the distributors.

Utilisation : seeing which measures an RRR file has before querying it.

Mots-clés en anglais
OEB, Ontario Energy Board, dataset fields, columns, RRR file, data dictionary, archived release, distributors list, years covered
Mots-clés en français
CEO, Commission de l'énergie de l'Ontario, champs, colonnes, variables, fichier RRR, dictionnaire de données, publication archivée, liste des distributeurs, années couvertes, description du jeu de données
Paramètres de oeb_describe_dataset
ParamètreTypeDéfaut
datasetstrobligatoire
filestr | nullnull
releasestr | nullnull
sheetstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "oeb_describe_dataset", "arguments": {"dataset": "…"}}
oeb_list_datasetsList the Ontario Energy Board's open data datasets, with description, file types, update frequency, last-updated date and number of current and archived files; `query` keeps those whose title or description has every word.

Utilisation : finding which OEB file holds Ontario utility reliability, customers, revenue, capital, labour, billing or low-income data.

Mots-clés en anglais
Ontario Energy Board, OEB, open data, RRR, reporting and record-keeping requirements, electricity distributors, local distribution company, LDC, natural gas utilities, yearbook, utility datasets
Mots-clés en français
Commission de l'énergie de l'Ontario, CEO, données ouvertes, exigences de rapport et de tenue de dossiers, distributeurs d'électricité, sociétés de distribution locale, services publics d'électricité, services publics de gaz naturel, annuaire des distributeurs, jeux de données des services publics, Ontario
Paramètres de oeb_list_datasets
ParamètreTypeDéfaut
querystr | nullnull
lang"en" | "fr""en"
call_tool {"name": "oeb_list_datasets", "arguments": {}}
oeb_query_datasetRead rows of an OEB open data file, filtered by distributor name, year and other columns, with the measures you name: e.g. SAIDI and SAIFI of Hydro Ottawa in 2024, customers by rate class, revenue, FTEs, LEAP grants.

Utilisation : Ontario electricity and gas utility statistics by company and year.

Mots-clés en anglais
Ontario utility reliability, SAIDI, SAIFI, power outages, distributor customers, demand and revenue, capital expenditures, labour FTE, billing accuracy, LEAP, OESP, net metering, scorecard, OEB
Mots-clés en français
fiabilité des services publics ontariens, fiabilité du réseau électrique, SAIDI, SAIFI, pannes de courant, interruptions de service, clients des distributeurs, demande et revenus, dépenses en immobilisations, effectifs, exactitude de la facturation, facturation nette, fiche de rendement, CEO
Paramètres de oeb_query_dataset
ParamètreTypeDéfaut
datasetstrobligatoire
distributorstr | nullnull
yearint | nullnull
fieldslist[str] | nullnull
wheredict[str, str] | nullnull
filestr | nullnull
releasestr | nullnull
sheetstr | nullnull
max_rowsint100
lang"en" | "fr""en"
call_tool {"name": "oeb_query_dataset", "arguments": {"dataset": "…"}}
oeb_ratesOntario electricity and natural gas rates from the OEB: current rates by utility (residential or general service under 50 kW electricity, residential natural gas), with each field's description and unit from the OEB's data keys, or the historical Regulated Price Plan prices (time-of-use, tiered, ultra-low overnight) by effective date.

Utilisation : monthly fixed charge, distribution and transmission rates of an Ontario utility, or how time-of-use prices changed.

Mots-clés en anglais
Ontario electricity rates, hydro rates, time-of-use prices, TOU, tiered prices, ultra-low overnight, Regulated Price Plan, RPP, natural gas rates, delivery charge, distribution charge, OEB
Mots-clés en français
tarifs d'électricité de l'Ontario, prix de l'électricité, facture d'électricité, prix selon l'heure, prix par paliers, très bas prix de nuit, grille tarifaire réglementée, tarifs du gaz naturel, frais de livraison, frais de distribution, CEO
Paramètres de oeb_rates
ParamètreTypeDéfaut
table"electricity_residential" | "electricity_general_service" | "natural_gas_residential" | "rpp_time_of_use" | "rpp_tiered" | "rpp_ultra_low_overnight"obligatoire
distributorstr | nullnull
max_rowsint200
lang"en" | "fr""en"
call_tool {"name": "oeb_rates", "arguments": {"table": "…"}}

Provincial · Colombie-Britannique

DriveBC : événements routiers sur les routes de la C.-B.

drivebc_

Événements routiers de DriveBC sur les routes provinciales de la Colombie-Britannique (API Open511, Licence du gouvernement ouvert – Colombie-Britannique) : travaux et entretien en cours, incidents et état des routes avec gravité, route, direction, état des voies…

Description complète

Événements routiers de DriveBC sur les routes provinciales de la Colombie-Britannique (API Open511, Licence du gouvernement ouvert – Colombie-Britannique) : travaux et entretien en cours, incidents et état des routes avec gravité, route, direction, état des voies, horaire et emplacement, filtrés par type, gravité, district, route, zone ou texte ; un événement complet avec sa géométrie ; décomptes par type, gravité, district ou route ; et les 11 districts du ministère. Contenu en anglais seulement.

4 outils

drivebc_get_eventOne active DriveBC road event in full, with its GeoJSON geometry (the point or the closed stretch of highway as a line) and the linear reference in km.

Utilisation : the exact extent of a closure, map a road event, full text and schedule of one incident.

Mots-clés en anglais
DriveBC, road event, closure extent, geometry, GeoJSON, incident detail, British Columbia highway, Open511, schedule
Mots-clés en français
DriveBC, événement routier, étendue de la fermeture, géométrie, GeoJSON, détail d'incident, route de la Colombie-Britannique, Open511, horaire
Paramètres de drivebc_get_event
ParamètreTypeDéfaut
event_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "drivebc_get_event", "arguments": {"event_id": "…"}}
drivebc_list_areasThe 11 BC Ministry of Transportation and Transit districts DriveBC uses as Open511 areas (id, name, GeoNames link), with the number of active road events in each now.

Utilisation : the district names and ids for a DriveBC filter, which district a region belongs to, a quick count of events per district.

Mots-clés en anglais
DriveBC, districts, areas, Lower Mainland, Vancouver Island, Okanagan, British Columbia, Open511, highway districts
Mots-clés en français
DriveBC, districts, zones, Lower Mainland, île de Vancouver, Okanagan, Colombie-Britannique, Open511, districts routiers, ministère des Transports de la Colombie-Britannique
Paramètres de drivebc_list_areas
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "drivebc_list_areas", "arguments": {}}
drivebc_search_eventsActive road events on British Columbia's provincial highways from DriveBC (Open511): construction and maintenance, incidents (crashes, hazards, fires) and road conditions, each with severity, road, direction, lane state (for example CLOSED), schedule, district and location.

Utilisation : is a BC highway closed, current road work on the Coquihalla or Highway 1, incidents near a place, travel conditions in a district.

Mots-clés en anglais
DriveBC, road closures, highway conditions, construction, incidents, British Columbia, Open511, traffic events, road work, Coquihalla, travel advisory
Mots-clés en français
DriveBC, fermetures de routes, route fermée, état des routes, conditions routières, travaux routiers, chantiers, incidents, accident de la route, Colombie-Britannique, Open511, circulation, entraves, autoroute, Coquihalla, avis aux voyageurs
Paramètres de drivebc_search_events
ParamètreTypeDéfaut
event_type"CONSTRUCTION" | "INCIDENT" | "ROAD_CONDITION" | "WEATHER_CONDITION" | "SPECIAL_EVENT" | nullnull
severity"MINOR" | "MODERATE" | "MAJOR" | "UNKNOWN" | nullnull
subtypestr | nullnull
areastr | nullnull
roadstr | nullnull
bboxlist[float] | nullnull
querystr | nullnull
limitint25
lang"en" | "fr""en"
call_tool {"name": "drivebc_search_events", "arguments": {}}
drivebc_summarize_eventsCounts of active DriveBC road events grouped by district (area), event type, severity, road or subtype, with the number of MAJOR events in each group, after optional filters.

Utilisation : which BC districts have the most road work, how many major incidents are open now, which highways have the most events.

Mots-clés en anglais
DriveBC, road events count, closures by district, highway incidents summary, British Columbia, Open511, construction count, major events
Mots-clés en français
DriveBC, nombre d'événements routiers, fermetures par district, sommaire des incidents, Colombie-Britannique, Open511, nombre de chantiers, événements majeurs
Paramètres de drivebc_summarize_events
ParamètreTypeDéfaut
group_by"event_type" | "severity" | "area" | "road" | "subtype""area"
event_type"CONSTRUCTION" | "INCIDENT" | "ROAD_CONDITION" | "WEATHER_CONDITION" | "SPECIAL_EVENT" | nullnull
severity"MINOR" | "MODERATE" | "MAJOR" | "UNKNOWN" | nullnull
areastr | nullnull
roadstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "drivebc_summarize_events", "arguments": {}}

Provincial · Québec · Alberta · Colombie-Britannique · Saskatchewan · Manitoba

Résultats des élections générales provinciales : Québec, Alberta, Colombie-Britannique, Saskatchewan, Manitoba

elections_provincial_

Résultats des élections générales provinciales par circonscription pour le Québec, l'Alberta, la Colombie-Britannique, la Saskatchewan et le Manitoba, outils préfixés elections_provincial_.

Description complète

Résultats des élections générales provinciales par circonscription pour le Québec, l'Alberta, la Colombie-Britannique, la Saskatchewan et le Manitoba, outils préfixés elections_provincial_. Québec : votes et part des votes de chaque candidat par circonscription pour les 14 élections générales de 1973 à 2022 (données ouvertes d'Élections Québec). Alberta : votes par parti dans chaque division électorale, avec le nom du candidat élu, pour les élections générales de 2008 à 2023 (résultats officiels d'Elections Alberta). Colombie-Britannique : votes de chaque candidat par circonscription pour les élections générales de 2005 à 2024, additionnés à partir des données ouvertes par bureau de vote (licence de données ouvertes d'Elections BC). Saskatchewan : votes de chaque candidat par circonscription pour les élections générales de 2011 à 2024, additionnés à partir des fichiers par bureau de vote d'Elections Saskatchewan (le site n'énonce ni conditions ni licence). Manitoba : votes de chaque candidat par division électorale, avec les électeurs inscrits, les bulletins rejetés et la participation, pour les sept élections générales de 1999 à 2023, et votes par section de vote dans une division (elections_provincial_get_voting_areas), d'après les téléchargements d'Élections Manitoba (le site n'énonce ni conditions ni licence). Les sièges et les votes par parti sont calculés à partir des mêmes lignes et concordent avec la législature (125, 87, 93, 61 et 57 sièges aux dernières élections). L'Ontario n'est pas couvert : les conditions d'utilisation d'Élections Ontario interdisent l'extraction automatisée de son site de résultats. Les résultats fédéraux sont dans elections_results_.

4 outils

elections_provincial_get_resultsGet provincial general election results by electoral district (QC, AB, BC, SK, MB).

Utilisation : who won a provincial riding (winners_only), every candidate's votes and share in a district (Quebec, British Columbia, Saskatchewan, Manitoba), votes by party in an Alberta electoral division (the winner is named), district electors, turnout and rejected ballots where published. province is qc, ab, bc, sk or mb; election is the polling day (2022-10-03) or just its year (2022), and defaults to the latest. district (name or number or code), party (name or abbreviation, e.g. CAQ, UCP, NDP, PC) and candidate are accent-insensitive substring filters. Ontario is not available. By-elections are not included. District, party and candidate names are given as each source publishes them (English except for Quebec); lang="fr" gives errors, notes, attribution and provenance in French.

Mots-clés en anglais
provincial election results, riding, electoral district, electoral division, candidate, votes, winner, elected, MLA, MNA, party, CAQ, Parti Quebecois, Liberal, UCP, NDP, BC NDP, Saskatchewan Party, Sask Party, Progressive Conservative, Manitoba NDP, Saskatchewan, Manitoba, Quebec, Alberta, British Columbia
Mots-clés en français
résultats électoraux provinciaux, circonscription, candidat, votes, gagnant, élu, député, parti, CAQ, Parti québécois, libéral, Québec solidaire, Saskatchewan Party, progressiste-conservateur, Saskatchewan, Manitoba, Québec, Alberta, Colombie-Britannique
Paramètres de elections_provincial_get_results
ParamètreTypeDéfaut
provincestrobligatoire
electionstr | nullnull
districtstr | nullnull
partystr | nullnull
candidatestr | nullnull
winners_onlyboolfalse
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "elections_provincial_get_results", "arguments": {"province": "…"}}
elections_provincial_get_seatsGet seats and votes by party for one provincial general election (QC, AB, BC, SK, MB).

Utilisation : the seat count and popular vote of each party in a provincial election (for example the CAQ's 90 of 125 Quebec seats in 2022, the UCP's 49 of 87 in Alberta in 2023, the BC NDP's 47 of 93 in 2024, the Saskatchewan Party's 34 of 61 in 2024, the Manitoba NDP's 34 of 57 in 2023), computed from the district results, with candidates per party and share of valid votes. province is qc, ab, bc, sk or mb; election is the polling day or its year, and defaults to the latest. Party names are given as each source publishes them; lang="fr" gives errors, notes, attribution and provenance in French.

Mots-clés en anglais
seats by party, popular vote, vote share, election outcome, legislature, majority, minority, provincial election, Quebec, Alberta, British Columbia, Saskatchewan, Manitoba, seat count
Mots-clés en français
sièges par parti, vote populaire, part des votes, résultat électoral, législature, majorité, minorité, élection provinciale, Québec, Alberta, Colombie-Britannique, Saskatchewan, Manitoba, nombre de sièges
Paramètres de elections_provincial_get_seats
ParamètreTypeDéfaut
provincestrobligatoire
electionstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "elections_provincial_get_seats", "arguments": {"province": "…"}}
elections_provincial_get_voting_areasGet poll-by-poll results by voting area in one Manitoba electoral division.

Utilisation : every candidate's votes in each voting area (poll) of a Manitoba electoral division, with the polling place, registered voters, rejected and declined ballots per area, and the advance, absentee, homebound and write-in polls, for the general elections of 1999 to 2023 (Elections Manitoba's statements of votes by voting area). district names one division (an accent-insensitive substring such as "fort rouge"); election is the polling day or its year and defaults to 2023; voting_area (e.g. 12 or Adv-1), party and candidate filter the rows. The response compares the areas' sum with the division's official total, which differs for a few divisions. Names are as Elections Manitoba publishes them (English); lang="fr" gives errors, notes, attribution and provenance in French.

Mots-clés en anglais
poll by poll results, voting area, polling division, poll, polling station, advance poll, Manitoba election, Elections Manitoba, electoral division, neighbourhood vote, precinct results, MLA
Mots-clés en français
résultats par bureau de vote, section de vote, bureau de scrutin, vote par anticipation, élection manitobaine, Élections Manitoba, circonscription, division électorale, résultats détaillés, député
Paramètres de elections_provincial_get_voting_areas
ParamètreTypeDéfaut
districtstrobligatoire
provincestr"mb"
electionstr | nullnull
voting_areastr | nullnull
partystr | nullnull
candidatestr | nullnull
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "elections_provincial_get_voting_areas", "arguments": {"district": "…"}}
elections_provincial_list_electionsList the provincial general elections with results here (QC, AB, BC, SK, Manitoba).

Utilisation : seeing which provincial general elections can be read (Quebec 1973 to 2022, Alberta 2008 to 2023, British Columbia 2005 to 2024, Saskatchewan 2011 to 2024, Manitoba 1999 to 2023), with polling day, seats, what each row holds, and which provinces are not available and why (Ontario: Elections Ontario's terms forbid scraping). No upstream call is made.

Mots-clés en anglais
provincial election, general election, results, Quebec, Alberta, British Columbia, Saskatchewan, Manitoba, Ontario, Elections Quebec, Elections Alberta, Elections BC, Elections Saskatchewan, Elections Manitoba, legislature, riding, electoral district, electoral division, MLA, MNA
Mots-clés en français
élection provinciale, élections générales, résultats, Québec, Alberta, Colombie-Britannique, Saskatchewan, Manitoba, Ontario, Élections Québec, circonscription, division électorale, député, Assemblée nationale, scrutin
Paramètres de elections_provincial_list_elections
ParamètreTypeDéfaut
provincestr | nullnull
lang"en" | "fr""en"
call_tool {"name": "elections_provincial_list_elections", "arguments": {}}

Provincial · Territoires du Nord-Ouest

Bureau de la statistique des Territoires du Nord-Ouest

nwt_stats_

Bureau de la statistique des T.N.-O.

Description complète

Bureau de la statistique des T.N.-O. (statsnwt.ca), outils préfixés nwt_stats_ : environ 375 fichiers Excel (.xlsx et .xls) sur 38 pages thématiques (PIB, exportations et importations, population active, rémunération, revenu, indice des prix à la consommation, indices des prix des collectivités, estimations de la population par collectivité, projections, état civil, logement, criminalité, santé, langues, alcool et cannabis, activités traditionnelles, recensements de 1996 à 2021 et tableaux de l'Enquête sur les collectivités), listés avec les titres de l'organisme, cherchés dans tous les sujets et lus feuille par feuille avec ligne d'en-tête devinée, filtres de colonnes et pagination. Titres en anglais seulement. Licence du gouvernement ouvert – Territoires du Nord-Ouest.

3 outils

nwt_stats_list_filesList the Excel tables on one NWT Bureau of Statistics topic page.

Utilisation : browsing what the Northwest Territories Bureau of Statistics publishes on a topic and getting each file's URL for nwt_stats_read_file. Without topic, returns the 38 topic slugs with titles and page links (gdp, exports-imports, oil-gas-minerals, labour-force, earnings-wages, income, cpi, community-price-index, population, population-communities, population-projections, vital-statistics, housing, crime, language, alcohol-cannabis, traditional-activities, census (1996 to 2021), surveys (NWT Community Survey), and more). With topic, lists that page's .xlsx and .xls files, and exports of tables shown on the page, with the agency's own title, the block and heading above the link (census year, release date, survey or quarter) and nearby text. File titles are English only (lang changes the topic titles, notes and licence line).

Mots-clés en anglais
Northwest Territories, NWT, Bureau of Statistics, statsnwt, Yellowknife, territorial statistics, Excel tables, topics, census, population, labour force
Mots-clés en français
Territoires du Nord-Ouest, T.N.-O., Bureau de la statistique des Territoires du Nord-Ouest, statistiques territoriales, tableaux Excel, sujets, recensement, Yellowknife, estimations de la population, population active, produit intérieur brut, IPC, état civil
Paramètres de nwt_stats_list_files
ParamètreTypeDéfaut
topicstr | nullnull
limitint100
offsetint0
lang"en" | "fr""en"
call_tool {"name": "nwt_stats_list_files", "arguments": {}}
nwt_stats_read_fileRead one sheet of an NWT Bureau of Statistics Excel file (.xlsx or .xls).

Utilisation : getting the numbers of a table found with nwt_stats_list_files or nwt_stats_search_files. Every sheet is listed with its size; a one-sheet file (or one sheet holding most of the cells) is read directly, otherwise no rows come back until sheet names one. Layouts are kept as published: a title above the table, years across columns, a two-row header (pass header_rows=2), notes at the bottom. header_row (1-based) overrides the guessed header and header_row_candidates suggests others. filters keeps rows whose column equals a value (case-insensitive), contains keeps rows with that text in any cell, columns picks columns; all values are text. Only links on statsnwt.ca are read.

Mots-clés en anglais
Northwest Territories, NWT, Excel, sheet, workbook, xlsx, xls, table rows, header row, GDP, population, CPI, census
Mots-clés en français
Territoires du Nord-Ouest, T.N.-O., fichier Excel, feuille de calcul, classeur, lire un tableau, lignes du tableau, ligne d'en-tête, filtrer des colonnes, PIB, population, IPC, recensement
Paramètres de nwt_stats_read_file
ParamètreTypeDéfaut
urlstrobligatoire
sheetstr | nullnull
header_rowint | nullnull
header_rowsint1
filtersdict[str, str] | nullnull
containsstr | nullnull
columnslist[str] | nullnull
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "nwt_stats_read_file", "arguments": {"url": "…"}}
nwt_stats_search_filesSearch the NWT Bureau of Statistics Excel tables by words in their titles.

Utilisation : finding a Northwest Territories table without knowing its topic: GDP by industry, exports, labour force by community, average weekly earnings, consumer price index, community price index, population by community, births and deaths, housing core need, crime incidents, Indigenous languages, cannabis and alcohol sales, a 2021 Census table ("2021 census age"). Keeps files whose title, nearby text, heading, topic or file name contains every word of query (case and accents ignored). The first search reads every topic page (about a minute); later ones are cached for six hours. topic narrows to one page.

Mots-clés en anglais
Northwest Territories, NWT, search tables, statistics, GDP, CPI, community price index, population by community, census, labour, housing, cannabis, Excel
Mots-clés en français
Territoires du Nord-Ouest, chercher un tableau, statistiques des T.N.-O., PIB par industrie, exportations, IPC, indice des prix des collectivités, population par collectivité, naissances et décès, recensement, emploi, rémunération hebdomadaire moyenne, besoins impérieux en matière de logement, criminalité, langues autochtones, ventes d'alcool et de cannabis, fichiers Excel
Paramètres de nwt_stats_search_files
ParamètreTypeDéfaut
querystrobligatoire
topicstr | nullnull
limitint100
lang"en" | "fr""en"
call_tool {"name": "nwt_stats_search_files", "arguments": {"query": "…"}}

Provincial · Colombie-Britannique

Entrepôt géographique de la C.-B.

bcgw_

Entrepôt géographique de la Colombie-Britannique (BCGW), le service géospatial public de la C.-B.

Description complète

Entrepôt géographique de la Colombie-Britannique (BCGW), le service géospatial public de la C.-B. (openmaps.gov.bc.ca), via OGC WFS 2.0 standard : périmètres et statut des feux de forêt actuels, titres miniers (claims minéraux/placers) par propriétaire ou superficie, et un outil générique d'interrogation atteignant n'importe laquelle des milliers de couches du BCGW par type_name (découvrable via ckan_* avec portal="bc").

3 outils

bcgw_get_active_wildfiresQuery current BC wildfire perimeters and status from the BC Wildfire Service's mapped fire layer, largest fires first.

Utilisation : checking active/recent wildfire status, size in hectares, and mapped perimeter for any fire tracked by the BC Wildfire Service. status is free text matched against real values like "Out of Control", "Being Held", "Under Control", "Out" -- there is no fixed enum. Without a status, fires that are "Out" (most of the layer) are left out; set include_out true to list them too. Leave include_geometry false unless the fire polygon itself is needed.

Mots-clés en anglais
British Columbia, BC, wildfire, wildfires British Columbia, forest fire, fire perimeter, fire status, fire centre, hectares burned, BC Wildfire Service, active fire, out of control, being held
Mots-clés en français
Colombie-Britannique, feu de forêt, incendie, périmètre d'incendie, statut du feu, hectares brûlés, service des incendies de forêt, feu actif, feux de forêt en cours, hors de contrôle, maîtrisé
Paramètres de bcgw_get_active_wildfires
ParamètreTypeDéfaut
statusstr | nullnull
fire_yearint | nullnull
min_size_hectaresfloat | nullnull
include_outboolfalse
include_geometryboolfalse
limitint20
offsetint0
lang"en" | "fr""en"
call_tool {"name": "bcgw_get_active_wildfires", "arguments": {}}
bcgw_get_mining_tenureQuery acquired BC mineral/placer mining tenure (claims) by type, owner, or minimum area.

Utilisation : mining rights research, resource-extraction analysis, and prospecting-zone identification -- claim name, tenure type (mineral/placer), owner, area in hectares, issue/expiry dates. tenure_type is "mineral" or "placer". owner_name matches the start of a word in the registered owner's name, case-insensitively ("teck" finds "TECK RESOURCES LIMITED", not "BIATECKI"). Owners include individual free miners, whose names are part of this public registry.

Mots-clés en anglais
British Columbia, BC, mining, mineral tenure, placer claim, mining claim, prospecting, mining rights, owner, hectares, tenure number, resource extraction
Mots-clés en français
Colombie-Britannique, exploitation minière, titre minier, claim de placer, droits miniers, propriétaire, hectares, numéro de titre, prospection, extraction de ressources
Paramètres de bcgw_get_mining_tenure
ParamètreTypeDéfaut
tenure_typestr | nullnull
owner_namestr | nullnull
min_area_hectaresfloat | nullnull
include_geometryboolfalse
limitint20
offsetint0
lang"en" | "fr""en"
call_tool {"name": "bcgw_get_mining_tenure", "arguments": {}}
bcgw_query_layerQuery any BC Geographic Warehouse (BCGW) layer directly by its type_name (e.g. "WHSE_LAND_AND_NATURAL_RESOURCE.PROT_RESTRICTED_AREAS_SP"), for any dataset not covered by a curated bcgw_* tool.

Utilisation : pulling features from any BC government map layer (parks, land status, forestry, environment and more) with a CQL filter.

Mots-clés en anglais
British Columbia, BC, BCGW, BC Geographic Warehouse, WFS, geospatial, layer, feature, CQL filter, data catalogue, generic query, openmaps
Mots-clés en français
Colombie-Britannique, BC Geographic Warehouse, entrepôt de données géographiques, WFS, données géospatiales, couche cartographique, entité géographique, filtre CQL, catalogue de données, requête générique
Paramètres de bcgw_query_layer
ParamètreTypeDéfaut
type_namestrobligatoire
cql_filterstr | nullnull
property_namesstr | nullnull
include_geometryboolfalse
sort_bystr | nullnull
limitint20
offsetint0
lang"en" | "fr""en"
call_tool {"name": "bcgw_query_layer", "arguments": {"type_name": "…"}}

Provincial · Terre-Neuve-et-Labrador

Agence de la statistique de Terre-Neuve-et-Labrador

nl_stats_

Agence de la statistique de Terre-Neuve-et-Labrador (stats.gov.nl.ca), outils préfixés nl_stats_ : environ 140 fichiers Excel répartis en 15 sujets (population et migration, population active, indice des prix à la consommation, PIB, commerce, industrie, revenu, santé, éducation…

Description complète

Agence de la statistique de Terre-Neuve-et-Labrador (stats.gov.nl.ca), outils préfixés nl_stats_ : environ 140 fichiers Excel répartis en 15 sujets (population et migration, population active, indice des prix à la consommation, PIB, commerce, industrie, revenu, santé, éducation, assurance-emploi, salaire minimum, finances personnelles, transports, dons de bienfaisance, aide au revenu), listés à partir des pages thématiques de l'agence et lus feuille par feuille (.xlsx et .xls : séries mensuelles du travail et des prix, population trimestrielle depuis 1971, divisions de recensement et RMR de St. John's). Il s'agit de l'agence provinciale de statistique, pas du portail de données ouvertes (nl_opendata_). Les feuilles gardent la mise en page de l'agence.

2 outils

nl_stats_list_filesList the Excel tables published by the Newfoundland and Labrador Statistics Agency.

Utilisation : finding a Newfoundland and Labrador statistics table (quarterly population since 1971, labour force by month, consumer price index, GDP, international trade, income, health, education, employment insurance, minimum wage, census division and St. John's CMA estimates) and its file URL for nl_stats_read_file. topic is one of the slugs in the result (population, labour, cpi, gdp, trade, industry, income, health, education, ei, minimumwage, personalfinance, transportation, charitabledonations, incomesupport); query keeps files whose title, heading or URL contains every word. Results come a page at a time (limit, default 40, up to 200; offset for the next page); total_files counts every match. The agency's own descriptions are English only.

Mots-clés en anglais
Newfoundland and Labrador, NL, Statistics Agency, population, labour force, unemployment, CPI, GDP, trade, St. John's, census division, Excel, provincial statistics, minimum wage
Mots-clés en français
Terre-Neuve-et-Labrador, agence de la statistique, statistiques provinciales, population trimestrielle, migration, population active, taux de chômage, IPC, PIB, commerce international, revenu, assurance-emploi, salaire minimum, St. John's, division de recensement, tableaux Excel
Paramètres de nl_stats_list_files
ParamètreTypeDéfaut
topicstr | nullnull
querystr | nullnull
limitint40
offsetint0
lang"en" | "fr""en"
call_tool {"name": "nl_stats_list_files", "arguments": {}}
nl_stats_read_fileRead one sheet of a Newfoundland and Labrador Statistics Agency Excel file.

Utilisation : getting the numbers in a table found with nl_stats_list_files: monthly labour force and CPI series, quarterly population and migration, GDP by industry, trade by partner. Reads both .xlsx and legacy .xls. Without sheet, a workbook whose sheets are named after months (the "Current Month" labour files: Jan2026, Feb2026, ...) returns the newest month's sheet, any other workbook its first sheet; sheet_chosen_by and provenance.limits say which, and every sheet name with its row and column counts is in the result. The agency's layouts are kept as published: a title row can precede the header, and years or months can run across columns, so header_row is a guess (the first row with three filled cells) that you can override with a 1-based row number; header_rows (1 to 5) joins that many rows per column for a header split over rows (e.g. "Employment" above "Total", "Full-Time", "Part-Time", then a units row). Every value is text. contains keeps rows with that text in any cell (case-insensitive), e.g. a year or an industry.

Mots-clés en anglais
Newfoundland and Labrador, Excel, sheet, table, monthly, quarterly, population, labour force, CPI, GDP, trade, xlsx, xls, series
Mots-clés en français
Terre-Neuve-et-Labrador, fichier Excel, feuille de calcul, lire un tableau, série mensuelle, série trimestrielle, population, migration, population active, chômage, IPC, PIB par industrie, commerce par partenaire
Paramètres de nl_stats_read_file
ParamètreTypeDéfaut
urlstrobligatoire
sheetstr | nullnull
containsstr | nullnull
header_rowint | nullnull
header_rowsint1
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "nl_stats_read_file", "arguments": {"url": "…"}}

Provincial · Yukon

Bureau de la statistique du Yukon

yukon_stats_

Tableaux du Bureau de la statistique du Yukon sur open.yukon.ca, outils préfixés yukon_stats_ : une centaine de tableaux CSV dans dix jeux de données (estimations de la population par âge et sexe, âge médian, statistiques de l'état civil, loyers et taux d'inoccupation…

Description complète

Tableaux du Bureau de la statistique du Yukon sur open.yukon.ca, outils préfixés yukon_stats_ : une centaine de tableaux CSV dans dix jeux de données (estimations de la population par âge et sexe, âge médian, statistiques de l'état civil, loyers et taux d'inoccupation, permis de bâtir (permis de construire), prix des carburants et du combustible de chauffage, indice spatial des prix par collectivité, immobilier de Whitehorse, mouvements d'aéronefs, entreprises et travailleurs, prestations d'assurance-emploi, criminalité, effectifs scolaires et profils du recensement de 2011, 2016 et 2021 par collectivité), listés à partir du portail et lus ligne par ligne avec filtres sur valeurs exactes et choix de colonnes. Licence du gouvernement ouvert – Yukon. Les lectures sont espacées de 10 secondes.

2 outils

yukon_stats_list_tablesList the CSV tables of the Yukon Bureau of Statistics (about 100, incl. three Census profiles).

Utilisation : finding a Yukon statistics table (population estimates by age and sex, median age, vital statistics, rent and vacancy rates, building permits, fuel prices, community spatial price index, Whitehorse real estate, aircraft movements, businesses and workers, employment insurance benefits, crime, school enrolment, 2011/2016/2021 Census profile tables) and its URL for yukon_stats_query_table. query keeps tables whose title or dataset contains every word; dataset matches a dataset name or title (e.g. economic-statistics, demographic-statistics, census-2021).

Mots-clés en anglais
Yukon, Bureau of Statistics, Whitehorse, population, rent, vacancy, building permits, fuel prices, census, community, territory, CSV
Mots-clés en français
Yukon, Bureau de la statistique du Yukon, Whitehorse, estimations de la population, âge médian, loyer médian, taux d'inoccupation, permis de bâtir, permis de construire, prix de l'essence, prix des carburants, indice spatial des prix, immobilier, assurance-emploi, criminalité, effectifs scolaires, profil du recensement, collectivité, territoire, tableaux CSV
Paramètres de yukon_stats_list_tables
ParamètreTypeDéfaut
querystr | nullnull
datasetstr | nullnull
limitint50
lang"en" | "fr""en"
call_tool {"name": "yukon_stats_list_tables", "arguments": {}}
yukon_stats_query_tableRead rows of a Yukon Bureau of Statistics CSV table, filtered and with chosen columns.

Utilisation : getting Yukon figures such as monthly population by age and sex, median rent and vacancy by community, building permit values, fuel prices by community, or a Census 2021 profile table. url must be a table URL exactly as yukon_stats_list_tables gives it (other URLs are refused, since the portal would serve a table by its resource id under any file name). filters are exact, case-insensitive matches on column values (for example {"region": "Whitehorse", "year": "2025"}); columns picks and orders the columns. Rows are text. The long 'footnotes' column is dropped and other cells are cut at 300 characters. The first read of a large file can take a while (the portal asks for a 10 second pause between requests); later reads use the cache. Open Government Licence - Yukon.

Mots-clés en anglais
Yukon, Bureau of Statistics, rows, filter, population, rent, vacancy, permits, prices, census, Whitehorse, community, monthly
Mots-clés en français
Yukon, Bureau de la statistique du Yukon, lire un tableau, lignes, filtrer, population par âge et sexe, loyer médian, taux d'inoccupation, valeur des permis de bâtir, prix des carburants, profil du recensement 2021, Whitehorse, collectivité, données mensuelles
Paramètres de yukon_stats_query_table
ParamètreTypeDéfaut
urlstrobligatoire
filtersdict[str, str] | nullnull
columnslist[str] | nullnull
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "yukon_stats_query_table", "arguments": {"url": "…"}}

Provincial · Québec

Institut de la statistique du Québec

isq_

Institut de la statistique du Québec (statistique.quebec.ca, outils préfixés isq_) : recherche parmi environ 7 000 tableaux détaillés et lecture d'un tableau.

Description complète

Institut de la statistique du Québec (statistique.quebec.ca, outils préfixés isq_) : recherche parmi environ 7 000 tableaux détaillés et lecture d'un tableau. La plupart sont des données propres à l'ISQ : enquêtes de santé québécoises (jeunes du secondaire, expérience de soins), Observatoire de la culture et des communications (cinéma, arts de la scène, livre, musique), statistiques du CALQ, enquêtes sur l'investissement et la R-D, revenu et population par MRC et municipalité, et compilations de données de Statistique Canada pour le Québec. Les signes conventionnels de l'ISQ (r, p, x, F) accompagnent les valeurs.

2 outils

isq_get_tableRead one Institut de la statistique du Québec table: metadata and data.

Utilisation : getting the values of a table found with isq_search_tables. table is the page slug, the ISQ table number, or the page URL; lang picks which language's page a slug belongs to (French by default, since every table has a French page). Dynamic tables return rows, one dict per row keyed by column label (header levels joined with ' / ', e.g. '2025' or 'Moins de 1 verre / (%)'), numbers parsed from French format, and flags with ISQ's signs per value (r revised, p provisional, x confidential, F unreliable; see flag_legend), plus the table's notes and sources. When a table states each row's unit, it is the 'Unité' column (e.g. '$/hab' or 'M$'). Static tables return cells as published and an Excel link. Page through long tables with offset and max_rows. ISQ's data engine is French only: with lang 'en' the title follows the English page, but labels, units and notes stay French.

Mots-clés en anglais
Quebec table data, ISQ values, time series, regional statistics, survey estimates, confidence interval, MRC data, Quebec statistics
Mots-clés en français
données du tableau, ISQ, valeurs, série chronologique, statistiques régionales, estimations d'enquête, intervalle de confiance, MRC
Paramètres de isq_get_table
ParamètreTypeDéfaut
tablestrobligatoire
offsetint0
max_rowsint200
lang"en" | "fr""fr"
call_tool {"name": "isq_get_table", "arguments": {"table": "…"}}
isq_search_tablesSearch the Institut de la statistique du Québec's detailed tables.

Utilisation : finding Québec statistics ISQ publishes and StatCan does not: regional and MRC or municipal data (population, disposable income), Québec health surveys (youth in secondary school, care experience), culture and communications (cinema attendance, performing arts, books, music, visual arts), arts council grants, investment and R&D surveys, agriculture, and ISQ tabulations of StatCan data for Québec. Matches every word of query (French or English, accents optional) against about 7,000 table page names. lang 'fr' or 'en' keeps one language's pages (many tables are French only); with 'all', a slug that has both a French and an English page is one hit (languages lists both). Pass a result's table to isq_get_table.

Mots-clés en anglais
Quebec statistics, ISQ, regional data, MRC, administrative region, health survey, culture statistics, cinema, disposable income, Québec tables
Mots-clés en français
statistiques du Québec, ISQ, Institut de la statistique du Québec, données régionales, MRC, région administrative, enquête de santé, statistiques de la culture, cinéma, revenu disponible, taux de chômage, tableaux statistiques
Paramètres de isq_search_tables
ParamètreTypeDéfaut
querystrobligatoire
lang"en" | "fr" | "all""all"
limitint25
call_tool {"name": "isq_search_tables", "arguments": {"query": "…"}}

Provincial · Colombie-Britannique

Tableaux Excel de BC Stats

bc_stats_

Tableaux Excel de BC Stats (outils préfixés bc_stats_) : les classeurs de l'agence provinciale de statistique que le catalogue de données de la Colombie-Britannique (catalogue.data.gov.bc.ca) publie en .xlsx…

Description complète

Tableaux Excel de BC Stats (outils préfixés bc_stats_) : les classeurs de l'agence provinciale de statistique que le catalogue de données de la Colombie-Britannique (catalogue.data.gov.bc.ca) publie en .xlsx, le plus souvent sans lignes DataStore : tableaux mensuels de l'Enquête sur la population active, PIB par industrie et comptes économiques de la C.-B., indicateurs touristiques mensuels et annuels, estimations et projections de population, indice des prix à la consommation, faillites, nombre d'entreprises, exportations de produits de base, mises en chantier, permis de bâtir (permis de construire). Les fichiers sont listés à partir de l'organisation BC Stats du catalogue avec les titres de l'agence, la licence et la fréquence de mise à jour, puis lus feuille par feuille (ligne d'en-tête devinée, filtre de texte facultatif, pagination). Les feuilles gardent la mise en page de l'agence. Voir ckan_ avec portal=bc pour le reste du catalogue.

2 outils

bc_stats_list_filesList the Excel (.xlsx) tables BC Stats publishes on the BC data catalogue.

Utilisation : finding a British Columbia statistics workbook that has no queryable DataStore rows (monthly Labour Force Survey data tables, GDP by industry, BC Economic Accounts, monthly and annual tourism indicators, population estimates and projections, consumer price index, bankruptcies, business counts, international commodity exports, housing starts, building permits) and its file URL for bc_stats_read_file. Each file carries the agency's own title, its licence, update cycle, size, and the formats the dataset also has. query keeps files whose title or dataset title contains every word; dataset keeps one catalogue dataset by name or title. Use ckan_ tools with portal=bc for CSV resources and the rest of the catalogue.

Mots-clés en anglais
BC Stats, British Columbia, Excel, xlsx, Labour Force Survey, GDP by industry, tourism indicators, population projections, CPI, bankruptcies, provincial statistics, data catalogue
Mots-clés en français
BC Stats, Colombie-Britannique, Excel, xlsx, Enquête sur la population active, PIB par industrie, comptes économiques, indicateurs touristiques, estimations de population, projections de population, IPC, faillites, nombre d'entreprises, exportations, mises en chantier, permis de bâtir, permis de construire, statistiques provinciales, catalogue de données, données ouvertes
Paramètres de bc_stats_list_files
ParamètreTypeDéfaut
querystr | nullnull
datasetstr | nullnull
limitint100
offsetint0
lang"en" | "fr""en"
call_tool {"name": "bc_stats_list_files", "arguments": {}}
bc_stats_read_fileRead one sheet of a BC Stats Excel file listed by bc_stats_list_files.

Utilisation : getting the numbers in a BC Stats workbook: monthly labour force characteristics (employment, unemployment rate, by age, industry, CMA), GDP by industry in current and chained dollars, tourism indicators, BC population estimates and projections to 2046, CPI by category, bankruptcies by CMA. Without sheet, the first sheet that is not a notes page ('READ ME', 'Notes', 'Contents') is returned and provenance.limits names it (every sheet name with its row and column counts is in the result). Layouts are kept as published: title rows can precede the table, headers can span several rows and years can run across columns, so header_row is a guess (the first row with three filled cells) that you can override with a 1-based row number; every value is text. contains keeps rows with that text in any cell (case-insensitive), e.g. a year or an industry; use offset and limit to page. The result carries the file's licence; attribute BC Stats.

Mots-clés en anglais
BC Stats, British Columbia, Excel, sheet, xlsx, Labour Force Survey, unemployment rate, GDP by industry, tourism, population projections, CPI, monthly, annual, table
Mots-clés en français
BC Stats, Colombie-Britannique, Excel, feuille de calcul, xlsx, Enquête sur la population active, taux de chômage, emploi, PIB par industrie, dollars enchaînés, tourisme, estimations de population, projections de population, IPC, faillites, mises en chantier, permis de bâtir, mensuel, annuel, tableau
Paramètres de bc_stats_read_file
ParamètreTypeDéfaut
urlstrobligatoire
sheetstr | nullnull
containsstr | nullnull
header_rowint | nullnull
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "bc_stats_read_file", "arguments": {"url": "…"}}

Municipal · Ontario

Données ouvertes de la Ville de Toronto

toronto_

Données ouvertes de la Ville de Toronto (open.toronto.ca), outils ciblés sur les tableaux DataStore du portail, en lignes ordonnées avec la citation du jeu de données et la Licence du gouvernement ouvert – Toronto : la mairesse et les 25 conseillers…

Description complète

Données ouvertes de la Ville de Toronto (open.toronto.ca), outils ciblés sur les tableaux DataStore du portail, en lignes ordonnées avec la citation du jeu de données et la Licence du gouvernement ouvert – Toronto : la mairesse et les 25 conseillers, les quartiers qui chevauchent chaque quartier électoral, le conseiller, les notes RentSafeTO et la part de locataires des quartiers d'un quartier électoral en un appel, un indicateur des profils pour les 140 quartiers, profils des 140 quartiers (recensements de 2016, 2011, 2006 et 2001 ; plus de 2 000 indicateurs), notes d'évaluation des immeubles d'appartements RentSafeTO par immeuble, quartier électoral ou type de propriété, inscriptions de locations à court terme comptées par quartier électoral, type de propriété ou RTA, et inspections DineSafe des restaurants. Contenu en anglais seulement. Voir ckan_ avec portal='toronto' pour le reste du catalogue ; les fichiers (profils 2021, demandes 311, GTFS de la TTC) ne sont pas lus.

9 outils

toronto_compare_neighbourhoodsCompare one Neighbourhood Profiles indicator across the City's 140 neighbourhoods.

Utilisation : ranking or listing the neighbourhoods on one row of the City's Neighbourhood Profiles (2016, 2011, 2006, 2001): renter households (as a fraction of all households), population, a language or age group, with the city value. characteristic is the row's exact label ("Renter", "Population, 2016"); topic ("Household characteristics") or row_id settles a label used twice. divide_by_parent divides by the row it sits under: "Renter" with it gives renters / private households by tenure (2016: "Renter"; 2006: "Rented"). toronto_get_neighbourhood_profile lists the labels. English only.

Mots-clés en anglais
compare neighbourhoods, rank neighbourhoods, renters, tenure, neighbourhood ranking, Neighbourhood Profiles, 140 neighbourhoods, census indicator
Mots-clés en français
comparer les quartiers, classement des quartiers, part de locataires, mode d'occupation, profils de quartier, 140 quartiers, indicateur du recensement, profils
Paramètres de toronto_compare_neighbourhoods
ParamètreTypeDéfaut
characteristicstrobligatoire
census_year2016 | 2011 | 2006 | 20012016
topicstr | nullnull
row_idint | nullnull
divide_by_parentboolfalse
sort"value_desc" | "value_asc" | "name" | "number""value_desc"
limitint140
offsetint0
lang"en" | "fr""en"
call_tool {"name": "toronto_compare_neighbourhoods", "arguments": {"characteristic": "…"}}
toronto_get_apartment_evaluationsList RentSafeTO apartment building evaluation scores, by ward or address.

Utilisation : which apartment buildings score lowest (or highest) on RentSafeTO, the City of Toronto's bylaw evaluation of rental buildings with 3+ storeys or 10+ units; one building's score and evaluation date by address ("263 PHARMACY AVE"); every evaluated building in a ward (ward number "5" or name "York South-Weston"). Each row: registration number (RSN), address, ward, private / TCHC / social housing, year built, storeys, units, evaluation date, score out of 100 with its proactive and reactive parts, coordinates. latest_only (default) keeps each building's most recent evaluation; false lists every evaluation since 2023. Worst score first by default. English only.

Mots-clés en anglais
RentSafeTO, apartment building evaluation, building score, apartment standards, landlord, tenant, ward, TCHC
Mots-clés en français
RentSafeTO, évaluation des immeubles d'appartements, note d'immeuble, normes des immeubles, propriétaire, locataires, quartier électoral, TCHC
Paramètres de toronto_get_apartment_evaluations
ParamètreTypeDéfaut
wardstr | nullnull
addressstr | nullnull
latest_onlybooltrue
sort"score_asc" | "score_desc" | "date_desc" | "address""score_asc"
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "toronto_get_apartment_evaluations", "arguments": {}}
toronto_get_councillorsList Toronto's mayor and city councillors, or the councillor for one ward.

Utilisation : who is the city councillor for a Toronto ward (number "10", "Ward 10" or name "Spadina-Fort York"), or the whole council (the mayor and the 25 ward councillors), with each member's City Hall office email, phone, address and toronto.ca page, from the City's Elected Officials' Contact Information for the 2022-2026 term. For a postal code's councillor, MP and MPP use represent_lookup_postcode. English only.

Mots-clés en anglais
city councillor, ward councillor, city council, mayor, council members, elected officials, ward, contact
Mots-clés en français
conseiller municipal, conseillère, conseil municipal, maire, membres du conseil, élus municipaux, quartier électoral, coordonnées
Paramètres de toronto_get_councillors
ParamètreTypeDéfaut
wardstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "toronto_get_councillors", "arguments": {}}
toronto_get_neighbourhood_profileGet one neighbourhood's indicators from the City of Toronto's Neighbourhood Profiles.

Utilisation : a named neighbourhood of the City's 140 ("Annex", "Regent Park", "Thorncliffe Park") or its number ("95"): population, age, renters and owners, income, languages, education and commuting, beside the city total, as the City compiled them from the 2016, 2011, 2006 or 2001 census (2,383 indicators in 2016). topic keeps topics whose name contains it ("Household characteristics"; the response lists every topic), characteristic keeps labels containing it ("Renter"). Rows: label, level in the hierarchy, value as published and as a number, city value, census product. The 2021 profiles (158 neighbourhoods) are an Excel file and are not read; for a municipality, CMA or census tract use statcan_census_profile_get_data. English only.

Mots-clés en anglais
neighbourhood profile, neighbourhood, neighbourhoods, 140 neighbourhoods, Neighbourhood Profiles, neighbourhood indicators, Annex, Regent Park, open.toronto.ca
Mots-clés en français
profil de quartier, quartier, quartiers, 140 quartiers, profils de quartier, indicateurs de quartier, Regent Park, open.toronto.ca
Paramètres de toronto_get_neighbourhood_profile
ParamètreTypeDéfaut
neighbourhoodstrobligatoire
topicstr | nullnull
characteristicstr | nullnull
census_year2016 | 2011 | 2006 | 20012016
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "toronto_get_neighbourhood_profile", "arguments": {"neighbourhood": "…"}}
toronto_get_ward_neighbourhoodsList the neighbourhoods that overlap a Toronto city ward, and by how much.

Utilisation : linking a ward (number or name) to the City's neighbourhoods, since the two do not nest: each neighbourhood that overlaps the ward, its fraction of the ward's area and the fraction of the neighbourhood inside the ward (1.0 = wholly inside), measured on the City Wards and Neighbourhoods boundaries. neighbourhood_model 140 matches the 2001-2016 Neighbourhood Profiles (toronto_get_neighbourhood_profile), 158 the 2021 model. Slivers below min_overlap of the ward are left out. Areas, not population. English only.

Mots-clés en anglais
ward neighbourhoods, ward boundary, neighbourhood boundary, overlap, which neighbourhoods are in ward, 25 wards, 140 neighbourhoods, 158 neighbourhoods
Mots-clés en français
quartiers d'un quartier électoral, limites des quartiers électoraux, limites des quartiers, chevauchement, 25 quartiers électoraux, 140 quartiers, 158 quartiers, correspondance
Paramètres de toronto_get_ward_neighbourhoods
ParamètreTypeDéfaut
wardstrobligatoire
neighbourhood_model140 | 158140
min_overlapfloat0.01
lang"en" | "fr""en"
call_tool {"name": "toronto_get_ward_neighbourhoods", "arguments": {"ward": "…"}}
toronto_get_ward_profileProfile a Toronto ward: its councillor, RentSafeTO scores and its neighbourhoods' renters.

Utilisation : one question across the City's tables about a ward (number "10" or name "Spadina-Fort York"): who its councillor is, how its apartment buildings score on RentSafeTO (buildings, mean, median, lowest, beside the city, and the lowest-scoring buildings), and, for each of the 140 neighbourhoods overlapping the ward, the part inside the ward, the ward's evaluated buildings there with their mean score, and the neighbourhood's 2016 renter share. Every table is cited in sources; caveats says why wards and neighbourhoods, and 2016 tenure and 2023+ scores, do not line up. English only.

Mots-clés en anglais
ward profile, councillor and RentSafeTO, renters, apartment buildings in ward, ward summary, tenants, ward councillor, neighbourhoods in ward
Mots-clés en français
profil du quartier électoral, conseiller et RentSafeTO, part de locataires, immeubles d'appartements, résumé du quartier électoral, locataires, quartiers, conseil
Paramètres de toronto_get_ward_profile
ParamètreTypeDéfaut
wardstrobligatoire
lowestint5
min_overlapfloat0.01
lang"en" | "fr""en"
call_tool {"name": "toronto_get_ward_profile", "arguments": {"ward": "…"}}
toronto_search_dinesafeSearch DineSafe restaurant and food premises inspections (Toronto), newest first.

Utilisation : a restaurant's inspection history by name words ("pizza", "tim hortons") or address words ("Queen St W"); recent closures (status "Closed") or conditional passes. One row per infraction: date, Pass / Conditional Pass / Closed, severity (minor, significant, crucial), infraction and deficiency text, court outcome and fine, coordinates. Toronto Public Health's DineSafe table keeps recent inspections only. English only.

Mots-clés en anglais
DineSafe, restaurant inspection, food safety, public health inspection, closed restaurant, infraction, fine, food premises
Mots-clés en français
DineSafe, inspection des restaurants, salubrité alimentaire, inspection de santé publique, restaurant fermé, infraction, amende, établissement alimentaire
Paramètres de toronto_search_dinesafe
ParamètreTypeDéfaut
establishmentstr | nullnull
addressstr | nullnull
status"Pass" | "Conditional Pass" | "Closed" | nullnull
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "toronto_search_dinesafe", "arguments": {}}
toronto_summarize_apartment_scoresSummarize RentSafeTO apartment building scores by ward or property type.

Utilisation : comparing the City of Toronto's 25 wards (or private, TCHC and social housing buildings) on RentSafeTO evaluation scores: buildings, units, mean, median, 25th percentile, lowest and highest score, plus all buildings together. Each building counts once, at its latest evaluation since 2023; evaluated_since (a year) drops buildings last evaluated earlier. toronto_get_apartment_evaluations lists the buildings behind a group. English only.

Mots-clés en anglais
RentSafeTO, apartment scores by ward, building evaluation summary, apartment building quality, wards, TCHC, average score, landlord
Mots-clés en français
RentSafeTO, notes des immeubles par quartier électoral, résumé des évaluations, qualité des immeubles d'appartements, quartiers électoraux, TCHC, note moyenne, propriétaires
Paramètres de toronto_summarize_apartment_scores
ParamètreTypeDéfaut
group_by"ward" | "property_type""ward"
evaluated_sinceint | nullnull
lang"en" | "fr""en"
call_tool {"name": "toronto_summarize_apartment_scores", "arguments": {}}
toronto_summarize_short_term_rentalsCount registered short-term rentals by ward, property type or postal area (Toronto).

Utilisation : how many short-term rentals (Airbnb-style listings registered with the City of Toronto) there are and where: counts and shares by ward (25 wards), property type (condominium, house, townhouse...) or forward sortation area ("M5A"), from the City's registration table, refreshed daily. A registration is not a booking. Counts only; operators' registration numbers and addresses are not returned. English only.

Mots-clés en anglais
short-term rental, short-term rentals, Airbnb, STR registration, vacation rental, registrations by ward, FSA, listings
Mots-clés en français
location à court terme, locations à court terme, Airbnb, inscription, location de vacances, inscriptions par quartier, RTA, annonces
Paramètres de toronto_summarize_short_term_rentals
ParamètreTypeDéfaut
group_by"ward" | "property_type" | "postal_code""ward"
lang"en" | "fr""en"
call_tool {"name": "toronto_summarize_short_term_rentals", "arguments": {}}

Municipal · Ontario · Québec · Alberta · Colombie-Britannique · Saskatchewan · Manitoba · Nouveau-Brunswick · Nouvelle-Écosse · Île-du-Prince-Édouard · Terre-Neuve-et-Labrador · Yukon · Territoires du Nord-Ouest

Horaires de transport en commun (GTFS statique)

transit_

Horaires GTFS statiques d'organismes de transport en commun canadiens à données ouvertes (STM autobus, OC Transpo, Calgary Transit, VIA Rail, GO Transit, UP Express, 12 réseaux de BC Transit et, au Québec, les trains et autobus d'exo, le RTC, la STL, la STS…

Description complète

Horaires GTFS statiques d'organismes de transport en commun canadiens à données ouvertes (STM autobus, OC Transpo, Calgary Transit, VIA Rail, GO Transit, UP Express, 12 réseaux de BC Transit et, au Québec, les trains et autobus d'exo, le RTC, la STL, la STS, les traversiers de la STQ et cinq réseaux régionaux, plus une centaine d'autres organismes de la Base de données du réseau de transport en commun canadien de Statistique Canada, 2025) : liste des organismes et des flux, recherche de lignes et d'arrêts, passages prévus à un arrêt à une date donnée, et nombre de voyages et fréquence horaire d'une ligne. Lus à la demande dans le zip de l'organisme, par plages HTTP (l'hôte de BC Transit n'offre pas les plages : ses zips sont téléchargés en entier et gardés en mémoire dix minutes) ; rien n'est écrit sur le disque.

7 outils

transit_get_feed_infoOne agency's GTFS feed: publisher, version, the dates the schedule covers, the number of routes and stops, and the size of each file in the zip.

Utilisation : how current is a transit schedule, how many routes and stops an agency has, what a GTFS feed contains.

Mots-clés en anglais
transit, GTFS, feed info, schedule validity, feed version, routes count, stops count, STM, OC Transpo, Calgary Transit, VIA Rail, GO Transit, UP Express, BC Transit, static schedule
Mots-clés en français
le flux GTFS d'une agence, métadonnées du flux, horaire à jour, période couverte par l'horaire, version du flux, combien de lignes d'autobus, combien d'arrêts, contenu du fichier GTFS, STM, OC Transpo, Calgary Transit, VIA Rail, GO Transit, UP Express, BC Transit
Paramètres de transit_get_feed_info
ParamètreTypeDéfaut
agencystrobligatoire
lang"en" | "fr""en"
call_tool {"name": "transit_get_feed_info", "arguments": {"agency": "…"}}
transit_get_route_summaryA route's service on one date: trips run, first and last departure and headsigns per direction, stops served (as stop ids, parent stations and distinct names) and the number of trips and average headway (minutes between buses) by hour of the day.

Utilisation : how frequent is a bus route, hours of service, how many trips a route runs per day, how many stops a line has.

Mots-clés en anglais
transit, route summary, frequency, headway, service hours, trips per day, stops served, GTFS, STM, OC Transpo, Calgary Transit, VIA Rail, GO Transit, UP Express, BC Transit, bus frequency
Mots-clés en français
transport en commun, résumé de ligne, fréquence, intervalle entre passages, heures de service, voyages par jour, arrêts desservis, GTFS, STM, OC Transpo, Calgary Transit, VIA Rail, GO Transit, UP Express, BC Transit
Paramètres de transit_get_route_summary
ParamètreTypeDéfaut
agencystrobligatoire
routestrobligatoire
service_datestr | nullnull
lang"en" | "fr""en"
call_tool {"name": "transit_get_route_summary", "arguments": {"agency": "…", "route": "…"}}
transit_get_stop_departuresScheduled (timetable, not real-time) departures at one stop on a service date: route, headsign, trip and the time, soonest first. A station id includes its child platforms.

Utilisation : when is the next bus at a stop, the timetable of a stop on a date, how often a stop is served, first and last service.

Mots-clés en anglais
transit, schedule, timetable, departures, next bus, stop times, GTFS stop_times, service date, STM, OC Transpo, Calgary Transit, VIA Rail, GO Transit, UP Express, BC Transit, scheduled arrival
Mots-clés en français
transport en commun, horaire, passages prévus, prochain autobus, heures de passage, stop_times GTFS, date de service, STM, OC Transpo, Calgary Transit, VIA Rail, GO Transit, UP Express, BC Transit, heure d'arrivée prévue
Paramètres de transit_get_stop_departures
ParamètreTypeDéfaut
agencystrobligatoire
stopstrobligatoire
service_datestr | nullnull
start_timestr | nullnull
routestr | nullnull
limitint20
lang"en" | "fr""en"
call_tool {"name": "transit_get_stop_departures", "arguments": {"agency": "…", "stop": "…"}}
transit_list_agenciesThe transit agencies whose published static GTFS schedule this server reads (STM Montreal buses, OC Transpo Ottawa, Calgary Transit, VIA Rail, GO Transit, UP Express, twelve BC Transit systems such as Victoria, Kelowna and Kamloops, and in Quebec exo's commuter trains and ten bus sectors, RTC Québec City, STL Laval, STS Sherbrooke, STQ ferries, Trois-Rivières, Rimouski, Rouyn-Noranda and Salaberry-de-Valleyfield), with each feed's URL, licence, required attribution line, update cadence and a live check that the zip answers. STL Laval's own terms bar commercial use without its written permission.

Utilisation : which transit schedules are available, licence and credit line for a transit feed, is the agency's GTFS zip reachable.

Mots-clés en anglais
transit, GTFS, static schedule, STM, OC Transpo, Calgary Transit, VIA Rail, GO Transit, UP Express, BC Transit, exo, RTC, STL, STS, ferries, Quebec, agencies, licence, attribution, bus, timetable data
Mots-clés en français
réseaux de transport en commun disponibles, agences de transport, sociétés de transport, GTFS, horaire statique, STM, OC Transpo, Calgary Transit, VIA Rail, GO Transit, UP Express, BC Transit, exo, RTC, STL, STS, traversiers, licence d'utilisation, mention de la source, flux d'horaires d'autobus
Paramètres de transit_list_agencies
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "transit_list_agencies", "arguments": {}}
transit_list_national_agenciesThe transit agencies in Statistics Canada's Canadian Public Transit Network Database (23-26-0003, a compilation of GTFS feeds from over 100 agencies in every province and territory, version 1.0 released 2025-01-31): name, province, the feed's service window, validator error and warning counts, and the licence page and attribution line Statistics Canada recorded for each.

Utilisation : Canadian transit agencies beyond the live feeds (Toronto among them), small-town and regional transit, which agencies a national transit database covers, transit licence and attribution lookup.

Mots-clés en anglais
transit, public transit, GTFS, national database, Statistics Canada, 23-26-0003, Canadian Public Transit Network Database, agencies, regional transit, small town bus, Toronto, licence, attribution, 2025 snapshot
Mots-clés en français
transport en commun, GTFS, base de données nationale, Statistique Canada, 23-26-0003, Base de données du réseau de transport en commun canadien, organismes, transport régional, autobus, Toronto, licence, attribution, instantané 2025
Paramètres de transit_list_national_agencies
ParamètreTypeDéfaut
querystr | nullnull
provincestr | nullnull
status"available" | "overlaps_live" | "excluded" | nullnull
limitint25
offsetint0
lang"en" | "fr""en"
call_tool {"name": "transit_list_national_agencies", "arguments": {}}
transit_search_routesRoutes of an agency whose id, short name (route number), long name or description contain `query` (accent-insensitive); leave `query` empty to list them all.

Utilisation : find a bus route number or name, list the LRT or subway lines, get the route_id for transit_get_route_summary.

Mots-clés en anglais
transit, route, bus route, line number, LRT, subway, streetcar, GTFS routes, STM, OC Transpo, Calgary Transit, VIA Rail, GO Transit, UP Express, BC Transit
Mots-clés en français
transport en commun, ligne, ligne d'autobus, numéro de ligne, train léger, métro, tramway, lignes GTFS, STM, OC Transpo, Calgary Transit, VIA Rail, GO Transit, UP Express, BC Transit
Paramètres de transit_search_routes
ParamètreTypeDéfaut
agencystrobligatoire
querystr | nullnull
route_typeint | nullnull
limitint20
lang"en" | "fr""en"
call_tool {"name": "transit_search_routes", "arguments": {"agency": "…"}}
transit_search_stopsStops of an agency by name, public stop code or id (accent- insensitive), and/or within radius_m metres of a latitude/longitude, nearest first; at least one of query or a point is required.

Utilisation : find a transit stop or station, stops near an address, accessible stops, the stop number for a departures lookup.

Mots-clés en anglais
transit, stop, bus stop, station, stops near me, nearest stop, coordinates, wheelchair accessible, GTFS stops, STM, OC Transpo, Calgary Transit, VIA Rail, GO Transit, UP Express, BC Transit
Mots-clés en français
transport en commun, arrêt, arrêt d'autobus, station, arrêts à proximité, arrêt le plus proche, coordonnées, accessible en fauteuil roulant, arrêts GTFS, STM, OC Transpo, Calgary Transit, VIA Rail, GO Transit, UP Express, BC Transit
Paramètres de transit_search_stops
ParamètreTypeDéfaut
agencystrobligatoire
querystr | nullnull
near_latitudefloat | nullnull
near_longitudefloat | nullnull
radius_mfloat500.0
limitint20
lang"en" | "fr""en"
call_tool {"name": "transit_search_stops", "arguments": {"agency": "…"}}

Municipal · Colombie-Britannique

BC Transit en temps réel

bc_transit_

Flux GTFS en temps réel de BC Transit pour 12 réseaux (Victoria, Kelowna, Kamloops, Nanaimo, Prince George, Fraser Valley, North Okanagan, Comox Valley, Cowichan Valley, Campbell River, Squamish, Whistler) : positions des autobus en direct avec achalandage…

Description complète

Flux GTFS en temps réel de BC Transit pour 12 réseaux (Victoria, Kelowna, Kamloops, Nanaimo, Prince George, Fraser Valley, North Okanagan, Comox Valley, Cowichan Valley, Campbell River, Squamish, Whistler) : positions des autobus en direct avec achalandage, prévisions de passage aux arrêts avec retards et trajets annulés, et avis de service. Les horaires sont dans transit_* (agence 'bct_<réseau>').

3 outils

bc_transit_get_service_alertsCurrent BC Transit service alerts in one system: detours, stop closures and disruptions, with cause, effect, severity, affected routes and stops, and active periods. The header is often only "DETOUR"; the description has the detail. Alert text is English only.

Utilisation : is my route on detour, closed stops, construction affecting buses in Victoria, Kelowna, Kamloops or Nanaimo.

Mots-clés en anglais
BC Transit, service alerts, detours, stop closures, disruptions, construction, bus, GTFS-RT, Victoria, Kelowna, British Columbia
Mots-clés en français
BC Transit, avis de service, alertes, détours, déviations, fermetures d'arrêts, perturbations, travaux, autobus, Colombie-Britannique
Paramètres de bc_transit_get_service_alerts
ParamètreTypeDéfaut
systemstrobligatoire
route_idstr | nullnull
stop_idstr | nullnull
limitint50
lang"en" | "fr""en"
call_tool {"name": "bc_transit_get_service_alerts", "arguments": {"system": "…"}}
bc_transit_get_stop_predictionsReal-time predicted departure times at BC Transit stops, with delay in seconds (positive = late), soonest first, and cancelled trips flagged (trip_status CANCELED, stop_status SKIPPED: that bus will not come).

Utilisation : next bus at a stop in Victoria, Kelowna or Nanaimo, is my bus late or cancelled, how late a route is running.

Mots-clés en anglais
BC Transit, next bus, arrival times, departures, delays, cancelled trips, real-time, GTFS-RT, trip updates, bus stop, Victoria, Kelowna
Mots-clés en français
BC Transit, prochain autobus, heures de passage, départs, retards, trajets annulés, temps réel, GTFS-RT, arrêt d'autobus, Victoria, Kelowna, Colombie-Britannique
Paramètres de bc_transit_get_stop_predictions
ParamètreTypeDéfaut
systemstrobligatoire
stop_idstr | nullnull
route_idstr | nullnull
include_pastboolfalse
include_cancelledbooltrue
limitint50
lang"en" | "fr""en"
call_tool {"name": "bc_transit_get_stop_predictions", "arguments": {"system": "…"}}
bc_transit_get_vehicle_positionsLive positions of BC Transit buses in one system: latitude/longitude, bearing, speed (km/h), route, trip, the stop each bus is at or approaching, and how full it is (occupancy_status).

Utilisation : where is my bus in Victoria or Kelowna, how many buses are on a route, how crowded a bus is, live transit maps in BC.

Mots-clés en anglais
BC Transit, Victoria, Kelowna, Kamloops, Nanaimo, Whistler, bus, real-time, GTFS-RT, vehicle positions, live location, where is my bus, occupancy, British Columbia transit
Mots-clés en français
BC Transit, Victoria, Kelowna, Nanaimo, autobus, temps réel, GTFS-RT, position des autobus, localisation en direct, où est mon autobus, achalandage, transport en commun, Colombie-Britannique
Paramètres de bc_transit_get_vehicle_positions
ParamètreTypeDéfaut
systemstrobligatoire
route_idstr | nullnull
limitint50
lang"en" | "fr""en"
call_tool {"name": "bc_transit_get_vehicle_positions", "arguments": {"system": "…"}}

Municipal · Alberta

Edmonton Transit Service

ets_

Flux GTFS en temps réel d'Edmonton Transit Service : positions en direct des autobus et du SLR, prévisions d'arrivée/départ par arrêt avec retards, et avis de service (détours, fermetures d'arrêts).

Description complète

Flux GTFS en temps réel d'Edmonton Transit Service : positions en direct des autobus et du SLR, prévisions d'arrivée/départ par arrêt avec retards, et avis de service (détours, fermetures d'arrêts). L'horaire statique est sur data.edmonton.ca via socrata_* (portal='edmonton').

3 outils

ets_get_service_alertsCurrent Edmonton Transit Service alerts: detours, stop closures, and disruptions, with cause, effect, severity, affected routes and stops, and every active period (a planned detour can cover separate days; active_from/active_until span them). Alert text is English only.

Utilisation : is my route on detour, closed stops, construction impacts on Edmonton transit.

Mots-clés en anglais
Edmonton, ETS, service alerts, detours, stop closures, disruptions, construction, transit, bus, LRT, GTFS-RT
Mots-clés en français
Edmonton, ETS, avis de service, alertes de service, détours, déviations, fermetures d'arrêts, perturbations, travaux, transport en commun, autobus, SLR, train léger
Paramètres de ets_get_service_alerts
ParamètreTypeDéfaut
route_idstr | nullnull
stop_idstr | nullnull
limitint50
lang"en" | "fr""en"
call_tool {"name": "ets_get_service_alerts", "arguments": {}}
ets_get_stop_predictionsReal-time predicted arrival/departure times at Edmonton Transit Service stops, with scheduled time and delay in seconds (positive = late), soonest first.

Utilisation : next bus at a stop, how late a route is running, on-time performance snapshots.

Mots-clés en anglais
Edmonton, ETS, next bus, arrival times, departures, delays, on-time performance, real-time, GTFS-RT, trip updates, bus stop, transit
Mots-clés en français
Edmonton, ETS, prochain autobus, heures de passage, heures d'arrivée, départs, retards, ponctualité, temps réel, GTFS-RT, arrêt d'autobus, horaires d'autobus, transport en commun
Paramètres de ets_get_stop_predictions
ParamètreTypeDéfaut
stop_idstr | nullnull
route_idstr | nullnull
include_pastboolfalse
limitint50
lang"en" | "fr""en"
call_tool {"name": "ets_get_stop_predictions", "arguments": {}}
ets_get_vehicle_positionsLive positions of Edmonton Transit Service buses and LRT trains: latitude/longitude, bearing, speed (km/h), route, trip, and the stop each vehicle is at or approaching.

Utilisation : where is my bus, how many buses are running on a route, live transit maps for Edmonton.

Mots-clés en anglais
Edmonton, ETS, transit, bus, LRT, real-time, GTFS-RT, vehicle positions, live location, where is my bus, public transportation
Mots-clés en français
Edmonton, ETS, transport en commun, autobus, train léger, SLR, temps réel, GTFS-RT, position des véhicules, localisation en direct, où est mon autobus, suivi des autobus, transport public
Paramètres de ets_get_vehicle_positions
ParamètreTypeDéfaut
route_idstr | nullnull
limitint50
lang"en" | "fr""en"
call_tool {"name": "ets_get_vehicle_positions", "arguments": {}}

Municipal · Alberta

Service de police d'Edmonton

eps_

Portail de données sur la sécurité communautaire du Service de police d'Edmonton : incidents signalés (violence, biens, désordre, drogues, armes, circulation) par date, catégorie et intersection la plus proche

Description complète

Portail de données sur la sécurité communautaire du Service de police d'Edmonton : incidents signalés (violence, biens, désordre, drogues, armes, circulation) par date, catégorie et intersection la plus proche -- environ 12 mois glissants plus l'année 2023 -- avec listes filtrées, dénombrements groupés et date de dernière mise à jour.

3 outils

eps_get_last_load_dateReturn the date the Edmonton Police Service last refreshed its Community Safety Data Portal occurrence data (EPS's own load record).

Utilisation : checking how current EPS crime data are before analysing it.

Mots-clés en anglais
Edmonton, police, EPS, data freshness, last updated, refresh date, community safety, crime data, load date
Mots-clés en français
Edmonton, Service de police d'Edmonton, police, fraîcheur des données, dernière mise à jour, date de mise à jour, date de chargement, sécurité communautaire, données sur la criminalité
Paramètres de eps_get_last_load_date
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "eps_get_last_load_date", "arguments": {}}
eps_list_occurrencesList individual Edmonton Police Service reported occurrences, newest first: reported date, category, group, type, nearest intersection, and WGS84 longitude/latitude.

Utilisation : crime incidents near a street, recent assaults or break-ins in Edmonton, building a crime map.

Mots-clés en anglais
Edmonton, police, EPS, crime, occurrences, incidents, assault, theft, break and enter, property crime, community safety, crime map, intersection
Mots-clés en français
Edmonton, Service de police d'Edmonton, police, criminalité, crimes, incidents signalés, infractions, voies de fait, vol, introduction par effraction, crimes contre les biens, sécurité communautaire, carte de la criminalité, intersection
Paramètres de eps_list_occurrences
ParamètreTypeDéfaut
dataset"current" | "2023""current"
categorystr | nullnull
groupstr | nullnull
type_groupstr | nullnull
start_datestr | nullnull
end_datestr | nullnull
intersection_containsstr | nullnull
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "eps_list_occurrences", "arguments": {}}
eps_summarize_occurrencesCount Edmonton Police Service reported occurrences grouped by "category", "group", "type", "month", or "intersection", with the same filters as eps_list_occurrences. Counts are computed by the server over every matching row, not a sample.

Utilisation : crime trends by month, most common offence types, crime hotspots by intersection, Edmonton crime statistics.

Mots-clés en anglais
Edmonton, police, EPS, crime statistics, crime trends, monthly crime, offence types, hotspots, counts, community safety, violent crime, property crime
Mots-clés en français
Edmonton, Service de police d'Edmonton, police, statistiques de criminalité, taux de criminalité, tendances de la criminalité, criminalité mensuelle, types d'infractions, points chauds, nombre d'incidents, sécurité communautaire, crimes violents, crimes contre les biens
Paramètres de eps_summarize_occurrences
ParamètreTypeDéfaut
dataset"current" | "2023""current"
group_by"category" | "group" | "type" | "month" | "intersection""category"
categorystr | nullnull
groupstr | nullnull
type_groupstr | nullnull
start_datestr | nullnull
end_datestr | nullnull
intersection_containsstr | nullnull
topint100
lang"en" | "fr""en"
call_tool {"name": "eps_summarize_occurrences", "arguments": {}}

Municipal · Alberta

Ville de Calgary : permis de construire et population des quartiers

calgary_

Données ouvertes de la Ville de Calgary : permis de construire (toutes les demandes depuis 1999, mises à jour chaque jour : listes et dénombrements, logements et coût estimé par quartier, catégorie de permis, type de travaux, statut…

Description complète

Données ouvertes de la Ville de Calgary : permis de construire (toutes les demandes depuis 1999, mises à jour chaque jour : listes et dénombrements, logements et coût estimé par quartier, catégorie de permis, type de travaux, statut, année ou mois) et population et logements occupés par quartier selon le recensement municipal, 1968-2019.

3 outils

calgary_get_community_populationsPopulation, occupied dwellings and persons per dwelling of Calgary's communities from Calgary's own civic census, 1968-2019, newest year first. Calgary held no civic census after 2019.

Utilisation : how a Calgary community's population changed, Calgary civic census history by community.

Mots-clés en anglais
Calgary, civic census, Calgary municipal census, Calgary community population, Calgary neighbourhoods, occupied dwellings, persons per unit, 1968-2019
Mots-clés en français
Calgary, recensement municipal de Calgary, population par quartier, quartiers de Calgary, logements occupés, personnes par logement, historique des quartiers, 1968-2019
Paramètres de calgary_get_community_populations
ParamètreTypeDéfaut
communitystr | nullnull
start_yearint | nullnull
end_yearint | nullnull
by"community" | "total""community"
limitint100
offsetint0
lang"en" | "fr""en"
call_tool {"name": "calgary_get_community_populations", "arguments": {}}
calgary_list_building_permitsList Calgary building permits, newest first by date_field: permit number, status, applied/issued/completed dates, permit class, work class, description, applicant, contractor, dwelling units added, estimated project cost (dollars), floor area, address, community and WGS84 latitude/longitude. Every application since 1999, refreshed daily.

Utilisation : Calgary permits issued on a street or in a Calgary community, who is building where in Calgary.

Mots-clés en anglais
Calgary, Calgary building permits, permit records, permit applications, renovation, demolition, contractor, applicant, address, Calgary community
Mots-clés en français
Calgary, permis de bâtir à Calgary, demandes de permis, dossiers de permis, rénovation, démolition, entrepreneur, demandeur, adresse, quartier de Calgary
Paramètres de calgary_list_building_permits
ParamètreTypeDéfaut
communitystr | nullnull
permit_class_groupstr | nullnull
work_class_groupstr | nullnull
statusstr | nullnull
permit_typestr | nullnull
date_field"issued" | "applied" | "completed""issued"
start_datestr | nullnull
end_datestr | nullnull
address_containsstr | nullnull
min_housing_unitsint | nullnull
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "calgary_list_building_permits", "arguments": {}}
calgary_summarize_building_permitsCount Calgary building permits, with the dwelling units they add and their estimated project cost (dollars), grouped by "community", "permit_class_group", "permit_class" (residential or not), "work_class_group", "permit_type", "status", "year" or "month", with the filters of calgary_list_building_permits. Sums cover every matching permit. Years and months follow date_field, oldest first, the most recent top (1-500) of them; other groupings come largest first. Also shows the exact labels to filter on. Use for: Calgary permits issued per month, dwelling units permitted by Calgary community, Calgary permit values by year. Keywords: Calgary, Calgary building permits, permit counts, permitted units, permit value, estimated cost, monthly permits, permit class, Calgary community. Mots-clés : Calgary, permis de bâtir à Calgary, nombre de permis, logements autorisés, valeur des permis, coût estimé, permis par mois, catégorie de permis, quartier de Calgary.

Utilisation : Calgary permits issued per month, dwelling units permitted by Calgary community, Calgary permit values by year.

Mots-clés en anglais
Calgary, Calgary building permits, permit counts, permitted units, permit value, estimated cost, monthly permits, permit class, Calgary community
Mots-clés en français
Calgary, permis de bâtir à Calgary, nombre de permis, logements autorisés, valeur des permis, coût estimé, permis par mois, catégorie de permis, quartier de Calgary
Paramètres de calgary_summarize_building_permits
ParamètreTypeDéfaut
group_by"community" | "permit_class_group" | "permit_class" | "work_class_group" | "permit_type" | "status" | "year" | "month""community"
communitystr | nullnull
permit_class_groupstr | nullnull
work_class_groupstr | nullnull
statusstr | nullnull
permit_typestr | nullnull
date_field"issued" | "applied" | "completed""issued"
start_datestr | nullnull
end_datestr | nullnull
address_containsstr | nullnull
min_housing_unitsint | nullnull
topint100
lang"en" | "fr""en"
call_tool {"name": "calgary_summarize_building_permits", "arguments": {}}

Municipal · Alberta

Qualité de l'eau d'EPCOR, Edmonton

epcor_get_daily_water_quality

Qualité de l'eau d'EPCOR à Edmonton : mesures quotidiennes de l'eau traitée aux usines E.L.

Description complète

Qualité de l'eau d'EPCOR à Edmonton : mesures quotidiennes de l'eau traitée aux usines E.L. Smith et Rossdale (dureté, pH, température, chlore, alcalinité, conductivité, soude caustique, 7 derniers jours).

1 outil

epcor_get_daily_water_qualityDaily-average treated drinking-water readings for the last 7 days from one of Edmonton's two EPCOR water treatment plants: total hardness, pH, temperature, total chlorine (chloramine) residual, alkalinity, conductivity, and caustic soda dose.

Utilisation : how hard is Edmonton tap water, chlorine levels, recent water temperature or pH in Edmonton.

Mots-clés en anglais
Edmonton, EPCOR, drinking water, water quality, hardness, pH, chlorine, chloramine, conductivity, alkalinity, treatment plant, Rossdale, E.L. Smith
Mots-clés en français
Edmonton, EPCOR, eau potable, eau du robinet, qualité de l'eau, dureté de l'eau, pH, chlore résiduel, chloramine, température de l'eau, conductivité, alcalinité, soude caustique, usine de traitement de l'eau, Rossdale, E.L. Smith
Paramètres de epcor_get_daily_water_quality
ParamètreTypeDéfaut
plant"els" | "rossdale""els"
lang"en" | "fr""en"
call_tool {"name": "epcor_get_daily_water_quality", "arguments": {}}

Catalogues de données ouvertes

Catalogues CKAN

ckan_

Catalogues de données ouvertes CKAN : gouvernement du Canada (ouvert.canada.ca), Ontario, Colombie-Britannique, Alberta, Québec, Territoires du Nord-Ouest, Yukon, Montréal, Toronto, Regina et Niagara (régional).

Description complète

Catalogues de données ouvertes CKAN : gouvernement du Canada (ouvert.canada.ca), Ontario, Colombie-Britannique, Alberta, Québec, Territoires du Nord-Ouest, Yukon, Montréal, Toronto, Regina et Niagara (régional). Recherche et détail des jeux de données, organisations, ressources, licences, mots-clés, groupes, requêtes DataStore au niveau des lignes et lecture des fichiers Excel (.xlsx, .xls) et CSV des ressources sans DataStore (environ la moitié des jeux de données tabulaires des portails fédéral, ontarien et britanno-colombien ; pas Toronto, dont le robots.txt interdit le téléchargement automatisé des fichiers) : feuilles, ligne d'en-tête devinée, filtres et pagination, avec la licence, la source et un avertissement quand la licence n'est pas ouverte. Les portails sont choisis au moyen d'une clé portal.

13 outils

ckan_describe_resourceList the sheets and columns of the Excel or CSV file behind a CKAN resource.

Utilisation : looking inside a file-only dataset before reading it, on federal (open.canada.ca), Ontario, BC, Québec, Montréal, NWT, Yukon, Regina and Alberta portals (not Toronto: its robots.txt disallows automated file downloads). Most of their tabular datasets have no DataStore (datastore_active false), so the file is the only route to the numbers: ECCC wastewater indicators, CRA tax statistics and benefits by FSA, DFO salmon escapement, ESDC temporary foreign workers, ISED insolvency, Finance budget tables, Ontario tourism, education and agriculture workbooks, BC treasury and local-government finance, NWT traffic counts. resource_id comes from ckan_get_dataset; no URL is accepted, the file link is taken from the portal's own record and only the portal's known data hosts are downloaded. Returns every sheet with declared rows and columns, the guessed header row, other rows that look like headers (header_row_candidates), the column names and a short preview, plus the licence (a plain warning when it is not an open licence), organization, landing page, last-modified date and source URL. Reads .xlsx, legacy .xls and CSV/TSV (UTF-8 or Windows-1252, delimiter detected); the real format is sniffed from the bytes because labels are often wrong. Files over 40 MB are refused. Cached 2 hours; API calls are paced per portal.

Mots-clés en anglais
CKAN, resource file, Excel, xlsx, xls, CSV, sheets, columns, header row, file-only dataset, open.canada.ca, Ontario, BC, licence
Mots-clés en français
CKAN, ressource, fichier Excel, classeur, xlsx, xls, CSV, feuilles, onglets, colonnes, ligne d'en-tête, aperçu du fichier, jeu de données sans DataStore, ouvert.canada.ca, Ontario, Colombie-Britannique, licence
Paramètres de ckan_describe_resource
ParamètreTypeDéfaut
portal"federal" | "on" | "bc" | "ab" | "qc" | "nt" | "yt" | "montreal" | "toronto" | "regina" | "niagara"obligatoire
resource_idstrobligatoire
sheetstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "ckan_describe_resource", "arguments": {"portal": "…", "resource_id": "…"}}
ckan_get_datasetGet one CKAN dataset's full metadata (publisher, licence, update frequency, dates) and every downloadable resource.

Utilisation : resource URLs/formats, license, keywords/tags, publisher, update dates, and portal-specific metadata (in extras: update frequency where the portal states it; on Toronto the owner division (owner_division) and last refresh; on the federal portal also publication and modification dates, time-period coverage and subject) for a dataset found with ckan_search_datasets. dataset_id is the id or name (slug). Check each resource's datastore_active before querying rows with ckan_datastore_search.

Mots-clés en anglais
CKAN, dataset detail, package_show, resources, download, metadata, license, update frequency, coverage period, open data
Mots-clés en français
CKAN, détail du jeu de données, fiche du jeu de données, ressources, liens de téléchargement, télécharger les données, métadonnées, licence, éditeur, date de mise à jour, fréquence de mise à jour, période couverte, données ouvertes
Paramètres de ckan_get_dataset
ParamètreTypeDéfaut
portal"federal" | "on" | "bc" | "ab" | "qc" | "nt" | "yt" | "montreal" | "toronto" | "regina" | "niagara"obligatoire
dataset_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "ckan_get_dataset", "arguments": {"portal": "…", "dataset_id": "…"}}
ckan_get_dataset_documentsExplain a CKAN dataset: what it measures, its limits, and what each column means.

Utilisation : "how is this measured?", "what does this column mean?", "what are the caveats?" about a city, provincial or federal open dataset, before quoting a figure from it (the City of Toronto's Dashboard Key Indicators, Neighbourhood Profiles, RentSafeTO). Returns the dataset's description and documentation fields (limitations, collection method, refresh rate, owner, information page) and, for each DataStore resource, every field with the publisher's own note on it (Toronto's Dashboard explains data_source_notes, desired_direction and target there). query keeps the fields whose name or note holds every word. Also lists the pages and files that document the dataset (its information page, links in the description, readme and methodology files) with their URLs, without opening them: some publishers' terms or robots.txt rule out automated copies, the City of Toronto's among them. dataset_id is the id or name from ckan_search_datasets.

Mots-clés en anglais
CKAN, dataset documentation, data dictionary, field definitions, column meaning, methodology, limitations, caveats, readme, how is it measured, Toronto open data, metadata
Mots-clés en français
CKAN, documentation du jeu de données, dictionnaire de données, définition des champs, signification des colonnes, méthodologie, limites, mises en garde, fichier lisezmoi, données ouvertes de Toronto, métadonnées
Paramètres de ckan_get_dataset_documents
ParamètreTypeDéfaut
portal"federal" | "on" | "bc" | "ab" | "qc" | "nt" | "yt" | "montreal" | "toronto" | "regina" | "niagara"obligatoire
dataset_idstrobligatoire
querystr""
lang"en" | "fr""en"
call_tool {"name": "ckan_get_dataset_documents", "arguments": {"portal": "…", "dataset_id": "…"}}
ckan_get_organization_or_groupGet one CKAN publishing organization or thematic group: description and dataset count.

Utilisation : confirming a department's or agency's identity (kind="organization", e.g. "statcan", "nrcan-rncan" on the federal portal) before filtering ckan_search_datasets with fq="organization:<name>", or checking what a group from ckan_list_groups covers (kind="group") before filtering with fq="groups:<name>". collection_id is the id or short name. Groups are not available on federal, Alberta, or Toronto.

Mots-clés en anglais
CKAN, organization detail, department, agency, publisher, ministry, group detail, theme, topic, category, open data, catalogue, subject area, dataset count
Mots-clés en français
CKAN, détail de l'organisation, ministère, organisme, éditeur, ministères et organismes, détail du groupe, thème, sujet, catégorie, données ouvertes, catalogue, domaine, nombre de jeux de données
Paramètres de ckan_get_organization_or_group
ParamètreTypeDéfaut
portal"federal" | "on" | "bc" | "ab" | "qc" | "nt" | "yt" | "montreal" | "toronto" | "regina" | "niagara"obligatoire
kind"organization" | "group"obligatoire
collection_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "ckan_get_organization_or_group", "arguments": {"portal": "…", "kind": "…", "collection_id": "…"}}
ckan_get_resourceGet one CKAN resource (a single file or API endpoint within a dataset).

Utilisation : a resource's download URL, format, size, dates, and whether it has a queryable DataStore table (datastore_active).

Mots-clés en anglais
CKAN, resource, file, download URL, format, datastore, data file, CSV
Mots-clés en français
CKAN, ressource, fichier de données, lien de téléchargement, URL du fichier, format du fichier, taille du fichier, CSV, DataStore, magasin de données
Paramètres de ckan_get_resource
ParamètreTypeDéfaut
portal"federal" | "on" | "bc" | "ab" | "qc" | "nt" | "yt" | "montreal" | "toronto" | "regina" | "niagara"obligatoire
resource_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "ckan_get_resource", "arguments": {"portal": "…", "resource_id": "…"}}
ckan_list_groupsList one CKAN portal's curated thematic groups (topics such as health, transport).

Utilisation : browsing a catalogue by theme, then filtering searches with fq="groups:<name>". Not available on federal, Alberta, or Toronto, which do not use CKAN groups.

Mots-clés en anglais
CKAN, groups, themes, topics, categories, open data, browse, catalogue
Mots-clés en français
CKAN, groupes, groupes thématiques, thèmes, sujets, catégories, santé, transport, parcourir par thème, données ouvertes, catalogue
Paramètres de ckan_list_groups
ParamètreTypeDéfaut
portal"federal" | "on" | "bc" | "ab" | "qc" | "nt" | "yt" | "montreal" | "toronto" | "regina" | "niagara"obligatoire
lang"en" | "fr""en"
call_tool {"name": "ckan_list_groups", "arguments": {"portal": "…"}}
ckan_list_licensesList the licenses one CKAN portal publishes datasets under (e.g. Open Government Licence).

Utilisation : explaining what a dataset's license_id permits.

Mots-clés en anglais
CKAN, license, licence, open government licence, terms of use, open data, reuse, copyright
Mots-clés en français
CKAN, licence, licence du gouvernement ouvert, licence ouverte, conditions d'utilisation, droit d'auteur, réutilisation des données, Creative Commons, données ouvertes
Paramètres de ckan_list_licenses
ParamètreTypeDéfaut
portal"federal" | "on" | "bc" | "ab" | "qc" | "nt" | "yt" | "montreal" | "toronto" | "regina" | "niagara"obligatoire
lang"en" | "fr""en"
call_tool {"name": "ckan_list_licenses", "arguments": {"portal": "…"}}
ckan_list_organizationsList the publishing organizations (departments, agencies, ministries) of one CKAN portal.

Utilisation : browsing publishers before filtering ckan_search_datasets with fq="organization:<name>". Federal lists ~350 departments and agencies; Toronto and Regina each have one city organization.

Mots-clés en anglais
CKAN, organizations, publishers, departments, agencies, ministries, open data, catalogue
Mots-clés en français
CKAN, organisations, éditeurs, ministères, organismes, organismes publics, ministères fédéraux, producteurs de données, liste des éditeurs, données ouvertes, catalogue
Paramètres de ckan_list_organizations
ParamètreTypeDéfaut
portal"federal" | "on" | "bc" | "ab" | "qc" | "nt" | "yt" | "montreal" | "toronto" | "regina" | "niagara"obligatoire
lang"en" | "fr""en"
call_tool {"name": "ckan_list_organizations", "arguments": {"portal": "…"}}
ckan_list_portalsList every CKAN open-data catalogue (federal, provincial, territorial, city) and its key.

Utilisation : finding the portal key every other ckan_ tool needs, and which portals support tags, groups, and row-level DataStore queries. Portals: federal (open.canada.ca), on (Ontario), bc (British Columbia), ab (Alberta), qc (Québec, Données Québec), nt (Northwest Territories), yt (Yukon), montreal, toronto, regina, niagara (Niagara Region and its municipalities).

Mots-clés en anglais
CKAN, list portals, portal key, which catalogues, supported portals, available portals, portal directory, coverage, DataStore support
Mots-clés en français
CKAN, liste des portails, clé de portail, catalogues offerts, portails pris en charge, portails disponibles, répertoire des portails, couverture
Paramètres de ckan_list_portals
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "ckan_list_portals", "arguments": {}}
ckan_list_tagsList or search one CKAN portal's tag vocabulary.

Utilisation : finding the exact tag to filter searches by (fq="tags:<tag>"). Unfiltered lists are capped at 200; pass query for a substring match. The federal portal has no tags (use its keywords via ckan_get_dataset instead).

Mots-clés en anglais
CKAN, tags, keywords, vocabulary, subjects, open data, browse, topics
Mots-clés en français
CKAN, mots-clés, étiquettes, vocabulaire, liste des mots-clés, sujets, thèmes, filtrer par mot-clé, données ouvertes, parcourir
Paramètres de ckan_list_tags
ParamètreTypeDéfaut
portal"federal" | "on" | "bc" | "ab" | "qc" | "nt" | "yt" | "montreal" | "toronto" | "regina" | "niagara"obligatoire
querystr | nullnull
lang"en" | "fr""en"
call_tool {"name": "ckan_list_tags", "arguments": {"portal": "…"}}
ckan_read_resourceRead rows of the Excel or CSV file behind a CKAN resource, from any CKAN portal.

Utilisation : getting the numbers of a file-only dataset (no DataStore) on federal (open.canada.ca), Ontario, BC, Québec, Montréal, NWT, Yukon, Regina or Alberta (not Toronto, whose robots.txt disallows automated file downloads): ECCC wastewater indicators, tax filer statistics and child benefits by FSA, DFO salmon escapement, ESDC temporary foreign worker data, ISED insolvency statistics, Finance budget tables, Ontario tourism, education and farm finance workbooks, BC treasury-board and municipal finance, NWT files. resource_id comes from ckan_get_dataset (no URL is accepted). When the DataStore is active the rows come from it (like ckan_datastore_search) and a 404 falls back to the file; otherwise the file is downloaded and read: .xlsx, legacy .xls, CSV/TSV (UTF-8 or Windows-1252, delimiter detected), format sniffed from the bytes. In a multi-sheet workbook name the sheet; without it the sheet list and sizes come back with no rows, unless one sheet holds 80% of the cells (a notes sheet beside the table), which is then read (use ckan_describe_resource first). header_row (1-based) overrides the guessed header and header_rows (1 to 5) joins several rows into the column names. columns selects columns, filters keeps rows whose column equals the value (case-insensitive), contains keeps rows with that text in any cell, limit (default 50, up to 1000) and offset page the result; values are text as published. Every result carries the licence, organization, landing page, last-modified date, source URL and a citation line, with a plain warning when the licence is not open (BC Access Only, Ontario terms of use, no licence stated). Files over 40 MB are refused.

Mots-clés en anglais
CKAN, read file, Excel, xlsx, xls, CSV, rows, filter, file-only dataset, wastewater, tax statistics, FSA, salmon, insolvency, budget, tourism
Mots-clés en français
CKAN, lire un fichier, fichier Excel, classeur, xlsx, xls, CSV, lignes, filtre, jeu de données sans DataStore, eaux usées, statistiques fiscales, allocation canadienne pour enfants, RTA, saumon, insolvabilité, travailleurs étrangers temporaires, budget, tourisme
Paramètres de ckan_read_resource
ParamètreTypeDéfaut
portal"federal" | "on" | "bc" | "ab" | "qc" | "nt" | "yt" | "montreal" | "toronto" | "regina" | "niagara"obligatoire
resource_idstrobligatoire
sheetstr | nullnull
header_rowint | nullnull
header_rowsint1
filtersdict[str, str] | nullnull
containsstr | nullnull
columnslist[str] | nullnull
limitint50
offsetint0
lang"en" | "fr""en"
call_tool {"name": "ckan_read_resource", "arguments": {"portal": "…", "resource_id": "…"}}
ckan_search_datasetsSearch one Canadian CKAN open-data catalogue for datasets, with each one's publisher and owning division, licence, formats, update frequency and DataStore count.

Utilisation : finding a dataset by topic on open.canada.ca (portal "federal", ~48,000 datasets incl. CRA, OSFI, Health Canada, ESDC, Elections Canada), Ontario, BC, Alberta, Québec, NWT, Yukon, Montréal, Toronto, Regina or Niagara. Empty query matches everything; narrow with Solr fq, e.g. "organization:statcan" or "res_format:CSV". rows ≤ 100; page with start. sort e.g. "metadata_modified desc". lang picks French titles on bilingual portals (federal, on); Québec and Montréal content is French-only. owner_unit names the division or custodian that owns a dataset where the portal states one (Toronto's owner division); datastore_resources counts the resources whose rows ckan_datastore_search can query (0: none).

Mots-clés en anglais
CKAN, open data, dataset search, catalogue, government, federal, provincial, municipal, package_search, discover, browse, building permits, business licences, restaurant inspections, development applications
Mots-clés en français
CKAN, données ouvertes, recherche de jeux de données, trouver un jeu de données, catalogue de données, gouvernement ouvert, ouvert.canada.ca, Données Québec, Ville de Montréal, données ouvertes de l'Ontario, de la Colombie-Britannique, de l'Alberta, du Québec, des Territoires du Nord-Ouest, du Yukon, de Toronto, de Regina, fédéral, provincial, municipal, découvrir, parcourir, filtre, permis d'affaires, inspections des restaurants, demandes d'aménagement
Paramètres de ckan_search_datasets
ParamètreTypeDéfaut
portal"federal" | "on" | "bc" | "ab" | "qc" | "nt" | "yt" | "montreal" | "toronto" | "regina" | "niagara"obligatoire
querystr""
fqstr | nullnull
rowsint10
startint0
sortstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "ckan_search_datasets", "arguments": {"portal": "…"}}

Catalogues de données ouvertes

Portails Socrata

socrata_

Portails de données ouvertes Socrata de la Nouvelle-Écosse, du Nouveau-Brunswick, de Calgary, d'Edmonton et de Winnipeg : recherche et détail des jeux de données, catégories, mots-clés et requêtes SoQL directes sur les lignes.

Description complète

Portails de données ouvertes Socrata de la Nouvelle-Écosse, du Nouveau-Brunswick, de Calgary, d'Edmonton et de Winnipeg : recherche et détail des jeux de données, catégories, mots-clés et requêtes SoQL directes sur les lignes. Appelez socrata_list_portals pour la liste des clés de portail.

6 outils

socrata_get_datasetGet one Socrata dataset's metadata, columns, and download links.

Utilisation : inspecting a dataset found with socrata_search_datasets (same portal) before querying its rows.

Mots-clés en anglais
Socrata, dataset detail, columns, metadata, licence, publisher, download, CSV, views, Nova Scotia, New Brunswick, Calgary, Edmonton, Winnipeg
Mots-clés en français
Socrata, détail du jeu de données, colonnes, métadonnées, licence, éditeur, téléchargement, CSV, vues, Nouvelle-Écosse, Nouveau-Brunswick, Calgary, Edmonton, Winnipeg
Paramètres de socrata_get_dataset
ParamètreTypeDéfaut
portal"ns" | "nb" | "calgary" | "edmonton" | "winnipeg"obligatoire
dataset_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "socrata_get_dataset", "arguments": {"portal": "…", "dataset_id": "…"}}
socrata_list_categoriesList one Socrata portal's dataset categories and how many datasets each has.

Utilisation : discovering topic categories before filtering search.

Mots-clés en anglais
Socrata, categories, domain_category, catalogue, open data, topics, classification, themes
Mots-clés en français
Socrata, catégories, catalogue, données ouvertes, sujets, classification, thèmes, thématiques, catégories de jeux de données
Paramètres de socrata_list_categories
ParamètreTypeDéfaut
portal"ns" | "nb" | "calgary" | "edmonton" | "winnipeg"obligatoire
lang"en" | "fr""en"
call_tool {"name": "socrata_list_categories", "arguments": {"portal": "…"}}
socrata_list_portalsList every Socrata open-data portal and its portal key.

Utilisation : finding the portal key other socrata_ tools need — Nova Scotia (ns), New Brunswick (nb), Calgary, Edmonton, Winnipeg.

Mots-clés en anglais
Socrata, SODA, list portals, portal key, which catalogues, available portals, portal directory, coverage
Mots-clés en français
Socrata, SODA, liste des portails, clé de portail, catalogues offerts, portails disponibles, répertoire des portails, couverture
Paramètres de socrata_list_portals
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "socrata_list_portals", "arguments": {}}
socrata_list_tagsList one Socrata portal's free-text dataset tags and how many datasets each has.

Utilisation : discovering exact tag values for the search tag filter.

Mots-clés en anglais
Socrata, tags, domain_tags, keywords, vocabulary, catalogue, search, discover
Mots-clés en français
Socrata, étiquettes, mots-clés, vocabulaire, catalogue, recherche, terminologie, étiquettes de jeux de données, données ouvertes
Paramètres de socrata_list_tags
ParamètreTypeDéfaut
portal"ns" | "nb" | "calgary" | "edmonton" | "winnipeg"obligatoire
lang"en" | "fr""en"
call_tool {"name": "socrata_list_tags", "arguments": {"portal": "…"}}
socrata_query_dataset_rowsQuery rows from one Socrata dataset with SoQL clauses, including GROUP BY counts and sums.

Utilisation : reading actual data values (not just metadata) from a dataset found with socrata_search_datasets, filtering with a SoQL $where clause, sorting, full-text search within the dataset, or counting and summing by category server-side. group is SoQL's $group and having its $having: with an aggregate in select, list every other selected column in group, e.g. select="permittype, count(*) AS n", group="permittype", where="issueddate between '2025-01-01' and '2025-12-31T23:59:59'", order="n DESC". Column names are the field_name values from socrata_get_dataset.

Mots-clés en anglais
Socrata, SODA, SoQL, rows, query, filter, data, select, where, order, group by, count, sum, aggregate, having, resource API
Mots-clés en français
Socrata, SODA, SoQL, lignes, requête, filtrer, données, sélection, tri, regrouper, compter, somme, agrégation, total par catégorie, recherche dans les données
Paramètres de socrata_query_dataset_rows
ParamètreTypeDéfaut
portal"ns" | "nb" | "calgary" | "edmonton" | "winnipeg"obligatoire
dataset_idstrobligatoire
selectstr | nullnull
wherestr | nullnull
orderstr | nullnull
groupstr | nullnull
havingstr | nullnull
qstr | nullnull
limitint10
offsetint0
lang"en" | "fr""en"
call_tool {"name": "socrata_query_dataset_rows", "arguments": {"portal": "…", "dataset_id": "…"}}
socrata_search_datasetsSearch a Socrata open-data catalogue (Nova Scotia, New Brunswick, Calgary, Edmonton, Winnipeg).

Utilisation : finding datasets by topic, category, tag, or free-text query.

Mots-clés en anglais
Nova Scotia, New Brunswick, Calgary, Edmonton, Winnipeg, open data, Socrata, dataset search, catalogue, government, province, city, category, tags, building permits, business licences, development permits
Mots-clés en français
Nouvelle-Écosse, Nouveau-Brunswick, Calgary, Edmonton, Winnipeg, données ouvertes, Socrata, recherche de jeux de données, catalogue, gouvernement, province, ville, catégorie, étiquettes, permis d'affaires, permis d'aménagement
Paramètres de socrata_search_datasets
ParamètreTypeDéfaut
portal"ns" | "nb" | "calgary" | "edmonton" | "winnipeg"obligatoire
querystr""
categorystr | nullnull
tagstr | nullnull
limitint10
offsetint0
lang"en" | "fr""en"
call_tool {"name": "socrata_search_datasets", "arguments": {"portal": "…"}}

Catalogues de données ouvertes

Portails ArcGIS Hub

arcgis_hub_

Portails de données ouvertes ArcGIS Hub provinciaux et municipaux (Manitoba, Saskatchewan, Î.-P.-É., Ottawa, Halifax, Durham, York, Peel, Metro Vancouver et 76 autres) : recherche et détail des jeux de données, requêtes directes sur les couches FeatureServer/MapServer…

Description complète

Portails de données ouvertes ArcGIS Hub provinciaux et municipaux (Manitoba, Saskatchewan, Î.-P.-É., Ottawa, Halifax, Durham, York, Peel, Metro Vancouver et 76 autres) : recherche et détail des jeux de données, requêtes directes sur les couches FeatureServer/MapServer, et liens de téléchargement CSV/Shapefile/GeoJSON/KML. Appelez arcgis_hub_list_portals pour la liste des clés de portail.

4 outils

arcgis_hub_get_datasetGet one ArcGIS Hub dataset item's metadata, service URL, and download links.

Utilisation : inspecting a dataset found with arcgis_hub_search_datasets (same portal) before querying its rows or downloading it — Ottawa, Halifax, Manitoba, PEI, and every other arcgis_hub portal. Download links depend on the item: export links in the formats the service allows, one stored-file link for a file item, none for an Image Service.

Mots-clés en anglais
ArcGIS Hub, dataset detail, FeatureServer, MapServer, metadata, licence, download, CSV, shapefile, GeoJSON, KML
Mots-clés en français
fiche d'un jeu de données, description d'une couche, métadonnées, URL du service FeatureServer, MapServer, licence d'utilisation, liens de téléchargement, exporter en CSV, shapefile, GeoJSON, KML
Paramètres de arcgis_hub_get_dataset
ParamètreTypeDéfaut
portal"mb" | "sk" | "pe" | "london" | "kitchener" | "windsor" | "saskatoon" | "victoria" | "surrey" | "ottawa" | "halifax" | "mississauga" | "peel" | "durham" | "waterloo_region" | "waterloo" | "metro_vancouver" | "york" | "markham" | "newmarket" | "aurora" | "medicine_hat" | "grande_prairie" | "grande_prairie_county" | "st_albert" | "lethbridge" | "airdrie" | "strathcona_county" | "parkland_county" | "sturgeon_county" | "emrb" | "alberta_geological_survey" | "red_deer" | "cochrane" | "okotoks" | "oakville" | "burlington" | "milton" | "brampton" | "kingston" | "kelowna" | "barrie" | "burnaby" | "fredericton" | "greater_sudbury" | "guelph" | "moncton" | "abbotsford" | "whitby" | "oshawa" | "niagara_falls" | "niagara_region" | "st_catharines" | "thunder_bay" | "peterborough" | "coquitlam" | "saanich" | "kamloops" | "prince_george" | "delta" | "yellowknife" | "cambridge" | "maple_ridge" | "pickering" | "sarnia" | "saint_john" | "port_moody" | "white_rock" | "penticton" | "new_westminster" | "nanaimo" | "orangeville" | "canmore" | "ntgs" | "ntgs_datahub" | "bc_energy_regulator" | "toronto_police" | "ottawa_police" | "conservation_halton" | "credit_valley" | "npca" | "hamilton_conservation" | "cloca" | "quinte_conservation" | "ontario_geohub" | "parks_canada"obligatoire
item_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "arcgis_hub_get_dataset", "arguments": {"portal": "…", "item_id": "…"}}
arcgis_hub_list_portalsList every ArcGIS Hub open-data portal (province, city, region) and its portal key.

Utilisation : finding the portal key the other arcgis_hub_ tools need, and portal-specific caveats. Covers Manitoba (mb), Saskatchewan GeoHub (sk), Prince Edward Island (pe), London, Kitchener, Windsor, Saskatoon, Victoria, Surrey, Ottawa, Halifax, Mississauga, Peel, Durham, Waterloo Region, City of Waterloo, Metro Vancouver, York, Markham, Newmarket, Aurora, Medicine Hat, Grande Prairie, Grande Prairie County, St. Albert, Lethbridge, Airdrie, Strathcona County, Parkland County, Sturgeon County, Edmonton Metropolitan Region Board, Alberta Geological Survey, Red Deer, Cochrane, Okotoks, Oakville, Burlington, Milton, Brampton, Kingston, Kelowna, Barrie, Burnaby, Fredericton, Greater Sudbury, Guelph, Moncton, Abbotsford, Whitby, Oshawa, Niagara Falls, Niagara Region, St. Catharines, Thunder Bay, Peterborough, Coquitlam, Saanich, Kamloops, Prince George, Delta, Yellowknife, Cambridge, Maple Ridge, Pickering, Sarnia, Saint John, Port Moody, White Rock, Penticton, New Westminster, Nanaimo, Orangeville, Canmore, BC Energy Regulator, Toronto Police Service, Ottawa Police Service, Conservation Halton, Credit Valley, Niagara Peninsula, Hamilton and Central Lake Ontario conservation authorities, Quinte Conservation, Ontario GeoHub (Land Information Ontario) and Parks Canada.

Mots-clés en anglais
ArcGIS Hub, list portals, portal key, which catalogues, municipal portals, available portals, portal directory, coverage, GIS
Mots-clés en français
ArcGIS Hub, liste des portails, clé de portail, catalogues offerts, portails municipaux, portails disponibles, répertoire des portails, couverture, SIG
Paramètres de arcgis_hub_list_portals
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "arcgis_hub_list_portals", "arguments": {}}
arcgis_hub_query_feature_layerQuery rows from one ArcGIS Hub dataset's FeatureServer/MapServer layer.

Utilisation : reading actual feature attribute values (not just metadata) from a dataset found with arcgis_hub_search_datasets, filtering with an ArcGIS SQL where clause, sorting, or including geometry. Leave layer_index unset to auto-resolve the item's own layer, or the service's first layer or table id (not always 0).

Mots-clés en anglais
ArcGIS REST, FeatureServer, MapServer, query, rows, attributes, filter, where clause, municipal, geospatial, GIS
Mots-clés en français
ArcGIS REST, FeatureServer, MapServer, requête, lignes, attributs, filtre, clause where, municipal, géospatial, SIG
Paramètres de arcgis_hub_query_feature_layer
ParamètreTypeDéfaut
portal"mb" | "sk" | "pe" | "london" | "kitchener" | "windsor" | "saskatoon" | "victoria" | "surrey" | "ottawa" | "halifax" | "mississauga" | "peel" | "durham" | "waterloo_region" | "waterloo" | "metro_vancouver" | "york" | "markham" | "newmarket" | "aurora" | "medicine_hat" | "grande_prairie" | "grande_prairie_county" | "st_albert" | "lethbridge" | "airdrie" | "strathcona_county" | "parkland_county" | "sturgeon_county" | "emrb" | "alberta_geological_survey" | "red_deer" | "cochrane" | "okotoks" | "oakville" | "burlington" | "milton" | "brampton" | "kingston" | "kelowna" | "barrie" | "burnaby" | "fredericton" | "greater_sudbury" | "guelph" | "moncton" | "abbotsford" | "whitby" | "oshawa" | "niagara_falls" | "niagara_region" | "st_catharines" | "thunder_bay" | "peterborough" | "coquitlam" | "saanich" | "kamloops" | "prince_george" | "delta" | "yellowknife" | "cambridge" | "maple_ridge" | "pickering" | "sarnia" | "saint_john" | "port_moody" | "white_rock" | "penticton" | "new_westminster" | "nanaimo" | "orangeville" | "canmore" | "ntgs" | "ntgs_datahub" | "bc_energy_regulator" | "toronto_police" | "ottawa_police" | "conservation_halton" | "credit_valley" | "npca" | "hamilton_conservation" | "cloca" | "quinte_conservation" | "ontario_geohub" | "parks_canada"obligatoire
item_idstrobligatoire
layer_indexint | nullnull
wherestr | nullnull
out_fieldsstr"*"
order_bystr | nullnull
return_geometryboolfalse
limitint10
offsetint0
lang"en" | "fr""en"
call_tool {"name": "arcgis_hub_query_feature_layer", "arguments": {"portal": "…", "item_id": "…"}}
arcgis_hub_search_datasetsSearch one Canadian ArcGIS Hub open-data catalogue (city, region, or province).

Utilisation : finding datasets by topic, tag, item type, or free-text query (zoning, trails, parks, police shootings, crime, roads, addresses, boundaries) on a city, region, province, police service, conservation authority or federal agency portal: see arcgis_hub_list_portals for the full list (Ottawa, Toronto Police, Parks Canada, Yellowknife, Manitoba, Halifax, Surrey, Burnaby, Kelowna and more). Offset plus limit stops at 10,000.

Mots-clés en anglais
ArcGIS Hub, open data, dataset search, catalogue, municipal, city, region, province, GIS, geospatial, zoning, trails, building permits, development applications, rezoning applications
Mots-clés en français
ArcGIS Hub, données ouvertes, recherche de jeux de données, catalogue, municipal, ville, région, province, SIG, géospatial, zonage, sentiers, demandes d'aménagement, demandes de rezonage
Paramètres de arcgis_hub_search_datasets
ParamètreTypeDéfaut
portal"mb" | "sk" | "pe" | "london" | "kitchener" | "windsor" | "saskatoon" | "victoria" | "surrey" | "ottawa" | "halifax" | "mississauga" | "peel" | "durham" | "waterloo_region" | "waterloo" | "metro_vancouver" | "york" | "markham" | "newmarket" | "aurora" | "medicine_hat" | "grande_prairie" | "grande_prairie_county" | "st_albert" | "lethbridge" | "airdrie" | "strathcona_county" | "parkland_county" | "sturgeon_county" | "emrb" | "alberta_geological_survey" | "red_deer" | "cochrane" | "okotoks" | "oakville" | "burlington" | "milton" | "brampton" | "kingston" | "kelowna" | "barrie" | "burnaby" | "fredericton" | "greater_sudbury" | "guelph" | "moncton" | "abbotsford" | "whitby" | "oshawa" | "niagara_falls" | "niagara_region" | "st_catharines" | "thunder_bay" | "peterborough" | "coquitlam" | "saanich" | "kamloops" | "prince_george" | "delta" | "yellowknife" | "cambridge" | "maple_ridge" | "pickering" | "sarnia" | "saint_john" | "port_moody" | "white_rock" | "penticton" | "new_westminster" | "nanaimo" | "orangeville" | "canmore" | "ntgs" | "ntgs_datahub" | "bc_energy_regulator" | "toronto_police" | "ottawa_police" | "conservation_halton" | "credit_valley" | "npca" | "hamilton_conservation" | "cloca" | "quinte_conservation" | "ontario_geohub" | "parks_canada"obligatoire
querystr""
tagstr | nullnull
item_typestr | nullnull
limitint10
offsetint0
lang"en" | "fr""en"
call_tool {"name": "arcgis_hub_search_datasets", "arguments": {"portal": "…"}}

Catalogues de données ouvertes · Terre-Neuve-et-Labrador

Données ouvertes de Terre-Neuve-et-Labrador

nl_opendata_

Données ouvertes de Terre-Neuve-et-Labrador (opendata.gov.nl.ca) : recherche HTML dans les jeux de données tabulaires et spatiaux, métadonnées, mots-clés thématiques et liens vers les fichiers CSV, XLS, TXT, KMZ et shapefile.

Description complète

Données ouvertes de Terre-Neuve-et-Labrador (opendata.gov.nl.ca) : recherche HTML dans les jeux de données tabulaires et spatiaux, métadonnées, mots-clés thématiques et liens vers les fichiers CSV, XLS, TXT, KMZ et shapefile. Le portail est uniquement en anglais et ne fournit pas d'API JSON de catalogue documentée.

3 outils

nl_opendata_get_datasetGet full metadata and official file links for one Newfoundland and Labrador dataset.

Utilisation : inspecting a dataset found with nl_opendata_search_datasets, reading its creator, publisher, geography, time coverage, release and modification dates, rights, topics, revisions, formats, file sizes, and binary download URLs.

Mots-clés en anglais
Newfoundland, Labrador, open data, dataset details, metadata, creator, publisher, geography, time coverage, rights, licence, topic, revision, format, file, download, CSV, XLS, KMZ
Mots-clés en français
Terre-Neuve-et-Labrador, données ouvertes, fiche du jeu de données, métadonnées, créateur, éditeur, couverture géographique, période couverte, droits, licence, sujet, révision, format, lien de téléchargement, CSV, XLS, KMZ
Paramètres de nl_opendata_get_dataset
ParamètreTypeDéfaut
dataset_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "nl_opendata_get_dataset", "arguments": {"dataset_id": "…"}}
nl_opendata_list_tagsList topic tags exposed by Newfoundland and Labrador's Explore page.

Utilisation : discovering the portal's tag ids before calling nl_opendata_search_datasets with tag_id.

Mots-clés en anglais
Newfoundland, Labrador, open data, topic tags, keywords, vocabulary, catalogue, Explore, filter, demographics, health, justice, transportation, environment
Mots-clés en français
Terre-Neuve-et-Labrador, données ouvertes, mots-clés thématiques, sujets, vocabulaire, catalogue, explorer, filtre, démographie, santé, justice, transport, environnement
Paramètres de nl_opendata_list_tags
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "nl_opendata_list_tags", "arguments": {}}
nl_opendata_search_datasetsSearch Newfoundland and Labrador's official open-data catalogue.

Utilisation : finding tabular or spatial datasets by title, publisher, creator, or a known topic-tag id. The upstream catalogue has no JSON search API or server-side pagination, so MapleStats fetches its small HTML listings and applies text filtering and offset/limit pagination locally. query keeps datasets whose title, publisher or creator contains every word (case-insensitive). Use nl_opendata_list_tags first when a topic tag id is needed; an id that is not a portal tag is an error.

Mots-clés en anglais
Newfoundland, Labrador, NL, open data, dataset search, catalogue, tabular, spatial, geospatial, government, CSV, XLS, KMZ, shapefile, topic tag
Mots-clés en français
Terre-Neuve-et-Labrador, T.-N.-L., portail de données ouvertes, recherche de jeux de données, catalogue de données, données tabulaires, données géospatiales, gouvernement provincial, CSV, XLS, KMZ, fichier de formes, mot-clé thématique
Paramètres de nl_opendata_search_datasets
ParamètreTypeDéfaut
querystr""
dataset_type"all" | "tabular" | "spatial""all"
tag_idstr | nullnull
sort"name" | "released_desc" | "released_asc""name"
limitint10
offsetint0
lang"en" | "fr""en"
call_tool {"name": "nl_opendata_search_datasets", "arguments": {}}

Catalogues de données ouvertes · Colombie-Britannique

Données ouvertes de la Ville de Vancouver

opendatasoft_vancouver_

Portail de données ouvertes de la Ville de Vancouver (opendata.vancouver.ca) : recherche et détail des jeux de données, requêtes directes sur les enregistrements avec filtrage/tri ODSQL, et liens de téléchargement CSV/JSON/GeoJSON.

Description complète

Portail de données ouvertes de la Ville de Vancouver (opendata.vancouver.ca) : recherche et détail des jeux de données, requêtes directes sur les enregistrements avec filtrage/tri ODSQL, et liens de téléchargement CSV/JSON/GeoJSON. La seule source de la plateforme Opendatasoft dans ce projet.

3 outils

opendatasoft_vancouver_get_datasetGet one Vancouver dataset's metadata, fields, and download links.

Utilisation : inspecting a dataset found with opendatasoft_vancouver_search_datasets before querying its records or downloading it.

Mots-clés en anglais
Vancouver, Opendatasoft, dataset detail, fields, metadata, licence, publisher, download, CSV, JSON, GeoJSON
Mots-clés en français
Ville de Vancouver, fiche du jeu de données, champs, métadonnées, licence, éditeur, liens de téléchargement, CSV, JSON, GeoJSON, Opendatasoft
Paramètres de opendatasoft_vancouver_get_dataset
ParamètreTypeDéfaut
dataset_idstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "opendatasoft_vancouver_get_dataset", "arguments": {"dataset_id": "…"}}
opendatasoft_vancouver_query_recordsQuery records from one Vancouver dataset with ODSQL filtering/sorting.

Utilisation : reading actual data values (not just metadata) from a dataset found with opendatasoft_vancouver_search_datasets, filtering with a raw ODSQL where clause (e.g. "service_category_1 = 'Housing'"), sorting with order_by, or a full-text query match within the dataset's own fields.

Mots-clés en anglais
Vancouver, Opendatasoft, ODSQL, records, query, filter, rows, data, select, where, order, Explore API
Mots-clés en français
Ville de Vancouver, Opendatasoft, ODSQL, enregistrements, requête de données, filtrer les lignes, sélection de colonnes, tri, données municipales, Explore API
Paramètres de opendatasoft_vancouver_query_records
ParamètreTypeDéfaut
dataset_idstrobligatoire
selectstr | nullnull
wherestr | nullnull
order_bystr | nullnull
querystr | nullnull
limitint10
offsetint0
lang"en" | "fr""en"
call_tool {"name": "opendatasoft_vancouver_query_records", "arguments": {"dataset_id": "…"}}
opendatasoft_vancouver_search_datasetsSearch Vancouver's Opendatasoft open-data catalogue.

Utilisation : finding City of Vancouver datasets by topic or free-text query.

Mots-clés en anglais
Vancouver, Opendatasoft, open data, dataset search, catalogue, government, municipal, British Columbia, discovery, building permits, business licences
Mots-clés en français
Ville de Vancouver, données ouvertes de Vancouver, recherche de jeux de données, catalogue de données, données municipales, Colombie-Britannique, Opendatasoft, arbres de rue, permis, découverte
Paramètres de opendatasoft_vancouver_search_datasets
ParamètreTypeDéfaut
querystr""
limitint10
offsetint0
lang"en" | "fr""en"
call_tool {"name": "opendatasoft_vancouver_search_datasets", "arguments": {}}

Planification et code

Calculs entre séries

calc_

Calculs entre séries : rapport de deux séries de Statistique Canada ou de la Banque du Canada alignées par période, classement de lieux pour une période, taux de croissance annuel composé entre deux périodes et nombre de variations sur une fenêtre (décisions de taux)…

Description complète

Calculs entre séries : rapport de deux séries de Statistique Canada ou de la Banque du Canada alignées par période, classement de lieux pour une période, taux de croissance annuel composé entre deux périodes et nombre de variations sur une fenêtre (décisions de taux), chacun avec la formule, l'unité et la citation de chaque série ; les fréquences ou unités incompatibles sont refusées.

4 outils

calc_cagrCompound annual growth rate of one series between two periods, with the number of years, the formula and the citation.

Utilisation : the yearly growth rate implied over several years, instead of computing it by hand (and miscounting the years). series is a StatCan vector_id or product_id + coordinate, or a Bank of Canada boc_series. start and end are periods of the series' own frequency (2015-01 and 2025-01 for a series by month); pass frequency='annual' with aggregation ('average' for prices and indexes, 'sum' for flows) to compare whole years (2015 and 2025). Years = periods apart ÷ periods a year. A percentage or rate is refused: its change is in percentage points, not compound growth.

Mots-clés en anglais
CAGR, compound annual growth rate, annualized growth, growth per year, yearly growth over years, since 2015, over a decade, compounded
Mots-clés en français
TCAC, taux de croissance annuel composé, croissance annualisée, croissance par an, croissance composée, depuis 2015, sur dix ans, composé
Paramètres de calc_cagr
ParamètreTypeDéfaut
seriesdictobligatoire
startstrobligatoire
endstrobligatoire
frequency"monthly" | "quarterly" | "annual" | nullnull
aggregation"average" | "sum" | "end_of_period""average"
lang"en" | "fr""en"
call_tool {"name": "calc_cagr", "arguments": {"series": "…", "start": "…", "end": "…"}}
calc_count_changesCount the times a series changed over a window, each change listed (date, before, after), with the series' citation.

Utilisation : how many times a rate was cut or raised in a year, how often a published series moved, instead of counting by hand (the policy rate is Valet 'V39079'). series is a Bank of Canada boc_series or a StatCan vector_id or product_id + coordinate. start and end are periods or dates (2024, 2024-06, 2024-06-05; end defaults to today). Each value is compared with the previous published one, the first with the last value before the window; missing values are skipped, not read as changes. threshold counts only larger moves (0.1 for at least 0.1 point). Changes of a rate are in percentage points.

Mots-clés en anglais
count changes, rate moves, rate cuts, rate hikes, how many times, number of changes, decisions, moved, changed, increases
Mots-clés en français
nombre de variations, baisses de taux, hausses de taux, combien de fois, décisions, nombre de changements, mouvements, hausses
Paramètres de calc_count_changes
ParamètreTypeDéfaut
seriesdictobligatoire
startstrobligatoire
endstr | nullnull
thresholdfloat0.0
lang"en" | "fr""en"
call_tool {"name": "calc_count_changes", "arguments": {"series": "…", "start": "…"}}
calc_rankRank places or series by their value for one period, ties shared, with every series' citation.

Utilisation : which place is highest or lowest on one measure, top and bottom places, a league table, instead of sorting by hand. Either list the series (2 to 60: vector_id, product_id + coordinate, or boc_series), or give a StatCan product_id and a coordinate with '*' at the dimension to rank across: '*.7.1.1.1.1' in 14-10-0287 ranks every Geography member; exclude_member_ids drops members (1, Canada, there). period (2026-09, 2026-Q2, 2025) defaults to the latest period most series have. Every series must share one unit and one frequency, or the call is refused; frequency + aggregation rank yearly averages instead. Equal values share a rank (1, 2, 2, 4).

Mots-clés en anglais
rank, ranking, highest, lowest, top, bottom, league table, order places, which province is highest, leaderboard, sort by value
Mots-clés en français
classement, classer, le plus élevé, le plus bas, premier, dernier, palmarès, quelle province, ordonner les lieux, rang
Paramètres de calc_rank
ParamètreTypeDéfaut
serieslist[dict] | nullnull
product_idstr | nullnull
coordinatestr | nullnull
exclude_member_idslist[int] | nullnull
periodstr | nullnull
order"descending" | "ascending""descending"
frequency"monthly" | "quarterly" | "annual" | nullnull
aggregation"average" | "sum" | "end_of_period""average"
lang"en" | "fr""en"
call_tool {"name": "calc_rank", "arguments": {}}
calc_ratioDivide one published series by another, period by period, and get the formula, the unit and both series' citations with the result.

Utilisation : a ratio, a share of a total or a per-person figure built from two series, instead of dividing by hand. Each series is a StatCan vector_id, a StatCan product_id + coordinate, or a Bank of Canada boc_series. Periods are matched by calendar period; StatCan values are multiplied by their scale factor (thousands, millions) before dividing. Give start/end (2024, 2024-07, 2024-Q2) or latest_n (the latest periods both have). Series of different frequencies are refused unless frequency and aggregation put both on one (frequency='annual' to divide a series given by month by one given by year). An index divided by another unit, or current by constant dollars, is refused. multiplier scales the ratio: 100 for a percent, 12 to turn an amount per month into one per year.

Mots-clés en anglais
ratio, share of total, proportion, per capita, per person, divide, quotient, relative to, two series, formula, percent of
Mots-clés en français
rapport, ratio, part du total, proportion, par habitant, par personne, diviser, quotient, deux séries, formule, pourcentage de
Paramètres de calc_ratio
ParamètreTypeDéfaut
numeratordictobligatoire
denominatordictobligatoire
startstr | nullnull
endstr | nullnull
latest_nint1
frequency"monthly" | "quarterly" | "annual" | nullnull
aggregation"average" | "sum" | "end_of_period""average"
multiplierfloat1.0
lang"en" | "fr""en"
call_tool {"name": "calc_ratio", "arguments": {"numerator": "…", "denominator": "…"}}

Planification et code

Code de reproduction

reproduce_

Code de reproduction : pour un appel d'outil, fournit un extrait R, Python, Stata ou Julia, ou une requête Power Query pour Excel, qui récupère les mêmes données directement à la source (cansim, polars, TidierFiles ou commandes d'importation Stata)…

Description complète

Code de reproduction : pour un appel d'outil, fournit un extrait R, Python, Stata ou Julia, ou une requête Power Query pour Excel, qui récupère les mêmes données directement à la source (cansim, polars, TidierFiles ou commandes d'importation Stata) ; reproduce_workbook fournit les lignes dans un classeur Excel mis en forme.

2 outils

reproduce_codeGet R, Python, Stata, Julia or Excel Power Query code that refetches the same data.

Utilisation : moving any data tool's result into an analysis script reproducibly. Pass the tool name and the arguments you called it with; the server writes the scripts, ready to run. Tools that return documents or text (StatCan articles and Daily releases, Gazette notices) get no script. It rebuilds the exact request: from the arguments (StatCan tables via cansim, Valet, Socrata, CKAN), or by recording the upstream request the tool makes (every query parameter, POST body and header). Where the tool filters a downloaded file itself (CER, GC InfoBase, CIHI, IRCC, PHAC Health Infobase, IP Horizons patents) or parses HTML tables (CFIA), the script repeats those steps. Scripts follow a header plus numbered sections (setup, read, check, prepare), save downloads under data/raw/, and clean names, text and numbers; Python uses polars, Julia CSV.jl and TidierData, Stata import delimited (JSON and filtered files go through Stata's built-in Python). language "excel" is a Power Query M query to paste into Excel (Get Data > Blank Query > Advanced Editor): it calls the same URL, filters and cleans the same way, and refreshes inside Excel, with nothing to install. notes say what a script cannot repeat and why a language is missing; language picks one; lang "fr" writes the notes and errors in French. summary=True ends the R and Python scripts with a printed summary (row and column counts, each column's distinct values, the first and last rows) instead of leaving the frame to print: for a large result, run the script and read that rather than passing the rows through the conversation.

Mots-clés en anglais
reproducible, R code, Python code, Stata do-file, Julia, Excel, Power Query, M query, script, cansim, download data, replication, code generation, large table, summary
Mots-clés en français
reproductible, code R, code Python, Stata, Julia, Excel, Power Query, requête M, script, télécharger les données, réplication, génération de code, grand tableau, résumé
Paramètres de reproduce_code
ParamètreTypeDéfaut
tool_namestrobligatoire
argumentsdictobligatoire
language"all" | "r" | "python" | "stata" | "julia" | "excel""all"
lang"en" | "fr""en"
summaryboolfalse
call_tool {"name": "reproduce_code", "arguments": {"tool_name": "…", "arguments": "…"}}
reproduce_workbookGet any data tool's result as a formatted Excel workbook (.xlsx).

Utilisation : handing data to someone who works in Excel. Pass the tool name and its arguments (the tool runs once), or rows you already have. The workbook holds the rows, cleaned as the R scripts clean them (snake_case names, trimmed text, numbers and dates stored as text converted, codes such as coordinates and NAICS kept as text; notes name the converted columns and any fields of the result left out of the rows), in one Excel table with a frozen header, number formats and fitted column widths; a native, editable line or bar chart when the rows are a time series or a short list; and a Source sheet with the call, the source URL, dates, licence and attribution. lang sets the labels (English or French). A hosted server returns the file as base64 (decode it and save it as file_name), so keep max_rows small (default 2,000, at most 20,000; at most 256 columns, 200,000 cells and 8 million text characters; the file is capped at 2 MB); a local server whose operator set MAPLE_EXPORT_DIR saves it in that folder instead. For a refreshable query over the full data, use reproduce_code with language "excel".

Mots-clés en anglais
Excel, workbook, spreadsheet, xlsx, export, download table, chart, formatted table, save data, Excel file
Mots-clés en français
Excel, classeur, tableur, chiffrier, xlsx, exporter, télécharger le tableau, graphique, fichier Excel, enregistrer les données
Paramètres de reproduce_workbook
ParamètreTypeDéfaut
tool_namestr | nullnull
argumentsdict | nullnull
rowslist[dict] | nullnull
titlestr | nullnull
max_rowsint2000
delivery"auto" | "base64" | "file""auto"
lang"en" | "fr""en"
call_tool {"name": "reproduce_workbook", "arguments": {}}

Planification et code

Documentation du serveur

docs_

Documentation du serveur : liste des pages docs:// (pièges propres à chaque source, séries et catégories courantes, méthodologie d'enquête, catalogue des modules) et lecture de chacune en texte par call_tool, pour les clients qui n'offrent pas les ressources MCP.

2 outils

docs_list_resourcesList this server's docs:// pages, each with a one-line description (the French versions with lang="fr").

Utilisation : finding the documentation page for a source (gotchas, well-known series or categories, survey methodology, addressing rules, the module catalogue) before reading it with docs_read_resource, when your client does not offer MCP resources.

Mots-clés en anglais
docs, documentation, list resources, pages, gotchas, methodology, guide, help, catalogue, reference
Mots-clés en français
documentation, liste des ressources, pages, pièges, méthodologie, guide, aide, catalogue, référence, mode d'emploi
Paramètres de docs_list_resources
ParamètreTypeDéfaut
lang"en" | "fr""en"
call_tool {"name": "docs_list_resources", "arguments": {}}
docs_read_resourceRead one of this server's docs:// pages as text, e.g. docs://cmhc/gotchas, docs://cmhc/rms-methodology, docs://statcan/addressing or docs://catalogue.

Utilisation : opening a docs:// page a tool description or result tells you to read, when your client does not offer MCP resources. With lang="fr" an English page that has a French version returns that version. docs_list_resources lists every page.

Mots-clés en anglais
docs, documentation, read resource, gotchas, methodology, guide, help page, catalogue, reference, known quirks, how to use
Mots-clés en français
documentation, lire une ressource, pièges, méthodologie, guide, page d'aide, catalogue, référence, particularités, mode d'emploi
Paramètres de docs_read_resource
ParamètreTypeDéfaut
uristrobligatoire
lang"en" | "fr""en"
call_tool {"name": "docs_read_resource", "arguments": {"uri": "…"}}

Planification et code

Planificateur de requêtes

plan_query

Planificateur de requêtes : pour une question en langage courant, indique les thèmes visés, les outils à appeler dans chaque organisme, dans l'ordre, les portails locaux des lieux nommés et les précautions pour combiner les résultats.

1 outil · Ressources : docs://planner/fitness-rules, docs://planner/fr/regles-d-usage · Invites : compare_province_with_peers, find_and_cite_dataset, housing_affordability_scan, inflation_check, labour_market_snapshot, refresh_with_latest_release

Toujours visible pour l'agent ; search_tools ne le renvoie donc pas.

plan_queryPlan how to answer a question about Canadian data from official sources.

Utilisation : the first call on any question about Canada, a province or a Canadian city that needs figures (jobs, prices, rents, GDP, population, trade, interest rates), before web search or memory: Statistics Canada, Bank of Canada, CMHC and provincial and city sources are reached through this server. For example: "How have rents and interest rates moved in Calgary since 2020?". Returns the topics it touches, the tools to call for each in order, local portals for any province or city named, and caveats on combining them. Then run the steps with call_tool. Read-only and offline: it matches the question against this server's source map and calls no external API. Use search_tools instead to find a single tool for a narrow, single-source need. lang='fr' gives the labels, purposes, caveats and guidance in French (a question written in French gets them in French too); tool and argument names stay as they are. Each step's call holds its first arguments: pass them to call_tool with the step's tool, with no search_tools call first. A step with blocked: true sits on a StatCan path that answered with its bot check in the last 15 minutes: it is listed last and has no call; use the working route listed before it.

Mots-clés en anglais
plan, which data source, where to find, combine sources, cross-source, question, research, Canada data
Mots-clés en français
planifier, quelle source de données, où trouver, combiner des sources, question, recherche, données canadiennes, statistiques
Paramètres de plan_query
ParamètreTypeDéfaut
questionstrobligatoire
lang"en" | "fr""en"
call_tool {"name": "plan_query", "arguments": {"question": "…"}}

Planification et code

Signalement de bogues

feedback_draft_issue

Rétroaction : quand un outil se comporte mal, rédige un rapport de bogue pour les responsables (titre, corps, version du serveur, détails privés retirés) avec un lien qui ouvre le formulaire de GitHub déjà rempli.

Description complète

Rétroaction : quand un outil se comporte mal, rédige un rapport de bogue pour les responsables (titre, corps, version du serveur, détails privés retirés) avec un lien qui ouvre le formulaire de GitHub déjà rempli. Rien n'est envoyé ni conservé : l'utilisateur approuve et dépose le rapport.

1 outil

feedback_draft_issueDraft a bug report on a misbehaving MapleStats tool for the user to approve; it sends and stores nothing.

Utilisation : after the user agrees to report a server fault, a wrong figure or a broken result (docs://report-issue). Pass the tool, a short symptom, the arguments and what_came_back, and any expected, evidence and tried. Returns the title and body of the repository's bug form with the server version filled in and private details removed (removed), issue_url (the form, prefilled) and search_url (reported issues on that tool). Show the exact text; file only once approved.

Mots-clés en anglais
feedback, bug report, report a problem, wrong answer, error, issue, GitHub, maintainers, broken tool
Mots-clés en français
rétroaction, signaler un bogue, signaler un problème, mauvaise réponse, erreur, problème, GitHub, responsables, outil défectueux
Paramètres de feedback_draft_issue
ParamètreTypeDéfaut
toolstrobligatoire
symptomstrobligatoire
what_came_backstrobligatoire
argumentsdict | nullnull
expectedstr | nullnull
evidencestr | nullnull
triedstr | nullnull
lang"en" | "fr""en"
call_tool {"name": "feedback_draft_issue", "arguments": {"tool": "…", "symptom": "…", "what_came_back": "…"}}

Planification et code

Vérification de réponse

check_answer

Vérification de réponse : avant de répondre, l'assistant transmet la question et les chiffres qu'il citera (vecteur ou tableau et coordonnée de StatCan, ou série de la Banque du Canada)…

Description complète

Vérification de réponse : avant de répondre, l'assistant transmet la question et les chiffres qu'il citera (vecteur ou tableau et coordonnée de StatCan, ou série de la Banque du Canada) ; le serveur les relit et ne renvoie que les problèmes trouvés : valeur ou échelle erronée, période plus récente, autre géographie, données non désaisonnalisées ou signalées, unités, et chiffres non publiés, avec la façon de les obtenir.

1 outil

check_answerCheck an answer's figures against the source before replying: call it once, with the question and every figure the answer will report.

Utilisation : verifying the numbers in a draft answer. Each figure gives value, unit and period as the answer writes them, geography if known, and its source: vector_id, or product_id + coordinate (StatCan), or boc_series (Bank of Canada). The server re-reads them and returns only problems, each with a fix (an empty list when clean): value differs from the published one, a missed scale (thousands), a newer period published, a series for another place than the question names (each figure against its own geography, else the places asked), a table with no member for the place (with the tables to search), an unadjusted series where an adjusted one exists, E, F or suppressed flags, current vs constant or chained dollars, an index given as dollars, surveys that should not be compared, and figures known not to be published at the asked geography, with where they could come from (public microdata, custom tabulation, RTRA, RDC). summed=True says the answer adds the figures together. value null means the answer will say the figure is not published. Only StatCan and Bank of Canada figures are checked: others come back in notes as not checked, with nothing to fix.

Mots-clés en anglais
check my answer, verify figures, fact-check, validate numbers, sanity check, before replying, wrong value, outdated figure, newer period, geography mismatch, not published, custom tabulation
Mots-clés en français
vérifier ma réponse, vérifier les chiffres, contrôle des chiffres, valider une réponse, chiffre erroné, données périmées, dernière période, géographie, non publié, totalisation personnalisée
Paramètres de check_answer
ParamètreTypeDéfaut
questionstrobligatoire
figureslist[dict]obligatoire
summedboolfalse
lang"en" | "fr""en"
call_tool {"name": "check_answer", "arguments": {"question": "…", "figures": "…"}}