
Relex Legal MCP Server
Legal practice management: redacted matters, sources, drafts and verified legal professionals.
Relex Legal scores 64 (Good), licensed AGPL-3.0 and written in Python. It can be reached as a remote MCP endpoint. It does not declare tools yet. Filed under Uncategorized. GitHub shows 1 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
64 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: agpl-3.0.
License, quality and maintenance
License: Grade C
AGPL-3.0 is a strong copyleft license: derived works must use the same license.
How license is gradedQuality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 64 comes from
22 + 20 + 1 + 10 + 4 + 7 = 64. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Remote auth: OAuth sign-in. Your client opens a browser window to sign in with the provider. No key goes in the config file. How remote auth works
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "relexlegal-relex-mcp": { "url": "https://relex.legal/api/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
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.
Frequently asked questions
What is Relex Legal MCP Server?
Legal practice management: redacted matters, sources, drafts and verified legal professionals.
How do I install Relex Legal MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Relex Legal MCP Server connects to the remote endpoint https://relex.legal/api/mcp, so there is nothing to install locally.
Is Relex Legal MCP Server free and open source?
Yes. Relex Legal MCP Server is released under the AGPL-3.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Relex Legal MCP Server support remote (HTTP) connections?
Yes. Relex Legal MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
How is Relex Legal MCP Server's trust score calculated?
Relex Legal MCP Server scores 64 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.