跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Korea Law (National Law Information Center),然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
韩国国家法令信息中心(법제처 국가법령정보센터)官方 Open API:法律及条文、法院判例、宪法法院决定、法令解释例、行政规则、地方自治法规、法律术语和英文译本。
试试这样问
Korea Law (National Law Information Center) 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Korea Law (National Law Information Center)、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
Korea Law (National Law Information Center) + Cursor
韩国国家法令信息中心(법제처 국가법령정보센터)官方 Open API:法律及条文、法院判例、宪法法院决定、法令解释例、行政规则、地方自治法规、法律术语和英文译本。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
KOREA_LAW_OC
步骤 1 — 获取凭证
访问免费,但需要申请获批,通常需要 1 到 2 天。
- 在 https://open.law.go.kr 创建账户并申请 OPEN API(OPEN API → OPEN API 신청)。勾选你要使用的每个 API:法律(법령)、判例(판례)、法令解释例(법령해석례)、行政规则(행정규칙)、地方自治法规(자치법규)、宪法法院决定(헌재결정례)、法律术语(법령용어)和英文法律(영문법령)。未勾选的 API 调用会被拒绝。
- 在申请中登记调用 API 的服务器的公网 IP 地址和域名,每次调用都会校验。自托管时就是你服务器的公网 IP;在 AnythingMCP Cloud 上,请联系支持获取需要登记的出站地址。
- 获批后,将你的 OC 填入
KOREA_LAW_OC:即所登记电子邮件地址 @ 之前的部分([email protected]填g4c)。它以查询参数OC发送。 - 先用法律名称调用
korea_law_search_laws,再用其 law ID 和条文号调用korea_law_get_law。查判例时,先用korea_law_search_precedents,再用korea_law_get_precedent。
错误以 HTTP 200 返回,所以先读 result 和 msg:사용자 정보 검증에 실패하였습니다(用户信息验证失败)表示 OC 错误、申请尚未获批,或服务器的 IP 或域名未登记。搜索词使用韩语;英文法律搜索也接受英语。完整法律文本很大(《民法》超过 700 KB),请按单个条文请求:条文号为 6 位,第 3 条是 000300,第 10 条之 2 是 001002。具有约束力的是韩文文本,发布内容时须注明来源 법제처 국가법령정보센터。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Cursor 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Cursor 从 ~/.cursor/mcp.json 读取 MCP 服务器。添加以下条目:
{
"mcpServers": {
"anythingmcp": {
"url": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- 在 AnythingMCP 的 MCP Servers → 你的服务器 → API keys 中创建 MCP API 密钥,并用它替换
YOUR_MCP_API_KEY。 - 保存文件并重启 Cursor。
- 打开 Cursor → Settings → MCP,确认
anythingmcp已列出并处于已连接状态。 - 开始对话 — 智能体现在可以调用
Korea Law (National Law Information Center)的工具。
可用工具
| Tool | What it does |
|---|---|
korea_law_search_laws | Search current Korean statutes (Acts, Enforcement Decrees and Rules) by name or full text |
korea_law_get_law | Get the text of a current Korean statute: basic information, articles (조문), addenda and amendment reasons |
korea_law_search_precedents | Search Korean court precedents (Supreme Court and lower courts) by case name or full text, court, referenced statute, decision date or case… |
korea_law_get_precedent | Get one court precedent in full: holdings (판시사항), summary (판결요지), referenced articles and precedents, and the full judgment text |
korea_law_search_interpretations | Search official statutory interpretations (법령해석례) issued by the Ministry of Government Legislation and other bodies, by title or full text |
korea_law_get_interpretation | Get one statutory interpretation in full: question (질의요지), answer (회답), reasoning (이유), agencies and dates |
korea_law_search_admin_rules | Search administrative rules (행정규칙: directives, established rules, public notices, guidelines) by name or full text, kind, ministry or issue… |
korea_law_get_admin_rule | Get one administrative rule in full: basic information, articles, addenda, tables and attachment links |
korea_law_search_english_laws | Search the official English translations of Korean statutes by Korean or English name, e.g. insurance |
korea_law_get_english_law | Get the English translation of a Korean statute: articles (JoSection), addenda and basic information |
korea_law_search_legal_terms | Search the dictionary of legal terms (법령용어) defined in Korean statutes |
korea_law_get_legal_term | Get the statutory definitions of one legal term: each definition with the law and article it comes from |
korea_law_search_constitutional_decisions | Search decisions of the Constitutional Court (헌재결정례) by case name or full text, decision date or case number |
korea_law_get_constitutional_decision | Get one Constitutional Court decision in full: provisions under review, holdings, summary, referenced articles and precedents, and the full… |
korea_law_search_ordinances | Search local laws (자치법규: ordinances and rules of provinces, cities and districts) by name or full text, local government or kind |
korea_law_get_ordinance | Get one local law in full: basic information, articles, addenda and reasons |
FAQ
Cursor 免费套餐支持自定义 MCP 服务器吗? 支持 — Hobby、Pro 和 Business 套餐均可使用 MCP。
下一步
这份指南对你有帮助吗?