Skip to main content
Glama
Ramhori
by Ramhori

KJH Law MCP - Legal Search MCP Server

This is an MCP server for searching, retrieving, and analyzing South Korean laws. It provides 89 legal tools based on the Ministry of Government Legislation Open API.

Based on korean-law-mcp by chrisryugj (MIT License)


Prerequisites: API Key Issuance

You must first obtain a Ministry of Government Legislation Open API Authentication Key (OC), which is required for all usage methods.

  1. Visit the Ministry of Government Legislation Open API Application Page

  2. Sign up and log in

  3. Click the "Open API Usage Application" button

  4. Fill out the application form and receive your Authentication Key (OC) (e.g., honggildong)


Related MCP server: Korean Law MCP Server

Usage

Method 1: Use directly in Claude.ai web (No installation required)

You can use it directly as a connector in Claude Pro/Max/Team/Enterprise plans.

  1. claude.ai → Settings → Connectors → Add Custom Connector

  2. Enter the URL below (replace honggildong with your own authentication key):

https://korean-law-mcp.fly.dev/mcp?profile=lite&oc=honggildong
  1. Set tools to "Always allow"

  2. Just type "Tell me about Article 74 of the Labor Standards Act" in the chat!

lite vs full: You can use all 89 features even with the lite (14 tools) version. Remove profile=lite& from the URL for full mode.

Method 2: AI Desktop Apps (Claude Desktop, Cursor, Windsurf, etc.)

Add the following to your configuration file:

App

Config File Location

Claude Desktop (Win)

%APPDATA%\Claude\claude_desktop_config.json

Claude Desktop (Mac)

~/Library/Application Support/Claude/claude_desktop_config.json

Cursor / Windsurf

Project folder .cursor/mcp.json or .windsurf/mcp.json

{
  "mcpServers": {
    "korean-law": {
      "url": "https://korean-law-mcp.fly.dev/mcp?oc=honggildong"
    }
  }
}

Method 3: Local Installation

npm install -g kjh-law-mcp

AI App Settings:

{
  "mcpServers": {
    "korean-law": {
      "command": "korean-law-mcp",
      "env": {
        "LAW_OC": "honggildong"
      }
    }
  }
}

Method 4: CLI Usage

# 인증키 설정
export LAW_OC=honggildong        # Mac/Linux
set LAW_OC=honggildong           # Windows CMD
$env:LAW_OC="honggildong"       # Windows PowerShell

# 사용 예시
korean-law "민법 제1조"                    # 자연어 조회
korean-law search_law --query "관세법"     # 도구 직접 호출
korean-law list                            # 전체 도구 목록
korean-law help search_law                 # 도구별 도움말

How to provide the API Key

Method

Usage

Purpose

Include in URL

?oc=mykey

Web client

HTTP Header

apikey: mykey

Programming integration

Environment Variable

LAW_OC=mykey

Local installation

Tool Parameter

apiKey: "mykey"

Specific request


Usage Examples

"관세법 제38조 알려줘"
→ search_law("관세법") → MST 획득 → get_law_text(mst, jo="003800")

"화관법 최근 개정 비교"
→ "화관법" → "화학물질관리법" 자동 변환 → compare_old_new(mst)

"근로기준법 제74조 해석례"
→ search_interpretations("근로기준법 제74조") → get_interpretation_text(id)

"산업안전보건법 별표1 내용 알려줘"
→ get_annexes(lawName="산업안전보건법 별표1") → HWPX 다운로드 → Markdown 변환

Tool List (89 total)

Category

Count

Key Tools

Search

11

search_law, search_precedents, search_all, get_annexes

Retrieve

9

get_law_text, get_batch_articles, compare_old_new, get_three_tier

Analysis

10

compare_articles, get_law_tree, summarize_precedent, analyze_document

Specialized: Tax/Customs

4

search_tax_tribunal_decisions, search_customs_interpretations

Specialized: Const. Court/Admin

4

search_constitutional_decisions, search_admin_appeals

Specialized: Committee Decisions

8

KFTC, PIPC, Labor Relations Commission, Board of Audit and Inspection

Special Administrative Appeals

4

search_acr_special_appeals, search_appeal_review_decisions

Law-Ordinance Linkage

4

get_linked_ordinances, get_delegated_laws

Treaties

2

search_treaties, get_treaty_text

School/Public Corp Rules

6

search_school_rules, search_public_corp_rules, search_public_institution_rules

Knowledge Base

7

get_legal_term_kb, get_daily_to_legal, get_related_laws

Chains

8

chain_full_research, chain_law_system, chain_document_review

Meta

2

discover_tools, execute_tool (for lite profile)

Other

10

AI search, English laws, historical laws, legal terminology, abbreviations, legal system maps, administrative rule comparison


Key Features

  • 89 Legal Tools - Statutes, precedents, administrative rules, local ordinances, Constitutional Court decisions, tax tribunal decisions, customs interpretations, treaties, etc.

  • MCP + CLI - Supports both AI apps and terminal environments

  • Legal Domain Specialization - Auto-recognition of abbreviations (e.g., 화관법 -> Chemical Substances Control Act), article number conversion

  • Annex/Form Extraction - Automatic download of HWPX/HWP files and conversion to Markdown

  • 8 Chain Tools - Process complex research in a single call

  • Tool Profiles - Automatic selection between lite (14) / full (89) profiles

  • Caching - 1-hour TTL for searches, 24-hour TTL for articles

  • Remote Endpoint - Ready to use without installation


License

MIT

Based on korean-law-mcp by chrisryugj (MIT License)

A
license - permissive license
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    A
    quality
    B
    maintenance
    Enables 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.
    26
    1
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables real-time search and analysis of Korean laws, legal precedents, and administrative rules through the National Law Information Center Open API, allowing AI agents to access official legal information for contract review, compliance, and legal research.
    71
  • A
    license
    Not graded
    quality
    D
    maintenance
    Integrates 132 tools from the Korean Ministry of Legislation OPEN API to provide comprehensive access to Korean legal documents, including statutes, precedents, treaties, administrative rules, and local ordinances.
    9
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides 17 tools for accessing Korean statutes, precedents, and administrative rules via the National Law Information Center API, with LLM hallucination prevention, citation verification, impact graphs, and time-travel diff.
    5,292
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ramhori/kjh-law-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server