search_uk_caselaw
Pack: uk-caselaw · Endpoint: https://gateway.pipeworx.io/uk-caselaw/mcp
Search UK court judgments and tribunal decisions by subject, party name or judge — the Supreme Court, Court of Appeal, High Court, Court of Protection, Family Court and the UK tribunals, from The National Archives’ Find Case Law. Returns the case name, the NEUTRAL CITATION (“[2026] EWHC 1996 (Comm)”), the court, the judgment date and a link, plus the identifier get_uk_judgment reads to fetch the full text. Use this for UK, English, Welsh, Northern Irish and UK-wide law. US case law is a different corpus entirely — search_case_law and find_case cover that, and returning a US authority for a UK question is a wrong answer, not a near miss.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Free-text search over the judgment text, e.g. “unjust enrichment” or “vicarious liability”. |
court | string | no | Court code to narrow to, e.g. “uksc”, “ewca/civ”, “ewhc/comm”. Call list_uk_courts for the codes — they are not guessable from a court name. |
party | string | no | Party name to match, e.g. “Tesco”. |
judge | string | no | Judge name to match. |
from_date | string | no | Earliest judgment date, YYYY-MM-DD. |
to_date | string | no | Latest judgment date, YYYY-MM-DD. |
order | string | no | newest (default) | oldest | relevance. |
limit | number | no | Judgments to return, 1-50 (default 20). |
Example call
Arguments
{
"query": "unjust enrichment",
"court": "uksc",
"limit": 3
}
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":"search_uk_caselaw","arguments":{"query":"unjust enrichment","court":"uksc","limit":3}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_uk_caselaw', {
"query": "unjust enrichment",
"court": "uksc",
"limit": 3
});
More examples
{
"query": "vicarious liability",
"from_date": "2020-01-01",
"order": "relevance",
"limit": 10
}
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.