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

NameTypeRequiredDescription
querystringnoFree-text search over the judgment text, e.g. “unjust enrichment” or “vicarious liability”.
courtstringnoCourt 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.
partystringnoParty name to match, e.g. “Tesco”.
judgestringnoJudge name to match.
from_datestringnoEarliest judgment date, YYYY-MM-DD.
to_datestringnoLatest judgment date, YYYY-MM-DD.
orderstringnonewest (default) | oldest | relevance.
limitnumbernoJudgments 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.

Regenerated from source · build August 12, 2026