Skip to main content
MCP server CX Codex

uk-legal — Claude Code MCP server: UK law research and setup

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.

no license 3,099 installs updated 2026-04-02

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http uk-legal https://uk-legal--bouch.run.tools
Open on GitHub

What uk-legal 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.

What it helps with

  • 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 for the agent

  • 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.

How to install uk-legal

Platform CLI: remote server

claude mcp add --transport http uk-legal https://uk-legal--bouch.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about uk-legal

How do I install uk-legal in Claude Code?

Run claude mcp add --transport http uk-legal https://uk-legal--bouch.run.tools. The server is hosted, so there is no local process to start.

What does uk-legal do?

It gives the assistant tools for British law: searching and reading judgments, act sections, Hansard debates, bills, divisions, committees and HMRC tax data. It also parses and resolves OSCOLA citations.

Why does parliament_vibe_check return only speeches?

The tool classifies sentiment through LLM sampling. When sampling is unavailable it falls back to the matching Hansard contributions, with no supporters, opponents or key concerns.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open