get_uk_judgment

Pack: uk-caselaw · 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/get_uk_judgment for the schema, then POST the same URL with its arguments for the data.

Fetch the FULL TEXT of a UK judgment from its neutral citation (“[2023] UKSC 42”, “[2026] EWHC 1996 (Comm)”) or its Find Case Law identifier. Returns the judgment text along with the case name, court, date and citation, so a quoted passage or a cited authority can actually be checked against what the court wrote rather than taken on trust. Text is long; use max_chars to bound it.

Parameters

NameTypeRequiredDescription
citationstringyesNeutral citation, e.g. “[2023] UKSC 42”, or a Find Case Law identifier like “uksc/2023/42”.
max_charsnumbernoMaximum characters of judgment text to return (default 40000). The response says whether it was truncated.

Example call

Arguments

{
  "citation": "[2023] UKSC 42",
  "max_chars": 20000
}

curl

curl -X POST https://gateway.pipeworx.io/uk-caselaw/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_uk_judgment","arguments":{"citation":"[2023] UKSC 42","max_chars":20000}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('get_uk_judgment', {
  "citation": "[2023] UKSC 42",
  "max_chars": 20000
});

More examples

{
  "citation": "[2026] EWHC 1996 (Comm)"
}

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 uk-caselaw pack
{
  "mcpServers": {
    "uk-caselaw": {
      "url": "https://gateway.pipeworx.io/uk-caselaw/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 25, 2026