Add openlaw-mcp to your AI.
One URL. Pasted into your AI app's connector menu. No API key, no signup. Each app's exact menu names below — with a link to the vendor's own guide so you've always got the current screenshots.
https://openlawmcp.legalaispace.com/v1/mcpThe short version
Pick your app, then copy the URL into its connector menu. Each tab below shows the exact menu path and links straight to the vendor's guide.
Add openlaw to Claude Desktop
Anthropic's desktop app for Claude. Available on Claude Pro, Max, Team, and Enterprise plans.
Add openlaw as a Custom Connector. No terminal, no config file.
Where: Settings → Connectors → Add custom connector
Paste this when it asks for a URL
https://openlawmcp.legalaispace.com/v1/mcphttps://openlawmcp.legalaispace.com/v1/mcpAnthropic — Custom Connectors guideStep-by-step for each app
Each walkthrough mirrors the official documented flow and links straight to the vendor's own guide — Anthropic, OpenAI, Cursor — which carries the current screenshots.
Claude Desktop
Anthropic's desktop app for Claude. Custom Connectors are available on Claude Pro, Max, Team and Enterprise plans.
Anthropic — Custom Connectors guideAnthropic's own recommended way to add a remote MCP server. About 30 seconds, no terminal, no config file.
- 1
Open Settings → Connectors
In Claude Desktop, click your profile picture (bottom-left), choose Settings, then click Connectors in the sidebar.
- 2
Click "Add custom connector"
A dialog opens with fields for the connector name and URL. Name it openlaw and paste the URL below. The OAuth fields stay empty — openlaw-mcp is unauthenticated.
Remote MCP server URLhttps://openlawmcp.legalaispace.com/v1/mcp
- 3
Click Add — you're done
Claude validates the connection and lists the tools. In any new chat, click the + (plus) button in the message bar to enable openlaw for that conversation.
You'll know it worked when…
- openlaw appears in Settings → Connectors with a green Connected indicator
- All 13 tools are listed when you expand the openlaw entry
- The + button in a new chat lets you enable openlaw for the conversation
ChatGPT
OpenAI's flagship AI assistant. Custom Connectors are available on Business, Enterprise, Education and standard plans.
OpenAI — Connect from ChatGPT (Apps SDK)ChatGPT exposes MCP servers as Custom Connectors. You'll flip on Developer mode once, then add openlaw from the Connectors panel.
- 1
Turn on Developer mode
Click your profile picture (top-right) → Settings → Connectors. Scroll to Advanced settings at the bottom and toggle Developer mode on. This is a one-time setup.
- 2
Open Settings → Connectors → Create
Back in the Connectors panel, click the Create button. ChatGPT opens a form with three fields: name, description and URL.
- 3
Fill in the form and click Create
Connector name: openlaw. Description: UK & EU open-law sources from openlawmcp.com. Connector URL: the URL below. Click Create — ChatGPT validates the connection and displays the advertised tools.
Connector URLhttps://openlawmcp.legalaispace.com/v1/mcp
- 4
Use it in any conversation
In any chat, click the + (plus) button next to the message composer, choose More, then pick openlaw. ChatGPT can now call all 13 tools for that conversation.
You'll know it worked when…
- openlaw appears in Settings → Connectors after you click Create
- The connector page lists the advertised tools when you expand it
- + → More → openlaw is selectable in any new conversation
Cursor has a built-in MCP panel. Two clicks; no restart required.
- 1
Open Settings → MCP
Press ⌘, (macOS) or Ctrl+, (Windows/Linux) to open Settings, then click MCP in the left sidebar.
- 2
Click "Add new server"
Choose the HTTP transport, name the entry openlaw and paste the URL below.
Server URLhttps://openlawmcp.legalaispace.com/v1/mcp
- 3
Save
Cursor picks the server up immediately — Composer and Agent now have access to all 13 openlaw-mcp tools.
You'll know it worked when…
- openlaw appears in Settings → MCP with a green status dot
- The tool count reads 13
- Composer and Agent reference openlaw when answering legal-source questions
Claude Code stores MCP servers per user. The hosted openlaw-mcp endpoint speaks streamable HTTP, which Claude Code supports out of the box.
- 1
Register openlaw
Open a terminal anywhere and paste the line below. Claude Code writes the entry to its per-user config.
shellclaude mcp add --transport http openlaw https://openlawmcp.legalaispace.com/v1/mcp
- 2
Verify it landed
List your registered MCP servers and look for openlaw with http transport.
shellclaude mcp list
- 3
Start a session
Run claude to open a session. The startup banner shows openlaw alongside any other servers you have configured.
shellclaude
You'll know it worked when…
- claude mcp list shows openlaw with http transport and ● connected status
- Starting a session prints openlaw (13 tools) in the banner
- Claude calls openlaw → lookup_statute (or similar) when given a legal-source question
Codex supports remote MCP servers via streamable HTTP. No API key, no signup.
- 1
Install Codex (if you haven't already)
Grab the latest release from the GitHub repo, or install via your package manager.
- 2
Register openlaw
One command — Codex stores it in your local config.
shellcodex mcp add openlaw --url https://openlawmcp.legalaispace.com/v1/mcp
- 3
Confirm, then start a chat
List your servers, then open a chat session.
shellcodex mcp ls codex chat
You'll know it worked when…
- codex mcp ls prints a row for openlaw with the hosted URL
- openlaw shows as connected when you list servers
- Legal-source questions in a Codex chat trigger openlaw tool calls
Self-host
If your firm wants full control of caching, outbound traffic or rate-limits, the same server runs on your own infrastructure. Three options:
npx
Best for personal use. Runs inside your client.
npx -y @legalaispace/openlaw-mcp
From source
Clone, build, serve. Mounts /v1/mcp on PORT 3000.
git clone https://github.com/damankaur-dev/openlaw-mcp.git cd openlaw-mcp npm install && npm run build node dist/http.js
Docker
Multi-stage image, non-root user. Set TRUST_PROXY behind a proxy.
docker run --rm -p 3000:3000 ghcr.io/damankaur-dev/openlaw-mcp:latest
openlaw-mcp on GitHub
Apache-2.0. Issues, PRs and discussion welcome.