Korean Law MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LAW_OC | Yes | 법제처 Open API 인증키(OC). 무료로 발급받을 수 있으며(https://open.law.go.kr), 모든 방법에 공통으로 필요합니다. 예: honggildong. URL 쿼리(?oc=내키), HTTP 헤더(apikey), 도구 파라미터(apiKey)로도 전달할 수 있지만 로컬 설치에서는 환경변수 LAW_OC를 사용합니다. | |
| LAW_API_PROTOCOL | No | 법제처 API 호출 프로토콜. 허용값은 http, https이며 기본값은 https입니다. 사내망·폐쇄망 등 인증서 검증이 어려운 환경에서 http로 설정할 수 있습니다. | |
| LAW_EXTERNAL_HTTPS_PROXY | No | 국세청 판례 본문 fallback의 외부 HTTPS 연결에 사용할 프록시 서버 주소. 예: http://proxy-host:8080. 사내망·폐쇄망·SSL inspection 프록시 뒤에서 Node.js fetch가 실패할 때 설정합니다. | |
| LAW_EXTERNAL_TLS_REJECT_UNAUTHORIZED | No | 외부 HTTPS 프록시 경로에 한해 TLS 인증서 검증을 비활성화하는 진단용 설정. 0으로 설정하면 비활성화됩니다. 운영 상시 설정으로 사용하지 마세요. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_lawA | Korean-law-mcp — [법령검색] 법령명·조례명·행정규칙명 키워드검색 → lawId, mst 획득. 지자체 조례·규칙(자치법규), 훈령·예규·고시(행정규칙)도 검색 — 0건 시 자치법규/행정규칙으로 자동 폴백(예: '광진구 복무조례', '외국환거래규정'). 약칭 자동변환. 제명변경·시행예정 개정 자동 병기. 폐지된 법령·행정규칙은 폐지 사실과 후속(통합) 규정을 자동 안내. 법령·조례·행정규칙 조회 전 식별자 확보용. |
| get_law_textC | Korean-law-mcp — [법령조회] 조문 전문 조회. mst/lawId 필수, jo로 특정 조문만 가능. |
| ordinance_radarA | Korean-law-mcp — [자치법규] 조례 정비 레이더 — 조례가 인용한 근거 상위법령(법률/시행령/시행규칙)을 본문에서 추출하고, 각 상위법의 현행 시행일과 조례 시행일을 대조해 '상위법이 조례 시행 이후 개정됨 → 정비 검토 대상'을 자동 플래그. 조례 담당 공무원의 상위법 개정 추적·조례 정비 판단용. ordinSeq(또는 id)나 ordinanceName 중 하나 지정. |
| get_annexesA | Korean-law-mcp — [별표] 별표/서식 조회. lawName+'별표N'으로 내용 추출. 금액/기준은 별표에 있는 경우 많음. |
| legal_researchA | Korean-law-mcp — [⛓리서치] 다단계 법령 리서치 통합 — 여러 API를 병렬로 엮는 복합 질문 전용. task: full_research=도메인·법령명 불명확한 자연어 질문 폴백(기본값, 예 '음주운전 처벌 기준') | law_system=법률·시행령·시행규칙 3단+위임+별표(예 '관세법 체계') | action_basis=처분·허가의 법적 근거+해석례+판례+행심(예 '영업정지 근거') | dispute_prep=불복·소송 준비, 판례+심판례+도메인 결정례(예 '과세처분 불복') | amendment_track=개정 이력+신구대조+연혁(예 '2023년 개정 뭐 바뀜') | ordinance_compare=조례 전국 비교+상위법 적합성(예 '서울시 주차 조례') | procedure_detail=절차·수수료·별표서식(예 '건축허가 절차') | document_review=계약서·약관 조항 리스크+근거법령(text 필수). 단일 조회로 답이 되면 search_law/get_law_text 쓸 것. |
| legal_analysisA | Korean-law-mcp — [정밀분석] 검증·분석 4종 통합. mode: verify_citations=텍스트 속 조문 인용('민법 제750조' 등)이 실존하는지 법제처 DB 교차검증, LLM 환각 방지(text 필수) | cite_check=판례 생사 확인 — 사건번호로 후속 인용 역추적+변경·폐기 감지, 한국형 Citator(caseNumber 필수) | applicable_law=사건 시점에 시행되던 법령 버전+그 시점 조문+부칙 경과조치, 행위시법 판단(lawName+date 필수, jo 선택) | impact_map=한 조문을 인용한 판례·헌재·해석례·행심·조례 역방향 그래프+mermaid(lawName+jo 필수) |
| discover_toolsA | Korean-law-mcp — [메타] 위 도구로 안 되는 경우. 전문도구(조세심판·관세·헌재·행심·공정위·개인정보위·노동위·학칙·조약·영문법령·용어 등 80+개) 카테고리 검색 |
| execute_toolA | Korean-law-mcp — [메타] discover_tools 결과 도구를 프록시 실행. tool_name + params |
| search_decisionsA | Korean-law-mcp — [통합검색] 18개 도메인(판례·해석례·헌재·행심·조세심판·관세·국세청·공정위·개인정보위·노동위·권익위·소청심사·학칙·공사공단·공공기관·조약·영문법령) 통합 검색. domain으로 선택. 판례 본문까지 필요하면 domain='precedent', options.includeText=true, options.detailLimit=N. 세무 관련 국세청 직접 회신 해석은 domain='nts'. |
| get_decision_textB | Korean-law-mcp — [통합조회] 18개 도메인 전문 조회. domain+id. full=false(기본) 시 본문 계단식 축약 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
The core tools (search_law, get_law_text, get_annexes, search_decisions, get_decision_text) have distinct resource+action purposes, but the mega-tools legal_research (8 tasks including a natural-language fallback), legal_analysis (4 modes), and search_decisions overlap heavily, and the discover_tools/execute_tool meta layer can invoke anything, making tool selection non-obvious.
All names use consistent snake_case, and the primary tools follow a clear verb_noun pattern (search_law, get_law_text, get_annexes, search_decisions, get_decision_text). A few names are noun-based (ordinance_radar, legal_research, legal_analysis), a minor deviation but still readable and consistent in style.
Ten tools is a well-scoped count for a broad legal-domain server, and each tool maps to a recognizable functional area. The count is balanced even though several tools internally bundle many sub-operations.
The surface covers law/ordinance search, full-text retrieval, annexes, multi-domain decision search and retrieval, precedent citator checks, citation verification, amendment tracking, and ordinance-to-parent-law comparison, which is broad lifecycle coverage for the Korean-law domain. Gaps are minor (e.g., no explicit save/bookmark or comparison-of-two-specific-provisions tool), but agents have viable workarounds.