Maple Juris
MCP · Model Context Protocol

Give your agent checked citations.

Maple Juris ships an MCP server so AI agents can validate Canadian legal citations against the real statute graph instead of recalling them from memory. Two tools: validate_citation and validate_citations_batch (up to 100 citations, one quota unit). Transport is streamable HTTP; auth is your API key as a bearer token.

1 · Get a key

Create a free account (1,000 validations/month, no credit card) and mint a key on the API keys page. The secret is shown once — export it in your shell:

export MAPLEJURIS_KEY=ak_your_key_here

2 · Claude Code

One command, then ask Claude to validate a citation:

claude mcp add maplejuris \
  --transport http https://api.maplejuris.com/mcp \
  --header "Authorization: Bearer $MAPLEJURIS_KEY"

Verify with /mcp inside a session — you should see maplejuris connected with two tools.

2b · Codex CLI

Add to ~/.codex/config.toml. Codex requires the key as an environment-variable reference (an inline token is rejected for streamable HTTP) plus the RMCP client flag:

experimental_use_rmcp_client = true

[mcp_servers.maplejuris]
url = "https://api.maplejuris.com/mcp"
bearer_token_env_var = "MAPLEJURIS_KEY"
startup_timeout_sec = 20

Then codex mcp list should show the server as reachable.

Other clients

Cursor and anything that accepts an HTTP MCP entry with headers:

{
  "mcpServers": {
    "maplejuris": {
      "type": "http",
      "url": "https://api.maplejuris.com/mcp",
      "headers": { "Authorization": "Bearer ak_your_key_here" }
    }
  }
}

Claude Desktop (and other launch-a-process clients) via the mcp-remote bridge:

{
  "mcpServers": {
    "maplejuris": {
      "command": "npx",
      "args": [
        "mcp-remote@latest", "https://api.maplejuris.com/mcp",
        "--header", "Authorization: Bearer ${MAPLEJURIS_KEY}"
      ],
      "env": { "MAPLEJURIS_KEY": "ak_your_key_here" }
    }
  }
}

claude.ai's one-click custom connectors require OAuth, which we don't support yet — use Claude Code or the bridge above in the meantime.

Metering

Connecting, reconnecting, and listing tools are free — only tools/call spends quota, one unit per call regardless of batch size. Over your monthly allowance the handshake still succeeds and tool calls return a clear quota error, so your agent degrades gracefully instead of failing to start. Full REST + MCP reference: llms-full.txt.