au_law_search

Pack: australia-law · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/au_law_search for the schema, then POST the same URL with its arguments for the data.

Search Australian Commonwealth (federal) legislation by words in the title, e.g. “privacy” or “fair work”. Defaults to Acts; collection can also be LegislativeInstrument (regulations, rules, determinations) or NotifiableInstrument. By default only titles in force today are returned (set in_force_only=false to include repealed). Returns id, title, year, number, collection, in-force status, principal-or-amending flag and a link; 25 per page. Federal law only, not state or territory law. Pair with au_law_get for the text.

Parameters

NameTypeRequiredDescription
querystringyesWord(s) from the title, e.g. “privacy” or “fair work”
collectionstringnoAct (default), LegislativeInstrument or NotifiableInstrument
yearnumbernoOnly titles of this year, e.g. 1988
in_force_onlybooleannoOnly titles in force today (default true)
pagenumbernoPage number, 1-based (default 1)

Example call

Arguments

{
  "query": "privacy"
}

curl

curl -X POST https://gateway.pipeworx.io/australia-law/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"au_law_search","arguments":{"query":"privacy"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('au_law_search', {
  "query": "privacy"
});

Response shape

FieldTypeDescription
querystring
collectionstring
in_force_onlyboolean
total_matchesnumber
pagenumber
countnumber
resultsarray
next_pagenull
sourcestring
data_as_ofstring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string"
    },
    "collection": {
      "type": "string"
    },
    "in_force_only": {
      "type": "boolean"
    },
    "total_matches": {
      "type": "number"
    },
    "page": {
      "type": "number"
    },
    "count": {
      "type": "number"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "collection": {
            "type": "string"
          },
          "year": {
            "type": "number"
          },
          "number": {
            "type": "number"
          },
          "making_date": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "in_force": {
            "type": "boolean"
          },
          "principal": {
            "type": "boolean"
          },
          "url": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "next_page": {
      "type": "null"
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the australia-law pack
{
  "mcpServers": {
    "australia-law": {
      "url": "https://gateway.pipeworx.io/australia-law/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026