# uk-legal

uk-legal wires your assistant into UK case law, statutes, Hansard, bills, divisions, committee evidence and HMRC tax data. Useful when you need the actual provision instead of a summary.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 3099 installs
- Author: bouch
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/bouch/uk-legal
- Updated: 2026-04-02
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/uk-legal

## What it does

A remote MCP endpoint that answers questions about British law. Judgments arrive through the TNA Find Case Law API, statutes and statutory instruments through legislation.gov.uk, while Hansard, bills, divisions and committees come from Parliament's services. A separate cluster of tools handles OSCOLA: one pulls citations out of free text, another resolves a single citation to a canonical URL, a third maps every reference inside a judgment and groups them by type.

Nothing runs on your machine. The server sits at `https://uk-legal--bouch.run.tools` and the client talks to it over HTTP. Reading takes two steps on purpose: list the paragraph index or the table of contents, then fetch one item. For a section of an act, pass the number alone, `47`, not `section-47`.

Output is capped in places. Section text stops at `max_chars`, 10,000 characters by default, so long definition clauses need a bigger number. Voter lists in `votes_get_division` keep 100 names per side, and member interests or committee evidence come one page at a time with `offset` for the rest. Sentiment sorting in `parliament_vibe_check` depends on sampling; without it you get the raw speeches and no breakdown of who backs what.

## Requirements
- Remote server: `https://uk-legal--bouch.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http uk-legal https://uk-legal--bouch.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add uk-legal --url https://uk-legal--bouch.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "uk-legal": {
            "url": "https://uk-legal--bouch.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "uk-legal": {
            "type": "http",
            "url": "https://uk-legal--bouch.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http uk-legal https://uk-legal--bouch.run.tools
```

## When to use it
- find a judgment by neutral citation and read the relevant paragraph
- check whether a section of an act is still in force
- turn OSCOLA references in a draft into working links
- see how members voted in a specific division
- confirm which VAT rate applies to a service

## Example prompts
- Search case law for “unfair dismissal” and read paragraph 12 of the first hit with `judgment_get_paragraph`.
- Pull section 47 of the Companies Act 2006 and tell me if it is in force.
- Parse the OSCOLA citations in this draft with `citations_parse` and resolve each one.

## Similar
- [UK Legal Research](https://affpapa.org/en/nevibecode/mcp/uk-legal-research.md) — MCP server · ★ 21 repo stars
- [justicelibre](https://affpapa.org/en/nevibecode/mcp/justicelibre.md) — MCP server · ★ 15 repo stars
- [CanLII](https://affpapa.org/en/nevibecode/mcp/canlii.md) — MCP server · ★ 9 repo stars
- [BAILII UK Case Law](https://affpapa.org/en/nevibecode/mcp/bailii-uk-case-law.md) — MCP server · ★ 7 repo stars
- [legal](https://affpapa.org/en/nevibecode/skills/legal.md) — skill · 520 installs
- [Open Legal Chile](https://affpapa.org/en/nevibecode/mcp/open-legal-chile.md) — MCP server · ★ 7 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
