get_legislation
ActiveTool of Legislation Uk
Get metadata for one specific piece of UK legislation by type + year + number (e.g. ukpga/2010/15 = Equality Act 2010). Returns title, type, year, number, status, extent, enactment date, a long-title summary, and the full-text URL. Content is XML; fields are best-effort parsed and a raw excerpt is included.
Parameters schema
{
"type": "object",
"required": [
"type",
"year",
"number"
],
"properties": {
"type": {
"type": "string",
"description": "Document type, e.g. \"ukpga\". One of: ukpga (UK Public General Acts), uksi (UK Statutory Instruments), asp (Scottish Parliament Acts), anaw/asc (Wales), nia (Northern Ireland), ukla (UK Local Acts)."
},
"year": {
"type": "number",
"description": "Year, e.g. 2010."
},
"number": {
"type": "number",
"description": "Item number within that year/type, e.g. 15."
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Legislation Uk
https://github.com/pipeworx-io/mcp-legislation-uk
2/7 registries