Statistics Canada MCP Server
MCP server for searching and querying Statistics Canada tables, hosted or local
- Pricing
- Open source
- Platforms
- API, CLI, self-hosted
- Runs
- Locally or Remotely
- Version
- 0.19.0
- Listing updated
- 2 days ago
About Statistics Canada MCP Server
Statistics Canada MCP Server is an open-source MCP server for analytics and data. It can run locally on your machine or as a hosted remote server.
The hosted server exposes a deliberately small toolset of five tools, which the site says costs about 939 tokens in tools/list compared with about 8,044 for the older 17-tool set. It reads Statistics Canada's Web Data Service and SDMX REST APIs and needs no API key since the data is public.
For calculations, get_sdmx_data accepts an optional sql argument: one read-only SELECT runs server-side against SQLite in memory, with a 2 second limit, up to 50,000 fetched rows and 500 result rows, and only the answer goes back to the model. SDMX calls return at most 500 rows. Table structures and the cube list are cached for an hour.
A local install over stdio adds SQLite database tools and a statcan command-line tool with JSON output and stable exit codes for agents. The README warns that language models may fabricate figures and says to check important numbers against official sources.
Install
Run in a terminal
claude mcp add --transport http mcp-statcan https://mcp-statcan.com/mcpAdd to Settings → Connectors → Add custom connector
https://mcp-statcan.com/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-statcan": {
"url": "https://mcp-statcan.com/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp-statcan": {
"type": "http",
"url": "https://mcp-statcan.com/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-statcan": {
"serverUrl": "https://mcp-statcan.com/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-statcan": {
"type": "http",
"url": "https://mcp-statcan.com/mcp"
}
}
}Tools this server provides (5)
Taken from the project documentation; the running server may differ.
- search_cubes_by_title
- Finds tables by title keywords in English or French, paged, with the SDMX key template.
- get_sdmx_structure
- Lists dimensions in key order with their codes.
- get_sdmx_data
- Returns observations by productId and key or a vectorId; optional server-side SQL.
- get_series_info
- Decodes frequency, unit, scalar, titles and SDMX key for a series.
- get_changes
- Lists tables released on a date or new data points for a series.
What it does
- Five hosted tools
- Search, structure, data, series info and change detection over the hosted endpoint.
- Server-side SQL
- Run one read-only SELECT on SDMX data and return only the result.
- Bilingual search
- Finds tables by title keywords in English or French.
- statcan CLI
- Search, inspect and download tables from a terminal without an LLM.
- No key required
- Statistics Canada data is public, so connecting needs no credentials.
Good for
- Chart greenhouse gas emissions or trade figures with an AI assistant
- Find the right Statistics Canada table by keyword
- Check which tables were released on a given date
- Download a table to CSV from the command line
Pricing
Open source
Free hosted server; no key required
Prices change. Check mcp-statcan.com before you buy.
Statistics Canada MCP Server FAQ
Do I need an API key?
No. The data is public and the hosted server needs no key.
Why are database tools missing on the hosted server?
They are omitted there; run it locally over stdio to get them.
What is the row limit?
500 rows per get_sdmx_data call.
How do I install it locally?
Run pip install statcan-mcp-server.
Is Statistics Canada MCP Server free?
Yes. Statistics Canada MCP Server is open source, so you can use and self-host it for free.
How do I add Statistics Canada MCP Server to Claude Code?
Run this command in your terminal: claude mcp add --transport http mcp-statcan https://mcp-statcan.com/mcp
What are the best alternatives to Statistics Canada MCP Server?
The closest alternatives to Statistics Canada MCP Server are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and CompanyData.
Alternatives to Statistics Canada MCP Server

Agent-Native Analytics
MCP serverOpen-source analytics app where an AI agent builds charts and dashboards from your data
- Remote
- Open source
- 7.7K GitHub stars
- Analytics and data

Google Ads + Meta Ads + SEO/GEO MCP
MCP serverHosted MCP connector for managing Google Ads, Meta Ads, GA4 and Search Console from chat
- 8 tools
- Remote
- Freemium
- 8.1K GitHub stars
- Marketing and SEO

Tapetide - Indian Stock Market MCP
MCP serverIndian NSE and BSE stock market data for AI assistants through 48 MCP tools
- 17 tools
- Remote
- Freemium
- 150 GitHub stars
- Finance and payments

World Monitor
MCP serverLive geopolitical intelligence dashboard with an API and MCP server for agents
- Remote
- Freemium
- Analytics and data

CompanyData
MCP serverSearch and enrich company records from official registers via the CompanyData API
- 3 tools
- Remote
- Paid
- 3 GitHub stars
- Analytics and data

ChartAnt
MCP serverRemote MCP server returning charts, maps and dashboards as hosted PNG links
- 51 tools
- Remote
- Freemium
- Design and media