Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Korean Law MCP server

by chrisryugj/korean-law-mcpMIT licenceAudited 22 Sep 2026 · source 32d4635c0054

npm korean-law-mcp 4.13.1stdiostreamable-http★ 2,598
✓SAFEGrade B · 89/100 · 22 Sep 2026 · 32d4635
2,598GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 99 tools: 98 read, 1 write and 0 destructive. The audit recorded 13 findings (0 critical, 0 high, 0 medium, 12 low). Maintainer's description: 법제처 국가법령정보를 LLM에서 바로 조회하는 MCP 서버. 법령·판례·조례 검색과 인용 검증 | MCP server for Korean law — search statutes, precedents, and ordinances, and verify citations

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Korean Law MCP server (chrisryugj/korean-law-mcp)”. Retrieved 22 Sep 2026. https://modelsatlas.com/mcp/chrisryugj/korean-law-1

2 MCP servers are called Korean Law. This is the one we pick. Compare all 2 →

Trust audit

Audit 0.4.1 · full source read 22 Sep 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium12 low1 info

13 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared5 observations
  • NetworkDeclared5 observations
  • ShellDeclared1 observation
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 1 finding
L1 Static sourceSecrets, path traversal, supply chainPASS 10 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner chrisryugjUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmkorean-law-mcp at version 4.13.1
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push1 day agoActivity of the repository when we read it.
  • Source commit read32d4635c0054The audit covers exactly this commit, read on 22 Sep 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory99 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (13)

Sorted by severity

