legalize-kr MCP

legalize-kr MCP

Enables searching and browsing Korean legal documents from a local git clone of legalize-kr, with tools for reading files, listing laws, searching content, and viewing git history.

Category
Visit Server

README

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 저장소여야 합니다.

설치 및 빌드

cd /path/to/search
npm install
npm run build

Cursor에서 사용

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 설치 필요).

도구

도구 설명
kr_read_file kr/{법령명}/{파일}.md 워킹 트리 내용 읽기
kr_list_laws kr/ 직계 법령 폴더 목록
kr_search kr/**/*.md 문자열 검색 (ripgrep 우선, 없으면 Node 순회)
kr_git_log 경로별 git log
kr_diff 동일 법령 폴더 안 두 Markdown 파일 git diff
kr_file_at_date git log -1 --before=날짜로 커밋 조회, 선택 시 해당 시점 본문

특정 일자 결과는 커밋 날짜 기준 근사입니다. 공포일은 각 파일 YAML 공포일자를 참고하세요.

라이선스

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured