LocalFree server, account needed

Canlii MCP server

mohammadfarooqi/canlii-mcp

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

153 npm downloads / month

Install Canlii in Claude Code

Claude Code
claude mcp add mohammadfarooqi-canlii -e CANLII_API_KEY=... -- npx -y canlii-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "mohammadfarooqi-canlii": {
      "command": "npx",
      "args": [
        "-y",
        "canlii-mcp"
      ],
      "env": {
        "CANLII_API_KEY": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Canlii MCP server do?

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

Is the Canlii MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Canlii run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Canlii to Claude Code?

Run: claude mcp add mohammadfarooqi-canlii -e CANLII_API_KEY=... -- npx -y canlii-mcp

More search & web scraping MCP servers

View all