Hk Elegislation

liveGovernmentLegislature

hk-elegislation — Hong Kong Ordinances, subsidiary legislation and instruments, bilingually (English and Traditional Chinese, equally authentic), from Hong Kong e-Legislation (Department of Justice), via the bulk archives catalogued on DATA.GOV.HK. Fleet #3130.

4tools
0msauth
free tier50 calls/day

Tools

hk_law_info

One Hong Kong law's metadata: titles, in-force status, per-language version dates.

No parameters required.

▶Try it
hk_law_toc

A Hong Kong law's section numbers and headings, paged.

No parameters required.

▶Try it
hk_law_section

One section of a Hong Kong law, English and Traditional Chinese side by side.

No parameters required.

▶Try it

Test with curl

The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.

List available tools
bash
curl -X POST https://gateway.pipeworx.io/hk-elegislation/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Call a tool
bash
curl -X POST https://gateway.pipeworx.io/hk-elegislation/mcp \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"hk_law_search","arguments":{}}}'

Use with the SDK

Install @pipeworx/sdk to call tools from any TypeScript/Node project.

TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("hk_law_search", {});
ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("hk-elegislation — hong kong ordinances, subsidiary legislation and instruments, bilingually (english and traditional chinese, equally authentic), from hong kong e-legislation (department of justice), via the bulk archives catalogued on data");