ie_law_get
Pack: ireland-law · 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/ie_law_get for the schema, then POST the same URL with its arguments for the data.
Fetch one Irish Act by year and number (e.g. year 2018, number 7 for the Data Protection Act 2018). Returns title, citation, long title, date, the list of sections and schedules, and whether a consolidated Revised Act exists and how current it is. Pass section (e.g. “10”, “10A” or “schedule 2”) for that provision’s text. Text is as enacted by the Oireachtas; later amendments are not applied, so in_force is true only where a Revised Act exists (the Act is then in force at least in part) and otherwise unknown (null).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
year | number | yes | Year of the Act, e.g. 2018 |
number | number | yes | Act number in that year, e.g. 7 |
section | string | no | Section number, e.g. “10” or “10A”, or “schedule 2” |
Example call
Arguments
{
"year": 2018,
"number": 7,
"section": "10"
}
curl
curl -X POST https://gateway.pipeworx.io/ireland-law/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ie_law_get","arguments":{"year":2018,"number":7,"section":"10"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ie_law_get', {
"year": 2018,
"number": 7,
"section": "10"
});
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | |
year | number | |
number | number | |
title | string | |
citation | string | |
long_title | string | |
enacted_date | string | |
in_force | boolean | |
revised_edition | object | |
text_basis | string | |
url | string | |
source | string | |
data_as_of | string | |
note | string | |
section | string | |
section_title | string | |
text | string |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"year": {
"type": "number"
},
"number": {
"type": "number"
},
"title": {
"type": "string"
},
"citation": {
"type": "string"
},
"long_title": {
"type": "string"
},
"enacted_date": {
"type": "string"
},
"in_force": {
"type": "boolean"
},
"revised_edition": {
"type": "object",
"properties": {
"available": {
"type": "boolean"
},
"updated_to": {
"type": "string"
},
"url": {
"type": "string"
},
"source": {
"type": "string"
}
},
"additionalProperties": true
},
"text_basis": {
"type": "string"
},
"url": {
"type": "string"
},
"source": {
"type": "string"
},
"data_as_of": {
"type": "string"
},
"note": {
"type": "string"
},
"section": {
"type": "string"
},
"section_title": {
"type": "string"
},
"text": {
"type": "string"
}
},
"additionalProperties": true
}
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 ireland-law pack
{
"mcpServers": {
"ireland-law": {
"url": "https://gateway.pipeworx.io/ireland-law/mcp"
}
}
}
See Getting Started for client-specific install steps.