Korean Law

v4.0.4APIsstable

국가법령정보MCP v4.0 | 법제처 41개 API → 17개 MCP 도구. 법령·판례·조례 검색 + LLM 환각 방지 인용검증 + 조문 영향 그래프(impact_map) + 시점 비교 자동 diff(time_travel) + 시민 5단계 실행 가이드(action_plan) | 41 Korean legal APIs → 17 MCP tools

citation-verificationcitizen-guideclaudehallucination-detectionimpact-graph
Share:
1,799
Stars
0
Downloads
0
Weekly
0/5

What is Korean Law?

Korean Law is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 국가법령정보mcp v4.0 | 법제처 41개 api → 17개 mcp 도구. 법령·판례·조례 검색 + llm 환각 방지 인용검증 + 조문 영향 그래프(impact_map) + 시점 비교 자동 diff(time_travel) + 시민 5단계 실행 가이드(action_plan) | 41 korean legal apis → 17 mcp tools

국가법령정보MCP v4.0 | 법제처 41개 API → 17개 MCP 도구. 법령·판례·조례 검색 + LLM 환각 방지 인용검증 + 조문 영향 그래프(impact_map) + 시점 비교 자동 diff(time_travel) + 시민 5단계 실행 가이드(action_plan) | 41 Korean legal APIs → 17 MCP tools

This server falls under the APIs and Knowledge & Memory categories on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • 국가법령정보MCP v4.0 | 법제처 41개 API → 17개 MCP 도구. 법령·판례·조례 검색 + LLM

Use Cases

Search Korean legal codes, precedents, and local ordinances.
Verify legal citations automatically to prevent hallucinations.
Compare laws across time periods and analyze impact graphs.
chrisryugj

Maintainer

LicenseMIT
Languagetypescript
Versionv4.0.4
UpdatedMay 22, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y korean-law-mcp

Manual Installation

npx -y korean-law-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Korean Law

Korean Law MCP Server bridges 41 Korean government legal APIs from the Ministry of Government Legislation (법제처) into 17 MCP tools, giving AI assistants direct access to the full corpus of Korean statutes, court precedents, constitutional rulings, and local ordinances. It goes beyond simple search by providing hallucination-detection via citation verification, amendment-history diffs (time_travel), citation impact graphs (impact_map), and a five-step citizen action guide (action_plan). Legal professionals, researchers, and developers working with Korean law can ask natural-language questions and receive cited, verifiable answers instead of invented summaries.

Prerequisites

  • Node.js 18+ installed (required to run npx)
  • A free API key from the Korean Law Open API portal at https://open.law.go.kr (registration takes about 1 minute)
  • An MCP-compatible client such as Claude Desktop or Claude Code
1

Obtain a free Law.go.kr API key

Register at the Ministry of Government Legislation Open API portal to get your authentication key (OC key). Registration is free and takes about one minute.

# Visit: https://open.law.go.kr/LSO/openApi/guideList.do
# Register and copy your OC key (e.g., honggildong)
2

Run the automatic setup

Use the built-in setup command to configure the server interactively. It will prompt you for your OC key and write the MCP config.

npx korean-law-mcp setup
3

Configure Claude Desktop manually

Alternatively, add the server block directly to your Claude Desktop config file with your LAW_OC key as an environment variable.

{
  "mcpServers": {
    "korean-law": {
      "command": "npx",
      "args": ["-y", "korean-law-mcp"],
      "env": {
        "LAW_OC": "your_oc_key_here"
      }
    }
  }
}
4

Alternative: use the hosted remote server

If you prefer not to run the server locally, connect to the hosted deployment at fly.dev via mcp-remote. Replace YOUR_KEY with your OC key.

npx -y mcp-remote https://korean-law-mcp.fly.dev/mcp?oc=YOUR_KEY
5

Verify available tools

Restart your MCP client and confirm the 9 core tools are available: legal_research, legal_analysis, search_law, get_law_text, get_annexes, search_decisions, get_decision_text, discover_tools, and execute_tool.

Korean Law Examples

Client configuration

Claude Desktop config using npx with the LAW_OC environment variable for authentication.

{
  "mcpServers": {
    "korean-law": {
      "command": "npx",
      "args": ["-y", "korean-law-mcp"],
      "env": {
        "LAW_OC": "your_oc_key_here"
      }
    }
  }
}

Prompts to try

Natural-language prompts that demonstrate the server's legal research, citation checking, and impact analysis capabilities.

- "근로기준법 제74조의 해석례를 찾아줘" (Find interpretation rulings on Labor Standards Act Article 74)
- "관세법 제38조 전문을 가져와줘" (Retrieve full text of Customs Act Article 38)
- "화관법 최근 개정 내용을 이전 버전과 비교해줘" (Compare recent amendments to the Chemical Substances Control Act)
- "Verify the citations in this legal argument about 민법 제750조"
- "What laws apply to my situation: I was dismissed without 30 days notice?"

Troubleshooting Korean Law

API calls return 'authentication failed' or empty results

Confirm your OC key is correctly set in the LAW_OC environment variable. The key is the short string you received after registering at open.law.go.kr, not a long token.

Law search returns no results for a known statute abbreviation

The server supports abbreviations for 1,600+ laws, but try the full official name if abbreviation lookup fails (e.g., '근로기준법' instead of '근기법').

Connection times out when using the hosted remote server

Ensure your OC key is appended as the `oc` query parameter in the URL: https://korean-law-mcp.fly.dev/mcp?oc=YOUR_KEY. Alternatively switch to local npx mode.

Frequently Asked Questions about Korean Law

What is Korean Law?

Korean Law is a Model Context Protocol (MCP) server that 국가법령정보mcp v4.0 | 법제처 41개 api → 17개 mcp 도구. 법령·판례·조례 검색 + llm 환각 방지 인용검증 + 조문 영향 그래프(impact_map) + 시점 비교 자동 diff(time_travel) + 시민 5단계 실행 가이드(action_plan) | 41 korean legal apis → 17 mcp tools It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Korean Law?

Install via npm with the command: npx -y korean-law-mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Korean Law?

Korean Law works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Korean Law free to use?

Yes, Korean Law is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Browse More APIs MCP Servers

Explore all apis servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "korean-law": { "command": "npx", "args": ["-y", "korean-law-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Korean Law?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides