nl_wetten_get_law
Pack: nl-wetten · 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/nl_wetten_get_law for the schema, then POST the same URL with its arguments for the data.
Look up one Dutch regulation by its BWB id (e.g. “BWBR0005537”) as it stood on “as_of” (default today): citeertitel, authority, legal domain(s), the toestand’s own validity period (separate from publication/in-force dates), its chapter structure, and a paged list of article numbers (offset/limit, has_more/next_offset — never truncated silently). Pass an article number to nl_wetten_get_article to read its text.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
bwb_id | string | yes | BWB identifier, e.g. “BWBR0005537”. |
as_of | string | no | Resolve to the version valid on this ISO date (YYYY-MM-DD). Defaults to today. |
offset | number | no | 0-based offset into the article list (default 0). |
limit | number | no | Max article numbers to list, 1-300 (default 100). |
Example call
Arguments
{
"bwb_id": "BWBR0005537"
}
curl
curl -X POST https://gateway.pipeworx.io/nl-wetten/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"nl_wetten_get_law","arguments":{"bwb_id":"BWBR0005537"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('nl_wetten_get_law', {
"bwb_id": "BWBR0005537"
});
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 nl-wetten pack
{
"mcpServers": {
"nl-wetten": {
"url": "https://gateway.pipeworx.io/nl-wetten/mcp"
}
}
}
See Getting Started for client-specific install steps.