get_uk_judgment
Pack: uk-caselaw · Endpoint: https://gateway.pipeworx.io/uk-caselaw/mcp
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
| Name | Type | Required | Description |
|---|---|---|---|
citation | string | yes | Neutral citation, e.g. “[2023] UKSC 42”, or a Find Case Law identifier like “uksc/2023/42”. |
max_chars | number | no | Maximum 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, or use one-click install buttons:
{
"mcpServers": {
"uk-caselaw": {
"url": "https://gateway.pipeworx.io/uk-caselaw/mcp"
}
}
}
See Getting Started for client-specific install steps.