MCP for CanLII: Canadian case law and legislation metadata (federal, provincial, territorial). This guide connects CanLII to A script or server (a server, cron job or custom agent) through a governed gateway — one URL that also works in every other MCP client you use, with your rules and a full log attached.
Live-probed · Security-scanned · Connects with your API key
A script or server adds MCP servers via a device code or claim link from gate (headless). The gateway route takes about two minutes:
curl -s -X POST https://gateturbo.com/api/oauth/device_authorization \
-H 'content-type: application/json' \
-d '{"client_name":"my-agent"}'The gate URL, in A script or server’s own format. Direct config for CanLII alone is on its server page.
The same CanLII connection works in Claude Code, Claude, Claude Desktop, ChatGPT, Codex, Cursor, Windsurf, VS Code, Gemini CLI, OpenClaw, n8n too — no per-client re-wiring.
Allow, ask, or block every tool CanLII exposes — reads can flow freely while writes require your approval.
A plain-language activity log of everything A script or server did with CanLII — searchable, exportable, auditable.
CanLII passed a live handshake probe and a security scan before listing — and drift detection watches it after you connect.
Also available: CanLII in Claude Code · CanLII in Claude · CanLII in Claude Desktop · CanLII in ChatGPT · CanLII in Codex · CanLII in Cursor · CanLII in Windsurf · CanLII in VS Code · CanLII in Gemini CLI · CanLII in OpenClaw · CanLII in n8n