# Relex Legal

Relex Legal — an MCP server for Claude Code that gives an agent access to permitted legal matter context in Relex. The agent can read saved material and record its work.

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

## What it does

Relex Legal connects an agent to matter context, redacted sources and saved drafts. It can read authorized material, store work products and search published profiles of verified legal professionals. Access to each matter follows the account's permissions.

The server uses the remote endpoint `https://relex.legal/api/mcp`; there is no separate server to host. Sign-in uses OAuth 2.1 through Google or Apple. Static API keys are also supported for CI or headless use. Private chat histories do not transfer automatically.

Sending material outside Relex, uploading files and deleting items are handled in the Relex app. The server provides legal information, not legal advice; a qualified lawyer must review its output before anyone relies on it.

## Requirements
- Remote server: `https://relex.legal/api/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http relex https://relex.legal/api/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add relex-legal --url https://relex.legal/api/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "relex-legal": {
            "url": "https://relex.legal/api/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "relex-legal": {
            "type": "http",
            "url": "https://relex.legal/api/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http relex-legal https://relex.legal/api/mcp
```

## When to use it
- read authorized context for a legal matter
- save an agent's conclusions to the matter record
- find a published profile for a verified professional
- prepare a professional request for user approval

## Example prompts
- Read the permitted context for this matter and list its saved conclusions.
- Save this draft as a work product for the matter.
- Find a verified lawyer in my specialty and prepare a request for approval.

## Similar
- [Legal MCP (alternativa ao Jusbrasil)](https://affpapa.org/en/nevibecode/mcp/legal-mcp-alternativa-ao-jusbrasil.md) — MCP server · ★ 6 repo stars
- [Ansvar: EU Compliance & Legal Intelligence](https://affpapa.org/en/nevibecode/mcp/ansvar-eu-compliance-legal-intelligence.md) — MCP server · ★ 3 repo stars
- [legal-builder-hub](https://affpapa.org/en/nevibecode/plugins/legal-builder-hub.md) — plugin · ★ 10060 repo stars
- [legal-clinic](https://affpapa.org/en/nevibecode/plugins/legal-clinic.md) — plugin · ★ 10060 repo stars
- [uk-legal](https://affpapa.org/en/nevibecode/mcp/uk-legal.md) — MCP server · 3099 installs
- [spain-legal](https://affpapa.org/en/nevibecode/mcp/spain-legal.md) — MCP server · 1424 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
