BAILII MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| bailii_searchA | 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. |
| bailii_get_judgmentA | 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. |
| bailii_list_courtsA | 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. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a distinct purpose: searching case law, listing courts, and retrieving a judgment. No overlap or ambiguity.
All tools follow the consistent pattern 'bailii_verb_noun' (list_courts, search, get_judgment), making it predictable.
Three tools are well-scoped for a legal research server, covering search, court info, and judgment retrieval without unnecessary bulk.
The core workflow of searching and retrieving judgments is complete. However, advanced filtering by court or date is missing, which slightly limits coverage.