Back to Browse

Cedarlaw MCP Server

Developer ToolsModerate6.1MCP RegistryLocal
Free

Server data from the Official MCP Registry

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

About

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

Security Report

6.1
Moderate6.1Moderate Risk

cedarlaw is a forwarding client that exposes ten Lebanese legislation tools and sends each call to the pinned upstream endpoint https://lebaneselegislation.com/mcp, which matches its stated purpose. No authentication is required or sent, no secrets are hardcoded, and no shell, eval, or local file access appears in the source. The only findings are low-severity: an overridable endpoint via environment variable and the pass-through of unvalidated upstream content to the AI client. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 2 high severity). Package verification found 1 issue.

8 files analyzed · 7 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

How to Install

Add this to your MCP configuration file:

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

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

cedarlaw

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:

npx -y @reneturcios/cedarlaw mcp

MCP client configuration:

{
  "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:

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:

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

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.

Reviews

No reviews yet

Be the first to review this server!