Korean Law MCP
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
作者提供的说明(英文原文)
Search and read Lebanese laws, articles, court rulings and Gazette issues. Verbatim texts only.
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
通过 5/5 项检查 · 你的提问会经过开发者的服务器(lebaneselegislation.com)
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude · 约 2 分钟
不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个
CustomizeConnectors
把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue
Lebanese Legislationhttps://lebaneselegislation.com/mcpAuthentication 保持 Claude 检测到的设置,然后点击 Add
+ConnectorsLebanese Legislation
用 Lebanese Legislation 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Lebanese Legislation,或回答中出现 Lebanese Legislation 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
仅企业版 ChatGPT 可连接
适用于网页版 ChatGPT Business、Enterprise 或 Edu,需由工作区管理员或所有者添加 · 使用 Free、Plus 或 Pro:你的 ChatGPT 方案暂时无法自行连接 MCP
Plugins+Add custom MCP server
输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin
Lebanese Legislationhttps://lebaneselegislation.com/mcp开启新聊天,输入前先从插件列表中选择 Lebanese Legislation
用 Lebanese Legislation 告诉我你能帮我做什么,然后做一件给我看✓ 如果 ChatGPT 说正在使用 Lebanese Legislation,或回答中出现 Lebanese Legislation 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Claude Code · 约 2 分钟
不需要密钥,不用安装程序
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --transport http lebaneselegislation https://lebaneselegislation.com/mcp应能看到 Lebanese Legislation 在列表中并显示已连接
用 Lebanese Legislation 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Lebanese Legislation,或回答中出现 Lebanese Legislation 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor · 约 2 分钟
不需要密钥,不用安装程序
用 Lebanese Legislation 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Lebanese Legislation,或回答中出现 Lebanese Legislation 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code · 约 2 分钟
不需要密钥,不用安装程序
用 Lebanese Legislation 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Lebanese Legislation,或回答中出现 Lebanese Legislation 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看
通过网页连接的应用使用的地址
https://lebaneselegislation.com/mcpJSON 设置在下方“开发者专用”中
Claude Code
claude mcp add --transport http lebaneselegislation https://lebaneselegislation.com/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"lebaneselegislation": {
"url": "https://lebaneselegislation.com/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"lebaneselegislation": {
"type": "http",
"url": "https://lebaneselegislation.com/mcp"
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
工具名称和描述与服务器在 2026年11月7日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
search_legislationWhen calculated_current is present, use its text_ar for current monetary amounts and cite its authority.url. Identify this as calculated under the authority, never as verbatim published wording. The article text_ar and source fields remain published wording. Search Lebanese legis
get_lawGet 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
get_articleWhen calculated_current is present, use its text_ar for current monetary amounts and cite its authority.url. Identify this as calculated under the authority, never as verbatim published wording. The article text_ar and source fields remain published wording. Get one article's ver
get_law_textsWhen calculated_current is present, use its text_ar for current monetary amounts and cite its authority.url. Identify this as calculated under the authority, never as verbatim published wording. The article text_ar and source fields remain published wording. Get the verbatim text
get_rulingGet one court ruling (judgment) by id: court, number, date, panel, and its verbatim text when the Centre holds it as typed text. When available, pages returns the scanned judgment's machine reading, with low_confidence: true on hard-to-read pages where errors are expected. pdf_ur
get_gazette_issueGet one Official Gazette issue by id: its number, publication date, and the laws, decrees and decisions it published. Not legal advice.
get_linksGet 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. For a law key ("law/ ") the default sc
list_legislationList laws, decrees and decisions by date, newest first: for "everything published since January 2025" call with since "2025-01". The date is the publication date: the Official Gazette date, else the issue date (each entry's date, with gazette_number, gazette_date and gazette_issu
list_gazette_issuesList 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
possibly_affectedGet 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.
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月11日
注册名称已通过域名 lebaneselegislation.com 验证(注册中心会核实域名所有权)
代码最后更新于今天
使用 MIT
在 597 毫秒内响应(HTTP 200)
无需登录
已读取 10 个工具描述,未发现针对 AI 的隐藏指令
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 5 项适用的基础检查中通过了 5 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于今天,最新版本(2.0.0)于4天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于支持远程 MCP 的应用,例如 ChatGPT Business 及以上方案。
同一分类中有:Korean Law MCP, Global law, Tw Legal Rag
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
The law of nearly every country on earth, any date: read it, see what changed it, check citations.
Taiwan law MCP server: 22M court judgments, statutes, agency rulings, with citation checks
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Lebanese Legislation
Every Lebanese law, one search away.
The open code and data behind LebaneseLegislation.com : laws, decrees, court rulings and the Official Gazette, in Arabic and French, with search, a JSON API and an MCP server for AI assistants.
التشريع اللبناني: القوانين والمراسيم والأحكام القضائية والجريدة الرسمية، بالعربية والفرنسية، كبيانات مفتوحة وواجهة برمجية وخادم MCP لمساعدي الذكاء الاصطناعي.
Website · AI and MCP · API · Data on Hugging Face · Journal · Students
The texts of Lebanese law are public, but hard to read online. LebaneseLegislation.com puts every law, decree, ruling and Gazette issue on its own page, links each article to the texts that amend it and the rulings that apply it, and gives developers and AI assistants the same data through an API, an MCP server and open downloads. Every page links back to its source at the Lebanese University's Centre for Research and Studies in Legal Informatics.
Read and search at lebaneselegislation.com. Questions get a short answer written only from the library's own texts, with a link to each source.
Connect your AI assistant. The MCP server is free, needs no key, and returns the texts word for word:
claude mcp add --transport http lebanese-legislation https://lebaneselegislation.com/mcp
Claude, ChatGPT, Cursor and Gemini setup: lebaneselegislation.com/ai and docs/mcp.md.
Call the API. No key, JSON, described by /openapi.json:
curl -G 'https://lebaneselegislation.com/api/v1/search/' --data-urlencode 'q=قانون العمل'
Load the data. One Parquet file per table on Hugging Face:
from datasets import load_dataset
articles = load_dataset("taktekhq/lebanese-legislation", "legislation_article", split="train")
Run the whole site yourself. One image holds the database, the website, the API and the MCP server:
git clone https://github.com/taktekhq/lebanese-legislation.git && cd lebanese-legislation
./setup && docker compose --profile all up -d all # then open http://localhost:8080
| You want | Go to |
|---|---|
| Read the laws | LebaneseLegislation.com |
| Connect an AI assistant | The free MCP server at https://lebaneselegislation.com/mcp. Setup |
| The data as tables | Parquet files on Hugging Face |
| The data as a PostgreSQL database | The -db or -all image, with the databases baked from data/ |
| Semantic search vectors | vectors/vectors.parquet, embedded with gemini-embedding-001 in 768 dimensions. Read with DuckDB |
| The original court scans | Court scans on Hugging Face |
| Every source page as it was served | Archive dataset on Hugging Face and its repository |
| What changed and why | The project journal and docs/changes.md |
| Get paid to study with it (students in Lebanon) | The student program |
Data lives on Hugging Face. Code and Docker images live here. Each GitHub release is a code version, never a data download.
flowchart LR
UL[Lebanese University source pages] -->|scraper| A[archive/] A -->|build-db| D[data/ tables as text] D -->|data workflow| HF[Hugging Face Parquet + vectors] D -->|static-site workflow| R2[(Cloudflare R2 static pages)] D -->|data workflow| IMG[-db and -all images] IMG -->|origin workflow| C[Cloudflare Container PostgreSQL + Go server] R2 --> W{Worker} C --> W W --> U[Readers, AI assistants, API clients]
Cloudflare serves the static pages and ruling PDFs from R2 through the Worker in workers/static-site. Search, /api/v1/, filters, scans and /mcp go through workers/origin to a blue/green Cloudflare Container running the -all image. static-site.yml renders data/ with cmd/static-export, only the pages that changed: a data change renders the pages its rows touch, a template, string or topic guide change the pages that used it, and a Go change every page. It starts on every push to main that touches the site, and a catch-up check after each deploy reruns a failed one. Changed pages go to IndexNow. vectors.yml embeds new passages, publishes the vectors and loads Cloudflare Vectorize. See architecture and static export.
AI crawlers are welcome. robots.txt lets every named AI crawler (GPTBot, ClaudeBot, PerplexityBot, ShapBot and others) read the pages, search, the API and the MCP server. Every client gets the same limit on dynamic paths: 30 requests per 10 seconds from one address.
Run scripts/nightly.sh on your own machine to scrape, rebuild, check and export the data, then open a data-only pull request. Use --dry-run to do the work locally without pushing or opening a PR. GitHub Actions cannot run it.
You need Bash, flock, Git, rsync, curl, Python 3, Go, PostgreSQL and an authenticated GitHub CLI. Set LEBLEG_DSN to a dedicated rebuild database; LEBLEG_STORE, LEBLEG_DATA and LEBLEG_LOCK_FILE override local paths. LEBLEG_REPO selects the target repository. Maintainers merge the PR, then the workflows publish everything. See Update the data for requirements, every step, configuration and a nightly user systemd timer.
The same image, ghcr.io/taktekhq/lebanese-legislation-all, runs in both. It holds PostgreSQL with the data, the API (/api/v1/), the MCP server (/mcp) and the website server.
| Production | Development | |
|---|---|---|
| Static pages | built by static-site.yml into Cloudflare R2, served by the Worker in workers/static-site | rendered on request by the -all image |
| API, MCP, search | the Worker passes them to -all (Cloudflare Containers, blue/green, workers/origin) | -all directly |
| Run it | origin.yml deploys it | docker compose --profile all up all, then open http://localhost:8080 |
In development every page is rendered on request, which is slower than production but needs nothing besides the image. To get the exact static copy production serves, run static-export against the database: see docs/static-export.md.
git clone https://github.com/taktekhq/lebanese-legislation.git
cd lebanese-legislation ./setup docker compose --profile all up -d all
You need Docker Compose, 8 GB of free memory and 30 GB of free disk. ./setup writes private local passwords to .env. The image already holds both databases. The first start copies them into an empty volume; later starts reuse it.
Then open the website at http://localhost:8080, the API at http://localhost:8080/api/v1/, or point an MCP client at http://localhost:8080/mcp.
To run the database, API and MCP as separate services instead, use docker compose up -d --wait db api mcp: the API answers on http://localhost:8000/api/v1/ and MCP on http://localhost:8001/mcp. Every image is pulled as :latest, so a docker compose pull is all an update needs. Exact and citation search need no AI key. For search by meaning, configure your own Gemini key and Vectorize index, or load the public vectors into pgvector in lebleg_search. See loading vectors.
All names use the prefix ghcr.io/taktekhq/lebanese-legislation.
| Image | Holds | Used by |
|---|---|---|
-db | PostgreSQL 18.6, pgvector, both databases baked from data/, chunk text and hashes without embeddings | Compose, database users, the static render and the base of -all |
-api | Standalone API server, unchanged Dockerfile and amd64/arm64 support | Compose and API users with a separate database |
-mcp | Standalone MCP server, unchanged Dockerfile and amd64/arm64 support | Compose and MCP clients with a separate database |
-all | -db plus the Go server for dynamic pages, /api/v1/, /mcp and badges | Compose, Cloudflare Containers and self-hosted sites |
-vectors | vectorize-sync, export-vectors and DuckDB; downloads the Hugging Face vectors at runtime | The vectors workflow and users loading Vectorize or pgvector |
Each image is built by the workflow that produces its inputs: the checks workflow publishes -api, -mcp and -all after a push to main, data publishes -db and -all after a data change, and vectors publishes -vectors. images.yml is a manual button to rebuild one. Every image gets a latest tag and a UTC date tag, so use :latest unless you need a fixed copy. Static pages are published directly to R2. Publishin