MCP server exposing 2 tools for scotcourts.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/scotcourts/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
search_scottish_judgments — Search Scottish court and tribunal judgments from the Scottish Courts and Tribunals Service (SCTS), published at scotcourts.gov.uk/judgments/ from 1999 onward: Court of Session, High Court of Justiciary, the National Personal Injury Court, Sheriff Appeal Courts, Sheriff Court civil/criminal, and the Scottish Upper Tribunal chambers. Returns title, court, judges, date and a document_link to the judgment PDF (fetch it with get_scottish_judgment). The `total` field is the true corpus match count (pagination.count.total upstream) — it is not the number of rows in this response, which is capped by `limit`. Coverage is whatever SCTS itself has chosen to publish on this index, not every decision ever made — sheriff court and tribunal coverage in particular is thin next to the higher courts. This is SCOTS law; England & Wales, UK Supreme Court and UK tribunal decisions are a different corpus (search_uk_caselaw).get_scottish_judgment — Resolve a Scottish Courts judgment PDF and confirm it is actually reachable. Pass document_link exactly as returned by search_scottish_judgments (a relative /media/... path or absolute URL), or a case name / citation to look one up first. SCTS judgments are PDF-only — this tool returns the verified PDF URL, HTTP status, content-type and size, and text_extracted: false; it does NOT extract or return the judgment text (no PDF-text pipeline exists in this catalog). Fetch pdf_url to read the actual judgment.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/scotcourts/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io