CanLex / README.md
Beemer
CanLex MCP server
21626e7
metadata
title: CanLex MCP
sdk: docker
app_port: 7860
pinned: false

CanLex MCP

A remote Model Context Protocol server for Canadian legal research. It exposes four read-only tools over streamable HTTP:

  • canlex_search_legislation — hybrid (BM25 + semantic) search with a cross-encoder reranker over federal border, customs, criminal, drug, food/health, labour and privacy legislation, CBSA D-Memoranda, Treasury Board collective agreements, and National Joint Council directives.
  • canlex_get_section — fetch one provision verbatim by Act and section.
  • canlex_list_acts — list the corpus and its currency.
  • canlex_case — live CanLII case citator (citation graph for a case URL).

Retrieval runs fully locally inside the container and needs no API key. The optional case citator reads a CanLII key from the CANLII_API_KEY environment variable.

Add this Space's /mcp URL as a custom connector in any Claude client.