search_uk_caselaw

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/search_uk_caselaw for the schema, then POST the same URL with its arguments for the data.

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, Employment Appeal Tribunal and the other 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 England & Wales and UK-wide law. NOT ALL UK LAW: no Crown/County/Magistrates’ Court judgments (given orally, never transcribed), no dockets/pleadings/filings, Scotland and Northern Ireland’s own court systems are not covered, the first-tier Employment Tribunal is not covered (EAT appeals only), there is no citator/treatment signal, and coverage is mostly 2001 onward — a 0-row result means “not found here”, not “does not exist”. Per-query pass-through only, one judgment at a time: Find Case Law’s Open Justice Licence excludes bulk or computational extraction across its records. 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 — 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