BC Data docs

laws_acts

List BC statutes and regulations held

Lists the acts and regulations BC Data holds from BC Laws (King's Printer), filtered by words in the title, kind and in force or repealed. Use laws_section for the text and search (domain laws) for keywords inside the text.

Cost: 1 unit of your allowance (see Rate limits).

Parameters

  • query (string, optional): max length 100
  • kind (act, regulation, optional)
  • status (in_force, repealed, optional)
  • limit (integer, optional): min 1, max 50, default 20

REST

curl -X POST https://api.bcmcp.ca/v1/tools/laws_acts \
  -H "Authorization: Bearer $BCDATA_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

MCP

Call the tool laws_acts 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":"laws_acts","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.

On this page