Skip to main content
Glama
korean-privacy-law-mcp

korean-privacy-law-mcp

by scvcoder

Korean Privacy Law MCP

npm version MCP 1.0 License: MIT Tools: 37 RAG: 2,202 chunks


An MCP for searching, comparing, analyzing, and verifying the Republic of Korea's Personal Information Protection Act (PIPA) using natural language.

With 31 Ministry of Government Legislation tools + 2 official PIPC source indices + 3 RAG corpora + 1 hallucination verification tool — a total of 37 MCP tools handle PIPA, enforcement decrees, PIPC notifications, resolutions, 4 types of official PIPC guides, and 1,745 consultation cases (2,202 chunks in total) to help you solve problems related to privacy law.

Let's solve privacy law issues by talking with AI.

Korean

Korean Privacy Law MCP Demo


Why I Created This

Large corporations and public institutions have internal legal teams or CPOs to manage privacy protection.

However, small and medium-sized enterprises, small business owners, and pharmacies are often left in a blind spot due to a lack of personnel and budget to overcome the invisible barrier of the law.

I hope this MCP will be of some help to those who find it difficult to access the Personal Information Protection Act.


Related MCP server: lawink-mcp

Built on top of 31 Ministry of Government Legislation OPEN API wrappers, a total of 37 tools—including 2 official PIPC source indices + 3 RAG corpora for guides/consultation cases + 1 four-layer hallucination verification—search, compare, and analyze Korean legal information and official PIPC materials in natural language.

Key Developments

  • Official PIPC RAG Corpus (2,202 chunks) — Practical materials not available in the Ministry of Government Legislation API. 457 chunks from 4 types of guides (99 Q&A + 41 small business + 71 CCTV + 246 sectoral guides) + 1,745 consultation cases from the Personal Information Portal. Anthropic Contextual Retrieval applied. BM25 index memory build at boot (Korean tokenizer, prefix + fuzzy 0.2).

  • Official PIPC Source Indexing (Curation 0) — Structured tables from the "Sectoral Personal Information Protection Guide" (PIPC, 2024.12) + 12 statutes and 23 administrative rules from the Personal Information Portal (privacy.go.kr/contsNo=116·117). No opinions or mapping of our own — strictly PIPC official tables and portal lists. Every response automatically includes source, page, publication date, and a "mandatory additional review" disclaimer.

  • 4-Layer Delegation Tracking — Combines get_three_tier (Act-Enforcement Decree-Enforcement Rule) + get_delegated_laws + administrative rule search to trace the delegation path from PIPA articles to PIPC notifications in a single natural language line.

  • Time-based Branching — Uses get_historical_law, get_article_change_history, and get_law_history to verify the absorption of the Information and Communications Network Act into PIPA, text before/after amendments, and citations of old articles.

  • PIPC Resolution Search & Cascading Summarization — Summarizes 10,000+ character resolution texts into the first 800 characters + [omitted] + last 400 characters. Handles case-sensitive response quirks (<Ppc> vs <ppc>).

  • 4-Layer Hallucination Verification — verify_pipa_citation verifies citations in the order of Statute Name → Article → Paragraph → Subparagraph/Item. If a hallucination is detected, it returns [HALLUCINATION_DETECTED] + step-by-step ✗ + guidance on the next tool. Verifies text at specific points in time using as_of YYYYMMDD (e.g., whether §22 of the Information and Communications Network Act was valid at that time).

  • Response Baseline Standardization — 4 machine-parsing markers: [NOT_FOUND], [HALLUCINATION_DETECTED], [OUT_OF_SCOPE], [NOT_FOUND_SCOPE] + regular URL (📎 Source: ...) + automatic attachment of next tool candidates (allowing LLMs to continue naturally without chains).

  • Automatic Recognition of 17 Legal Abbreviations — Including PIPA, Privacy Act, Network Act, Credit Information Act, Location Information Act, Communication Privacy Act, Information Disclosure Act, Electronic Government Act, etc. Since the Ministry of Government Legislation's lsAbrv dictionary rarely includes domain abbreviations, PRIVACY_ALIASES provides the supplement.

Example — Reaching Domain Depth in One Natural Language Line

"의료기관에서 환자 개인정보 처리할 때 어떤 법이 우선이야?"

→ When the AI receives a natural language query, it automatically performs the following:

  • get_sectoral_related_laws("Medical Institutions") — PIPC sectoral guide official table lookup

  • Separate output for official_laws (PIPC official classification) + additional_mentions (text frequency statistics)

  • Direct citation of PIPC based on the lex specialis principle + automatic attachment of source, page, publication date, and "mandatory additional review" disclaimer

Result Example:

"The 'Personal Information Protection Act' is a general law, while the Medical Service Act is a special law (lex specialis) regarding patient personal information. The PIPC also specified this in the FAQ of the 'Sectoral Personal Information Protection Guide (2024.12)' for medical institutions — if there is a provision in the 'Medical Service Act', it applies; if not, the 'Personal Information Protection Act' applies."

