hk_law_section
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_section for the schema, then POST the same URL with its arguments for the data.
One section of a Hong Kong law, English and Traditional Chinese side by side.
Tool description as the model sees it
Full text of ONE section of a Hong Kong law, by Cap. number or title plus section number in any common spelling — “2”, “s2”, “section 2”, “14A”. Returns the English text AND the Traditional Chinese text of that SAME section side by side — both original-language and equally authentic (Official Languages Ordinance, Cap. 5 s.4B), never one a “translation” of the other — plus the section’s in-force status and version-valid-from date. A long law is never returned whole; use hk_law_toc to find section numbers, and call this once per section.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
cap | string | no | Chapter number (from hk_law_search or hk_law_info), e.g. “486” or “486A”. |
title | string | no | English or Traditional Chinese title, used when cap is not known. |
section | string | yes | Section number, any common spelling: “2”, “s2”, “section 2”, “14A”. |
Example call
Arguments
{
"cap": "486",
"section": "2"
}
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_section","arguments":{"cap":"486","section":"2"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('hk_law_section', {
"cap": "486",
"section": "2"
});
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.