π Statistics Canada API MCP Server
@Aryan-Jhaveri
About π Statistics Canada API MCP Server
MCP server + CLI for Statistics Canada (StatCan) β access 7,000+ Canadian statistical tables via WDS and SDMX REST APIs
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-statcan": {
"command": "uv",
"args": [
"pip",
"install",
"fastmcp",
"httpx",
"pydantic"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is π Statistics Canada API MCP Server?
This MCP server and CLI provides structured access to Statistics Canadaβs Web Data Service (WDS) and SDMX REST API. It enables any MCP client β Claude, Cursor, VS Code Copilot, Gemini β to search, retrieve, and analyze Canadian statistical data. The included statcan CLI allows direct downloads without an LLM.
How to use π Statistics Canada API MCP Server?
Choose one of four options: Hosted (connect to https://mcp-statcan.onrender.com/mcp with no install), Self-host HTTP (run uvx statcan-mcp-server --transport http locally), Full local (stdio with optional SQLite storage), or the statcan CLI (run commands like statcan search "labour force"). Configuration snippets for Claude Desktop, Claude Code, Cursor, and VS Code are provided.
Key features of π Statistics Canada API MCP Server
- Access Statistics Canada WDS and SDMX APIs via MCP
- Search, metadata, and download tools for statistical tables
- Standalone
statcanCLI for terminalβbased data downloads - Five builtβin MCP prompts for guided data lookup
- SQLite database support for local data storage (Option 3)
- Hosted public server available with no local setup
Use cases of π Statistics Canada API MCP Server
- Retrieve Canadian economic indicators (CPI, unemployment, trade) for analysis
- Create interactive dashboards and visualizations from StatCan data
- Explore and compare multiple statistical series using vector pipelines
- Automate data extraction via CLI for scripting and reporting
FAQ from π Statistics Canada API MCP Server
What data sources does this server use?
It uses Statistics Canadaβs public Web Data Service (WDS) and SDMX REST API. No API key or authentication is required.
Do I need to install anything to use the hosted version?
No. The hosted server on Render works immediately; just point your MCP client to https://mcp-statcan.onrender.com/mcp.
Can I use the server without an LLM?
Yes. The statcan CLI lets you search, download, and inspect tables directly from a terminal. Install via pip install statcan-mcp-server or run with uvx.
What clients are supported?
Any MCPβcompatible client: Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), and Gemini.
How does the server handle large datasets?
On the hosted server, data is returned as a download URL rather than inline payload, keeping context windows small. The CLI outputs CSV/JSON to stdout.
More Developer Tools MCP servers
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
MCP Containers
metorialConnect any AI model to 1200+ integrations (MCP, CLI, API)
test
prysmaticlabsGo implementation of Ethereum proof of stake
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
Comments