Lebanese Legislation

Search and read Lebanese laws, articles, court rulings and the Official Gazette, verbatim.

我該用這個嗎

品質與安全性

A
說明品質
97%
結構描述完整度
100%
命名品質
97%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~974Token(工具定義)
~814 B典型回應大小
中等的注意力影響(128k 上下文的 0.76%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "mcp": {
      "url": "https://lebaneselegislation.com/mcp"
    }
  }
}

遠端端點

https://lebaneselegislation.com/mcpstreamable-http

它能做什麼

工具清單

工具(7)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢search_legislation(query, kind, year, limit)

Search Lebanese legislation (laws, decrees, decisions), their articles, court rulings, or Official Gazette issues, by keyword. Arabic and French. Returns verbatim snippets from the Lebanese University's database, never an AI-written summary. Not legal advice.

輸入結構描述

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "words to search for, Arabic or French"
    },
    "kind": {
      "type": "string",
      "enum": [
        "laws",
        "articles",
        "rulings",
        "gazette"
      ],
      "description": "narrow to one category; omit to search all four"
    },
    "year": {
      "type": "integer",
      "description": "only laws issued this year (applies when kind is \"laws\" or omitted)"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "default": 10,
      "description": "results per category, at most 20"
    }
  },
  "required": [
    "query"
  ]
}
🟢get_law(id)

Get a law, decree or similar text's metadata (kind, number, date, status), its table of contents (article numbers) and the texts it amended or was amended by. Use get_article to read one article's verbatim text. Not legal advice.

輸入結構描述

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "the law's numeric id, from search_legislation or its URL"
    }
  },
  "required": [
    "id"
  ]
}
🟢get_article(law_id, number)

Get one article's verbatim Arabic text as in force today (and French, when the Centre published it and no amendment has replaced it), its in-force status, amendment history, and the canonical and source URLs. When an amendment replaced the wording, text_ar is the new wording and centre_text_ar the earlier one the Centre's site still shows. The text is copied exactly from the database; nothing here is AI-written. Not legal advice.

輸入結構描述

{
  "type": "object",
  "properties": {
    "law_id": {
      "type": "integer",
      "description": "the law's id (see get_law)"
    },
    "number": {
      "type": "string",
      "description": "the article's printed number, e.g. \"212\" or \"12 مكرر\""
    }
  },
  "required": [
    "law_id",
    "number"
  ]
}
🟢get_ruling(id)

Get one court ruling (judgment) by id: court, number, date, panel, and its verbatim text when the Centre holds it as typed text (some rulings exist only as a scanned file). Not legal advice.

輸入結構描述

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "the ruling's numeric id, from search_legislation"
    }
  },
  "required": [
    "id"
  ]
}
🟢get_gazette_issue(id)

Get one Official Gazette issue by id: its number, publication date, and the laws, decrees and decisions it published. Not legal advice.

輸入結構描述

{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "the issue's numeric id, from search_legislation"
    }
  },
  "required": [
    "id"
  ]
}
🟢get_links(key, direction, relation, limit)

Get the graph edges into or out of one item: a law, an article, a ruling, an opinion, a research study or a Gazette issue. Use this to walk citations and amendments directly, instead of only what get_law and get_article attach automatically. Not legal advice.

輸入結構描述

{
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "description": "the item's key: \"law/<id>\", \"law/<id>/art/<number>\", \"ruling/<id>\", \"opinion/<id>\", \"research/<id>\" or \"gazette/<id>\""
    },
    "direction": {
      "type": "string",
      "enum": [
        "to",
        "from"
      ],
      "default": "to",
      "description": "\"to\" (edges that name this item as their target) or \"from\" (edges this item itself carries)"
    },
    "relation": {
      "type": "string",
      "description": "narrow to one relation (e.g. \"cites\", \"amend\", \"repeal\"); omit for all"
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200,
      "default": 50,
      "description": "at most this many edges"
    }
  },
  "required": [
    "key"
  ]
}
🟢possibly_affected(law_id)

Get the general repeals that may touch a law: earlier texts with a "all provisions contrary to this law are repealed" clause pointing at it. A list to check, never a finding that anything was actually repealed. Not legal advice.

輸入結構描述

{
  "type": "object",
  "properties": {
    "law_id": {
      "type": "integer",
      "description": "the law's numeric id"
    }
  },
  "required": [
    "law_id"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本7 個工具