"개인정보 보호법 §28-2 가명정보 처리 조항이 2020년 6월 시점에 유효했어?"

→ When the AI receives a natural language query, it automatically performs the following:

  • Calls verify_pipa_citation(citation="Personal Information Protection Act §28-2", as_of="20200601")

  • Verifies step-by-step across 4 layers (Statute → Article → Paragraph → Subparagraph/Item) by looking up text at specific points in time via efYd

  • If successful, returns ✅ + 4-layer ✓ + mst·lawId + regular URL / If hallucination, returns [HALLUCINATION_DETECTED] + step-by-step ✗

Result Example:

Conclusion: No. As of June 2020, it was not yet in effect. It was part of the amendment of the so-called 'Data 3 Laws' (Personal Information Protection Act, Information and Communications Network Act, Credit Information Act), which was promulgated on February 4, 2020, and took effect on August 5 after a 6-month grace period. Therefore, it was not possible to use §28-2 as a basis for processing pseudonymized information in June 2020, and at that time, there was no general law provision directly regulating the concept of pseudonymized information (new legal grounds for pseudonymization and combination for statistical compilation, scientific research, and public interest archiving all began after August 5).

PIPA domain tracking + citation verification in one natural language line.


Installation and Usage

Step 0: Get API Key (Free, 1 minute)

First, obtain the Ministry of Government Legislation OPEN API Authentication Key (OC), which is required for all methods.

  1. Visit the Ministry of Government Legislation OPEN API Application Page

  2. Sign up and log in

  3. Click the "Apply for OPEN API Usage" button

  4. Fill out the application → Receive Authentication Key (OC) (email ID format)

your-api-key-here in all examples below is a placeholder — replace it with your own key. (Same convention as .env.example)

Method 1: Use directly in Claude.ai web (No installation) - Easiest

Add a custom connector in claude.ai. Requires Claude Pro/Max/Team/Enterprise plan (Free plan only allows 1 connector).

How to add a connector:

  1. Log in to claude.ai

  2. Click your name at the bottom of the sidebar → "Settings" → "Connectors"

  3. "Custom Connectors" area → "Add Custom Connector"

  4. Enter the following (replace your-api-key-here with your key):

    • Name: korean-privacy-law (optional)

    • URL: https://scvcoder-korean-privacy-law-mcp.hf.space/mcp?oc=your-api-key-here

  5. "Add" → Registration complete

Enable Tools (Important): Click "Configure" on the registered connector → Set all tools to "Always allow" in the tool list. This allows the AI to call them immediately without approval every time.

Now, in chat, use natural language:

"개인정보 보호법 제15조 알려줘"                                → 법령 조문 본문
"의료기관 환자 개인정보 처리할 때 어떤 법이 우선이야?"          → PIPC 분야별 매핑
"가족 동의 없이 자녀 사진 SNS 에 올리면?"                       → 상담사례 검색
"개인정보 보호법 §28-2 가 2020년 6월 시점에 유효했어?"           → 인용 조문 시점 검증
"PIPC 가 동의 없는 마케팅 문자 발송에 어떻게 의결했어?"          → PIPC 의결례

The Hugging Face remote server is a best-effort service provided for free by the operator (scvcoder) — no operation guarantee. If you want to deploy it yourself for your own operation, refer to docs/HUGGINGFACE.md (Pro subscription + 5 minutes required).

Method 2: Use in AI Desktop Apps (Claude Desktop · Cursor · Windsurf)

Add the following to your configuration file (replace your-api-key-here with your key):

{
  "mcpServers": {
    "korean-privacy-law": {
      "url": "https://scvcoder-korean-privacy-law-mcp.hf.space/mcp?oc=your-api-key-here"
    }
  }
}

Configuration File Location:

App

macOS

Windows

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json

%APPDATA%\Claude\claude_desktop_config.json

Cursor

<project>/.cursor/mcp.json

<project>/.cursor/mcp.json

Windsurf

<project>/.windsurf/mcp.json

<project>/.windsurf/mcp.json

If other MCP servers are already configured, just add the "korean-privacy-law": { ... } part inside "mcpServers": { ... }. Save and restart the app.

Method 3: Install directly on your computer (Offline possible)

If you want to use it without the internet or avoid remote servers, you can install it directly.

Prerequisites: Node.js version 18 or higher.

Automatic Execution (npx, recommended):

Add the following to your configuration file:

{
  "mcpServers": {
    "korean-privacy-law": {
      "command": "npx",
      "args": ["-y", "korean-privacy-law-mcp"],
      "env": {
        "LAW_OC": "your-api-key-here"
      }
    }
  }
}

Checks npm cache every time — new versions applied automatically.

Global Installation (Faster boot):

npm install -g korean-privacy-law-mcp

Change the configuration file to the following:

