chrisryugj/korean-law-mcp

법제처 국가법령정보를 LLM에서 바로 조회하는 MCP 서버. 법령·판례·조례 검색과 인용 검증 | MCP server for Korean law — search statutes, precedents, and ordinances, and verify citations

What it solves

This project provides a bridge between AI assistants (like Claude, ChatGPT, or Cursor) and the South Korean Ministry of Government Legislation's official databases. It solves the problem of "hallucinations" in AI legal research by verifying citations against real-time government data, handling complex legal queries, and providing tools for legislative analysis that standard LLMs cannot perform on their own.

How it works

It acts as an MCP (Model Context Protocol) server. When you ask an AI assistant a legal question, the assistant uses this server to call specific tools that query the official Korean legal API. These tools can fetch laws, precedents, and administrative rules, perform "diffs" between different versions of a law, check if a precedent is still valid (Citator), and map the impact of specific legal clauses.

Who it’s for

It is designed for legal professionals, researchers, compliance officers, and developers who need to integrate accurate, up-to-date Korean legal data into their AI-powered workflows or terminal environments.

Highlights

  • Real-time Citation Verification: Automatically checks if cited laws or precedents actually exist and matches their content to prevent AI fabrications.
  • Legislative Analysis: Includes tools for "time travel" (comparing law versions across dates), impact mapping, and checking for outdated ordinances.
  • Broad Coverage: Accesses 42 different government APIs through 10 streamlined tools, covering laws, precedents, administrative rules, and treaties.
  • Seamless Integration: Works directly within Claude Desktop, Cursor, Windsurf, and other MCP-compatible AI environments.
  • Performance Optimized: Features intelligent caching, rate-limiting, and automatic fallback mechanisms to ensure reliable performance even with large legal documents.

Related

  • Project
  • Project
  • Project
  • Project
  • Project