BAILII UK Case Law
Search UK case law on BAILII — court judgments with section extraction. Runs locally.
Versions
1.0.1latestTools 3
bailii_search 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 }
bailii_get_judgment 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.
bailii_list_courts 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 filesystem low env_vars low