canlii for VS Code
io.github.mohammadfarooqi/canlii
Search Canadian case law, browse legislation, and check citations via the CanLII API.
client:VS Code
transport:stdio
runtime:npm
Install canlii in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "canlii-api-key",
"description": "CANLII_API_KEY",
"password": true
}
],
"servers": {
"canlii": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"canlii-mcp"
],
"env": {
"CANLII_API_KEY": "${input:canlii-api-key}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs