Skip to main content
Glama
KJH Law MCP
by Ramhori

KJH Law MCP - 法律検索MCPサーバー

大韓民国の法令検索・照会・分析のためのMCPサーバーです。法制処のOpen APIに基づき、89種類の法律ツールを提供します。

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


事前準備:APIキーの発行

すべての使用法に共通して必要な**法制処Open API認証キー(OC)**を先に発行してください。

  1. 法制処Open API申請ページにアクセス

  2. 会員登録後、ログイン

  3. **「Open API使用申請」**ボタンをクリック

  4. 申請書作成後、**認証キー(OC)**を発行(例:honggildong)


Related MCP server: 갈피 법령조회 MCP

使用方法

方法1:Claude.aiウェブで直接使用(インストール不要)

Claude Pro/Max/Team/Enterpriseプランでコネクタとして直接使用できます。

  1. claude.ai → 設定 → コネクタ → カスタムコネクタを追加

  2. 以下のURLを入力(honggildongを自身の認証キーに置き換えてください):

https://korean-law-mcp.fly.dev/mcp?profile=lite&oc=honggildong
  1. ツールを**「常に使用」**に設定

  2. チャットで「労働基準法第74条を教えて」と入力すれば完了!

lite vs full: lite(14ツール)でも89の全機能を使用可能。URLから profile=lite& を削除するとfullモードになります。

方法2:AIデスクトップアプリ(Claude Desktop, Cursor, Windsurfなど)

設定ファイルに以下の内容を追加してください:

アプリ

設定ファイルの場所

Claude Desktop (Win)

%APPDATA%\Claude\claude_desktop_config.json

Claude Desktop (Mac)

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

Cursor / Windsurf

プロジェクトフォルダ .cursor/mcp.json または .windsurf/mcp.json

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

方法3:ローカルインストール

npm install -g kjh-law-mcp

AIアプリ設定:

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

方法4:CLI使用

# 인증키 설정
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                 # 도구별 도움말

APIキーの渡し方

方法

使用法

用途

URLに含める

?oc=自分のキー

ウェブクライアント

HTTPヘッダー

apikey: 自分のキー

プログラミング連携

環境変数

LAW_OC=自分のキー

ローカルインストール

ツールパラメータ

apiKey: "自分のキー"

特定のリクエスト


使用例

"관세법 제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 변환

ツール一覧(89個)

カテゴリ

個数

主要ツール

検索

11

search_law, search_precedents, search_all, get_annexes

照会

9

get_law_text, get_batch_articles, compare_old_new, get_three_tier

分析

10

compare_articles, get_law_tree, summarize_precedent, analyze_document

専門: 税務/関税

4

search_tax_tribunal_decisions, search_customs_interpretations

専門: 憲法裁判所/行政審判

4

search_constitutional_decisions, search_admin_appeals

専門: 委員会決定

8

公正取引委員会、個人情報保護委員会、労働委員会、監査院

特別行政審判

4

search_acr_special_appeals, search_appeal_review_decisions

法令-自治法規連携

4

get_linked_ordinances, get_delegated_laws

条約

2

search_treaties, get_treaty_text

学則/公団/公共機関

6

search_school_rules, search_public_corp_rules, search_public_institution_rules

知識ベース

7

get_legal_term_kb, get_daily_to_legal, get_related_laws

チェーン

8

chain_full_research, chain_law_system, chain_document_review

メタ

2

discover_tools, execute_tool (liteプロファイル用)

その他

10

AI検索、英文法令、沿革法令、法令用語、略称、法体系図、行政規則比較


主な特徴

  • 89種類の法律ツール - 法令、判例、行政規則、自治法規、憲法裁判所決定、税務審判、関税解釈、条約など

  • MCP + CLI - AIアプリとターミナルの両方をサポート

  • 法律ドメイン特化 - 略称の自動認識(화관법 -> 化学物質管理法)、条文番号変換

  • 別表/別紙様式の抽出 - HWPX/HWPファイルを自動ダウンロード後、Markdownに変換

  • 8種類のチェーンツール - 複雑なリサーチを一度の呼び出しで処理

  • ツールプロファイル - lite(14個) / full(89個) 自動選択

  • キャッシュ - 検索1時間、条文24時間TTL

  • リモートエンドポイント - インストールなしですぐに使用可能


ライセンス

MIT

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • 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
      Enables AI assistants to search and retrieve Korean laws, regulations, administrative rules, legal interpretations, and precedents via official APIs for legal review workflows.
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to query and analyze Korean law, including statutes, precedents, and ordinances, with citation verification and impact analysis.
      10
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables legal research and analysis of Korean law through 42 National Law Information Center APIs exposed as 10 tools, including statute/precedent search, citation hallucination verification, precedent citator checks, law version comparisons, applicable law determination, and ordinance maintenance review.
      10
      MIT