ie_law_search
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_search for the schema, then POST the same URL with its arguments for the data.
Search Irish Acts of the Oireachtas by words in the title, e.g. “data protection” or “companies”. Reads the Statute Book year by year, so it covers a range of years: by default the last 25 years; set from_year (as early as 1922) and to_year to widen or narrow, e.g. from_year 1988 to_year 1988 for the Data Protection Act 1988. Returns Act number, year, title and a link; matches are newest first. Acts only (not statutory instruments). Pair with ie_law_get for contents and section text.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Word(s) from the Act title, e.g. “data protection” |
from_year | number | no | First year to search (default: 24 years before to_year; earliest 1922) |
to_year | number | no | Last year to search (default: the current year) |
Example call
Arguments
{
"query": "data protection",
"from_year": 1988,
"to_year": 2018
}
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_search","arguments":{"query":"data protection","from_year":1988,"to_year":2018}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ie_law_search', {
"query": "data protection",
"from_year": 1988,
"to_year": 2018
});
Response shape
| Field | Type | Description |
|---|---|---|
query | string | |
from_year | number | |
to_year | number | |
years_searched | number | |
count | number | |
results | array | |
source | string | |
data_as_of | string |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"from_year": {
"type": "number"
},
"to_year": {
"type": "number"
},
"years_searched": {
"type": "number"
},
"count": {
"type": "number"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"year": {
"type": "number"
},
"number": {
"type": "number"
},
"title": {
"type": "string"
},
"citation": {
"type": "string"
},
"url": {
"type": "string"
}
},
"additionalProperties": true
}
},
"source": {
"type": "string"
},
"data_as_of": {
"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.