INDIVIDUAL MCP TOOL
get_law
Get a law, decree or similar text's metadata (kind, number, date, status), its table of contents (the chapters: id, parent_id, depth, heading), its articles in order (number, and the section_id of the chapter each sits under) and the texts it amended or was amended by (amended_by / amended: one entry per text and relation, with articles listing the articles of this law it touches, or of the other law for amended; no articles means the whole law).
LIVE ENDPOINT
https://lebaneselegislation.com/mcp
Connect to this endpoint to inspect the live schema for get_law and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.lebaneselegislation]
url = "https://lebaneselegislation.com/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"lebaneselegislation": {
"type": "http",
"url": "https://lebaneselegislation.com/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: lebaneselegislation
Remote MCP URL: https://lebaneselegislation.com/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"lebaneselegislation": {
"url": "https://lebaneselegislation.com/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"lebaneselegislation": {
"type": "http",
"url": "https://lebaneselegislation.com/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "lebaneselegislation",
"transport": "streamable-http",
"url": "https://lebaneselegislation.com/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
search_legislation— When calculated_current is present, use its text_ar for current monetary amounts and cite its authority.get_article— When calculated_current is present, use its text_ar for current monetary amounts and cite its authority.get_law_texts— When calculated_current is present, use its text_ar for current monetary amounts and cite its authority.get_ruling— Get one court ruling (judgment) by id: court, number, date, panel, and its verbatim text when the Centre holds it as typed text.get_gazette_issue— Get one Official Gazette issue by id: its number, publication date, and the laws, decrees and decisions it published.get_links— 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.list_legislation— List laws, decrees and decisions by date, newest first: for "everything published since January 2025" call with since "2025-01".list_gazette_issues— List Official Gazette issues by publication date, newest first, with the number of texts each carries (text_count) and where the issue comes from: source "centre" (the Lebanese University's Centre, whose issues stop about a year back) or "scans" (issues seen in Gazette scans, ids from 2000000000, which cover recent months).