Server data from the Official MCP Registry
Legal practice management: redacted matters, sources, drafts and verified legal professionals.
About
Legal practice management: redacted matters, sources, drafts and verified legal professionals.
Remote endpoints: streamable-http: https://relex.legal/api/mcp
Security Report
Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry.
Endpoint verified · Requires authentication · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Found in Source Code
Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.
How to Connect
Remote Plugin
No local installation needed. Your AI client connects to the remote endpoint directly.
Add this to your MCP configuration to connect:
{
"mcpServers": {
"legal-relex-relex": {
"url": "https://relex.legal/api/mcp"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
Relex × MCP (generic)
Legal Workspace — One source of truth for any Agent — confidential by design
Keep legal knowledge, matter context and saved progress in Relex, independently of the assistant you use. Authorize another compatible agent to continue from the same stored context, without rebuilding the background in another chat.
Portable context, with your permission
- Create or open the matter in Relex and add information through its protected intake and document workflows.
- Connect a supported client to
https://relex.legal/api/mcpand authorize your own Relex account. Installing a package does not authorize private data. - Ask the agent to read the permitted matter context before working and save its conclusions when finished. A second authorized client can then use that continuing record.
Portability covers information saved in Relex, not automatic import of private chat histories or a model's internal memory. Client-side identity encryption, de-identification and MCP access controls protect the supported workflows; de-identified legal facts may still be sensitive. Review what you authorize.
Workspace, SDK and Marketplace
Use Legal Workspace for persistent legal context; the Legal SDK for building your firm's or legal department's own platform; and the Legal Marketplace to discover published professional profiles or make an AI-first law firm discoverable across specialties.
An agent may help find a professional and prepare a reference-only request. The user must review and approve sharing in Relex. Discovery is not engagement, a completed conflict check, payment or a guarantee of professional availability.
What the workspace covers
Each area is a search tag on the MCP server; see
how-relex-works.md §0 and §7.
| Area | Over MCP |
|---|---|
| Matters and portable context | Matter context, redacted sources, saved work products, steering conclusions |
| Ontology | Matter graph read and evidence-backed corrections; firm ontology |
| Know-how | Playbooks, clause library (search, add, update), labelled templates (create, list by label, update), knowledge sources |
| Research | Cached official legal text |
| Data collection | Which channels feed the workspace (status only) |
| Agreements | Drafts, review comments, enforceability advisory, agreements from templates |
| Intake | Evaluation agent, guest-link redemption |
| E-signature | Prepare for signature (the user confirms the send in Relex); signature status by signer role |
| Invoices | Create and read (the user confirms the send in Relex) |
| Payments | Payment status and online-payment readiness (read-only) |
Deletions, sends to people outside Relex, billing and payment writes, uploads and connecting channels happen in the Relex app. Relex output is legal information, not legal advice; a qualified lawyer reviews it before anyone relies on it.
Client support depends on the host product, plan and administrator settings. Gemini CLI support does not imply support in every Gemini web experience. Harvey BYOMCP is a customer-admin connection path, not a claim of Harvey Connector Library listing or approval. Check the current connector guides and portable-context guide.
MCP endpoint (the whole product surface)
https://relex.legal/api/mcp
Transport: Streamable HTTP (MCP). Auth: OAuth 2.1 + PKCE (browser sign-in with Google/Apple — no key to paste). Static API keys work as a CI/headless fallback.
Thirteen tools:
| Tool | Purpose |
|---|---|
list_matters | List up to 20 authorized matter references (caseId + deep link; no names or client identity) (read-only) |
read_matter_context | Read an authorized matter's saved, redacted context (read-only) |
diagnose_matter_sources | Per-source readiness, failure code and repair action (read-only) |
read_matter_source | Read one source's full redacted text in pages (read-only) |
save_matter_work_product | Save a draft or a new revision of one (revision-checked write) |
correct_matter_ontology | Apply typed ontology operations with evidence references (revision-checked write) |
conclude_matter_session | Conclude an open steering session; conclusions are saved to the matter thread (write) |
find_legal_professionals | Find published, professionally verified Marketplace profiles (read-only) |
read_legal_professional | Read a published profile and its request availability (read-only) |
prepare_professional_request | Prepare a request to a professional; returns an approval link, sends and charges nothing |
search | Discover API endpoints from the OpenAPI surface (read-only) |
read_api | Read one validated GET endpoint with the user's auth + PII guard (read-only) |
execute | Create, update or delete through one validated endpoint (POST/PUT/PATCH/DELETE) with the user's auth + PII guard |
The MCP handler lives in the Relex backend (/v1/mcp). This repo is
configuration, skills, and install docs — not a separate server to host.
Quick connect (any MCP client)
JSON config (Cursor, Windsurf, Claude Desktop, etc.)
{
"mcpServers": {
"relex": {
"type": "http",
"url": "https://relex.legal/api/mcp"
}
}
}
Some clients use url / httpUrl instead of type+url. Same endpoint.
CLI examples
# Claude Code (HTTP + OAuth)
claude mcp add --transport http relex https://relex.legal/api/mcp
# Gemini CLI
gemini mcp add --transport http relex https://relex.legal/api/mcp
# API-key fallback (CI / headless)
claude mcp add --transport http relex https://relex.legal/api/mcp \
--header "Authorization: Bearer rlx_..."
After connect, say: "Set up my practice workflow with Relex."
What each product calls this
Same MCP URL; different UI labels:
| Product | Official UI name |
|---|---|
| Claude | Custom connector |
| ChatGPT | App / custom MCP connector (Developer mode) |
| Grok.com | Connector → Custom |
| Grok Build | MCP server / plugin |
| Gemini CLI | MCP server |
| Gemini Enterprise | Custom MCP Server |
| Cursor / generic | MCP server |
Always name it Relex, URL https://relex.legal/api/mcp.
Personal vs Team (applies across hosts)
| Plan type | Who installs | Who signs in |
|---|---|---|
| Personal | You add the connector / app / MCP server | You Connect + OAuth |
| Team / Business / Enterprise | Owner or admin adds once | Each member finds Relex listed and Connects their Relex account |
Members on Team plans usually cannot add custom entries themselves.
OAuth (generic MCP)
Hosts that support MCP OAuth: unauthenticated call → 401 +
WWW-Authenticate: resource_metadata=… → browser Google/Apple on relex.legal →
bearer token on later search/read_api/execute. Full walkthrough:
docs/oauth.md and https://relex.legal/docs/connectors/mcp
Full install flows: docs/install.md.
Layout
relex-mcp/
├── plugin/
│ ├── .mcp.json Remote MCP connector URL
│ ├── skills/ PII-safe workflow skills (agent-agnostic)
│ ├── agents/ Onboarding guide
│ ├── commands/ /relex-setup, /relex-connect
│ └── references/
├── docs/
│ ├── install.md All clients + personal vs team
│ ├── connect-generic.md Cursor, Windsurf, custom hosts
│ └── positioning.md
├── SECURITY.md
└── README.md
What the agent can do
Act as senior counsel + steering layer over Relex's execution harness: start cases, steer drafting sessions, audit the case ontology, ground citations, run intake → e-sign → invoice — while never receiving names, national IDs, or document plaintext. Those steps deep-link into the browser.
Docs on relex.legal
License
AGPL-3.0-or-later — see LICENSE.
How data moves through Relex
| Step | Where |
|---|---|
| Files are uploaded to a matter | Case page in the Relex app (https://relex.legal/dashboard/cases/{caseId}, Attach) |
| The assistant reads redacted sources | read_matter_context, read_matter_source (parties as [PARTY_NAME_n] labels) |
| The assistant saves its work | save_matter_work_product: markdown with label tokens, versioned in the matter |
| The user exports the finished document | Relex app: Word, PDF, Google Drive, signing, email. Labels become the parties' real details in the user's browser, after the user's PII password when parties are sealed |
Identity fields and original files never reach the assistant. The full guide,
including ontology operations, agents and every endpoint area, is
plugin/references/how-relex-works.md.
MCP tools (remote server)
The hosted connector at https://relex.legal/api/mcp exposes thirteen tools:
list_matters, read_matter_context, read_matter_source, diagnose_matter_sources,
save_matter_work_product, correct_matter_ontology, conclude_matter_session,
find_legal_professionals, read_legal_professional, prepare_professional_request,
search, read_api, and execute. Auth is OAuth 2.1 + PKCE. The default connector scopes are
relex.cases.read relex.cases.write relex.draft; these are the scopes the 401
WWW-Authenticate challenge requests. relex.agent is an optional fourth scope
for agent features; the challenge omits it by design, and the OAuth metadata
(scopes_supported) and the MCP server card list all four.
Generic remote MCP clients: point Streamable HTTP at https://relex.legal/api/mcp and complete browser OAuth.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