LOWFilesystem / pathfs.traversal · src/tools/scenarios/action-plan.ts:24
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { findLaws } from "../../lib/law-search.js"
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/tools/scenarios/index.ts:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { detectScenarioName } from "../../lib/scenario-rules.js"
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/tools/scenarios/time-travel-diff.ts:8
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { toArray } from "../../lib/xml-parser.js"
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/tools/scenarios/time-travel-diff.ts:9
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { CIRCLED_DIGITS, cleanHtml } from "../../lib/article-parser.js"
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/tools/scenarios/time-travel-diff.ts:10
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { formatDateDot } from "../../lib/schemas.js"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · src/lib/response-body.limits.test.ts:38
F-04 Network egressCWE-200 · CWE-319Layer L1
base = `http://127.0.0.1:${(server.address() as AddressInfo).port}/`
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · test/test-empty-html-retry.cjs:47
F-04 Network egressCWE-200 · CWE-319Layer L1
const base = `http://127.0.0.1:${port}`
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · test/test-external-https-proxy.cjs:90
F-04 Network egressCWE-200 · CWE-319Layer L1
LAW_EXTERNAL_HTTPS_PROXY: `http://127.0.0.1:${port}`,
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · test/test-precedent-html-fallback.cjs:254
F-04 Network egressCWE-200 · CWE-319Layer L1
process.env.LAW_EXTERNAL_HTTPS_PROXY = `http://127.0.0.1:${port}`
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, @xmldom/xmldom, commander, dotenv, express, kordoc, zod, @types/express
Why
13 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.credential_read · README.md:660
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
cat ~/.ssh/id_ed25519.pub                            # 출력 복사
Why
asks the agent to read credentials
Fix
—
LOWPrompt injectionprompt.transfer_instruction · CONTRIBUTING.md:31
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Please do not open public issues for suspected vulnerabilities or exposed credentials. Report them privately through [GitHub Security Advisories](https://github.com/chrisryugj/korean-law-mcp/security/
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
INFOInventory / provenanceinv.oversize · demo.gif
F-13 Inventory / provenanceCWE-1104Layer L0
demo.gif
Why
4482019 bytes not read
Fix
—

Tools it exposes

99 declared in source · 0 destructive

98 read1 write0 destructive
ToolRiskWhat it does
execute_toolwrite[메타] discover_tools 결과 도구를 프록시 실행. tool_name + params
advanced_searchread[고급검색] 법령종류/부처/시행일 필터 검색. 복합 조건 시.
analyze_documentread[문서분석] 계약서/약관/협정서 텍스트의 조항별 법적 리스크 분석. 문서 유형 자동 분류, 위험 조항 식별, 관련 법령 검색 힌트 제공.
applicable_lawread[행위시법]
chain_action_basisread[⛓체인] 행정처분·허가·인가의 법적 근거 종합. 3단비교+해석례+판례+행심 병렬 조회. 예:
chain_amendment_trackread[⛓체인] 법령·조문 개정 이력 종합. 신구대조표 + 조문별 개정이력 + 연혁법령. 예:
chain_dispute_prepread[⛓체인] 불복·소송·심판 준비. 대법원 판례 + 행정심판례 + 해당 도메인 결정례(조세심판·공정위·노동위 등) 병렬 수집. 예:
chain_document_reviewread[⛓체인] 계약서·약관·협정서 조항별 리스크 검토. analyze_document + 근거법령 자동검색 + 관련 판례. 예:
chain_full_researchread[⛓체인] 도메인·법령명이 불명확한 복합 질문 전용. AI검색 + 법령검색 + 판례 + 해석례 병렬. 예:
chain_law_systemread[⛓체인] 법령 전체 구조 종합. 1개 법령의 법률·시행령·시행규칙 3단 + 위임조문 + 하위법령 + 별표까지 한 번에. 예:
chain_ordinance_compareread[⛓체인] 자치법규(조례·규칙) 종합 분석. 상위법령 + 위임체계 + 전국 동일유형 조례 비교. 예:
chain_procedure_detailread[⛓체인] 행정 절차·비용·서식 종합. 법적 근거(법률·시행령·시행규칙) + 처리기한 + 별표/별지서식 + 수수료. 예:
cite_checkread[판례생사] 한국형 Shepard
compare_admin_rule_old_newread[행정규칙] 행정규칙 신구법 비교. query로 검색, id로 본문 대조표 조회.
compare_articlesread[비교] 두 법령 조문 비교.
compare_old_newread[비교] 신구법 대조표 조회.
discover_toolsread[메타] 위 도구로 안 되는 경우. 전문도구(조세심판·관세·헌재·행심·공정위·개인정보위·노동위·학칙·조약·영문법령·용어 등 80+개) 카테고리 검색
extract_precedent_keywordsread[판례] 판례 키워드 추출.
find_similar_precedentsread[판례] 유사 판례 검색.
get_acr_decision_textread[권익위] 국민권익위 결정문 전문.
get_acr_special_appeal_textread[권익위심판] 국민권익위 특별행정심판 재결례 전문.
get_admin_appeal_textread[행심] 행정심판례 전문.
get_admin_ruleread[행정규칙] 행정규칙 전문 조회.
get_annexesread[별표] 별표/서식 조회. lawName+
get_appeal_review_decision_textread[소청심사] 소청심사위원회 재결례 전문.
get_article_detailread[법령조회] 조항호목 단위 정밀 조회. 제38조 제2항 제3호 같은 세부 단위 지정 가능. mst/lawId + jo 필수, hang/ho/mok 선택.
get_article_historyread[이력] 조문별 개정 이력.
get_article_with_precedentsread[통합] 조문 + 관련 판례 동시 조회.
get_batch_articlesread[배치] 여러 조문 일괄 조회. mst+articles 또는 laws 배열.
get_constitutional_decision_textread[헌재] 헌재 결정례 전문.
get_customs_interpretation_textread[관세] 관세 해석례 전문 조회. 질의요지·회답·이유·관련법령 포함.
get_daily_termread[지식베이스] 일상용어(월세, 뺑소니 등)로 검색하여 대응하는 법령용어를 찾을 때 사용.
get_daily_to_legalread[지식베이스] 일상용어→법령용어 매핑.
get_decision_textread[통합조회] 18개 도메인 전문 조회. domain+id. full=false(기본) 시 본문 계단식 축약
get_delegated_lawsread[연계] 위임법령 목록. 소관부처별 위임법령(시행령/시행규칙 미제정) 조회.
get_english_law_textread[영문] 영문 법령 전문.
get_external_linksread[링크] 법령 외부 참조 링크.
get_ftc_decision_textread[공정위] 공정위 결정문 전문.
get_historical_lawread[이력] 특정 시점 연혁법령 조회.
get_interpretation_textread[해석례] 해석례 전문 조회.
get_law_abbreviationsread[유틸] 법령 약칭 전체 목록 조회. stdDt/endDt로 기간 필터 가능.
get_law_historyread[이력] 법령 변경이력 목록.
get_law_statisticsread[통계] 최근 개정 법령 TOP N 조회. 지정 기간(일) 내 개정된 법령 목록 반환.
get_law_system_treeread[체계] 상위법·하위법·관련법령 관계 조회. 법령 간 위임 관계 파악용.
get_law_textread[법령조회] 조문 전문 조회. mst/lawId 필수, jo로 특정 조문만 가능 — jo는
get_law_treeread[체계] 법령 목차 구조(편·장·절) 조회. 내부 체계 파악용.
get_legal_term_detailread[지식베이스] 법령용어 상세정보.
get_legal_term_kbread[지식베이스] 법령용어 검색. 동음이의어·용어관계 포함.
get_legal_to_dailyread[지식베이스] 법령용어→일상용어 매핑.
get_linked_laws_from_ordinanceread[연계] 자치법규 기준 상위법령 조회. 조례/규칙의 근거 법령 확인.
get_linked_ordinance_articlesread[연계] 법령-자치법규 조문 연계. 법령 조문과 자치법규 조문 간 대응 관계 조회.
get_linked_ordinancesread[연계] 법령 기준 자치법규 연계 목록. 특정 법령과 관련된 전국 조례/규칙 조회.
get_nlrc_decision_textread[노동위] 노동위 결정문 전문.
get_ordinanceread[자치법규] 조례/규칙 전문 조회. jo 파라미터로 특정 조문 본문 조회 가능.
get_pipc_decision_textread[개인정보위] 개인정보위 결정문 전문.
get_precedent_textread[판례] 판례 전문 조회.
get_public_corp_rule_textread[공사공단] 지방공사공단 규정 본문 조회.
get_public_institution_rule_textread[공공기관] 공공기관 규정 본문 조회.
get_related_lawsread[지식베이스] 용어 관련 법령 목록.
get_school_rule_textread[학칙] 학칙 본문 조회.
get_tax_tribunal_decision_textread[조세심판] 조세심판 결정례 전문.
get_term_articlesread[지식베이스] 용어 사용 조문 목록.
get_three_tierread[비교] 3단비교(법률-시행령-시행규칙) 위임조문/인용조문.
get_treaty_textread[조약] 조약 본문 조회. 한글/영문 선택 가능.
impact_mapread[영향그래프] 조문 한 줄의 파급효과 그래프. 특정 조문(예: 민법 제103조)을 인용한 모든 판례·헌재·해석례·행심·자치법규를 역방향 탐색 + 그 조문이 인용한 다른 법령(정방향) + mermaid 시각화. lawName + jo 필수. 다른 chain은 query 단방향이지만 이 도구는
legal_analysisread[정밀분석] 검증·분석 4종 통합. mode: verify_citations=텍스트 속 법령 조문·판례 인용(
legal_researchread[⛓리서치] 다단계 법령 리서치 통합 — 여러 API를 병렬로 엮는 복합 질문 전용. task: full_research=도메인·법령명 불명확한 자연어 질문 폴백(기본값, 예
ordinance_radarread[자치법규] 조례 정비 레이더 — 조례가 인용한 근거 상위법령(법률/시행령/시행규칙)을 본문에서 추출하고, 각 상위법의 현행 시행일과 조례 시행일을 대조해
parse_article_linksread[분석] 조문 내 법령 참조 추출.
parse_jo_coderead[유틸] 조문번호 ↔ JO코드 변환.
search_acr_decisionsread[권익위] 국민권익위원회 결정문 검색.
search_acr_special_appealsread[권익위심판] 국민권익위 특별행정심판 재결례 검색.
search_admin_appealsread[행심] 행정심판례 검색.
search_admin_ruleread[행정규칙] 훈령/예규/고시/지침 검색. knd 파라미터로 종류 필터 가능(1=훈령, 2=예규, 3=고시). 현행 0건이면 연혁을 자동 추적해 폐지(폐지사유·후속 통합 규정)·제명변경을 안내.
search_ai_lawread[AI검색] 자연어로 관련 조문 의미검색. 법령명 몰라도 사용 가능. 법령명을 알면 search_law가 더 정확.
search_allread[통합검색] 법령+행정규칙+자치법규 동시검색. 도메인 불명확 시 사용.
search_appeal_review_decisionsread[소청심사] 소청심사위원회 재결례 검색. 공무원 징계(파면·해임·감봉 등) 불복.
search_constitutional_decisionsread[헌재] 헌법재판소 결정례 검색.
search_customs_interpretationsread[관세] 관세청 법령해석(관세 해석례) 검색. 관세법·FTA특례법·대외무역법 해석례.
search_decisionsread[통합검색] 18개 도메인(판례·해석례·헌재·행심·조세심판·관세·국세청·공정위·개인정보위·노동위·권익위·소청심사·학칙·공사공단·공공기관·조약·영문법령) 통합 검색. domain으로 선택. 판례 본문까지 필요하면 domain=
search_english_lawread[영문] 영문 법령 검색.
search_ftc_decisionsread[공정위] 공정거래위원회 결정문 검색.
search_historical_lawread[이력] 연혁법령 검색.
search_interpretationsread[해석례] 법령해석례 검색.
search_lawread[법령검색] 법령명·조례명·행정규칙명 키워드검색 → lawId, mst 획득. 지자체 조례·규칙(자치법규), 훈령·예규·고시(행정규칙)도 검색 — 0건 시 자치법규/행정규칙으로 자동 폴백(예:
search_law_bulkread[법령검색] 법령명 배열을 한 번에 조회 — 건당 법령ID·MST·시행일·시행예정만 컴팩트 반환(부분매칭 목록·안내문 없음). previous={법령ID:직전MST} 를 주면 MST가 달라진 법령만 돌려주는 diff 모드 — MST는 개정마다 바뀌므로 그 자체가 변경 감지 키다. ISO 준법 등록부처럼 수십 건의 개정 여부를 주기적으로 확인할 때 search_law 건당 호출 대신 사용.
search_legal_termsread[용어사전] 법령용어 정의·해설 검색.
search_nlrc_decisionsread[노동위] 중앙노동위원회 결정문 검색.
search_ordinanceread[자치법규] 조례/규칙 검색. 지역명 포함 권장.
search_pipc_decisionsread[개인정보위] 개인정보보호위원회 결정문 검색.
search_precedentsread[판례] 대법원 판례 검색.
search_public_corp_rulesread[공사공단] 지방공사공단 규정 검색.
search_public_institution_rulesread[공공기관] 공공기관 규정 검색.
search_school_rulesread[학칙] 학칙(대학교·고등학교 등) 검색.
search_tax_tribunal_decisionsread[조세심판] 조세심판원 결정례 검색. 관세·소득세·법인세·부가세 등 세목별 검색 가능.
search_treatiesread[조약] 조약(양자/다자) 검색. 국가코드·체결일·발효일 필터 가능.
suggest_law_namesread[자동완성] 법령명 일부 입력 시 후보 목록 제안. 정확한 법령명을 모를 때 사용.
summarize_precedentread[판례] 판례 요약 생성.
verify_citationsread[인용검증] LLM 환각 방지 — 사용자/AI가 쓴 텍스트에서

Install

Package version 4.13.1 · audited commit 32d4635

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 4.13.1. The audit covers commit 32d4635 only.

claude mcp add korean-law-mcp --env ALLOW_QUERY_API_KEY=${ALLOW_QUERY_API_KEY} --env KOREAN_LAW_API_KEY=${KOREAN_LAW_API_KEY} --env LAW_EXTERNAL_TLS_REJECT_UNAUTHORIZED=${LAW_EXTERNAL_TLS_REJECT_UNAUTHORIZED} -- npx -y [email protected]

The command pins the package version recorded in the source (4.13.1); the audit covers commit 32d4635c0054. Transport: stdio · streamable-http. Reads these environment variables: ALLOW_QUERY_API_KEY, KOREAN_LAW_API_KEY, LAW_EXTERNAL_TLS_REJECT_UNAUTHORIZED. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    Source changed, verdict held · 32d4635c0054

  2. ✓SAFE B 89 / 100

    First audit · 15a22d50d2e7

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/chrisryugj/korean-law-1/badge.svg)](https://modelsatlas.com/mcp/chrisryugj/korean-law-1/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Korean Law MCP server

What is the Korean Law MCP server?
법제처 국가법령정보를 LLM에서 바로 조회하는 MCP 서버. 법령·판례·조례 검색과 인용 검증 | MCP server for Korean law — search statutes, precedents, and ordinances, and verify citations
What tools does Korean Law expose?
99 in total: 98 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Korean Law safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Korean Law need?
It reads ALLOW_QUERY_API_KEY, KOREAN_LAW_API_KEY and LAW_EXTERNAL_TLS_REJECT_UNAUTHORIZED from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Korean Law run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as korean-law-mcp at 4.13.1.
How current is this page?
The grade is for one exact copy of the source (32d4635c0054), read on 2026-09-22. The repository is watched and re-audited when it changes.
Which Korean Law MCP server is the right one?
chrisryugj/korean-law-mcp (this page). 2 servers share the name; see the side-by-side comparison.

Sources

  • chrisryugj/korean-law-mcp on GitHub — the source we read, its licence, stars and activityObserved · 22 Sep 2026
  • ModelsAtlas trust audit — SAFE verdict for commit 32d4635c0054Observed · 22 Sep 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.