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 个工具