canlii
io.github.mohammadfarooqi/canlii
About canlii
canlii is an MCP server published by the GitHub account mohammadfarooqi. Search Canadian case law, browse legislation, and check citations via the CanLII API.
It runs on your own machine: your AI client starts it from the npm package canlii-mcp at version 1.1.4.
It asks for one secret: CANLII_API_KEY. Give it a key with the least access that still works.
Version 1.1.4 was published on 9 April 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
CANLII_API_KEY | Yes | Yes | Your CanLII API key (request free at canlii.org/en/feedback/feedback.html) |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/mohammadfarooqi/canlii-mcp |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 1 secret: CANLII_API_KEY |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account mohammadfarooqi |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | canlii-mcp@1.1.4 runs nothing at install |
| Code red flags | Pass | Read 6 files in canlii-mcp@1.1.4: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 6 files, including comments and the README |
Popularity & health: 43 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
3 forks, 0 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.mohammadfarooqi/canlii |
|---|---|
| Publisher | GitHub account mohammadfarooqi |
| How the name is verified | Name verified via GitHub account mohammadfarooqi. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm canlii-mcp 1.1.4 (stdio) |
| Version | 1.1.4 |
| Published | |
| Last updated | |
| Source repository | https://github.com/mohammadfarooqi/canlii-mcp |
| Website | None linked |
| Category | Legal & government (assigned by keyword rule, not by hand) |
Related servers in Legal & government
- CanLII3/3MCP for CanLII: Canadian case law and legislation metadata…
Fermat 3603/3Dutch legal AI for law firms: answers from Dutch case law,…- il-eli-mcp7/7MCP server for Israeli law: Knesset legislation and case law,…
- UK Legal Research8/8UK legal research — case law, legislation, Hansard, bills, votes,…
- fr-eli-mcp7/7MCP server for French Legifrance (PISTE): legislation and case law…
- ca-eli-mcp7/7MCP server for Canadian federal legislation (Justice Laws Website),…