statcan_tables
Statistics Canada tables served for B.C.
The eighteen Statistics Canada tables BC Data can answer. Sixteen are British Columbia series: population, migration, CPI, new housing prices, labour force, wages, job vacancies, retail sales, housing starts (quarterly, all areas, actual counts), monthly housing starts (centres of 10,000 and over, seasonally adjusted at annual rates), building permits, electricity generation, new motor vehicle registrations by fuel type including zero-emission vehicles (quarterly), natural gas supply and disposition (monthly) and GDP. Two have no province total and are answered for one named British Columbia city: gasoline and fuel oil prices, and asking and paid rents. Use statcan_bc_latest with a product_id from this list.
Cost: 1 unit of your allowance (see Rate limits).
Parameters
This tool takes no arguments. Send {}.
REST
curl -X POST https://api.bcmcp.ca/v1/tools/statcan_tables \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-d '{}'MCP
Call the tool statcan_tables with these arguments. Over raw JSON-RPC:
curl -X POST https://api.bcmcp.ca/mcp \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"statcan_tables","arguments":{}}}'What comes back
Every answer is the same envelope, over REST and over MCP: available, data, citations, freshness and notes. See Citations and freshness.