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.

The one URL you needSame URL whether you're using Claude, ChatGPT, Cursor or the CLI
https://openlawmcp.legalaispace.com/v1/mcp
Pick your AI app below — the steps are different in each one, but the URL is the same.

The 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.

The easy way

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/mcp
Endpoint: https://openlawmcp.legalaispace.com/v1/mcpAnthropic — Custom Connectors guide

Step-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 guide

Anthropic's own recommended way to add a remote MCP server. About 30 seconds, no terminal, no config file.

  1. 1

    Open Settings → Connectors

    In Claude Desktop, click your profile picture (bottom-left), choose Settings, then click Connectors in the sidebar.

  2. 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 URL
    https://openlawmcp.legalaispace.com/v1/mcp
  3. 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
Need the official version? The UI changes occasionally — open the vendor's own guide to see the current screens.

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. 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. 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. 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 URL
    https://openlawmcp.legalaispace.com/v1/mcp
  4. 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
Need the official version? The UI changes occasionally — open the vendor's own guide to see the current screens.

Cursor

Cursor — AI-first code editor.

Cursor — MCP docs

Cursor has a built-in MCP panel. Two clicks; no restart required.

  1. 1

    Open Settings → MCP

    Press ⌘, (macOS) or Ctrl+, (Windows/Linux) to open Settings, then click MCP in the left sidebar.

  2. 2

    Click "Add new server"

    Choose the HTTP transport, name the entry openlaw and paste the URL below.

    Server URL
    https://openlawmcp.legalaispace.com/v1/mcp
  3. 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
Need the official version? The UI changes occasionally — open the vendor's own guide to see the current screens.

Claude Code

Anthropic's terminal-based coding agent.

Anthropic — Claude Code MCP docs

Claude Code stores MCP servers per user. The hosted openlaw-mcp endpoint speaks streamable HTTP, which Claude Code supports out of the box.

  1. 1

    Register openlaw

    Open a terminal anywhere and paste the line below. Claude Code writes the entry to its per-user config.

    shell
    claude mcp add --transport http openlaw https://openlawmcp.legalaispace.com/v1/mcp
  2. 2

    Verify it landed

    List your registered MCP servers and look for openlaw with http transport.

    shell
    claude mcp list
  3. 3

    Start a session

    Run claude to open a session. The startup banner shows openlaw alongside any other servers you have configured.

    shell
    claude

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
Need the official version? The UI changes occasionally — open the vendor's own guide to see the current screens.

Codex CLI

OpenAI's open-source coding agent for the terminal.

Codex CLI — GitHub repo

Codex supports remote MCP servers via streamable HTTP. No API key, no signup.

  1. 1

    Install Codex (if you haven't already)

    Grab the latest release from the GitHub repo, or install via your package manager.

  2. 2

    Register openlaw

    One command — Codex stores it in your local config.

    shell
    codex mcp add openlaw --url https://openlawmcp.legalaispace.com/v1/mcp
  3. 3

    Confirm, then start a chat

    List your servers, then open a chat session.

    shell
    codex 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
Need the official version? The UI changes occasionally — open the vendor's own guide to see the current screens.

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.