catalogue_search
Search the BC Data Catalogue
Keyword search over the metadata of the province's open data catalogue: dataset title, description, publisher, licence, tags and formats. Filter by licence access (open, review, access_only), publisher name or file format. Returns datasets and where to get them, not the data files.
Cost: 2 units of your allowance (see Rate limits).
Parameters
query(string, required): min length 1, max length 200access(open,review,access_only, optional)organization(string, optional): min length 1, max length 100format(string, optional): min length 1, max length 20limit(integer, optional): min 1, max 25, default10
REST
curl -X POST https://api.bcmcp.ca/v1/tools/catalogue_search \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"..."}'MCP
Call the tool catalogue_search 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":"catalogue_search","arguments":{"query":"..."}}}'What comes back
Every answer is the same envelope, over REST and over MCP: available, data, citations, freshness and notes. See Citations and freshness.