korean-law-alio-mcp
Korean Law ALIO MCP
国家法令情報センターとALIO(公共機関経営情報公開システム)の公共機関内部規定を検索・比較・分析するためのMCPです。
法制処の87個のツールとALIO公共機関規定の23個、合計110個のMCPツールが分析を行います。
1,600の法律、10,000の行政規則、数万件の判例、344の公共機関の35,000件の内部規定を検索・比較・分析し、その結果をAIに提供することで、精度の高い回答を生成できるよう支援します。
本プロジェクトは chrisryugj/korean-law-mcp から派生して作成されました。

開発の背景
全法令を対象とした korean-law-mcp のおかげで、公共機関の業務処理が非常に効率化されました。改めて chrisryugj 氏に感謝いたします。
ここに公共機関の内部規定まで活用できれば、さらに大きな効果が得られると考えました。そこで ALIO の公共機関内部規定データを参考に、追加開発を行いました。
法律へのアクセスが難しい方々や、内部規定の管理に苦労している全国の公共機関職員の皆様の助けになれば幸いです。
Related MCP server: korean-privacy-law-mcp
v1.0.0 — 公共機関規定と法制処法令を一度に
原作の法制処ツール87個に加え、ALIO公共機関ツール23個 + 両領域をつなぐ連携ツール3個 を統合。計110個のツールが1.27GBのデータ(法制処 + 35,000件の公共機関内部規定)を自然言語で検索・比較・分析します。
追加開発事項
ALIO 23個のツール — 344の公共機関の35,000件の内部規定を統合(kordoc統合パーサーによるHWP/HWPX/PDF/XLSXの自動変換、オンデマンドディスク読み込み)
公共機関規定と法制処法令をつなぐ連携ツール3種
公共機関規定で引用された上位法令を自動抽出 + 法制処から各法令情報を自動照会
法制処法令を入力すると、その法令を根拠とする公共機関規定を全国から逆検索
単一規定内での条文間の引用・参照関係を自動分析
自然言語ルーティング — 正式機関名の自動ルックアップ(institutions.jsonの同期読み込み)、両領域への自動分岐
APIキー認証失敗時の明確な案内 — 12個のfetchサイトを一括統合、IP/ドメインホワイトリスト遮断時の登録ページ案内
セットアップウィザード —
npx korean-law-alio-mcp setup(APIキー → 運用モード → クライアント複数選択 → 設定自動登録)fly.io リモートデプロイ —
https://korean-law-alio-mcp.fly.dev(110個のツール + ALIOデータミラー、ベストエフォート更新)CLIの整理 —
list/help/--category/explain/REPL + 自然言語によるbare-query168 cases テストスイート — build 6 + router 13 + cli 23 + alio 39 + law 87 (
npm test)ライセンスの健全性 — 4つのファイルをクリーンルームで再作成、BSL/Source-Availableコードは0
例 — 両領域をつなぐ自然言語クエリ
"OO진흥원 인사규정과 관련된 상위 법령을 알려줘"→ AIが自然言語クエリを受け取ると、自動的に以下を実行:
当該機関の人事規定本文を分析し、引用された上位法令を自動抽出
抽出された各法令の識別子を法制処OpenAPIから自動照会して添付
同機関の内部上位規定も併せてマッチング
結果例:
"人事規定本文から約10件の上位法令の引用が見つかりました(例:人事・労働関連一般法令、安全・保健関連法令、男女平等関連法令など)。各法令の識別子が添付されており、後続の照会が可能です。同機関の内部上位規定も併せてマッチングされました。"
"OO공단의 OOO지침이 근로기준법을 준수하는지 검토해줘"→ AIが自然言語クエリを受け取ると、自動的に以下を実行:
35,000件の公共機関規定本文から、当該法令(例:労働基準法)の引用位置を逆検索
マッチングされた指針の引用コンテキスト(どの条文がどのように引用されているか)を整理
機関別グループで表示
結果例:
"複数の公共機関の指針から、当該法令の引用事例が検出されました。各指針がどの条文をどのように引用しているかを比較し、自機関の指針の遵守レベルを検討できます。"
公共機関のコンプライアンス検討、監査、政策分析において、上位法令まで一度に追跡可能。
インストールおよび使用方法
ステップ0: APIキーの発行(無料、1分)
すべての方法で共通して必要な 法制処Open API認証キー(OC) を先に発行してください。
法制処Open API申請ページ にアクセス
会員登録後、ログイン
「Open API使用申請」ボタンをクリック
申請書作成 → 認証キー(OC) 発行(メールID形式)
以下のすべての例にある
your-api-key-hereはプレースホルダーです。ご自身で発行したキーに置き換えてください。(.env.exampleと同じコンベンション)
方法1: Claude Codeプラグイン — 1行インストール
ご自身のAPIキーを先に環境変数としてexportしておくと、インストール時に自動注入されます。
export LAW_OC=your-api-key-here # ~/.zshrc 또는 ~/.bashrc 에 추가하면 영구 적용その後、Claude Code内で:
/plugin marketplace add scvcoder/korean-law-alio-mcp
/plugin install korean-law-alio@korean-law-alio-marketplaceインストール後、自動的に npx -y korean-law-alio-mcp が実行され、LAW_OC が渡されます。別途設定ファイルの編集は不要です。
方法2: Claude.aiウェブで直接使用(インストール不要)最も簡単
claude.ai でカスタムコネクタを追加します。Claude Pro/Max/Team/Enterpriseプランが必要です(Freeプランはコネクタ1つのみ可能)。
コネクタ追加方法:
claude.aiにログイン
サイドバー下部の名前 → 「設定」 → 「コネクタ」
「カスタムコネクタ」領域 → 「カスタムコネクタを追加」
以下を入力(
your-api-key-hereはご自身のキーに置き換え):名前:
korean-law-alio(任意)URL:
https://korean-law-alio-mcp.fly.dev/mcp?oc=your-api-key-here
「追加」 → 登録完了
ツール有効化(重要): 登録したコネクタの「構成」をクリック → ツールリストから すべてのツールを「常に使用」 に設定。毎回承認することなく、AIが直接呼び出せます。
チャットで自然言語を使って:
"근로기준법 제74조 알려줘" → 법제처 87개 도구
"○○진흥원 인사규정 알려줘" → ALIO 23개 도구
"○○진흥원 감사규정과 관련된 상위법령은 뭐니?" → 규정→법령 연계
"근로기준법과 OO공단의 인사규정의 관계는 어떻게 되니?" → 법령→규정 역검색
"공공기관 휴직 규정 비교해줘" → ALIO 기관간 토픽 비교ALIOデータは運営者が定期的に更新しますが、ALIO側で別途APIが提供されていないため、リアルタイムの最新維持は困難です(定期的なアップデートを予定)。
方法3: AIデスクトップアプリで使用(Claude Desktop · Cursor · Windsurf)
設定ファイルに以下を追加:
{
"mcpServers": {
"korean-law-alio": {
"url": "https://korean-law-alio-mcp.fly.dev/mcp?oc=your-api-key-here"
}
}
}設定ファイルの場所:
アプリ | macOS | Windows |
Claude Desktop |
|
|
Cursor |
|
|
Windsurf |
|
|
すでに他のMCPサーバーが設定されている場合は、"mcpServers": { ... } 内に "korean-law-alio": { ... } 部分のみを追加してください。保存後、アプリを再起動します。
方法4: PCに直接インストール(オフライン可能)
インターネットなしで使用したい場合や、リモートサーバーを経由したくない場合は直接インストールできます。
事前準備: Node.js バージョン20以上。
自動インストール(推奨):
npx korean-law-alio-mcp setupインストールウィザードがAPIキー入力 → AIクライアント選択 → 設定ファイル自動登録まで一度に行います。 Claude Desktop, Claude Code, Cursor, VS Code, Windsurf をサポートしています。
手動インストール:
npm install -g korean-law-alio-mcpAIアプリの設定ファイルに以下を追加してください(your-api-key-here をご自身の認証キーに置き換えてください):
{
"mcpServers": {
"korean-law-alio": {
"command": "korean-law-alio-mcp",
"env": {
"LAW_OC": "your-api-key-here"
}
}
}
}ALIOデータの準備 — PCでALIOツールを使用するにはデータが必要です。以下のいずれかの方法で準備してください。
(方法1) 運営者のミラーを使用(5-15分、推奨)
あらかじめ収集済みのデータをダウンロードします。約200MBの圧縮ファイル → 解凍すると1.27GB。
Mac, Linux:
curl -L -o alio-data.tar.gz https://github.com/scvcoder/korean-law-alio-mcp/releases/latest/download/alio-data.tar.gz
tar -xzf alio-data.tar.gz -C data/Windows (PowerShell):
Invoke-WebRequest -Uri https://github.com/scvcoder/korean-law-alio-mcp/releases/latest/download/alio-data.zip -OutFile alio-data.zip
Expand-Archive -Path alio-data.zip -DestinationPath data\(方法2) 直接収集(6-12時間)
ALIO公示から344の公共機関の35,000件の規定を直接収集します。最新データを自分で管理可能です。
スキャンPDFやHWP 3.0などの一部の特殊ケース変換のため、OSシステムツールのインストールを推奨します(なくても通常ケースは正常に処理され、特殊ケースのみスキップされます)。
HWP/HWPX/PDF統合パーサー(
kordoc)はnpm install時に自動インストールされます。別途インストールは不要で、kordocで解析が困難な部分はdocling·tesseract·tesseract-lang·libreofficeを使用して追加解析します。
macOS:
brew install docling tesseract tesseract-lang libreofficeLinux (Ubuntu/Debian):
sudo apt install tesseract-ocr tesseract-ocr-kor libreoffice
pip install doclingWindows:
Node.jsさえあれば収集自体は動作します(特殊ケースはスキップ)。
Node.jsがない場合は nodejs.org からLTSバージョン(20以上)の .msi をダウンロードしてインストールしてください。
解析に必要なプログラムのインストールが完了したら、以下のコマンドで収集します。
収集コマンド:
npm run alio:sync # 전체 344개 기관 (6-12시간)
npm run alio:sync -- --only C0xxx # 단일 기관만 (apbaId 4자리, 수 분)
npm run alio:sync -- --resume # 실패한 기관만 재시도収集されたデータは data/alio/ に保存されます(約1.27GB)。
アプリを再起動すれば完了です!
方法5: ターミナル(CLI)から直接使用
開発者であれば、ターミナルから直接法令・公共機関規定を検索できます。
# 설치
npm install -g korean-law-alio-mcp
# 인증키 설정 (your-api-key-here 를 본인 키로 바꾸세요)
export LAW_OC=your-api-key-here # Mac/Linux
set LAW_OC=your-api-key-here # Windows CMD
$env:LAW_OC="your-api-key-here" # Windows PowerShell
# 사용 예시
korean-law-alio "민법 제1조" # 법제처 자연어
korean-law-alio "OO진흥원 인사규정" # ALIO 자연어
korean-law-alio "OO진흥원 인사규정과 관련된 상위 법령" # 두 영역 연계
korean-law-alio "공공기관 휴직 규정 비교해줘" # ALIO 기관간 비교
korean-law-alio search_law --query "관세법" # 도구 직접 호출
korean-law-alio list # 전체 110개 도구 목록
korean-law-alio list --category ALIO # 카테고리별 (ALIO/판례/법령검색 등)
korean-law-alio help search_law # 도구별 도움말
korean-law-alio # REPL (대화형)ALIOツールは ユーザーの自然言語そのまま で動作します。比較対象の機関を環境変数に固定する必要はありません。「A・B・C機関と比較」、「ランダム」、「全体」のように自由に表現すれば、LLMが判断して呼び出します。
APIキーの渡し方まとめ
複数の方法で認証キーを渡すことができます。上から順に優先されます:
方法 | 使用法 | 用途 |
URLに含める | アドレス末尾に | ウェブクライアントで最も簡単 |
HTTPヘッダー |
| プログラミングで連携する場合 |
環境変数 |
| ローカルインストール(方法3, 4) |
ツールパラメータ |
| 特定のリクエストのみ別のキーを使う場合 |
使用例
法制処ツール — 法令・判例・解釈例
"민법 제1조 알려줘"
→ AI 가 법령 검색 → 해당 조문 자동 조회
"음주운전 처벌 기준"
→ AI 가 관련 법령 + 판례 + 해석례를 자동으로 종합 분석
"근로기준법 제74조 해석례"
→ AI 가 해당 조문 + 정부 해석례를 자동 매칭ALIO公共機関規定ツール
"OO진흥원 인사규정 보여줘"
→ AI 가 정식 기관명을 자동 매칭 → 해당 기관 규정 목록 표시
"공공기관 휴직 규정 비교해줘"
→ AI 가 수집된 공공기관 전체에서 휴직 관련 규정을 자동 비교
"우리 기관에 없는 동종 기관 규정"
→ AI 가 동종 기관 보유 규정 - 자기 기관 보유 규정 = 벤치마킹 후보 자동 추출法制処とALIOを接続するツール
公共機関の内部規定は、本質的に上位の法制処法令から委任・根拠を受けています。両領域をつなぐ自然言語クエリも自動処理されます:
"OO진흥원 인사규정과 관련된 상위 법령을 알려줘"
→ AI 가 규정 본문에서 인용된 상위 법령을 자동 추출
+ 법제처에서 각 법령 정보를 자동 조회
"OO공단의 OOO지침이 근로기준법을 준수하는지 검토해줘"
→ AI 가 35,000건 공공기관 규정에서 해당 법령 인용 위치를 역검색
→ 매칭된 지침의 인용 컨텍스트 + 기관별 그룹 표시ツール構造 (110個)
区分 | 個数 | 備考 |
法令・行政規則・自治法規 | 16 | 検索・照会・比較・連携 |
判例・解釈例 | 7 | 大法院・法令解釈例 |
委員会決定文 | 10 | 憲法裁判所・公正取引委員会・個人情報保護委員会・労働委員会・権益委員会 |
租税審判・関税・条約・英文 | 8 | ドメイン別決定文/原文 |
学則・公社公団・公共機関 (法制処) | 6 | 公共・教育領域 |
別表・体系・統計・履歴・用語辞典など付加 | 24 | |
チェーンツール (自動総合) | 8 | 総合リサーチ・法体系・処分根拠・争訟・改正追跡・条例比較・手続詳細・文書検討 |
文書分析・ユーティリティ | 8 | 条文番号変換、略称辞典など |
ALIO公共機関規定 | 22 | 検索・照会・比較・ベンチマーク・タイムライン・統計 + 両領域連携3種 |
ALIOチェーンツール | 1 | 機関総合ベンチマーク |
合計 | 110 |
全ツールの詳細(名前・パラメータ・例)は docs/API.md を参照してください。
主な特徴
110個のツール統合 — 法制処87 + ALIO公共機関23
両領域の連携 — 公共機関規定の引用法令自動抽出 + 上位法に基づくALIO逆検索 + 条文間引用グラフ
自然言語ルーティング — 正式機関名の自動マッチング(収集された344機関)、両領域の自動分岐
MCP + CLI — Claude Desktop・Cursor・Windsurfでも、ターミナルでも同じツールを使用可能
法律ドメイン特化 — 略称の自動認識 (
化管法→化学物質管理法)、条文番号変換 (第38条↔003800)、委任構造の可視化別表・別紙様式本文抽出 — HWPX・HWP・PDF・XLSX・DOCX自動変換 (kordocエンジン)
リモート + ローカルモード —
https://korean-law-alio-mcp.fly.devで即時使用 OR 自PCにデータを保管 (npm run alio:sync)自動インストールウィザード —
npx korean-law-alio-mcp setup検証 — 168 cases 自動テスト (
npm test— ビルド・ルーター・CLI・ALIO・法制処)ライセンス — MIT
環境変数
変数 | 必須 | 用途 |
| ✅ | 法制処OpenAPI申請者のオープンAPI認証キー |
全変数 + 例は .env.example を参照してください。
ドキュメント
ドキュメント | 説明 |
韓国語README (現在のドキュメント) | |
英語README | |
110個のツールリファレンス | |
MIT | |
使用した外部ライブラリ・データの出典とライセンス表記 |
謝辞
本プロジェクトは、以下の方々のおかげで実現しました:
chrisryugj 氏 — korean-law-mcp、kordoc プロジェクトを作成していただかなければ、このプロジェクトは始まりませんでした。心から感謝いたします。
jkg 氏 — ALIO公共機関内部規定を統合してみようというアイデアをいただき、ありがとうございます。
ライセンス
Made by scvcoder
Available Tools
110 toolsadvanced_alio_searchA
[ALIO] 복합 필터 검색 — 분류(category) + 기관유형 + 주무부처 + 개정일 기간 + 제목 키워드 조합. '과기부 산하 K1100 분류 중 최근 1년 개정' 같은 정밀 질의.
Inputs: sortBy (required), max (required), query, category, +5 more.
advanced_searchC
[고급검색] 법령종류/부처/시행일 필터 검색. 복합 조건 시.
Inputs: query (required), searchType (required), operator (required), display (required), +4 more.
analyze_alio_regulationA
[ALIO] 규정 메타(분류/제정/개정) + 구조(조문 수, 별표/별지 수, 본문 길이) + 조문 목차 분석. 깊은 리스크 분석은 본문을 analyze_document 에 전달.
Inputs: institution (required), showTOC (required), maxTocItems (required), regId, +1 more.
analyze_documentB
[문서분석] 계약서/약관/협정서 텍스트의 조항별 법적 리스크 분석. 문서 유형 자동 분류, 위험 조항 식별, 관련 법령 검색 힌트 제공.
Inputs: text (required), maxClauses (required).
analyze_regulation_delegationA
[ALIO] 특정 규정 본문에서 상위 법령/내부 상위규정 참조 추출. includeLawLookup=true 시 법제처 searchLaw 연계. 법제처 search_law 도구와의 교량.
Inputs: institution (required), includeLawLookup (required), lawLookupLimit (required), regId, +1 more.
chain_action_basisB
[⛓체인] 처분근거. 3단비교→해석례→판례→행정심판 병렬. 허가/처분 질문 시.
Inputs: query (required), apiKey.
chain_alio_benchmarkA
[ALIO 체인] 한 기관 벤치마킹 종합 — 프로파일 + 토픽 매칭 규정 + 동종 기관 갭 분석을 한 번에. '우리 기관 ○○ 측면 어떤가?' 시작점.
Inputs: institution (required), max (required), similarityThreshold (required), topic.
chain_amendment_trackB
[⛓체인] 개정 추적. 신구대조+조문이력 자동 연쇄. 개정/변경 질문 시.
Inputs: query (required), mst, lawId, apiKey.
chain_dispute_prepC
[⛓체인] 쟁송 대비. 판례→행정심판→도메인 결정례 병렬. 불복/소송 질문 시.
Inputs: query (required), domain, apiKey.
chain_document_reviewA
[⛓체인] 문서 종합검토. 리스크분석→법령검색→판례검색 자동 연쇄. 계약서/약관 검토 시 1회에 리스크+근거법령+관련판례 제공.
Inputs: text (required), maxClauses (required), apiKey.
chain_full_researchA
[⛓체인] 종합 리서치. AI검색→법령→판례→해석례 병렬 수집. 복합 질문 시 1회에 전체 자료 확보.
Inputs: query (required), apiKey.
chain_law_systemB
[⛓체인] 법체계 파악. 법령검색→3단비교→조문→별표 자동 연쇄. 법 구조 질문 시.
Inputs: query (required), articles, apiKey.
chain_ordinance_compareB
[⛓체인] 조례 비교. 상위법령→위임체계→전국 조례검색. 자치법규 질문 시.
Inputs: query (required), parentLaw, apiKey.
chain_procedure_detailB
[⛓체인] 절차/비용. 법령→3단비교→별표/서식 자동 연쇄. 신청/절차 질문 시.
Inputs: query (required), apiKey.
compare_admin_rule_old_newB
[행정규칙] 행정규칙 신구법 비교. query로 검색, id로 본문 대조표 조회.
Inputs: query, id, apiKey.
compare_alio_articlesA
[ALIO] 두 규정의 같은 조문(예: 제15조) 1:1 정밀 비교. compare_alio_regulations 의 토픽 N:N 과 달리 지정한 두 규정 의 같은 조문 나란히 출력.
Inputs: pair (required), article (required).
compare_alio_regulationsA
[ALIO] 토픽(블라인드채용·휴직·징계 등) 기준 기관간 규정/조문 비교. institutions 생략 시 수집된 전체 기관 자동. 사용자가 'A·B·C 기관과 비교' 같이 특정하면 해당 명칭/코드를 institutions 에 전달.
Inputs: topic (required), maxPerInstitution (required), institutions.
compare_articlesC
[비교] 두 법령 조문 비교.
Inputs: law1 (required), law2 (required), apiKey.
compare_old_newC
[비교] 신구법 대조표 조회.
Inputs: mst, lawId, ld, ln, +1 more.
compare_regulation_timelineA
[ALIO] 기관간 동일 토픽(인사규정·휴직·채용 등) 규정의 제·개정 타임라인 비교. 제정 시점, 개정 빈도, 최근 개정 기관 식별.
Inputs: topic (required), maxPerInstitution (required), institutions.
extract_precedent_keywordsC
[판례] 판례 키워드 추출.
Inputs: id (required), maxKeywords (required), apiKey.
find_regulations_by_upper_lawA
[ALIO] 상위 법령명(예: 공공기관의 운영에 관한 법률)을 근거로 삼는 ALIO 공공기관 규정 역검색. article 로 특정 조문 한정 가능.
Inputs: lawName (required), matchMode (required), maxResults (required), article, +1 more.
find_similar_precedentsC
[판례] 유사 판례 검색.
Inputs: query (required), display (required), apiKey.
find_similar_regulationsA
[ALIO] 한 기준 규정과 제목 유사도가 높은 다른 기관 규정 N개 검색 (1:N 매칭). '우리 규정이랑 비슷한 거 다른 기관에선?' — 직접 벤치마킹용.
Inputs: institution (required), threshold (required), excludeBase (required), max (required), +2 more.
get_acr_decision_textC
[권익위] 국민권익위 결정문 전문.
Inputs: id (required), apiKey.
get_acr_special_appeal_textD
[권익위심판] 국민권익위 특별행정심판 재결례 전문.
Inputs: id (required), apiKey.
get_admin_appeal_textC
[행심] 행정심판례 전문.
Inputs: id (required), caseName, apiKey.
get_admin_ruleC
[행정규칙] 행정규칙 전문 조회.
Inputs: id (required), apiKey.
get_alio_annexesB
[ALIO] 규정 본문에서 [별표 N] 섹션만 추출. annexNumber 로 특정 별표 한정 가능. listOnly 로 목록만 조회.
Inputs: institution (required), listOnly (required), regId, title, +1 more.
get_alio_external_linksA
[ALIO] 규정의 ALIO 원본 페이지 URL + 현행본/과거 개정본 다운로드 링크. 사용자가 원본 검증/직접 다운로드 원할 때.
Inputs: institution (required), includeRevisions (required), regId, title.
get_alio_institution_profileA
[ALIO] 한 공공기관의 규정 체계 요약 — 보유 규정 수, 분류별 분포, 평균 개정 빈도, 최근 개정. 비교 전 사전 조사 또는 처음 보는 기관 빠른 파악용.
Inputs: institution (required), topCategories (required), recentRevisions (required).
get_alio_regulationB
[ALIO] 특정 규정 본문(markdown) 조회. regId 또는 title 부분일치. article 파라미터로 특정 조문만 추출 가능.
Inputs: institution (required), regId, title, article.
get_alio_regulation_historyC
[ALIO] 규정 개정 이력(ALIO 공시 첨부본 기준). 이전 개정본 파일명 + 현행본 구분.
Inputs: institution (required), regId, title.
get_alio_statisticsA
[ALIO] 수집 데이터 개관 — 총 기관/규정 수, 기관유형·주무부처·분류 분포, 평균 개정 빈도. LLM 이 답변 전 데이터 scope 가늠 또는 사용자가 신뢰성 판단할 때.
Inputs: topN (required), byType (required), byMinistry (required), byCategory (required).
get_annexesB
[별표] 별표/서식 조회. lawName+'별표N'으로 내용 추출. 금액/기준은 별표에 있는 경우 많음.
Inputs: lawName (required), knd, bylSeq, annexNo, +1 more.
get_appeal_review_decision_textC
[소청심사] 소청심사위원회 재결례 전문.
Inputs: id (required), apiKey.
get_article_detailB
[법령조회] 조항호목 단위 정밀 조회. 제38조 제2항 제3호 같은 세부 단위 지정 가능. mst/lawId + jo 필수, hang/ho/mok 선택.
Inputs: jo (required), mst, lawId, hang, +3 more.
get_article_historyC
[이력] 조문별 개정 이력.
Inputs: page (required), lawId, lawName, jo, +5 more.
get_article_with_precedentsB
[통합] 조문 + 관련 판례 동시 조회.
Inputs: jo (required), includePrecedents (required), mst, lawId, +2 more.
get_batch_alio_regulationsA
[ALIO] 여러 규정/조문 일괄 조회 (최대 20건). 각 항목에 institution+regId+article 지정. 단건 호출 반복보다 토큰/호출 효율적.
Inputs: items (required), bodyChars (required).
get_batch_articlesB
[배치] 여러 조문 일괄 조회. mst+articles 또는 laws 배열.
Inputs: mst, lawId, articles, efYd, +2 more.
get_constitutional_decision_textC
[헌재] 헌재 결정례 전문.
Inputs: id (required), caseName, apiKey.
get_customs_interpretation_textB
[관세] 관세 해석례 전문 조회. 질의요지·회답·이유·관련법령 포함.
Inputs: id (required), interpretationName, apiKey.
get_daily_termC
[지식베이스] 일상용어(월세, 뺑소니 등)로 검색하여 대응하는 법령용어를 찾을 때 사용.
Inputs: query (required), display (required), page (required), apiKey.
get_daily_to_legalB
[지식베이스] 일상용어→법령용어 매핑.
Inputs: dailyTerm (required), apiKey.
get_delegated_lawsC
[연계] 위임법령 목록. 소관부처별 위임법령(시행령/시행규칙 미제정) 조회.
Inputs: query (required), display (required), page (required), apiKey.
get_english_law_textC
[영문] 영문 법령 전문.
Inputs: lawId, mst, lawName, apiKey.
get_external_linksD
[링크] 법령 외부 참조 링크.
Inputs: linkType (required), lawId, mst, lawName, +5 more.
get_ftc_decision_textB
[공정위] 공정위 결정문 전문.
Inputs: id (required), apiKey.
get_historical_lawC
[이력] 특정 시점 연혁법령 조회.
Inputs: mst (required), jo, apiKey.
get_interpretation_textC
[해석례] 해석례 전문 조회.
Inputs: id (required), caseName, apiKey.
get_law_abbreviationsB
[유틸] 법령 약칭 전체 목록 조회. stdDt/endDt로 기간 필터 가능.
Inputs: stdDt, endDt, apiKey.
get_law_historyC
[이력] 법령 변경이력 목록.
Inputs: regDt (required), display (required), page (required), org, +1 more.
get_law_statisticsB
[통계] 최근 개정 법령 TOP N 조회. 지정 기간(일) 내 개정된 법령 목록 반환.
Inputs: days (required), limit (required), apiKey.
get_law_system_treeB
[체계] 상위법·하위법·관련법령 관계 조회. 법령 간 위임 관계 파악용.
Inputs: lawId, mst, lawName, apiKey.
get_law_textA
[법령조회] 조문 전문 조회. mst/lawId 필수, jo로 특정 조문만 가능.
Inputs: mst, lawId, jo, efYd, +1 more.
get_law_treeC
[체계] 법령 목차 구조(편·장·절) 조회. 내부 체계 파악용.
Inputs: mst, lawId, apiKey.
get_legal_term_detailC
[지식베이스] 법령용어 상세정보.
Inputs: query (required), apiKey.
get_legal_term_kbA
[지식베이스] 법령용어 검색. 동음이의어·용어관계 포함.
Inputs: query (required), display (required), page (required), apiKey.
get_legal_to_dailyB
[지식베이스] 법령용어→일상용어 매핑.
Inputs: legalTerm (required), apiKey.
get_linked_laws_from_ordinanceB
[연계] 자치법규 기준 상위법령 조회. 조례/규칙의 근거 법령 확인.
Inputs: query (required), display (required), page (required), apiKey.
get_linked_ordinance_articlesC
[연계] 법령-자치법규 조문 연계. 법령 조문과 자치법규 조문 간 대응 관계 조회.
Inputs: query (required), display (required), page (required), apiKey.
get_linked_ordinancesB
[연계] 법령 기준 자치법규 연계 목록. 특정 법령과 관련된 전국 조례/규칙 조회.
Inputs: query (required), display (required), page (required), apiKey.
get_nlrc_decision_textC
[노동위] 노동위 결정문 전문.
Inputs: id (required), apiKey.
get_ordinanceC
[자치법규] 조례/규칙 전문 조회.
Inputs: ordinSeq (required), apiKey.
get_pipc_decision_textC
[개인정보위] 개인정보위 결정문 전문.
Inputs: id (required), apiKey.
get_precedent_textB
[판례] 판례 전문 조회.
Inputs: id (required), caseName, apiKey.
get_public_corp_rule_textB
[공사공단] 지방공사공단 규정 본문 조회.
Inputs: id (required), apiKey.
get_public_institution_rule_textB
[공공기관] 공공기관 규정 본문 조회.
Inputs: id (required), apiKey.
get_recent_alio_revisionsA
[ALIO] 최근 N일 내 개정된 규정 타임라인 (날짜 역순). topic/institutions 필터 지원. '최근 인사 규정 바뀐 데?' 같은 변경 모니터링용.
Inputs: days (required), max (required), topic, institutions.
get_school_rule_textC
[학칙] 학칙 본문 조회.
Inputs: id (required), apiKey.
get_tax_tribunal_decision_textC
[조세심판] 조세심판 결정례 전문.
Inputs: id (required), decisionName, apiKey.
get_term_articlesC
[지식베이스] 용어 사용 조문 목록.
Inputs: term (required), display (required), apiKey.
get_three_tierC
[비교] 3단비교(법률-시행령-시행규칙) 위임조문/인용조문.
Inputs: knd (required), mst, lawId, apiKey.
get_treaty_textB
[조약] 조약 본문 조회. 한글/영문 선택 가능.
Inputs: id (required), chrClsCd (required), apiKey.
list_alio_regulationsC
[ALIO] 특정 공공기관의 내부규정 목록(정관·규정·지침). institution 에 기관코드(C0xxx) 또는 기관명 일부 허용.
Inputs: institution (required), max (required), titleFilter.
parse_alio_article_linksB
[ALIO] 규정 본문의 '제N조' 참조 추출 + 같은 규정 내 위치 매칭. 외부 참조 가능성도 표시. article 로 특정 조문만 분석.
Inputs: institution (required), max (required), regId, title, +1 more.
parse_article_linksC
[분석] 조문 내 법령 참조 추출.
Inputs: jo (required), mst, lawId, efYd, +1 more.
parse_jo_codeB
[유틸] 조문번호 ↔ JO코드 변환.
Inputs: joText (required), direction (required), lawType (required).
search_acr_decisionsC
[권익위] 국민권익위원회 결정문 검색.
Inputs: display (required), page (required), query, sort, +1 more.
search_acr_special_appealsB
[권익위심판] 국민권익위 특별행정심판 재결례 검색.
Inputs: display (required), page (required), query, sort, +1 more.
search_admin_appealsC
[행심] 행정심판례 검색.
Inputs: display (required), page (required), query, sort, +1 more.
search_admin_ruleB
[행정규칙] 훈령/예규/고시/지침 검색. knd 파라미터로 종류 필터 가능(1=훈령, 2=예규, 3=고시).
Inputs: query (required), display (required), knd, apiKey.
search_ai_lawA
[AI검색] 자연어로 관련 조문 의미검색. 법령명 몰라도 사용 가능. 법령명을 알면 search_law가 더 정확.
Inputs: query (required), search (required), display (required), page (required), +2 more.
search_alio_regulation_textA
[ALIO] 전체 수집된 규정 본문에서 키워드 전문검색. institutions 로 기관 제한 가능. 히트 라인/스니펫 반환.
Inputs: query (required), maxPerRegulation (required), maxResults (required), institutions.
search_allA
[통합검색] 법령+행정규칙+자치법규 동시검색. 도메인 불명확 시 사용.
Inputs: query (required), display (required), apiKey.
search_appeal_review_decisionsB
[소청심사] 소청심사위원회 재결례 검색. 공무원 징계(파면·해임·감봉 등) 불복.
Inputs: display (required), page (required), query, sort, +1 more.
search_constitutional_decisionsB
[헌재] 헌법재판소 결정례 검색.
Inputs: display (required), page (required), query, caseNumber, +2 more.
search_customs_interpretationsC
[관세] 관세청 법령해석(관세 해석례) 검색. 관세법·FTA특례법·대외무역법 해석례.
Inputs: display (required), page (required), query, inq, +5 more.
search_english_lawC
[영문] 영문 법령 검색.
Inputs: display (required), page (required), query, sort, +1 more.
search_ftc_decisionsB
[공정위] 공정거래위원회 결정문 검색.
Inputs: display (required), page (required), query (required), sort, +1 more.
search_historical_lawD
[이력] 연혁법령 검색.
Inputs: lawName (required), display (required), apiKey.
search_institutionA
[ALIO] 공공기관 검색 — 기관명⇄apbaId 양방향 lookup. query 에 기관명 일부('인터넷진흥원') 또는 apbaId('C0399') 입력 가능. 주무부처·기관유형 필터 지원. 결과는 [apbaId] 기관명 형식.
Inputs: max (required), query, ministry, type.
search_interpretationsC
[해석례] 법령해석례 검색.
Inputs: query (required), display (required), page (required), sort, +3 more.
search_lawA
[법령검색] 법령명 키워드검색 → lawId, mst 획득. 약칭 자동변환. 법령 조회 전 식별자 확보용.
Inputs: query (required), display (required), apiKey.
search_legal_termsC
[용어사전] 법령용어 정의·해설 검색.
Inputs: query (required), display (required), page (required), apiKey.
search_nlrc_decisionsC
[노동위] 중앙노동위원회 결정문 검색.
Inputs: display (required), page (required), query, sort, +1 more.
search_ordinanceC
[자치법규] 조례/규칙 검색. 지역명 포함 권장.
Inputs: query (required), display (required), apiKey.
search_pipc_decisionsB
[개인정보위] 개인정보보호위원회 결정문 검색.
Inputs: display (required), page (required), query (required), sort, +1 more.
search_precedentsC
[판례] 대법원 판례 검색.
Inputs: display (required), page (required), query, court, +5 more.
search_public_corp_rulesC
[공사공단] 지방공사공단 규정 검색.
Inputs: query (required), display (required), page (required), sort, +1 more.
search_public_institution_rulesC
[공공기관] 공공기관 규정 검색.
Inputs: query (required), display (required), page (required), sort, +1 more.
search_school_rulesB
[학칙] 학칙(대학교·고등학교 등) 검색.
Inputs: query (required), display (required), page (required), sort, +1 more.
search_tax_tribunal_decisionsB
[조세심판] 조세심판원 결정례 검색. 관세·소득세·법인세·부가세 등 세목별 검색 가능.
Inputs: display (required), page (required), query, cls, +5 more.
search_treatiesC
[조약] 조약(양자/다자) 검색. 국가코드·체결일·발효일 필터 가능.
Inputs: display (required), page (required), query, cls, +5 more.
suggest_alio_benchmarkB
[ALIO] 동종기관(peers)에는 있으나 기준기관에는 없는 규정 제안. 벤치마킹 기회 탐색.
Inputs: base (required), similarityThreshold (required), max (required), peers, +1 more.
suggest_alio_regulation_namesA
[ALIO] 규정 제목 자동완성/부분일치 — 정확한 제목 모를 때 키워드로 후보 탐색. institution 으로 기관 제한 가능.
Inputs: query (required), max (required), institution.
suggest_law_namesB
[자동완성] 법령명 일부 입력 시 후보 목록 제안. 정확한 법령명을 모를 때 사용.
Inputs: partial (required), apiKey.
summarize_precedentB
[판례] 판례 요약 생성.
Inputs: id (required), maxLength (required), apiKey.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 110 tools
Most tools are clearly distinguished by bracketed categories and specific verb-noun names, but several pairs overlap heavily (e.g., get_daily_term vs. get_daily_to_legal, get_legal_term_kb vs. search_legal_terms, get_article_detail vs. get_law_text, analyze_document vs. chain_document_review). The sheer number of similar accessor/analyzer tools makes misselection plausible despite clear individual labeling.
The set overwhelmingly follows a consistent snake_case verb_noun pattern (get_, search_, compare_, suggest_, chain_, analyze_, parse_, list_). A few names are bulkier or less symmetric (get_daily_to_legal vs. get_legal_to_daily, get_linked_laws_from_ordnance), but overall the naming convention is predictable and regular.
110 tools is far beyond the reasonable scope for even a broad legal research server. While the domain is wide, the surface could be consolidated (e.g., merging get_daily_term/get_daily_to_legal, search_legal_terms/get_legal_term_kb, and several overlapping ALIO comparison utilities). This volume introduces significant agent selection overhead and contradicts the guideline that 25+ tools is excessive.
The tool set provides thorough read-only coverage of Korean legal research: statutes, precedents, interpretations, administrative rules, ordinances, school rules, public institution regulations, ALIO benchmarking, treaties, legal terminology, English law, and historical/amendment tracking. It even includes workflow chains and batch operations to prevent dead ends, so few meaningful gaps exist within its stated purpose.
Maintenance
Related MCP Connectors
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
Connect AI to millions of laws and court cases with the Lawstronaut MCP.
대한민국 법령·조문·별표·연혁·판례·해석례를 법제처 국가법령정보 OPEN API 로 찾아보는 읽기 전용 MCP 서버. 코어 12 + 보조 12 도구.
Brazilian legal search and jurimetria: 115M+ court decisions from 90+ courts across 14 MCP tools.
Related MCP Servers
- AlicenseCqualityCmaintenanceSearch, compare, and analyze Korean national laws and public institution internal regulations via MCP.10082 npm2MIT
- AlicenseAqualityBmaintenanceEnables natural language interaction with the Korean Personal Information Protection Act (PIPA) through 37 MCP tools that search, compare, analyze, and verify legal texts, official guidelines, and consulting cases from authoritative sources.374MIT
- AlicenseNot gradedqualityDmaintenanceIntegrates 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.9MIT
- AlicenseBqualityBmaintenanceEnables Korean legal document processing, case analysis, and consultation using MCP, with OCR parsing, fact extraction, claim identification, subsumption grid, legal API verification, and document drafting.24MIT