# Global law

Global law — an MCP server for Claude Code and Codex that lets assistants query statutory legislation and court rulings from multiple jurisdictions across any chosen date.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 2182 repo stars
- Author: lexifina
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/lexifina/global-law
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/global-law

## What it does

The server connects assistants to a legal archive structured as Git commits, where entries represent enactments taking effect. It exposes capabilities to inspect the exact wording of a statute on a specified day, compare changes across intervals, and pinpoint which legislation amended a given paragraph.

It handles court rulings separately from statutes, parses regional legal citations such as `§ 823 Abs. 1 BGB`, and checks whether precedent texts remain active. The remote endpoint `https://global-law.lexifina.com/mcp` runs freely without authentication, while local hosting relies strictly on standard Git and Python installations.

## Requirements
- Needs: Python and uv (commands run via uvx)
- Remote server: `https://global-law.lexifina.com/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http global-law https://global-law.lexifina.com/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add global-law --url https://global-law.lexifina.com/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "global-law": {
            "url": "https://global-law.lexifina.com/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "global-law": {
            "type": "http",
            "url": "https://global-law.lexifina.com/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http global-law https://global-law.lexifina.com/mcp
```

## When to use it
- fetch statutory text in effect on a specific historical date
- track which enactment altered a specific statutory section
- verify whether cited precedents apply provisions still in force
- resolve regional legal citations into structured sources

## Example prompts
- Display 11 U.S.C. §1182 as in force on 2022-05-01
- Show the diff for 11 U.S.C. §1182 between 2022-05-01 and 2022-07-01
- Check citation § 823 Abs. 1 BGB and confirm if it remains active

## Similar
- [kvasir — verifiable German, Austrian, Swiss & EU law](https://affpapa.org/en/nevibecode/mcp/kvasir-verifiable-german-austrian-swiss-eu-law.md) — MCP server
- [law-student](https://affpapa.org/en/nevibecode/plugins/law-student.md) — plugin · ★ 10060 repo stars
- [australian-law-mcp](https://affpapa.org/en/nevibecode/mcp/australian-law-mcp.md) — MCP server · ★ 7 repo stars
- [ris-austria-mcp-server](https://affpapa.org/en/nevibecode/mcp/ris-austria-mcp-server.md) — MCP server · 1751 installs
- [lawyer-expert](https://affpapa.org/en/nevibecode/skills/lawyer-expert.md) — skill · 479 installs
- [Leis do Brasil](https://affpapa.org/en/nevibecode/mcp/leis-do-brasil.md) — MCP server · ★ 71 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
