korean-law-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | streamable-http 바인딩 호스트. 기본값: 0.0.0.0 | 0.0.0.0 |
| PORT | No | streamable-http 포트. 기본값: 8000 | 8000 |
| OPEN_LAW_ID | Yes | 국가법령정보센터 Open API 아이디 (OC 값). 서버 IP 등록도 함께 필요. | |
| MCP_TRANSPORT | No | stdio (기본, 로컬용) 또는 streamable-http (Docker/게이트웨이용). 기본값: stdio | stdio |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_korean_lawA | Primary interface for searching Korean laws, precedents, and administrative rules. It is a "Smart Search" that adapts to the query type. Capabilities:
Usage Tips:
|
| search_law_articlesA | Search for specific keywords within the articles of a statute. Args: law_id: The ID of the law (e.g., "statute:12345" or just "12345"). keywords: Space-separated keywords to search for within article text. Returns: Markdown formatted text containing the articles that match the keywords. |
| search_legal_termsA | Search for legal terms (definitions). Returns a list of matching terms with IDs. |
| search_statutory_interpretationsB | Search for statutory interpretations (authoritative interpretations by Ministry of Government Legislation). |
| get_statute_attachmentsA | Get a list of attached forms and tables (별표/서식) for a specific statute. Args: law_id: The ID of the law (e.g. "12345" or "statute:12345") |
| read_legal_resourceA | Reads the full content of a specific legal resource using its Typed ID. Args:
resource_id: A string strictly in the format Features:
Return:
|
| explore_legal_chainA | Perform a 'Deep Search' (Legal Graph). Use this when you want to understand the full context of a law provision, including:
Usage:
Returns:
|
| get_external_linksA | Generate external links to the National Law Information Center (법령정보센터) website. Use this tool when the user wants to:
Args: resource_id: A Typed ID (e.g., "statute:12345", "prec:98765", "admrul:54321") obtained from search results. Returns: Markdown formatted links to the official website. |
| get_article_historyA | Get the revision history (연혁) of a law. Shows when the law was enacted, amended, and what changes were made. Use this tool when the user wants to:
Args: law_name_or_id: Law name (e.g., "고등교육법") or ID (e.g., "statute:12345" or just "12345") Returns: Markdown formatted list of amendments with dates and summaries. |
| compare_old_newA | Get the old/new article comparison (신구조문대비) for a law. Shows what changed in the most recent amendment, comparing old and new versions side by side. Use this tool when the user wants to:
Args: law_name_or_id: Law name (e.g., "고등교육법") or ID (e.g., "statute:12345" or just "12345") Returns: Markdown formatted comparison showing old and new text for each changed article. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| summarize_law | Create a prompt to summarize a specific law. Fetches the full text of the law and asks the LLM to summarize it. |
| explain_legal_term | Create a prompt to explain a legal term based on search results. Performs a smart search for the term and provides the results as context. |
| compare_laws | Create a prompt to compare two laws or articles. Fetches both resources and asks for a comparison. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Each tool has a clearly distinct purpose: searching, reading, exploring legal chains, retrieving history, comparing versions, etc. Even the search tools are differentiated by scope (general search vs. article-specific keyword search vs. terms vs. interpretations).
All tool names follow a verb_noun pattern with snake_case, using verbs like search, get, read, explore, compare. There is some variety in verbs, but the pattern is consistent and predictable.
10 tools is well-scoped for a legal research server, covering search, retrieval, exploration, history, comparison, and external linking without being excessive or insufficient.
The tool set provides comprehensive coverage for legal research: searching, reading, deep exploration, history, comparisons, and external links. Minor gaps like direct download or advanced filtering are handled via external links, so the surface is quite complete.