ca-eli-mcp MCP Server
MCP server for Canadian federal legislation (Justice Laws Website), verifiable citations.
ca-eli-mcp scores 66 (Good), licensed Apache-2.0 and written in Python. It installs as a local process. It declares 3 tools. Filed under Search. GitHub shows 0 stars. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: apache-2.0.
License, quality and maintenance
Quality: Grade B
81/100 for listing completeness. Lost points: short README, short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "matematicsolutions-ca-eli-mcp": { "command": "uvx", "args": [ "ca-eli-mcp" ] } }}
Environment variables
This server does not declare environment variables.
Tools3Tool docs quality grade D
All capabilitiesca_coveragetoolDeclare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback.
ca_get_documenttoolMetadata (title, in-force status, last-consolidated date) for one act or regulation
ca_get_texttoolFull consolidated XML text of the same document
About
ca-eli-mcp
MCP server for Canadian federal legislation via the Justice Laws Website (laws-lois.justice.gc.ca), the Department of Justice Canada's official source for consolidated Acts and regulations. Bilingual (English/French).
What this is not
- No free-text search - the Justice Laws Website has no search API of
its own. This connector is by-code only (the same limitation as
ie-eli-mcpfor Ireland): you need to already know the code (e.g."C-46"for the Criminal Code) or a short title to look one up. - Federal only - provincial and territorial legislation is out of scope.
- No case law - CanLII's terms of service forbid bulk redistribution and its content API requires a per-identity key, which breaks the zero-cloud pattern this connector otherwise follows. Not attempted here.
Tools
| Tool | Purpose |
|---|---|
ca_get_document | Metadata (title, in-force status, last-consolidated date) for one act or regulation |
ca_get_text | Full consolidated XML text of the same document |
ca_coverage | Declare what this connector covers, when each family was captured, and - explicitly - what it does NOT cover. Every gap carries a fallback. |
Every response carries lex_uri (the XML source), source_url (the public
HTML page), and human_readable_citation (e.g. "Criminal Code (C-46)").
Install
pip install ca-eli-mcp
Windows 11 with Smart App Control
Smart App Control blocks unsigned executables, which covers uvx.exe, pip.exe
and the ca-eli-mcp.exe launcher that pip writes at install time. The python.exe and
py.exe from the python.org installer are signed by the Python Software
Foundation, so running the module through the interpreter works:
python -m pip install ca-eli-mcp
python -m ca_eli_mcp
pip.exe is blocked for the same reason, so install with python -m pip, not
pip install. If python is not on PATH, use the Windows launcher: py -3 -m ca_eli_mcp.
{ "mcpServers": { "ca-eli-mcp": { "command": "python", "args": ["-m", "ca_eli_mcp"] } } }
Do not turn Smart App Control off to work around this - it cannot be re-enabled without reinstalling Windows.
Configuration
| Env var | Default |
|---|---|
CA_ELI_CACHE_DIR | ~/.matematic/cache/ca-eli |
CA_ELI_AUDIT_DIR | ~/.matematic/audit |
CA_ELI_BASE_URL | https://laws-lois.justice.gc.ca |
License
Apache-2.0 (code). Justice Laws Website content is Government of Canada material (see SOURCES.md).
Frequently asked questions
What is ca-eli-mcp MCP Server?
MCP server for Canadian federal legislation (Justice Laws Website), verifiable citations.
How do I install ca-eli-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. ca-eli-mcp MCP Server runs locally from the PyPI package ca-eli-mcp with the command uvx ca-eli-mcp.
Is ca-eli-mcp MCP Server free and open source?
Yes. ca-eli-mcp MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does ca-eli-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for ca-eli-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does ca-eli-mcp MCP Server provide?
ca-eli-mcp MCP Server provides 3 tools: ca_coverage, ca_get_document, and ca_get_text. See the full tool list for descriptions and parameters.
How is ca-eli-mcp MCP Server's trust score calculated?
ca-eli-mcp MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.