What it does
The Statistics Canada MCP Server connects MCP clients such as Claude, Cursor, VS Code Copilot and Gemini to Statistics Canada's Web Data Service (WDS) and SDMX REST API. Through these tools, a client can search, inspect and download StatCan tables. A standalone statcan CLI downloads the same data directly from a terminal, without an LLM, and outputs CSV or JSON.
Someone would reach for it when they want an assistant to pull Canadian statistics and turn them into a visualization or analysis, for example on greenhouse gas emissions, trade in services, construction prices or unemployment. Prompts for data lookup, sampling a table before a full fetch, and multi-series comparison are included. Users who prefer no assistant can use the CLI to download tables into a file.
The simplest route is the hosted server on Render, which is added as a custom connector in Claude Desktop or Claude.ai and needs no local install. Self-hosting runs an HTTP server through uv, and most clients then need mcp-proxy to bridge stdio and HTTP. A full local setup adds SQLite database tools, which run over stdio and are not part of the hosted server. Claude.ai has no bash access, so all data comes through the connector's MCP tools.
Limitations and requirements
LLMs may fabricate data, so important figures should be checked against official Statistics Canada sources. Database tools require the full local setup and are excluded from the hosted server. Most clients need mcp-proxy to use the self-hosted HTTP server. Claude Desktop overrides the subprocess HOME variable, so --db-path must be an absolute path. Claude.ai has no bash, and its code sandbox cannot reach StatCan. After a server update, the connector must be disconnected and reconnected to refresh the tool list.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
Statistics Canada MCP Server
Access Statistics Canada data via the Web Data Services API
v0.19.0As shown on registry.modelcontextprotocol.io when we last read it