hk_law_info

Pack: hk-elegislation · 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/hk_law_info for the schema, then POST the same URL with its arguments for the data.

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

Tool description as the model sees it

Resolve a Hong Kong Ordinance/subsidiary legislation/instrument to its full metadata by Cap. number (“486”, “Cap. 486”, “486A” for subsidiary legislation) or an exact/partial English or Chinese title — the exact-citation step before reading a section. Returns the English and Traditional Chinese titles (both original-language, equally authentic under Cap. 5 s.4B — neither is a translation), the in-force status, the VERSION DATE of the English text and of the Chinese text as SEPARATE fields (one language can be consolidated ahead of the other), whether it is a principal Ordinance / subsidiary legislation / instrument, and the section count. Source: Hong Kong Department of Justice, e-Legislation.

Parameters

NameTypeRequiredDescription
capstringnoChapter number, e.g. “486”, “Cap. 486”, or “486A” for a subsidiary legislation suffix.
titlestringnoEnglish or Traditional Chinese title, exact or partial, used when cap is not known.

Example call

Arguments

{
  "cap": "486"
}

curl

curl -X POST https://gateway.pipeworx.io/hk-elegislation/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hk_law_info","arguments":{"cap":"486"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('hk_law_info', {
  "cap": "486"
});

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 hk-elegislation pack
{
  "mcpServers": {
    "hk-elegislation": {
      "url": "https://gateway.pipeworx.io/hk-elegislation/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 16, 2026