Global law
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
MCP for CanLII: Canadian case law and legislation metadata (federal, provincial, territorial).
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 12/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 8/8 | The cloud endpoint answered at the last check |
| Usage score | 32/100 |
Quality: Passed 3/5 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install CanLII. Follow https://mcp.popnx.com/i/vaquill-ai-canlii-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/5 checks · What you ask goes through the maker’s server (canlii-mcp.vaquill.ai) · ✓ Commands checked Nov 13, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude · about 5 min
You need a CanLII key (create it on the maker’s site) · Set it up once on claude.ai or the desktop app, then use it in chat · free accounts can add 1 · on Team/Enterprise an Owner adds it
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
CustomizeConnectors
Copy each value into the field with the same name in Claude, then click Continue
CanLIIhttps://canlii-mcp.vaquill.ai/mcpUnder Request headers, add this name and value
AuthorizationBearer <paste your key here>X-CanLII-Token<paste your key here>Paste the key only into the app’s field, never into a chat or to anyone
Click Continue past the sign-in settings Claude detected · under Authentication choose what the maker says (Sign in now, Sign in when needed or No sign in), then click Add
+ConnectorsCanLII
Use CanLII and tell me what you can do for me, then show me one thing✓ If Claude says it is using CanLII or shows a CanLII tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect CanLII yet
CanLII needs your own key to connect, but OpenAI’s help page only describes OAuth sign-in; there is no key option we could verify
A · Use an app that can connect CanLII
B · Others in Law & government data that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code · about 5 min
You need a CanLII key (create it on the maker’s site)
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --transport http --scope user canlii https://canlii-mcp.vaquill.ai/mcp --header 'Authorization: Bearer your-value' --header 'X-CanLII-Token: your-value'Replace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
You should see CanLII listed as connected
Use CanLII and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using CanLII or shows a CanLII tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor · about 5 min
You need a CanLII key (create it on the maker’s site)
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the CanLII settings, Authorization, X-CanLII-Token is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use CanLII and tell me what you can do for me, then show me one thing✓ If Cursor says it is using CanLII or shows a CanLII tool in the answer, you are connected
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code · about 5 min
You need a CanLII key (create it on the maker’s site)
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
In the CanLII settings, Authorization, X-CanLII-Token is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Use CanLII and tell me what you can do for me, then show me one thing✓ If VS Code says it is using CanLII or shows a CanLII tool in the answer, you are connected
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
Address for apps that connect over the web
https://canlii-mcp.vaquill.ai/mcpJSON settings are under “For developers” below
Claude Code
claude mcp add --transport http --scope user canlii https://canlii-mcp.vaquill.ai/mcp --header 'Authorization: Bearer your-value' --header 'X-CanLII-Token: your-value'Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"canlii": {
"url": "https://canlii-mcp.vaquill.ai/mcp",
"headers": {
"Authorization": "Bearer your-value",
"X-CanLII-Token": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"canlii": {
"type": "http",
"url": "https://canlii-mcp.vaquill.ai/mcp",
"headers": {
"Authorization": "Bearer your-value",
"X-CanLII-Token": "your-value"
}
}
}
}X-CanLII-Token secret required HTTP headerDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Connect over the internet in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
The server asks you to sign in before it lists its tools.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
The registry name was verified with the GitHub account Vaquill-AI, which owns the repo
Code last changed 24 days ago
Uses MIT
Refused access (HTTP 401) without offering OAuth sign-in. It may need a key, or it may be blocking bots; not confirmed.
Needs a key or token that you copy and paste yourself
Not checked yet; we read the tool list when we check the endpoint
The cloud address answered 4 of the last 4 checks · latest 693 ms · checked Nov 18, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/vaquill-ai-canlii-mcp)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 5 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
You need to fill in: Authorization, X-CanLII-Token
It runs in the maker’s cloud. Connect over the internet with nothing to install, but what you send passes through the maker’s servers.
The GitHub repo last changed 24 days ago, and the latest version (0.1.1) reached the registry 24 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. It connects by URL, so apps that accept remote MCP servers work too, such as ChatGPT on the web (full MCP on Business and above; Pro read-only).
In the same category: Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
German court decisions (Rechtsprechung) and laws (Gesetze) with citation graph and citation checks.
Search French-language and European case law and French legal texts (codes, statutes, treaties).
Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.
Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.
| This one CanLII | Global law | Open Legal Data (Germany) | LibreJustice | InfraNode | Fedlex Connector | |
|---|---|---|---|---|---|---|
| Runs where | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | No | No | No |
| Add with + in Claude | No | No | No | No | No | No |
| Basic checks | 3/5 | 4/4 | 4/4 | 4/4 | 4/4 | 4/4 |
| License | MIT | NOASSERTION | MIT | Apache-2.0 | Apache-2.0 | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
An MCP (Model Context Protocol) server for the CanLII Canadian legal information API. Gives AI assistants access to Canadian case law and legislation metadata across all federal, provincial, and territorial jurisdictions.
Forked from tomilashy/canlii-mcp. This fork adds bring-your-own-key (BYOK) auth, a
/healthroute, and a hosted endpoint atcanlii-mcp.vaquill.ai. Tools are unchanged.
Note: The CanLII API provides metadata only — titles, citations, dates, keywords, and citation relationships. Full document text is not available through the API.
https://canlii-mcp.vaquill.ai/mcp
The hosted instance is public. No Vaquill token is required. Provide your own CanLII key one of two ways:
X-CanLII-Token: ?token= to the URL: https://canlii-mcp.vaquill.ai/mcp?token=YOUR_CANLII_API_KEY
Apply for a key via the CanLII API request form. The server never stores your key, and there is no server-side fallback key, so every call counts against your own CanLII quota.
{
"mcpServers": { "canlii": { "url": "https://canlii-mcp.vaquill.ai/mcp", "headers": { "X-CanLII-Token": "YOUR_CANLII_API_KEY" } } } }
Same pattern: any client supporting MCP streamable HTTP with custom headers works. For stdio-only clients use mcp-remote to proxy.
| Mode | Header | When |
|---|---|---|
| BYOK header (preferred) | X-CanLII-Token: | Hosted / shared deployments |
| BYOK URL param | ?token= (or ?canlii_token=) | Header-less clients: Claude Desktop connector UI, claude.ai web |
| Server fallback | (env CANLII_API) | Self-hosted single-tenant. Required for stdio. |
| MCP gate | Authorization: Bearer | Optional, self-host only. The public hosted endpoint at canlii-mcp.vaquill.ai does not use it, so no bearer token is required. |
| Tool | Description |
|---|---|
list_case_databases | List all courts and tribunals in the CanLII collection |
list_cases | Browse decisions from a specific court/tribunal database |
get_case | Get metadata for a specific case (title, citation, date, keywords) |
get_case_citations | Get cases cited by a case, cases citing it, or legislation it references |
list_legislation_databases | List all statute and regulation databases |
list_legislation | Browse statutes or regulations from a specific database |
get_legislation | Get metadata for a specific piece of legislation |
{
"mcpServers": { "canlii": { "type": "stdio", "command": "npx", "args": ["-y", "@tomilashy/canlii-mcp"], "env": { "CANLII_API": "your_api_key" } } } }
npm install
npm run build node dist/index.js
Add to your MCP config:
{
"mcpServers": { "canlii": { "command": "node", "args": ["/path/to/canlii-mcp/dist/index.js"], "env": { "CANLII_API": "your_api_key" } } } }
PORT=3000 CANLII_API=your_api_key node dist/index.js --transport http
The MCP endpoint is available at http://localhost:3000/mcp. The server runs in stateless mode — each request is self-contained, no session ID or initialize handshake required. Clients can call tools directly:
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_case_databases","arguments":{"language":"en"}}}'
docker run -e CANLII_API=your_api_key -e MCP_AUTH_TOKEN=your_secret -p 3000:3000 ghcr.io/tomilashy/canlii-mcp
Or with Docker Compose:
services:
canlii-mcp: image: ghcr.io/tomilashy/canlii-mcp environment: CANLII_API: your_api_key MCP_AUTH_TOKEN: your_secret # optional ports:
The server includes a Workers-compatible entry point (src/worker.ts).
npx wrangler secret put CANLII_API
npx wrangler secret put MCP_AUTH_TOKEN # optional npx wrangler deploy
tomilashy/canlii-mcp repositorycanlii-mcpnpm install && npm run buildnpx wrangler deploy (pre-filled)CANLII_APIThe MCP endpoint will be at https://canlii-mcp. .workers.dev/mcp.
| Environment Variable | Required | Default | Description |
|---|---|---|---|
CANLII_API | Only for stdio and self-hosted single-tenant | — | Your CanLII API key. Not needed in HTTP mode, where clients bring their own key per request. |
PORT | No | 3000 | HTTP server port (HTTP mode only) |
MCP_AUTH_TOKEN | No | — | Bearer token for HTTP authentication. If set, all HTTP requests must include Authorization: Bearer . If not set, the server runs without authentication. |
The server enforces CanLII's API limits automatically, per CanLII key, so one caller's usage never throttles another's:
These mirror CanLII's own per-key limits. Each X-CanLII-Token gets its own independent budget (keyed by a hash of the key; raw keys are never retained). Requests that exceed the daily limit return an error rather than hitting the API.
npm install
npm run build # compile TypeScript npm run watch # watch mode
This project uses Semantic Versioning via semantic-release. Commit messages follow the Conventional Commits spec:
| Commit prefix | Release type |
|---|---|
fix: | Patch (1.0.0 → 1.0.1) |
feat: | Minor (1.0.0 → 1.1.0) |
feat!: or BREAKING CHANGE | Major (1.0.0 → 2.0.0) |
Pushing to main triggers the release workflow. If a release is cut, the Docker image is automatically built and published to ghcr.io.
MIT
Questions, ideas, or want to contribute? Join the Vaquill community on Discord.