# Korean Law MCP [Health: Active]

**Category:** ⚖️ Legal  
**Repository:** https://github.com/chrisryugj/korean-law-mcp  
**GitHub Stars:** 2945  
**npm Downloads (last month):** 27107  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/korean-law-mcp

## Description
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

**Requires environment variables:** `LAW_OC` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Korean Law MCP does

Korean Law MCP gives AI assistants access to Korean legal information through the Ministry of Government Legislation Open API. It covers statutes, court and constitutional precedents, administrative rules, local ordinances, treaties, and legal interpretations. Interpretation sources include the National Tax Service, the Ministry of the Interior and Safety, and first-level interpretations from central government ministries.

The server also supports citation verification for AI-generated answers. This makes it useful when a response needs to be checked against identifiable Korean legal sources rather than relying only on model-generated text. Its 10 exposed tools consolidate 42 underlying public APIs.

## How it works

The project can be used through the hosted MCP endpoint at `https://mcp.gomdori.app/law`, or installed locally with the `korean-law-mcp` npm package. Hosted use can operate under a shared limit or accept a Ministry of Government Legislation API key through the `oc` URL parameter. Local execution uses the `LAW_OC` environment variable for that key.

MCP clients send natural-language requests to the server, which selects the relevant legal-information tool and queries the corresponding public API. The server exposes human-readable tool titles and provides guidance for choosing between related operations. A bulk search operation is available for workflows that need to inspect multiple laws, while decision-text retrieval can return the body of interpretation records, including National Tax Service decisions.

## Setup and configuration

The hosted endpoint can be added directly to clients that support remote HTTP MCP connections. Cursor, Windsurf, and similar clients use a URL configuration such as:

```json
{
  "mcpServers": {
    "korean-law": {
      "url": "https://mcp.gomdori.app/law?oc=YOUR_API_KEY"
    }
  }
}
```

Claude Desktop uses the `mcp-remote` adapter because it does not connect to remote HTTP MCP servers directly. Claude Code can install the project as a plugin; that plugin connects to the hosted endpoint. VS Code and Cursor provide installation links, and the project also documents setup for Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Gemini CLI, and Zed.

For local use, Node.js 20.19 or newer is required, with Node.js 22.12 or newer recommended. The setup command is:

```bash
npx --ignore-scripts --omit=optional korean-law-mcp setup
```

Manual installation is available with `npm install --ignore-scripts --omit=optional -g korean-law-mcp`. Set `LAW_OC` to the API key issued by the Ministry of Government Legislation before starting the local MCP process. The setup wizard can register client configuration and handles key entry for supported clients.

## Tools and capabilities

- Search and retrieve Korean statutes and individual provisions.
- Search precedents, constitutional decisions, and administrative-review materials.
- Query administrative rules, local ordinances, and treaties.
- Retrieve legal-interpretation records, including National Tax Service content.
- Route local-tax interpretation questions to the Ministry of the Interior and Safety domain.
- Search multiple laws with `search_law_bulk`.
- Retrieve full decision text with `get_decision_text`.
- Verify citations used in AI-generated legal answers.
- Produce new-versus-current provision comparison tables with `legal_analysis(mode="amendment_table")`.
- Generate local Korean HWPX output for amendment-table workflows.

## Limitations and notes

A Ministry of Government Legislation Open API authentication key is required for local installation. The hosted service can use a shared public limit, but supplying a personal key is supported. Claude Desktop requires `mcp-remote` for the hosted HTTP endpoint, while clients with remote HTTP support can use the endpoint URL directly.

The project is an information-retrieval and citation-checking interface for Korean legal sources; legal conclusions still require appropriate professional review. The amendment-table feature has documented test results for a sample of laws, so generated comparisons should be checked against the relevant official material.

_Full upstream README: https://allmcps.com/mcp/korean-law-mcp/readme_

