BAILII UK Case Law vs Melta UI

A side-by-side look at the BAILII UK Case Law and Melta UI MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

BAILII UK Case Law logoBAILII UK Case LawLegal · Local subprocess (stdio)Search UK case law on BAILII — court judgments with section extraction. Runs locally.53GoodAuth: not declaredMelta UI logoMelta UILegal · Local subprocess (stdio)AI-Ready design system MCP: melta UI tokens, component contracts, 99 rules, check_html self-verify69GreatAuth: not declared

Verdict: choose BAILII UK Case Law for legal work as a local process; choose Melta UI for legal as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

BAILII UK Case Law logoChoose BAILII UK Case Law when

  • You need dedicated capabilities in the Legal domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like bailii_search, bailii_get_judgment, bailii_list_courts.
Explore BAILII UK Case Law

Melta UI logoChoose Melta UI when

  • You need dedicated capabilities in the Legal domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like get_token, get_component, check_rule.
Explore Melta UI

Feature & specification comparison

Rows where the two servers differ are marked.

SpecBAILII UK Case Law logoBAILII UK Case LawMelta UI logoMelta UI
CategoryLegalLegal
Quality signal53/100 · Good69/100 · Great
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNot declared
PricingNot declaredNot declared
Required env varsNone listedNone listed
Verified ownerCommunity listingCommunity listing
GitHub stars6202
Directory activity 2 views 0 installs 0 upvotes 4 views 0 installs 0 upvotes
Tools36

Tools & capabilities

BAILII UK Case Law tools 3

  • bailii_searchSearch 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_judgmentRetrieve 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_courtsList 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.

Melta UI tools 6

  • get_tokenGet a design token by dot-path. Returns the token object with its value and class mapping.
  • get_componentGet component metadata including variants, sizes, accessibility requirements, HTML sample, per-state specs (stateSpecs: disabled/loading/open/empty etc. — each with delta class strings + aria changes), and anatomy parts (overlay/container/th etc. with element/roles/class). Prefer these structured fields over inferring states from the HTML sample.
  • check_ruleCheck class strings against this design system's prohibition rules. Returns violations with reasons and alternatives.
  • check_htmlLint a full HTML/JSX source against melta-ui rules — the same checks as CI and the PostToolUse hook (class rules + html-attr rules + composition rules for HTML). Use this AFTER generating UI code to self-verify before presenting it. Response always includes coverage info (manual rules cannot be auto-checked).
  • searchSearch across tokens and components by keyword. Matches against names, values, class strings, and descriptions. Returns up to 20 results (truncated flag when more matched).
  • get_rulesGet melta-ui prohibition rules from rules.json (107 total). Use this to retrieve manual/contextual rules that check_rule cannot auto-detect. Supports filtering by category, severity, or detector.

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

BAILII UK Case Law

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "bailii-uk-case-law": {
      "command": "uvx",
      "args": [
        "bailii-mcp"
      ]
    }
  }
}

Melta UI

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "melta-ui": {
      "command": "npx",
      "args": [
        "-y",
        "melta-ds-mcp"
      ]
    }
  }
}

Frequently asked questions

BAILII UK Case Law is categorized under Legal and uses a local stdio subprocess. Melta UI belongs to Legal and uses a local stdio subprocess. Pick BAILII UK Case Law for legal work and Melta UI for legal.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

BAILII UK Case Law has no declared pricing — check the project's own site. Melta UI has no declared pricing — check the project's own site. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add bailii-uk-case-law and melta-ui as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, BAILII UK Case Law has a quality signal of 53/100 (Good) with 2 views, 0 installs and 6 GitHub stars. Melta UI has 69/100 (Great) with 4 views, 0 installs and 202 GitHub stars.