mcpbeat Sign in

Canlii MCP Server

by mohammadfarooqi Your server? Claim it
local only

Canlii runs on your own machine — the client starts it, so there is no endpoint to ping. 66 installs a week from npm. Last commit 9 Apr 2026.

Search Canadian case law, browse legislation, and check citations via the CanLII API.

Installs per day peak 14 · avg 6 · -17% w/w
a month agotoday
66
Installs / week
npm · canlii-mcp
6
Stars
0 open issues
9 Apr 2026
Last commit
no releases in 90 days
MIT
License
JavaScript

What the code does

We read the source, 3 d ago · rules 995398eba69f

Evidence

Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.

Name looks like a popular package canli-mcp
canlii-mcp похож на canli-mcp

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

We found things in this code

Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch Canlii and you get told the day something new turns up.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add canlii -e 'CANLII_API_KEY=<CANLII_API_KEY>' -- npx -y canlii-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "canlii": {
      "command": "npx",
      "args": [
        "-y",
        "canlii-mcp"
      ],
      "env": {
        "CANLII_API_KEY": "<CANLII_API_KEY>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.canlii]
command = "npx"
args = ["-y", "canlii-mcp"]
env = { CANLII_API_KEY = "<CANLII_API_KEY>" }
.cursor/mcp.json
{
  "mcpServers": {
    "canlii": {
      "command": "npx",
      "args": [
        "-y",
        "canlii-mcp"
      ],
      "env": {
        "CANLII_API_KEY": "<CANLII_API_KEY>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "canlii": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "canlii-mcp"
      ],
      "env": {
        "CANLII_API_KEY": "<CANLII_API_KEY>"
      }
    }
  }
}

Put your own value in place of <CANLII_API_KEY> (Your CanLII API key (request free at canlii.org/en/feedback/feedback.html)). The author’s registry entry marks it as required.

Alternatives to Canlii

same job, measured the same way
DirectCase Legal Search
by directcase

Search national and EU case law, legislation and regulation, with citations you can verify.

answering
Lexiel
by lexiel

Verify legal citations and search case law and legislation from your AI assistant.

answering
G
GetLawED — Verified South African Law
by co-getlawed

Search official South African law, quote the exact section and check case citations.

3 tools answering
LexAPI
by lex-api

EU law for AI: EUR-Lex legislation and case law, citation graph, semantic search with asOf.

303 installs/wk answering
Eur Lex MCP Server
by cyanheads

Search EU legislation, CJEU case law, and treaties; traverse CELLAR graph; browse EuroVoc concepts.

1 567 installs/wk 7 tools answering
CanLII
by vaquill-ai

MCP for CanLII: Canadian case law and legislation metadata (federal, provincial, territorial).

answering
Solved Tax & Legal
by solved

UK tax and legal research grounded in legislation, HMRC guidance and case law, with citations.

answering
Jp Eli MCP
by matematicsolutions

MCP server for Japan's e-Gov law search API: search, fetch, and cite national legislation.

164 installs/wk local only

Canlii — questions

Answers built from our own checks of this server.

Why is there no uptime for Canlii?
Canlii runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package canlii-mcp was installed 66 times last week.
How do I connect Canlii?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls canlii-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Canlii?
The npm package canlii-mcp was installed 66 times in the last week. Week over week that is -17%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Canlii open source?
Yes — it is published under the MIT licence, written in JavaScript and 6 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.