Access Statistics Canada data via the Web Data Services API
If you already use Statistics Canada, the statistics canada mcp server is the piece that lets your assistant work with it directly. Access Statistics Canada data via the Web Data Services API.
Pick the option that fits you. You don't need to install anything for Option 1.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
get_sdmx_structure — Dimension codelists + key syntax for a table. Call before get_sdmx_dataget_sdmx_data — Filtered observations by productId + key. Returns a CSV download URL on the hosted server — data stays out of contextget_sdmx_vector_data — Observations for a single vectorId via SDMXget_sdmx_key_for_dimension — All leaf member IDs for a large dimension as a ready-to-paste OR key. Use when a dimension has >30 codes (e.g. NOC, CMAs)fetch_vectors_to_database — Fetch vectors by reference period range and store to SQLitestore_cube_metadata — Fetch full cube metadata into SQLite — browse all members and vectorIds with SQLquery_database — Read-only SQL against the local SQLite databaseConfiguration is passed through the environment: BASE_URL, SDMX_BASE_URL, RENDER_BASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Because this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.
Among the database access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Statistics Canada's toolset — get_sdmx_structure, get_sdmx_data, get_sdmx_vector_data and 4 more — is a fair guide to whether it matches your workflow. It is maintained by Aryan-Jhaveri; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| get_sdmx_structure | Dimension codelists + key syntax for a table. Call before get_sdmx_data. |
| get_sdmx_data | Filtered observations by productId + key. Returns a CSV download URL on the hosted server — data stays out of context. |
| get_sdmx_vector_data | Observations for a single vectorId via SDMX. |
| get_sdmx_key_for_dimension | All leaf member IDs for a large dimension as a ready-to-paste OR key. Use when a dimension has >30 codes (e.g. NOC, CMAs). |
| fetch_vectors_to_database | Fetch vectors by reference period range and store to SQLite. |
| store_cube_metadata | Fetch full cube metadata into SQLite — browse all members and vectorIds with SQL. |
| query_database | Read-only SQL against the local SQLite database. |
{
"mcpServers": {
"statcan": {
"command": "uvx",
"args": ["statcan-mcp-server", "--db-path", "/Users/<you>/.statcan-mcp/statcan_data.db"]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| BASE_URL | Endpoint or connection string the server talks to. | Yes |
| SDMX_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| RENDER_BASE_URL | Endpoint or connection string the server talks to. | Yes |
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.