Gives Claude direct access to Statistics Canada's official datasets through their Web Data Service API. No authentication required, which makes it frictionless for querying Canadian economic indicators, census data, labor statistics, and other government datasets. Part of the Pipeworx gateway system, so you can either use it standalone or tap into their broader collection of data sources. Includes an ask_pipeworx tool that handles natural language queries instead of making you construct API calls manually. Reach for this when you need authoritative Canadian statistics without the usual API key dance or when you're building analytics that mix StatCan data with other sources through the Pipeworx hub.
Public tool metadata for what this MCP can expose to an agent.
list_cubesSearch Statistics Canada datasets by keyword. Returns a list of cubes (datasets) from StatsCan. If a keyword is provided, filters results by searching in the English dataset titles. Results are limited to prevent overwhelming responses. :param keyword: Optional search term to...2 paramsSearch Statistics Canada datasets by keyword. Returns a list of cubes (datasets) from StatsCan. If a keyword is provided, filters results by searching in the English dataset titles. Results are limited to prevent overwhelming responses. :param keyword: Optional search term to...
keywordvaluedefault_limitvaluelist_cubes_fullSearch Statistics Canada datasets by keyword (full metadata). Returns a list of cubes with complete metadata including dimensions, frequencies, and survey information. Use list_cubes for a lightweight version with minimal fields. :param keyword: Optional search term to filter...2 paramsSearch Statistics Canada datasets by keyword (full metadata). Returns a list of cubes with complete metadata including dimensions, frequencies, and survey information. Use list_cubes for a lightweight version with minimal fields. :param keyword: Optional search term to filter...
keywordvaluedefault_limitvalueget_cube_metadataGet detailed metadata for a Statistics Canada dataset. Returns structure information including dimensions, members, and date ranges. :param product_id: The StatsCan product/cube ID (e.g., 18100004) :type product_id: int :return: Dictionary with cube metadata or error details :...1 paramsGet detailed metadata for a Statistics Canada dataset. Returns structure information including dimensions, members, and date ranges. :param product_id: The StatsCan product/cube ID (e.g., 18100004) :type product_id: int :return: Dictionary with cube metadata or error details :...
product_idintegerget_vector_data_by_rangeFetch time series data for a specific Statistics Canada vector. Returns actual data values over time for the specified vector. :param vector_id: The vector ID number (e.g., 41690973) :type vector_id: int :param start_date: Start date in YYYY-MM-DD format (e.g., 2020-01-01) :ty...3 paramsFetch time series data for a specific Statistics Canada vector. Returns actual data values over time for the specified vector. :param vector_id: The vector ID number (e.g., 41690973) :type vector_id: int :param start_date: Start date in YYYY-MM-DD format (e.g., 2020-01-01) :ty...
end_datestringvector_idintegerstart_datestringget_tableGet rectangular data slice from a Statistics Canada dataset. Fetches the latest N periods of data for specific dimension coordinates. :param product_id: The StatsCan product/cube ID (e.g., 35100003) :param coordinate: Dimension coordinate string (e.g., "1.12.0.0.0.0.0.0.0.0")...3 paramsGet rectangular data slice from a Statistics Canada dataset. Fetches the latest N periods of data for specific dimension coordinates. :param product_id: The StatsCan product/cube ID (e.g., 35100003) :param coordinate: Dimension coordinate string (e.g., "1.12.0.0.0.0.0.0.0.0")...
latest_nintegercoordinatestringproduct_idintegerget_vector_infoGet metadata for a specific Statistics Canada vector. Returns information about the vector including its parent cube, coordinates, frequency, title, and other metadata (not the actual data). :param vector_id: The vector ID number (e.g., 41690973) :type vector_id: int :return:...1 paramsGet metadata for a specific Statistics Canada vector. Returns information about the vector including its parent cube, coordinates, frequency, title, and other metadata (not the actual data). :param vector_id: The vector ID number (e.g., 41690973) :type vector_id: int :return:...
vector_idintegerget_series_infoGet metadata for a specific series within a Statistics Canada dataset. Returns series information based on cube product ID and dimension coordinates. :param product_id: The StatsCan product/cube ID (e.g., 35100003) :param coordinate: Dimension coordinate string (e.g., "1.12.0....2 paramsGet metadata for a specific series within a Statistics Canada dataset. Returns series information based on cube product ID and dimension coordinates. :param product_id: The StatsCan product/cube ID (e.g., 35100003) :param coordinate: Dimension coordinate string (e.g., "1.12.0....
coordinatestringproduct_idintegerget_changed_cubesGet list of Statistics Canada cubes/datasets changed on a specific date. Returns cubes that were updated or released on the specified date. :param date: Date to check for changes in YYYY-MM-DD format (e.g., "2024-01-15") :return: Dictionary with list of changed cubes or error...1 paramsGet list of Statistics Canada cubes/datasets changed on a specific date. Returns cubes that were updated or released on the specified date. :param date: Date to check for changes in YYYY-MM-DD format (e.g., "2024-01-15") :return: Dictionary with list of changed cubes or error...
datestringget_changed_seriesGet list of Statistics Canada series updated today. Returns all series that have been updated on the current day. This endpoint has no parameters - it always returns today's changes. :return: Dictionary with list of changed series or error detailsGet list of Statistics Canada series updated today. Returns all series that have been updated on the current day. This endpoint has no parameters - it always returns today's changes. :return: Dictionary with list of changed series or error details
No parameter schema in public metadata yet.
get_changed_vector_dataGet changed/updated data for a specific Statistics Canada vector. Returns the latest changes for a vector if it was updated today. :param vector_id: The vector ID number (e.g., 32164132) :return: Dictionary with changed vector data or error details1 paramsGet changed/updated data for a specific Statistics Canada vector. Returns the latest changes for a vector if it was updated today. :param vector_id: The vector ID number (e.g., 32164132) :return: Dictionary with changed vector data or error details
vector_idintegerget_changed_series_dataGet changed/updated data for a specific series within a Statistics Canada dataset. Returns the latest changes for a series identified by cube ID and coordinates, if it was updated today. :param product_id: The StatsCan product/cube ID (e.g., 35100003) :param coordinate: Dimens...2 paramsGet changed/updated data for a specific series within a Statistics Canada dataset. Returns the latest changes for a series identified by cube ID and coordinates, if it was updated today. :param product_id: The StatsCan product/cube ID (e.g., 35100003) :param coordinate: Dimens...
coordinatestringproduct_idintegerget_vectors_latestGet latest N periods of data for multiple Statistics Canada vectors. Fetches the most recent data points for one or more vectors in a single request. :param vector_ids: List of vector ID numbers (e.g., [32164132, 41690973]) :param latest_n: Number of latest periods to retrieve...2 paramsGet latest N periods of data for multiple Statistics Canada vectors. Fetches the most recent data points for one or more vectors in a single request. :param vector_ids: List of vector ID numbers (e.g., [32164132, 41690973]) :param latest_n: Number of latest periods to retrieve...
latest_nintegervector_idsarrayget_bulk_vectorsGet bulk vector data by release date range for multiple Statistics Canada vectors. Fetches data for multiple vectors based on when the data points were released. :param vector_ids: List of vector ID numbers (e.g., [74804, 1]) :param start_release_date: Start datetime in ISO fo...3 paramsGet bulk vector data by release date range for multiple Statistics Canada vectors. Fetches data for multiple vectors based on when the data points were released. :param vector_ids: List of vector ID numbers (e.g., [74804, 1]) :param start_release_date: Start datetime in ISO fo...
vector_idsarrayend_release_datestringstart_release_datestringget_full_table_csvGet download URL for full Statistics Canada table in CSV format. Returns a URL to a downloadable ZIP file containing the complete table data. :param product_id: The StatsCan product/cube ID (e.g., 14100287) :param language: Language code - "en" for English or "fr" for French (...2 paramsGet download URL for full Statistics Canada table in CSV format. Returns a URL to a downloadable ZIP file containing the complete table data. :param product_id: The StatsCan product/cube ID (e.g., 14100287) :param language: Language code - "en" for English or "fr" for French (...
languagevalueproduct_idintegerget_full_table_sdmxGet download URL for full Statistics Canada table in SDMX format. Returns a URL to a downloadable ZIP file containing the complete table data in SDMX (Statistical Data and Metadata eXchange) format. This is a bilingual XML format used for international statistical data exchang...1 paramsGet download URL for full Statistics Canada table in SDMX format. Returns a URL to a downloadable ZIP file containing the complete table data in SDMX (Statistical Data and Metadata eXchange) format. This is a bilingual XML format used for international statistical data exchang...
product_idintegerStatistics Canada (StatCan) WDS MCP — Canadian official statistics (no auth)
Part of Pipeworx — an MCP gateway connecting AI agents to 673+ live data sources.
| Tool | Description |
|---|
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"statscan": {
"url": "https://gateway.pipeworx.io/statscan/mcp"
}
}
}
Or connect to the full Pipeworx gateway for access to all 673+ data sources:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
Instead of calling tools directly, you can ask questions in plain English:
ask_pipeworx({ question: "your question about Statscan data" })
The gateway picks the right tool and fills the arguments automatically.
MIT