Relex Legal — Claude Code MCP server: features and setup
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.
AGPL-3.0 ★ 1 updated 2026-11-03
claude mcp add --transport http relex https://relex.legal/api/mcpWhat Relex Legal 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.
What it helps with
- 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 for the agent
- 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.
How to install Relex Legal
Platform CLI: remote server
claude mcp add --transport http relex https://relex.legal/api/mcpPlatform CLI: remote server
codex mcp add relex-legal --url https://relex.legal/api/mcpConfig file
{
"mcpServers": {
"relex-legal": {
"url": "https://relex.legal/api/mcp"
}
}
}Config file
{
"servers": {
"relex-legal": {
"type": "http",
"url": "https://relex.legal/api/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http relex-legal https://relex.legal/api/mcpStep 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 Relex Legal
How do I install Relex Legal in Claude Code?
Run claude mcp add --transport http relex https://relex.legal/api/mcp, then authorize your Relex account through OAuth.
What does Relex Legal do?
It lets an agent access authorized matter context, redacted sources and saved drafts. The server can also search for verified legal professionals.
What does Relex Legal require?
It requires a Relex account and OAuth sign-in through Google or Apple. A static API key can be used for headless environments such as CI.