{
  "mcpServers": {
    "korean-privacy-law": {
      "command": "korean-privacy-law-mcp",
      "env": {
        "LAW_OC": "your-api-key-here"
      }
    }
  }
}

Boot is 0.5~1 second faster. Manually update new versions with npm install -g korean-privacy-law-mcp.

Build directly from source (Developer):

git clone https://github.com/scvcoder/korean-privacy-law-mcp.git
cd korean-privacy-law-mcp
npm install
npm run build

Specify the absolute path in the configuration file:

{
  "mcpServers": {
    "korean-privacy-law": {
      "command": "node",
      "args": ["/절대경로/korean-privacy-law-mcp/dist/index.js"],
      "env": {
        "LAW_OC": "your-api-key-here"
      }
    }
  }
}

Alternatively, if you create a .env file in the project root with LAW_OC=..., it will be loaded automatically — the env block can be omitted.

Detailed step-by-step for Claude Desktop + troubleshooting: docs/CLAUDE_DESKTOP.md

Restart the app and you're done!

Summary of API Key Delivery Methods

There are several ways to provide the authentication key. They are applied in the following order of priority:

Method

Usage

Purpose

Include in URL

?oc=mykey at the end of the address

Remote server (Method 1·2) — Easiest

HTTP Header

apikey: mykey or x-law-oc: mykey

Remote server — Programming integration

Config file env block

"env": { "LAW_OC": "mykey" }

Local installation (Method 3) standard

Shell environment variable

export LAW_OC=mykey (~/.zshrc, etc.)

System-wide application

.env file

LAW_OC=mykey in project root

Source build — Auto-load


Usage Examples

Search Statutes, Administrative Rules, Resolutions, and Interpretations

Find statute texts, delegation relationships up to enforcement decrees/rules and PIPC notifications, as well as PIPC resolutions, Constitutional Court decisions, and interpretations in natural language.

"개인정보 보호법 제15조 알려줘"
→ 해당 조문 본문과 법제처 정식 출처 링크를 함께 반환합니다.

"개인정보 영향평가 의무는 어떤 법령에 어디까지 정해져 있어?"
→ 법·시행령·시행규칙·PIPC 고시까지의 위임 경로를 한 번에 정리해 줍니다.

"PIPC 가 동의 없는 마케팅 문자 발송에 어떻게 의결했어?"
→ 관련 의결례를 찾아 핵심 부분을 발췌해 보여 줍니다."

PIPC Official Sectoral Mapping

Which law takes precedence in a specific sector — receive official answers posted directly by the PIPC along with sources. These are not processed or interpreted by us, but are the original tables from the PIPC.

"병원에서 환자 정보 처리할 때 의료법이랑 개인정보 보호법 중 뭐가 우선이야?"
→ PIPC 「분야별 개인정보 보호 안내서」 의 의료기관 편 답변을 그대로 보여 줍니다.

"개인정보 포털에 등록된 관련 법령·행정규칙 목록 알려줘"
→ privacy.go.kr 에 PIPC 가 직접 등록한 12 법령 + 23 행정규칙 list 를 반환합니다.

Supported sectors: HR/Labor · Social Welfare Facilities · Medical Institutions · Pharmacies · Academies/Tutoring Centers · Statistical Compilation · Public Institutions · Online Prizes. (Aliases like Hospital → Medical Institution are automatically recognized)

Natural Language Search for PIPC Guides & Consultation Cases

Search 4 types of official guides published by the PIPC + 1,745 consultation cases from the Personal Information Portal in natural language. All answers include official PIPC sources for verification.

"가족 동의 없이 자녀 사진을 SNS 에 올려도 돼?"
→ 개인정보 포털의 관련 상담사례를 찾아 답변을 보여 줍니다.

"가명정보를 다른 회사 데이터와 결합하려면?"
→ 「개인정보 질의응답 모음집」 에서 해당 항목을 찾아 답변을 보여 줍니다.

"약국에서 처방전 보관할 때 주의할 점"
→ 가이드 4종 + 상담사례를 통합 검색해 가장 관련성 높은 항목을 보여 줍니다.

Verify if Cited Articles Exist / Were Valid at the Time

Check if the legal articles cited by the AI in its response actually exist or were valid at a specific point in the past. A safety mechanism to catch hallucinations (articles made up by AI).

"개인정보 보호법 §15 ② 1호가 실제로 있는 조문인지 확인해 줘"
→ 법령·조·항·호·목 단계별로 존재 여부를 검증합니다.

"개인정보 보호법 §28-2 가 2020년 6월 시점에 유효했어?"
→ 그 시점 기준으로 조문이 시행 중이었는지 시점별 본문으로 검증합니다.

Statute names are recognized even if entered as abbreviations (Privacy Act, Network Act, Credit Information Act, Location Information Act, Communication Privacy Act, etc.).


Tool Structure (37 items)

Category

Count

Note

Statute Search/Text/Structure

10

