by chrisryugj
⚖️ 법령·판례를 AI가 법제처 원문에서 찾고 인용까지 검증하는 MCP 서버. 법제처 API 42개를 도구 10개로: 법령·조문·별표, 판례류 23개 도메인, 조례 정비 레이더, 신구조문대비표 | MCP server for Korean law: statutes, precedents and ordinances from the official source, with citation checks for AI answers.
# Add to your Claude Code skills
git clone https://github.com/chrisryugj/korean-law-mcpGuides for using mcp servers skills like korean-law-mcp.
Last scanned: 4/27/2026
{
"issues": [
{
"type": "npm-audit",
"message": "@hono/node-server: @hono/node-server has authorization bypass for protected static paths via encoded slashes in Serve Static Middleware",
"severity": "high"
},
{
"type": "npm-audit",
"message": "@xmldom/xmldom: xmldom: Uncontrolled recursion in XML serialization leads to DoS",
"severity": "high"
},
{
"type": "npm-audit",
"message": "express-rate-limit: express-rate-limit: IPv4-mapped IPv6 addresses bypass per-client rate limiting on servers with dual-stack network",
"severity": "high"
},
{
"type": "npm-audit",
"message": "hono: Hono Vulnerable to Cookie Attribute Injection via Unsanitized domain and path in setCookie()",
"severity": "high"
},
{
"type": "npm-audit",
"message": "path-to-regexp: path-to-regexp vulnerable to Denial of Service via sequential optional groups",
"severity": "high"
}
],
"status": "WARNING",
"scannedAt": "2026-04-27T06:27:56.636Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}See how korean-law-mcp compares with popular alternatives.
korean-law-mcp is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by chrisryugj. ⚖️ 법령·판례를 AI가 법제처 원문에서 찾고 인용까지 검증하는 MCP 서버. 법제처 API 42개를 도구 10개로: 법령·조문·별표, 판례류 23개 도메인, 조례 정비 레이더, 신구조문대비표 | MCP server for Korean law: statutes, precedents and ordinances from the official source, with citation checks for AI answers. It has 2,900 GitHub stars.
korean-law-mcp returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.
Clone the repository with "git clone https://github.com/chrisryugj/korean-law-mcp" and add it to your Claude Code skills directory (see the Installation section above).
korean-law-mcp is primarily written in TypeScript. It is open-source under chrisryugj on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh korean-law-mcp against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Requires a passing catalog security scan.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
법제처 42개 API를 10개 도구로. 법령·판례·행정규칙·자치법규·조약·해석례(국세청 포함)를 AI 어시스턴트와 터미널에서 조회하고, AI 답변의 법령 인용을 원문과 대조합니다.
법제처 Open API 기반 MCP 서버와 CLI입니다. Claude.ai·Claude Desktop·Claude Code·ChatGPT·Cursor·Windsurf·Zed 등 MCP를 지원하는 곳에서 씁니다.
옛 주소 종료 안내 (2026. 11. 17.) 원격 서버를 국내 공공 클라우드로 옮겼습니다.
https://korean-law-mcp.fly.dev/mcp는 2026. 11. 17. 부터 법령을 조회하지 않고 새 주소 안내만 돌려줍니다. 커넥터·설정의 주소를https://mcp.gomdori.app/law로 바꿔 다시 등록해 주세요(본인 키는 그대로?oc=본인키). 도구와 사용법은 같습니다.
mcp.gomdori.app(MCP 5종 합계, 2026. 11. 2.~10. 9일 실측, 연결 과정 요청 포함). 그중 법령 MCP가 약 85%(2026. 10. 표본)입니다.쓸모 있었다면 GitHub ⭐ 하나 눌러주세요. 다른 사람이 이 도구를 찾는 데 도움이 됩니다.
▶ 누르면 유튜브에서 재생됩니다.
| Claude에 연결하기 | ChatGPT에 연결하기 |
|---|---|
![]() |
![]() |
목차: 설치 및 사용법 · 사용 예시 · 도구 구조 · 공개 서버 · 최근 업데이트 · 자주 묻는 질문 · 문서
공식 MCP 레지스트리 등록: io.github.chrisryugj/korean-law-mcp
| 쓰는 곳 | 방법 | 설치 |
|---|---|---|
| Claude.ai 웹 | 커넥터에 https://mcp.gomdori.app/law?oc=본인키 추가 (방법 2) |
없음 |
| Claude Code | 플러그인 명령 두 줄 (방법 1) | 없음 |
| VS Code·Cursor | 아래 단추 | 없음 |
| ChatGPT | 플러그인 › 추가 › 맞춤형 MCP 서버 (방법 3 아래, 영상) | 없음 |
| Claude Desktop·Windsurf·Zed | 설정 파일에 주소 추가 (방법 3) | Claude Desktop만 Node.js |
| 내 컴퓨터(서버를 거치지 않음) | npx korean-law-mcp setup (방법 4) |
Node.js 20.19 이상 |
| 터미널 | korean-law "민법 제1조" (방법 5) |
Node.js 20.19 이상 |
VS Code·Cursor 단추는 키 없이 공용 한도로 연결합니다. 본인 키는 주소 끝에 ?oc=본인키를 붙입니다.
**법제처 Open API 인증키(OC)**입니다. 공개 서버를 쓰는 방법(1~3)은 키 없이도 공용 한도로 동작하고, 로컬 설치(방법 4·5)는 키가 꼭 있어야 합니다.
법제처 Open API 신청 페이지 접속 → 회원가입·로그인 → 「Open API 사용 신청」 → 신청서를 쓰면 **인증키(OC)**가 나옵니다(예: honggildong). 아래 설정에 이 키를 씁니다.
Claude Code에서 두 줄이면 됩니다. 설치 중 법제처 API 키를 묻습니다(민감정보로 저장, 비워 두면 공용 한도).
/plugin marketplace add chrisryugj/korean-law-mcp
/plugin install korean-law@korean-law-marketplace
이후 「근로기준법 제74조 알려줘」, 「민법 제750조 판례 검증해줘」처럼 물으면 korean-law 도구가 자동으로 불립니다. 새 버전은 /plugin marketplace update korean-law-marketplace로 받습니다.
플러그인은 공개 서버
https://mcp.gomdori.app/law에 연결합니다(내 컴퓨터에 아무것도 설치하지 않음). 키는apikey헤더로 보냅니다. 서버를 거치지 않으려면 방법 4를 쓰세요.
설치기가 GitHub에 SSH로 접속했는데 SSH 키가 없는 경우입니다(처음 Git을 쓰는 사람에게 자주 생김). 둘 중 하나로 해결합니다.
/plugin install. 그대로 둬도 괜찮습니다(HTTPS clone은 늘 동작)
git config --global url."https://github.com/".insteadOf "git@github.com:"
ssh-keygen -t ed25519 -C "your-email@example.com" # 엔터 3번
cat ~/.ssh/id_ed25519.pub # 출력 복사
복사한 공개키를 GitHub → Settings → SSH and GPG keys → New SSH key에 붙여 넣습니다.주소 하나만 넣으면 됩니다. Claude Pro·Max·Team·Enterprise 요금제가 필요합니다(Free는 커넥터 1개만).
claude.ai 로그인 → 왼쪽 사이드바 아래 본인 이름 → 설정 → 커넥터
커스텀 커넥터 추가 → 이름 korean-law(아무거나 가능), URL은 아래 주소(honggildong을 본인 인증키로)
https://mcp.gomdori.app/law?oc=honggildong
추가 → 커넥터 구성에서 모든 도구를 항상 허용으로 설정(매번 승인할 필요 없음, 중요)
채팅에서 「근로기준법 제74조 알려줘」 입력
커넥터 URL을 바꾸려면 지우고 다시 추가합니다. 프로필 선택은 필요 없고(10개 도구가 42개 API 전체를 다룸), 기존
?profile=lite&oc=...주소도 그대로 동작합니다.
설정 파일에 주소를 넣고 앱을 다시 시작합니다.
| 앱 | Windows | Mac |
|---|---|---|
| Claude Desktop | %APPDATA%\Claude\claude_desktop_config.json |
~/Library/Application Support/Claude/claude_desktop_config.json |
| Cursor | 프로젝트 폴더 안 .cursor/mcp.json |
프로젝트 폴더 안 .cursor/mcp.json |
| Windsurf | 프로젝트 폴더 안 .windsurf/mcp.json |
프로젝트 폴더 안 .windsurf/mcp.json |
| Zed | ~/.config/zed/settings.json |
~/.config/zed/settings.json |
Claude Desktop은 원격 HTTP MCP 서버를 바로 연결하지 못해 mcp-remote 어댑터를 거칩니다(Node.js 18 이상, npx용).
{
"mcpServers": {
"korean-law": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.gomdori.app/law?oc=honggildong"]
}
}
}
Cursor·Windsurf 등 원격 HTTP를 지원하는 앱은 주소를 바로 씁니다.
{
"mcpServers": {
"korean-law": {
"url": "https://mcp.gomdori.app/law?oc=honggildong"
}
}
}
다른 MCP 서버가 이미 있으면
"mcpServers": { ... }안에"korean-law": { ... }부분만 더합니다.
ChatGPT는 왼쪽 「플러그인」 › 「추가」 › 「맞춤형 MCP 서버 만들기」에서 연결 주소 https://mcp.gomdori.app/law?oc=본인키, 인증 「인증 없음」으로 만듭니다. 연결 영상
공개 서버를 거치지 않고 내 컴퓨터에서 법제처로 바로 조회합니다. Node.js 20.19 이상(22.12 이상 권장)이 필요합니다.
자동 설치 (추천):
npx --ignore-scripts --omit=optional korean-law-mcp setup
설치 마법사가 API 키 입력, AI 클라이언트 선택, 설정 파일 등록을 차례로 처리합니다. Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Gemini CLI, Zed, Antigravity를 지원합니다. 현재 폴더에 쓰는 설정(Claude Code .mcp.json, VS Code .vscode/mcp.json)은 git에 커밋될 수 있어 키를 평문으로 넣지 않습니다. Claude Code는 ${LAW_OC} 참조를 넣으니 셸 설정에 export LAW_OC=발급받은키를 추가하고, VS Code는 처음 실행할 때 키를 묻습니다.
수동 설치:
npm install --ignore-scripts --omit=optional -g korean-law-mcp
AI 앱 설정 파일에 아래 내용을 넣고(honggildong을 본인 인증키로) 앱을 다시 시작합니다.
{
"mcpServers": {
"korean-law": {
"command": "korean-law-mcp",
"env": {
"LAW_OC": "honggildong"
}
}
}
}
사내망·폐쇄망 설정(HTTP 호출, 국세청 서버 인증서·프록시), Docker, 서버로 공개할 때의 기본값과 환경 변수는 직접 운영·사내망 설정에 있습니다.
# 설치
npm install --ignore-scripts --omit=optional -g korean-law-mcp
# 인증키 설정 (honggildong을 본인 키로)
export LAW_OC=honggildong # Mac/Linux
set LAW_OC=honggildong # Windows CMD
$env:LAW_OC="honggildong" # Windows PowerShell
# 사용 예시
korean-law "민법 제1조" # 자연어로 바로 조회
korean-law search_law --query "관세법" # 도구 직접 호출
korean-law list # 전체 도구 목록
korean-law list --category 판례 # 카테고리별 필터
korean-law help search_law # 도구별 도움말
위에서부터 먼저 적용합니다.
| 방법 | 사용법 | 언제 쓰나 |
|---|---|---|
| URL에 포함 | 주소 끝에 ?oc=내키 |
웹 클라이언트에서 가장 간편 |
| HTTP 헤더 | apikey: 내키 (law-oc·x-api-key·Authorization: Bearer도 받음) |
프로그램으로 연동할 때 |
| 환경 변수 | LAW_OC=내키 |
로컬 설치(방법 4·5) |
| 도구 파라미터 | apiKey: "내키" |
특정 요청만 다른 키를 쓸 때 |
키 없이 공개 서버를 쓰면 키 없는 사용자 전원이 나눠 쓰는 서버 키 한도를 거칩니다. 자체 키를 넘기면 이 한도와 상관없습니다(무료 발급: https://open.law.go.kr).
"관세법 제38조 알려줘"
→ search_law("관세법") → MST 획득 → get_law_text(mst, jo="제38조")
"화관법 최근 개정 비교"
→ "화관법" → "화학물질관리법" 자동 변환 → legal_research(task="amendment_track")
"근로기준법 제74조 해석례"
→ search_decisions(domain="interpretation", query="근로기준법 제74조") → get_decision_text(domain="interpretation", id)
"산업안전보건법 별표1 내용 알려줘"
→ get_annexes(lawName="산업안전보건법 별표1") → HWPX 파일 받기 → 표·글 Markdown 변환
약칭이 다른 말과 붙어도 풀어서 검색합니다: 화관법 시행령 → 화학물질관리법 시행령, 중처법 제4조 책임자 → 중대재해 처벌 등에 관한 법률 제4조 책임자.
자연어로 물으면 질문에 맞는 추가 분석을 자동으로 함께 보여 줍니다. 시나리오는 질문의 낱말에서 자동으로 찾거나 scenario 파라미터로 지정합니다.
| 이렇게 물으면 | 이런 결과 |
|---|---|
| 「식품위생법 영업정지 과태료 감경 가능?」 | 처분 기준표(1·2·3차 금액) + 벌칙 조항 + 감경된 행정심판 사례 + 개정 이력 |
| 「수입 통관 FTA 적용 확인」 | 관세법 + 관세청 유권해석 + FTA 조약 원문 + 세율 별표 + 조세심판원 판결 |
| 「건축법 허가 절차」 | 법률 → |