MCP server exposing 3 tools for wa-legislation.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/wa-legislation/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
wa_law_find_act — Find a Western Australian Act by title (state law, not federal). Returns matching Acts in force, or ceased Acts with status "ceased", with act number, the site's Act id and the current consolidated version date. Titles are listed alphabetically, so the title must START with the first letters you give, e.g. "Industrial Relations Act 1979" or just "Industrial Relations". Use the returned act_id with wa_law_get_section and wa_law_get_definition.wa_law_get_section — Return the text of one section of a Western Australian Act in force, e.g. section 7 (Terms used) of the Industrial Relations Act 1979. Pass the Act title or the act_id from wa_law_find_act, and the section number ("7", "29B"). Returns the heading, Part/Division it sits in, the section text paragraph by paragraph, the drafting notes and amendment history, and the consolidated version it came from. Section text is truncated at max_chars with truncated=true.wa_law_get_definition — Return how a Western Australian Act in force defines a term, e.g. the definition of "employee" in the Industrial Relations Act 1979. Searches the Act's definition entries and returns each matching definition with its sub-paragraphs and the section it appears in. Pass the Act title or act_id from wa_law_find_act.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/wa-legislation/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io