You're viewing a demo portfolio

Join the waitlist
PRSM

get_legislation

Active

Tool of Legislation Uk

declared in 0.1.0

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."
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

Legislation Uk

https://github.com/pipeworx-io/mcp-legislation-uk

2/7 registries
View full server →
get_legislation — Legislation Uk — PRSM MCP