# Legalize

Connects your AI client to a consolidated legal corpus to pull exact statutory wording on any historical date with git commit citations.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 2
- Author: legalize-dev
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/legalize-dev/mcp
- Updated: 2026-10-22
- HTML: https://affpapa.org/en/nevibecode/mcp/legalize

## What it does

Legalize is a remote Streamable HTTP server hosted at `https://legalize.dev/mcp`. You do not install local packages. When an agent queries a statute, the server returns complete articles instead of fragmented snippets. Each answer provides the text and the git commit SHA backing the quote.

The underlying legal corpus remains strictly read-only. Calling tools requires signing into Legalize on the first request. You can inspect unified diffs between two historical dates with `diff_law` or view amending norms via `reform_history`. Creating alert webhooks or daily email digests requires an active paid account.

## Requirements
- Remote server: `https://legalize.dev/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http legalize https://legalize.dev/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add legalize --url https://legalize.dev/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "legalize": {
            "url": "https://legalize.dev/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "legalize": {
            "type": "http",
            "url": "https://legalize.dev/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http legalize https://legalize.dev/mcp
```

## When to use it
- retrieve full statutory text by law title or official number
- look up the exact wording of a law on a historical date
- inspect unified diffs between two versions of legislation
- trace the history of amendments modifying a statute

## Example prompts
- Retrieve the wording of this statute on June 15 2018 with git commit citations.
- Run diff_law to see changes between the 2015 and 2022 versions of this law.
- Show the amendment history for this norm using reform_history.

## Similar
- [legalize-es-spanish-legislation](https://affpapa.org/en/nevibecode/skills/legalize-es-spanish-legislation.md) — skill · 858 installs
- [UK Legal Research](https://affpapa.org/en/nevibecode/mcp/uk-legal-research.md) — MCP server · ★ 20
- [kvasir — verifiable German, Austrian, Swiss & EU law](https://affpapa.org/en/nevibecode/mcp/kvasir-verifiable-german-austrian-swiss-eu-law.md) — MCP server
- [Nalegalu MCP](https://affpapa.org/en/nevibecode/mcp/nalegalu-mcp.md) — MCP server · ★ 17
- [justicelibre](https://affpapa.org/en/nevibecode/mcp/justicelibre.md) — MCP server · ★ 12
- [review](https://affpapa.org/en/nevibecode/skills/anthropics-review.md) — skill · 728 installs

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