CanLII MCP Server

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

Remote serverstreamable-httpTypeScript

What is the CanLII MCP Server?

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

The short version

The hosted instance is public. No Vaquill token is required. Provide your own CanLII key one of two ways:

What it needs from you

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_case_databasesList all courts and tribunals in the CanLII collection
list_casesBrowse decisions from a specific court/tribunal database
get_caseGet metadata for a specific case (title, citation, date, keywords)
get_case_citationsGet cases cited by a case, cases citing it, or legislation it references
list_legislation_databasesList all statute and regulation databases
list_legislationBrowse statutes or regulations from a specific database
get_legislationGet metadata for a specific piece of legislation

How to install the CanLII MCP Server

{
  "mcpServers": {
    "canlii": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@tomilashy/canlii-mcp"],
      "env": {
        "CANLII_API": "your_api_key"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
CANLII_APIConfiguration value read at startup.Optional
MCP_AUTH_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use CanLII to list case databases.”
  • “Use CanLII to list cases.”
  • “Use CanLII to get case.”

Frequently asked questions

MCP for CanLII: Canadian case law and legislation metadata (federal, provincial, territorial). Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.