
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Korea Law MCP Server - AI Legal Auditor for Korean Law Verification (한국 법률 MCP 서버)
The Time-Aware Legal MCP for Korean Law
AI가 인용한 법률을 현행법 기준으로 검증하는 MCP 서버
"Don't just trust AI's memory. Audit it against the current law." (AI의 기억을 믿지 마세요. 현행법으로 감사(Audit)하세요.)
이 패키지는 AI 검증용(Verification) 도구입니다.
이 MCP 서버는 AI 사후 검증(Post-generation Verification) 용으로 설계되었습니다.
| 기능 | 설명 |
|---|---|
| Statute Validity | 인용된 법령이 현재 유효한가? (시행일 확인) |
| Article Accuracy | 조문 내용이 실제와 일치하는가? |
| Precedent Reality | 판례 번호가 실제 존재하는가? (가짜 판례 방지) |
| Future Changes | 계약 기간 중 법령 변경 예정이 있는가? |
npm install korea-law
claude_desktop_config.json:
{
"mcpServers": {
"korea-law": {
"command": "npx",
"args": ["korea-law"],
"env": {
"KOREA_LAW_API_KEY": "your-api-key"
}
}
}
}
# 조문 검증
korea-law audit 근로기준법 제23조
# 판례 존재 확인
korea-law verify 2023다12345
# 수동 동기화
korea-law sync
const { findLawByName, findArticle, verifyPrecedentExists } = require('korea-law');
// 법령 조회
const law = findLawByName('근로기준법');
const article = findArticle(law.id, '제23조');
// 판례 확인
const exists = verifyPrecedentExists('2023다12345');
audit_statute (핵심 기능)AI가 인용한 조문이 현행법과 일치하는지 검증합니다.
입력: { law_name: "근로기준법", article_number: "제23조" }
출력: 조문 원문, 시행일, 불일치 경고
check_enforcement_date법령의 시행일/개정일을 확인합니다.
verify_case_exists판례 번호가 실제 존재하는지 확인합니다. (가짜 판례 방지)
get_daily_diff오늘 변경/시행된 법령 목록을 반환합니다.
audit_contract_timeline계약 기간 동안 법령 변경 예정이 있는지 확인합니다.
check_legal_definition법률 용어의 정확한 정의를 조회합니다.
실시간 API 호출 대신 로컬 DB를 사용하여 응답 속도가 즉각적입니다.
공포일과 시행일의 차이를 분석하여, 미래에 바뀔 법령까지 미리 경고합니다.
매일 전체 데이터를 스캔하여 변경분을 계산합니다. AI는 오늘 무엇이 바뀌었는지 정확히 알고 있습니다.
⚠️ 이 DB는 "검증용(Verification)" 목적입니다.
Laws - 법령 마스터 (버전 관리, 시행일/공포일)
Articles - 조문 데이터 (본문, 해시값)
Diff_Logs - 변경 이력 (Diff Engine)
Precedents - 판례 인덱스 (존재 여부만)
LegalTerms - 법률 용어 정의
SyncMetadata - 동기화 메타데이터
.env 파일을 생성하고 아래 내용을 입력하세요:
# 국가법령정보센터 API 키 (필수)
LAW_API_KEY=your_api_key_here
# Supabase 설정 (클라우드 DB 사용 시)
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_ANON_KEY=your_anon_key
SUPABASE_SERVICE_ROLE_KEY=your_service_role_key
# 로컬 DB 경로 (SQLite 캐시용)
LOCAL_DB_PATH=./data/laws.db
# Daily Sync 활성화
ENABLE_DAILY_SYNC=true
| 변수 | 설명 | 기본값 |
|---|---|---|
LAW_API_KEY | 국가법령정보센터 API 키 (필수) | - |
SUPABASE_URL | Supabase 프로젝트 URL | - |
SUPABASE_ANON_KEY | Supabase 공개 키 | - |
SUPABASE_SERVICE_ROLE_KEY | Supabase 서비스 키 (Sync 작업용) | - |
LOCAL_DB_PATH | 로컬 SQLite DB 경로 | ./data/laws.db |
ENABLE_DAILY_SYNC | 자동 동기화 활성화 | true |
API 키 발급:
supabase-schema.sql 파일 내용 복사# 스키마 파일 확인
cat supabase-schema.sql
# DB 초기화
npm run init
# 법령 데이터 동기화 (최초 1회)
npm run sync
| 패키지 | 설명 |
|---|---|
| @2seo/law | 통합 패키지 |
| law-ko | 한국어 법률 |
| law-kr | 한국 법률 |
| korean-law | Korean Law |
MIT
2seo iyu974895@gmail.com
⚠️ 다시 한번 강조합니다:
이 도구는 AI의 법률 인용을 검증하기 위한 보조 도구입니다. 법적 효력의 최종 판단은 반드시 **국가법령정보센터(law.go.kr)**를 참조하세요.
FAQs
Korea Law MCP Server - AI Legal Auditor for Korean Law Verification (한국 법률 MCP 서버)
We found that korea-law demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.