Keyword/Natural language search, text/table lookup, delegation/related laws/legal system map, internal statute tree

Amendment History Tracking

4

Statute history, amendment history by article, comparison before/after amendment, 3-tier comparison (Act-Decree-Rule)

Article Comparison

1

Comparison of two different articles

Administrative Rules

3

Search/Text/Amendment comparison

Decisions/Interpretations

8

PIPC resolutions + Constitutional Court decisions + Administrative appeals + Ministry-specific legal interpretations

English Statutes

2

English statute list/text

Terms/Abbreviations

3

Legal term definitions, term-article linkage, abbreviation dictionary

PIPC Official Sectoral Mapping

2

Priority laws by sector, laws/administrative rules registered on the Personal Information Portal

PIPC Guide/Consultation Search

3

4 types of guides + 1,745 consultation cases

Citation Verification

1

Article/Paragraph/Subparagraph/Item hallucination verification + past validity check

Total

37

Refer to docs/API.md for full tool details (names, parameters, examples).


Key Features

  • 37 Integrated Tools — 31 Ministry of Government Legislation + 2 official PIPC source indices + 3 RAG corpora + 1 4-layer hallucination verification.

  • Statutes + Related Statutes + Guides + Consultation Cases — Combines guides and consultation cases that general legal MCPs cannot handle into RAG corpora, processing them all at once within one MCP.

  • Official PIPC RAG Corpus (2,202 chunks) — 4 types of guides (Q&A, Small Business Handbook, CCTV Guide, Sectoral Guide) + 1,745 consultation cases from the Personal Information Portal. Contextual Retrieval applied.

  • 100% Indexing of Official PIPC Sources — 0 curation by us. Sectoral guides, laws/administrative rules registered on the Personal Information Portal are kept exactly as in the PIPC posted tables.

  • Natural Language Sector Matching — Automatic normalization of aliases (Hospital → Medical Institution, Audit → Public Institution, etc., 8 sectors total).

  • Legal Domain Specialization — Automatic recognition of 17 abbreviations (PIPA, Privacy Act, Network Act, Credit Information Act, Location Information Act, etc.), article number normalization (§28-2 ↔ 002802), 4-layer delegation tracking (Act-Decree-Rule-PIPC Notification).

  • 4-Layer Hallucination Verification — Verifies step-by-step whether cited articles actually exist (Statute → Article → Paragraph → Subparagraph/Item). Catches old article citations via time-based (as_of) verification.

  • Remote + Local Mode — Use immediately via https://scvcoder-korean-privacy-law-mcp.hf.space OR local stdio via npx korean-privacy-law-mcp.

  • Single MCP Standard — Same 37 tools everywhere: Claude.ai web, Claude Desktop, Cursor, Windsurf.

  • Verification — 441 cases automatically tested (npm test — actual Ministry of Government Legislation API calls + snapshots, not mock-heavy).

  • License — MIT (code).

