legalize-kr MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@legalize-kr MCP Search for 근로기준법 in the Korean legal documents."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
legalize-kr MCP
legalize-kr 로컬 Git 클론을 대상으로, README 빠른 시작과 같은 작업(현재 본문, git log, diff, 전역 검색, 특정 일자 시점 본문)을 Model Context Protocol 도구로 노출하는 stdio 서버입니다.
요구 사항
Node.js 18+
환경 변수
LEGALIZE_KR_ROOT:legalize-kr저장소 루트 절대 경로 (kr/포함)Git 기반 도구(
kr_git_log,kr_diff,kr_file_at_date)는 해당 경로가 Git 저장소여야 합니다.
Related MCP server: LexLink
설치 및 빌드
cd /path/to/search
npm install
npm run buildCursor에서 사용
mcp.json 예시:
{
"mcpServers": {
"legalize-kr": {
"command": "node",
"args": ["/absolute/path/to/search/dist/index.js"],
"env": {
"LEGALIZE_KR_ROOT": "/absolute/path/to/legalize-kr"
}
}
}
}전역 설치 없이 npx tsx src/index.ts로 개발 실행할 수 있습니다 (tsx 설치 필요).
도구
도구 | 설명 |
|
|
|
|
|
|
| 경로별 |
| 동일 법령 폴더 안 두 Markdown 파일 |
|
|
특정 일자 결과는 커밋 날짜 기준 근사입니다. 공포일은 각 파일 YAML 공포일자를 참고하세요.
라이선스
MIT
Available Tools
6 toolskr_diff두 법령 파일 비교ARead-only
동일 법령 폴더 안 두 Markdown 파일에 대해 git diff를 실행합니다 (README의 diff 예시).
Inputs: fileA (required), fileB (required), lawDir (required).
kr_file_at_date특정 일자 시점 법령 본문BRead-only
git log -1 --before=날짜로 해당 시점 커밋을 찾고, 선택적으로 git show로 당시 본문을 가져옵니다.
Inputs: date (required), lawDir (required), fileName (required), maxChars, +1 more.
kr_git_log개정 이력 (git log)BRead-only
지정한 법령 경로에 대한 git log를 반환합니다 (README의 git log -- kr/.../).
Inputs: lawDir (required), limit, format, fileName.
kr_list_laws법령 폴더 목록ARead-only
kr/ 직계 하위 법령 디렉터리 이름을 정렬해 반환합니다.
Inputs: no named parameters.
kr_read_file법령 파일 현재 내용BRead-only
워킹 트리에서 kr/{lawDir}/{fileName} 전문을 UTF-8로 읽습니다 (README의 cat 예시와 동일).
Inputs: lawDir (required), fileName (required), maxChars.
kr_search법령 전역 검색ARead-only
kr/**/*.md에서 문자열을 검색합니다 (README의 grep -r과 유사). ripgrep이 있으면 사용합니다.
Inputs: pattern (required), lawDir, fileName, maxResults, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct operation: reading current files, listing law directories, diffing files, searching, viewing git history, and retrieving historical versions. The only slight overlap between kr_read_file and kr_file_at_date is clearly differentiated by temporal focus.
All tools share the 'kr_' prefix, and most follow a verb_noun pattern (read_file, list_laws, git_log, file_at_date). However, kr_diff and kr_search are verb-only, creating a minor inconsistency in naming style.
With 6 tools, the set is well-scoped for a legal document browsing server. Each tool serves a clear purpose without unnecessary redundancy, fitting comfortably within the ideal 3-15 range.
The server covers core read-only workflows: discovering laws, reading current and historical content, searching, diffing, and viewing git history. A notable gap is the lack of a tool to list individual files within a law directory, which prevents agents from enumerating files without guessing.
Maintenance
Related MCP Connectors
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
Official English text of Korean laws (law.go.kr): search by name, get articles; flags outdated texts
Search Japanese statutes via the e-Gov Law API. Free law_search tool.
대한민국 법령·조문·별표·연혁·판례·해석례를 법제처 국가법령정보 OPEN API 로 찾아보는 읽기 전용 MCP 서버. 핵심 도구 12개.
Related MCP Servers
- -licenseNot gradedqualityNot gradedmaintenanceEnables searching and retrieving Korean legal information including laws, court precedents, legal interpretations, and local ordinances from the Korean National Law Information Center API with intelligent search ranking.-
- FlicenseAqualityBmaintenanceEnables AI systems to search, retrieve, and analyze Korean legal information from the National Law Information API (law.go.kr), including laws, administrative rules, English translations, and law-ordinance linkages.262-
- AlicenseNot gradedqualityBmaintenanceProvides tools for querying Korean laws, precedents, administrative rules, and ordinances via GitHub REST API, enabling natural language access to legal data.119 PyPI13Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables searching and retrieving Korean statutes, precedents, and constitutional court decisions via MCP, using the National Law Information Center API.2MIT