← Back to search

BAILII UK Case Law

paulieb89 Scanned 23h ago

Search UK case law on BAILII — court judgments with section extraction. Runs locally.

B
76.5 / 100

Versions

1.0.1latest
first seen Jun 5, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 3

bailii_search
annotations: none low

Search BAILII for UK case law by keyword or phrase. Searches the full BAILII database including UKSC, EWCA, EWHC, House of Lords, tribunals, and Irish courts. Returns a list of matching cases with titles, citations, and document paths to use with bailii_get_judgment. Args: params (SearchInput): Search parameters containing: - query (str): Search terms - max_results (int): Number of results to return (default 10) Returns: str: JSON array of results, each containing: { "title": str, "path": str, # pass to bailii_get_judgment "url": str, "snippet": str }

params SearchInput
bailii_get_judgment
annotations: none low

Retrieve a BAILII judgment, optionally filtered to a specific section. Use the path returned by bailii_search. By default returns summary + conclusions (or first 5000 chars if no sections detected). Use section='all' for the complete text. Args: params (GetJudgmentInput): Input containing: - path (str): BAILII document path - section (str, optional): 'summary', 'conclusions', 'held', 'discussion', 'background', 'all' - max_chars (int, optional): Maximum characters to return (default 5000) Returns: str: JSON object with path, url, title, sections_found, and text.

params GetJudgmentInput
bailii_list_courts
annotations: none low

List the main UK courts and tribunals available on BAILII. Returns court codes useful for constructing direct BAILII URLs or understanding search results. Returns: str: JSON object mapping court codes to court names.

Permissions 3

network medium
Server uses network capabilities via: httpx, urllib
filesystem low
Server uses filesystem capabilities via: os
env_vars low
Server uses env_vars capabilities via: os.getenv()

Scan Findings 23

low
Tool 'bailii_search' has no annotations annotation_checker · 100%
low
Tool 'bailii_get_judgment' has no annotations annotation_checker · 100%
low
Tool 'bailii_list_courts' has no annotations annotation_checker · 100%
high
Remote transport without authentication auth_checker · 70%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
medium
Vulnerable dependency: fastmcp@3.0 (GHSA-m8x7-r2rg-vh5g) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.0 (GHSA-rww4-4w9c-7733) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.0 (GHSA-vv7q-7jx5-f767) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.0 (PYSEC-2026-2475) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.0 (PYSEC-2026-2476) dependency_analyzer · 95%
medium
Vulnerable dependency: fastmcp@3.0 (PYSEC-2026-338) dependency_analyzer · 95%
info
pyproject.toml metadata manifest_parser · 100%
info
Tool: bailii_search manifest_parser · 90%
info
Tool: bailii_get_judgment manifest_parser · 90%
info
Tool: bailii_list_courts manifest_parser · 90%
info
Transport: streamable-http manifest_parser · 80%
info
Required env vars (1) manifest_parser · 80%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
medium
Permission: network access detected permission_analyzer · 90%
low
Permission: filesystem access detected permission_analyzer · 70%
low
Permission: env_vars access detected permission_analyzer · 90%
info
SBOM generated: 3 components sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%