store_cube_metadata
Fetch full cube metadata into SQLite — browse all members and vectorIds with SQL.
How to use it
store_cube_metadata is exposed by the MCP Statcan MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the store_cube_metadata tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install MCP Statcan
uvx mcp-proxy --transport streamablehttp http://localhost:8000/mcpOther tools in MCP Statcan (16)
Fetch vectors by reference period range and store to SQLite.
Multiple vectors filtered by release date range.
Tables updated on a specific date.
Data points that changed for a coordinate.
Data points that changed for a vectorId.
Series updated on a specific date.
Decode StatCan numeric codes (frequency, UOM, scalar factor, status).
Dimension info, member lists, date ranges. summary=True caps members at 10 per dimension.
Filtered observations by productId + key. Returns a CSV download URL on the hosted server — data stays out of context.
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).
Dimension codelists + key syntax for a table. Call before getsdmxdata.
Observations for a single vectorId via SDMX.
Resolve {productId, coordinate} pairs to vectorId + metadata.
Resolve a vectorId to productId, coordinate, titles, frequency.
Read-only SQL against the local SQLite database.
Full-text search across all StatCan tables. AND logic, capped at 25 results.