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

NameTypeRequiredDescription
yearnumberyesYear of the Act, e.g. 2018
numbernumberyesAct number in that year, e.g. 7
sectionstringnoSection 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

FieldTypeDescription
foundboolean
yearnumber
numbernumber
titlestring
citationstring
long_titlestring
enacted_datestring
in_forceboolean
revised_editionobject
text_basisstring
urlstring
sourcestring
data_as_ofstring
notestring
sectionstring
section_titlestring
textstring
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.

Regenerated from source · build November 15, 2026