RAG Source Material — Personal Information Protection Commission guides and Personal Information Portal consultation cases (https://www.privacy.go.kr/front/case/list.do).

※ If the copyright holder of the original material requests deletion or modification of all or part, we will take immediate action.


Environment Variables

Variable

Required

Purpose

LAW_OC

✅

Ministry of Government Legislation OPEN API Authentication Key (Used by 31 Layer A tools. Layer B+/C/Validator also use the same key for time verification/primitive calls)

If you place a .env file in the project root, it will be loaded automatically. Even if spawned with an arbitrary cwd like Claude Desktop, it automatically searches for ../.env based on the script directory. If it still can't find it, it only outputs a warning to stderr (the server starts — some operations like Layer C RAG search can work without a key).

Full variables + examples: .env.example.


Documentation

Document

Description

README.md

This document

docs/CLAUDE_DESKTOP.md

Claude Desktop step-by-step setup guide (including 8 troubleshooting cases)

docs/HUGGINGFACE.md

Hugging Face Spaces deployment guide (remote MCP server operation)

docs/API.md

37-tool detailed reference (names, parameters, examples)

CLAUDE.md

Project identity, architecture, tool inventory, Ministry of Government Legislation OPEN API mapping (developer onboarding)

LICENSE

MIT

data/hf_dataset/LICENSE.md

RAG corpus attribution license (pipc-attribution)


License and RAG Source Material

MIT (code)

RAG Source Material — Personal Information Protection Commission guides and Personal Information Portal consultation cases (https://www.privacy.go.kr/front/case/list.do).

※ If the copyright holder of the original material requests deletion or modification of all or part, we will take immediate action.

This MCP is not legal advice. It is a tool to assist in searching, comparing, and analyzing personal information domain materials; please seek professional advice or consultation from specialized institutions for legal judgments on specific matters.


Made by scvcoder

Available Tools

37 tools
compare_admin_rule_old_newA

행정규칙 신구법 비교 (법제처 lawService · target=admrulOldAndNew). 구조문(이전 버전)과 신조문(개정 후) 기본정보 + 변경된 조문 목록을 평행 노출. 변경 부분은 **변경** 강조. PIPC 고시 개정 추적에 직접 활용 (예: 안전성 확보조치 기준 2023.9 → 2025.10). 다음: get_admin_rule_text(mst)로 신/구 각 버전 전문, search_admin_rule로 다른 고시 검색.

Inputs: mst (required).

compare_articlesA

두 법령 조문을 side-by-side로 비교 (내부에서 lawService · target=law · JO 두 번 호출). PIPA §15 vs 신용정보법 §32, PIPA §17 vs §18 등 조문 단위 차이 분석에 활용. 각 사이드는 mst+jo 필수, efYd로 시점 지정 가능. diff 자동 추출 X — LLM이 두 본문을 직접 비교해 차이점 정리. 각 사이드 6,000자 절단. 다음: get_law_text(mst)로 전문, search_law(query)로 mst 발견.

Inputs: left (required), right (required).

compare_old_newA

법령 신구법 비교 (법제처 lawService · target=oldAndNew). 구조문(이전 시점)과 신조문(개정 후) 기본정보 + 변경 조문 목록 평행 노출. 변경 부분 **변경** 강조. PIPA 같은 자주 개정되는 법령의 차이 추적에 직접 활용 (예: 2023.9 → 2025.10 변경 조문). 다음: get_historical_law(mst)로 신/구 각 시점 전문, get_law_history로 다른 시점 비교.

Inputs: mst (required).

get_admin_appeal_textA

행정심판 재결례 본문 (법제처 lawService · target=decc). 사건명·재결청·청구취지·재결요지·주문·이유 추출. PIPA 위반에 대한 시정명령·과징금 등 행정처분 불복 사례 분석. 긴 이유는 자동 축약. 다음: search_admin_appeals로 유사 처분 사례, get_pipc_decision_text로 원처분 PIPC 결정 추적.

Inputs: id (required).

get_admin_rule_textA

행정규칙 본문 조회 (법제처 lawService · target=admrul). 고시·훈령·예규의 전문. search_admin_rule이 반환한 mst(행정규칙일련번호) 사용. PIPC 안전성 확보조치 기준·표준 처리지침·가명정보 결합 고시 등 직접 조회. 다음: compare_admin_rule_old_new(W2.4)로 신구법 비교.

Inputs: mst (required).

get_annexesA

법령 별표·서식 목록 (법제처 lawSearch · target=licbyl). 처리방침·동의서 같은 표준양식이 별표·서식에 위치. knd로 종류 필터(별표/서식/부칙). 응답에는 별표일련번호·관련법령ID·PDF 링크 포함 (PDF 본문 추출은 v1.1). 다음: get_law_text(lawId=관련법령ID)로 본문 맥락, search_admin_rule로 행정규칙 별표(W2).

Inputs: lawName (required), knd, display.

get_article_change_historyA

조문별 변경 이력 (법제처 lawSearch · target=lsJoHstInf). 특정 법령(또는 특정 조문)의 시점별 개정 추적. fromRegDt/toRegDt 날짜 범위 필수 (미지정 시 최근 10년 자동). PIPA 같은 자주 개정되는 법령의 조문 단위 히스토리 추적. 다음: get_historical_law(mst)로 그 시점 본문, compare_old_new로 신구 비교.

Inputs: lawId (required), jo, toRegDt, fromRegDt.

get_constitutional_decision_textA

헌재 결정문 전문 (법제처 lawService · target=detc). 사건명·사건번호·결정요지·판시사항·전문 추출. PIPA 해석의 헌법적 근거(자기결정권 등) 추적. 긴 전문은 자동 축약. 다음: search_constitutional_decisions로 유사 사건, intelligent_law_search로 인용 조문 검색.

Inputs: id (required).

get_delegated_lawsA

법령 위임조문 관계 (법제처 lawService · target=lsDelegated). 본법 조문 → 시행령·시행규칙 위임 조문 매핑을 평탄 list로 반환. PIPA 같은 본법의 모든 위임조문 한 번에 확인 (예: 59개 위임조문). 다음: get_law_text(lawId)로 위임받는 시행령 본문, get_three_tier(mst)로 트리 시각화.

Inputs: lawId (required).

get_english_law_textA

영문 법령 본문 (법제처 lawService · target=elaw). PIPA 영문본 등 챕터·조문(Article) 구조로 정렬. GDPR 비교, 국외 보고·자문 작성에 직접 활용. 다음: get_law_text(mst)로 한글본 비교, compare_articles로 조문별 한↔영 비교(예정).

Inputs: mst (required).

get_historical_lawA

특정 시점 법령 본문 (법제처 lawService · target=law). get_law_history가 반환한 시점별 mst로 호출. PIPA 같이 자주 개정되는 법령의 과거 시점 검토(예: 2019년 시점, 2023년 통합 직전) 시 사용. 현행 본문은 get_law_text. 다음: get_law_history(lawName)로 다른 시점 mst 확인.

Inputs: mst (required).

get_interpretation_textA

법령해석례 본문 (법제처 lawService · target=expc). 안건명·질의요지·회답·이유 + 질의/해석기관 추출. PIPA 조문 적용 의문 시 법제처·부처가 회신한 공식 해석 직접 확인. 긴 이유는 자동 축약. 다음: search_interpretations로 유사 해석례, get_law_text로 인용 조문 확인.

Inputs: id (required).

get_law_abbreviationsA

법령 약칭 사전 (법제처 lawSearch · target=lsAbrv). 법제처가 등록한 전체 약칭 매핑(약 2,600건)에서 query로 부분 매칭. 도메인 약칭(정통망법·개보법 등 lsAbrv 미등록) → PRIVACY_ALIASES로 자동 변환 후 검색. 예: '정통망법' → 도메인 변환 → 「정보통신망 이용촉진 및 정보보호 등에 관한 법률」 매칭. '개인정보 보호법' → 정식명만 사용 (lsAbrv는 약칭 없는 법령 미수록). 약칭 → 정식명 / 정식명 → 약칭 양방향. 응답 1.2MB+ 가져와 모듈 캐시(24h) 사용 — bypassCache=true로 강제 갱신. stdDt/endDt 지정 시 서버측 필터 (캐시 무시). 다음: get_law_text(mst)로 본문, search_law(query)로 정식 검색.

Inputs: endDt, exact, query, stdDt, +2 more.

get_law_historyA

법령 연혁 목록 (법제처 lawSearch · target=eflaw). 한 법령의 시행일별 모든 버전 반환 — 현행·연혁·시행예정 구분. 각 버전마다 mst·공포일·시행일·제개정구분 노출 → get_historical_law(mst)로 그 시점 본문 조회. PIPA 같은 자주 개정되는 법령의 시점 분기 추적에 필수. 다음: get_historical_law(mst)로 특정 시점 본문, compare_old_new로 신구 비교.

Inputs: lawName (required), display.

get_law_system_treeA

법령 체계도 — 트리 시각화 (법제처 lawService · target=lsStmd). 법률 → 시행령 → 시행규칙 → 행정규칙(고시·훈령·예규) 계층을 들여쓰기 트리로 표시. get_related_laws와 endpoint 공유하지만 출력 형태가 트리(체계 이해용) vs 평탄 list(검색·발견용). 다음: get_law_text(mst·lawId)로 특정 노드 본문, get_delegated_laws(lawId)로 위임조문 매핑.

Inputs: mst, lawId.

get_law_textA

법령 본문 조회 (법제처 lawService · target=law). mst(또는 lawId)로 법령 전체 본문 가져옴. 조문 단위로 정렬된 결과 반환. 시점 본문은 efYd=YYYYMMDD. 큰 법령은 12,000자에서 잘림 (특정 조문은 v1.1의 get_law_article 사용). 다음: get_related_laws(lawId)로 관계, get_law_history(lawId)로 개정 이력.

Inputs: mst, efYd, lawId.

get_law_treeA

법령 내부 편·장·절·관 목차 트리 (lawService · target=law JSON, '조문여부=전문' 헤더 추출). PIPA 같은 대형 법령(126조+)에서 LLM 네비게이션 보조용 — 어느 장·절을 봐야 할지 빠른 결정. 각 헤더의 조문 범위([제N조~제M조]) + 조문 개수 표시. get_law_text(전체 본문, 12K cap)와 다름: 본문 X 구조만. get_law_system_tree(법-시행령-시행규칙 체계도)와도 다름. 다음: get_law_text(mst)로 전문, compare_articles(mst, jo)로 특정 조문 정밀 조회.

Inputs: mst, efYd, lawId.

get_pipc_curated_corpusA

PIPC 공식 큐레이션 일반 도메인 출발점 (개인정보 포털 privacy.go.kr 직접 게시). 12개 법령 + 23개 행정규칙 — PIPC가 '개인정보 보호 관련'으로 직접 분류한 list. 분야별 안내서(8개 분야)와 별개의 일반 큐레이션. PIPA 도메인 첫 진입 시 권유. ** 우리 큐레이션 0 — PIPC가 portal에 게시한 list 그대로. ** 출처 URL 자동 첨부 (사용자 검증 가능). 다음: search_law(법령명)·search_admin_rule(고시명)으로 본문, get_sectoral_related_laws(sector)로 분야별 매핑.

Inputs: category.

get_pipc_decision_textA

PIPC 결정문 전문 (법제처 lawService · target=ppc). 안건명·결정요지·주문·이유·배경 등 구조화 필드 추출. 별지(첨부 이미지·PDF) 링크 자동 추출. 긴 본문은 자동 축약. 다음: search_pipc_decisions로 유사 사례 검색 비교, get_law_text로 인용 조문 확인.

Inputs: id (required).

get_term_articlesA

법령용어가 사용된 조문 추적 (법제처 lawService · target=lstrmRltJo). 법령용어 키워드 → 매칭 용어 그룹별로 그 용어가 등장하는 모든 조문 목록 반환. 예: '개인정보' → PIPA·정보통신망법·신용정보법 등 ~700개 조문 (상위 N건). 동음이의 용어는 별도 그룹으로 분리. 페이징 X — maxArticles로 절단. 다음: get_law_text(lawId=...)로 해당 조문 전문, get_legal_term(query)로 정의 확인.

Inputs: query (required), includeBody, maxArticles.

get_three_tierA

법률 → 시행령 → 시행규칙 3단 위임·인용 비교 (법제처 lawService · target=thdCmp). knd=2(위임, 기본): 본법 조문에서 시행령으로 위임된 관계. knd=1(인용): 법률·하위법령 간 인용 관계. PIPA §29(안전조치) → 시행령 §30 같은 위임 매핑 한 번에 확인. 다음: get_law_text(mst)로 시행령 본문, get_admin_rule_text로 PIPC 고시 (W2.4).

Inputs: mst (required), knd.

search_admin_appealsA

행정심판 재결례 검색 (법제처 lawSearch · target=decc). 행정처분 취소·이행 청구 결정 메타. PIPA 위반에 대한 시정명령·과징금 등 행정처분에 대한 불복 사건 확인. 다음: get_admin_appeal_text(W2.5)로 재결례 전문.

Inputs: query (required), page, display.

search_admin_ruleA

행정규칙 검색 (법제처 lawSearch · target=admrul). 고시·훈령·예규 등 행정규칙 메타데이터 조회. 개인정보 도메인의 핵심 — PIPC 공식 고시 8건 + 부처 개인정보보호 훈령 22건이 모두 여기 있음. 다음: get_admin_rule_text(W2.4)로 본문, compare_admin_rule_old_new(W2.4)로 신구법.

Inputs: query (required), page, display.

search_constitutional_decisionsA

헌법재판소 결정례 검색 (법제처 lawSearch · target=detc). 위헌·합헌·각하 등 헌재 결정 메타. 개인정보 자기결정권은 헌법상 권리(헌재 99헌마513)이며 PIPA 해석 기초. 다음: get_constitutional_decision_text(W2.5)로 결정문 전문.

Inputs: query (required), page, display.

search_english_lawA

영문 법령 검색 (법제처 lawSearch · target=elaw). PIPA 영문본 등 한국 법령 영문 번역 조회. GDPR 비교, 국외 보고·자문 자료 작성에 직접 활용. 다음: get_english_law_text(W2.7)로 영문 본문, compare_articles로 PIPA↔GDPR 비교(국외 API 연계는 v2).

Inputs: query (required), page, display.

search_interpretationsA

법령해석례 검색 (법제처 lawSearch · target=expc). 법제처·부처가 회신한 공식 해석 결정 메타. 조문 해석에 의문 있을 때 PIPA·시행령 적용 사례를 회신 기록으로 확인. 다음: get_interpretation_text(W2.6)로 해석 본문.

Inputs: query (required), page, display.

search_lawA

법령 검색 (법제처 lawSearch · target=law). 법령명·메타데이터(소관부처·시행일) 조회. 약칭(개보법·정통망법 등) 자동 인식. 본 MCP는 개인정보 분야 우선이지만 일반 법령 검색도 가능. 다음: get_law_text(mst)로 본문, get_related_laws(lawId)로 관계 조회.

Inputs: query (required), page, sort, display.

search_pipc_decisionsA

개인정보보호위원회(PIPC) 결정문 검색 (법제처 lawSearch · target=ppc). 심의·의결, 침해요인 평가, 분쟁조정 등 PIPC가 발한 모든 결정문 조회. 도메인 핵심 — 위반 사례·과징금·시정조치 직접 확인 가능. 다음: get_pipc_decision_text(W2.5)로 결정문 전문.

Inputs: query (required), page, display.

search_privacy_casesA

PIPC privacy.go.kr 상담사례 1,745건 BM25 검색 (Contextual Retrieval 적용). category1(처리자) × category2(처리행위) × category3(분야) 트리 필터 지원. year_min/year_max로 연도 범위 좁히기. 법제처 API에 없는 PIPC 실무 회신이 차별화. 예: '의료기관 환자 동의' + category3='보건·의료' → 의료 도메인 사례. 응답에 PIPC attribution 자동 첨부 (pipc-attribution 라이선스). 다음: search_privacy_guides로 공식 가이드, search_pipc_decisions로 위반·과징금 의결.

Inputs: query (required), display, year_max, year_min, +3 more.

search_privacy_corpusA

PIPC 공식 가이드 7종(질의응답·소상공인·CCTV·분야별 안내서 8개 편 전체·가명정보 처리 가이드라인 2026.3·개인정보 처리방침 작성지침 2026.4·공공 AX 프라이버시 보호 안내서 2026.7) + privacy.go.kr 상담사례 1,745건 통합 BM25 검색 (총 2,699 청크, Contextual Retrieval 적용). 법제처 API가 못 가진 PIPC 실무 자료가 차별화 — 정의 사례·상담 회신·업종별 적용 안내. LLM 첫 진입에 가장 자연스러운 도구. source_type=guide/case로 분리 검색도 가능. 응답에 PIPC attribution 자동 첨부 (pipc-attribution 라이선스). 다음: 더 좁은 검색은 search_privacy_cases·search_privacy_guides, 법조문은 search_law·get_law_text.

Inputs: query (required), display, source_type.

search_privacy_guidesA

PIPC 공식 가이드 7종 BM25 검색 (Contextual Retrieval, 총 954청크). doc_type ∈ {qa, small_business, cctv, sectoral, pseudonym, privacy_policy, public_ax, all}. qa=질의응답 모음집(2025.12, 99) / small_business=소상공인 핸드북(2024.12, 41) / cctv=고정형 영상정보처리기기 안내서(2024.12, 71) / sectoral=분야별 안내서(2024.12, 476, 8개 편 전체: 인사노무·사회복지시설·의료기관·약국·학원교습소·통계작성·공공기관·온라인경품) / pseudonym=가명정보 처리 가이드라인(2026.3, 132: 본권 제도 안내—특례·5단계 절차·위험도 판단·비정형데이터 기준·Q&A + 별권 실무—결합·반출 절차·안전조치·가명처리 기술·서식 10종·운영문서·위험도 판단 예시·AI 시나리오 7종) / privacy_policy=개인정보 처리방침 작성지침(2026.4, 96: 기재사항 24개 항목별 작성법·예시, 공개 방법·라벨링, 생성형 AI 서비스·아동·공공기관·소상공인·업종별 부록) / public_ax=공공 AX 프라이버시 보호 안내서(2026.7, 39: 공공기관 AI 전환 단계별·유형별 점검, 적법근거 해석, 사전적정성 검토 사례). 법제처 API가 못 가진 PIPC 실무 안내가 차별화. 응답에 PIPC attribution + 페이지 정보 자동 첨부 (pipc-attribution 라이선스). 다음: search_privacy_cases로 실제 상담 사례, search_law로 관련 법조문.

Inputs: query (required), display, doc_type.

verify_pipa_citationA

법령 인용 환각 검증 (4계층: 법령 존재 → 조문 존재 → 항 존재 → 호·목 존재). 법제처 API에 실제 존재하는지 사실 검증 — LLM이 못 하는 도구 핵심 가치. 예: 'PIPA §9999' → 조문 없음 [HALLUCINATION_DETECTED] / 'PIPA §15 ① 6호' → ✓ 모든 단계 검증. as_of 지정 시 시점 기준 검증 (정통망법 §22 폐지 여부 등). 법령명 약칭(PIPA·개보법·정통망법 등) PRIVACY_ALIASES 자동 정규화. 환각 발견 시 [HALLUCINATION_DETECTED] 마커 + 정확한 근거 + 다음 도구 안내 자동. 다음: search_law(법령명)으로 정식명, get_law_text(mst)로 본문 직접 확인.

Inputs: citation (required), as_of.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 37 tools

    Disambiguation4/5

    Most tools have distinct purposes (search vs. get vs. compare vs. verify), but there is some overlap among search_interpretations/get_interpretation_text, search_pipc_decisions/get_pipc_decision_text, and similar paired search/get tools. Also get_related_laws and get_law_system_tree share an endpoint, though descriptions clarify the output difference.

    Naming Consistency4/5

    The naming follows a consistent verb_noun pattern: search_*, get_*, compare_*, verify_*. Minor deviations include intelligent_law_search and get_intelligent_related_laws, which use an adjective prefix instead of a pure verb, but the overall pattern is predictable.

    Tool Count3/5

    37 tools is on the heavy side for a single MCP server. The domain is broad (law text, decisions, guides, cases, history, comparisons), so many tools are justified, but the count exceeds the typical well-scoped range and may overwhelm an agent.

    Completeness5/5

    The tool surface is remarkably complete for the Korean privacy law domain: search and retrieval for laws, administrative rules, interpretations, decisions, appeals, constitutional cases, English translations, historical versions, comparisons, delegation mapping, term definitions, citation verification, and PIPC practical guides/cases. No obvious dead ends; each tool description suggests appropriate next steps.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      B
      maintenance
      Enables searching, comparing, and analyzing Korean laws and public institution regulations through natural language, integrating 110 MCP tools covering statutes, precedents, and internal rules.
      100
      56 npm
      24
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables Korean legal document processing, case analysis, and consultation using MCP, with OCR parsing, fact extraction, claim identification, subsumption grid, legal API verification, and document drafting.
      24
      MIT