Browse Canadian case-law and legislation metadata through CanLII using MCP tools and your own free API key.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag — we're steadily working through the catalog.
💡 Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Canlii MCP.
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
Vaquill-AI/canlii-mcp MCP server connects MCP-compatible clients to the CanLII Canadian legal information API. It covers federal, provincial, and territorial collections, including courts, tribunals, statutes, and regulations. The server returns metadata rather than the contents of legal documents: titles, citations, dates, keywords, and citation relationships.
Its tools let an agent first discover available databases, then browse records within a selected court, tribunal, statute, or regulation collection. Case metadata can be retrieved for a specific result, and citation queries can identify authorities cited by a case, cases that cite it, or legislation referenced by it.
The hosted MCP endpoint is available at https://canlii-mcp.vaquill.ai/mcp. Clients that support MCP streamable HTTP can send the CanLII credential in the X-CanLII-Token header. Header-less clients can pass the credential as the token or canlii_token URL parameter. The hosted endpoint does not require a Vaquill bearer token.
Local deployments can run over stdio, HTTP, Docker, or a Cloudflare Worker. In stdio mode, the server reads the CanLII key from CANLII_API. HTTP deployments can also use MCP_AUTH_TOKEN to require a bearer token for incoming requests. HTTP mode is stateless: each MCP request is self-contained and does not require a session initialization handshake.
The documented quick-start command uses Node.js 22 or newer and the npm package @tomilashy/canlii-mcp:
The CanLII key is obtained through CanLII’s API application process. The server does not provide a fallback key and does not store keys supplied with requests. A self-hosted HTTP instance can set PORT, which defaults to 3000; MCP_AUTH_TOKEN is optional and adds bearer-token protection.
The hosted configuration examples cover Claude Desktop, Cursor, VS Code, and Windsurf. The hosted URL can be used directly by clients that support custom HTTP headers. Stdio-only clients require a separate proxy according to the README.
list_case_databases: discover CanLII court and tribunal databases.list_cases: browse decisions from a selected case database.get_case: retrieve a case’s title, citation, date, and keywords.get_case_citations: inspect cited cases, citing cases, or referenced legislation.list_legislation_databases: discover statute and regulation databases.list_legislation: browse entries in a selected legislation database.get_legislation: retrieve metadata for a specific legislative item.The Vaquill-AI/canlii-mcp MCP server is limited by the CanLII API’s metadata-only coverage. It cannot provide full case opinions, statute text, or regulation text through these tools. API usage is subject to per-key limits enforced by the server: one request at a time, two requests per second, and 5,000 requests per day. Usage is tracked independently for each CanLII key, and requests beyond the daily allowance return an error instead of being sent to CanLII.
Because every hosted request uses the caller’s own CanLII key, the available quota depends on that key. The project is released under the MIT license.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/vaquill-ai-canlii-mcp)<a href="https://allmcps.com/mcp/vaquill-ai-canlii-mcp"><img src="https://allmcps.com/api/badge/vaquill-ai-canlii-mcp?style=directory" alt="Canlii MCP on AllMCPs" /></a>