Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

Cedarlaw

@cloudcorprecordsMCP server · External

Lebanese legislation corpus: laws, articles, rulings and Gazette issues, verbatim.

Legal researchv0.1.0MITTypeScript
Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: only reads or looks up information.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

npm@reneturcios/cedarlawv0.1.0

Run

npx -y @reneturcios/cedarlaw

MCP client config

{
  "mcpServers": {
    "cedarlaw": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/cedarlaw"
      ]
    }
  }
}
Dockerghcr.io/cloudcorprecords/cedarlaw:0.1.0

Run

docker run -i --rm ghcr.io/cloudcorprecords/cedarlaw:0.1.0

MCP client config

{
  "mcpServers": {
    "cedarlaw": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/cloudcorprecords/cedarlaw:0.1.0"
      ]
    }
  }
}
README2 min read

An MCP server for the Lebanese legislation corpus: laws, decrees and decisions, their verbatim article texts, court rulings, Official Gazette issues, and the citation and amendment graph between them.

cedarlaw keeps no copy of the corpus. It is a forwarding client for the published Lebanese legislation MCP remote: the ten tools are registered locally with the exact definitions captured from the upstream server, and each call is forwarded upstream over a streamable-HTTP JSON-RPC session. Whatever the upstream returns — text, structured fields, an isError flag — is handed back exactly as received. The corpus itself is published legal text only; the upstream descriptions note throughout that it is not legal advice.

No account and no credentials are involved: the upstream record declares no headers, and cedarlaw never sends an Authorization header.

Tools

ToolWhat it does
search_legislationKeyword search across laws, articles, rulings and Gazette issues (Arabic, French or English).
get_lawOne text's metadata, table of contents, article list and amendment relations.
get_articleOne article's verbatim in-force text, status and amendment history.
get_law_textsThe verbatim texts of a law's articles, one page at a time.
get_rulingOne court ruling: court, number, date, panel and its text or scan reading.
get_gazette_issueOne Official Gazette issue and the texts it published.
get_linksCitation and amendment edges into or out of a law, article, ruling or issue.
list_legislationLaws, decrees and decisions listed by publication date.
list_gazette_issuesGazette issues listed by publication date.
possibly_affectedGeneral-repeal clauses that may touch a given law.

Usage

Run the stdio MCP server:

bash
npx -y @reneturcios/cedarlaw mcp

MCP client configuration:

json
{
  "mcpServers": {
    "cedarlaw": {
      "command": "npx",
      "args": ["-y", "@reneturcios/cedarlaw", "mcp"]
    }
  }
}

Or call a single tool from the command line, passing its arguments as one JSON object string:

bash
npx -y @reneturcios/cedarlaw search_legislation '{"query":"670"}'
npx -y @reneturcios/cedarlaw get_article '{"law_id":244611,"number":"212"}'
cedarlaw --version

Exit codes: 0 on success, 1 when the forwarded result is an error, 2 on usage errors.

With Docker:

bash
docker run -i ghcr.io/cloudcorprecords/cedarlaw
docker run --rm ghcr.io/cloudcorprecords/cedarlaw get_law '{"id":244611}'

Configuration

The upstream endpoint is pinned to https://lebaneselegislation.com/mcp. It can be replaced with the LEBANESELEGISLATION_MCP_URL environment variable (a labelled reconstruction; the published remote is the default and needs no configuration).

Development

bash
npm install
npm run build   # tsc -> dist/
npm test        # fake-fetch tests only; no live network
npm run dev     # run the CLI from source

License

MIT. See LICENSE.

Similar modules

Browse Legal research