Kr Law

v0.2.1
io.github.pipeworx-io/kr-law Checked 1 day ago Published 1 month ago

Korea Law MCP — South Korean national statutes via the Ministry of Government Legislation's (법제처)…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

kr_law_article

Fetch ONE article (조문) of a South Korean statute by mst (from kr_law_search) and article_no (e.g. "5" or "4-2" for 제4조의2). Never returns the whole law body. Omit article_no to get a paginated table of contents (article numbers + titles) instead. Returns the article's own text, paragraphs (항) and items (호), its own effective date (which can differ from the law's), and law-level metadata (promulgation date, effective date, ministry) kept as separate fields. BYOK: requires your own OC; pass it as _apiKey.

ParameterTypeDescription
mst *stringLaw version id (법령일련번호) from kr_law_search's "mst" field.
_apiKeystringYour own OC (Open API user id) from https://open.law.go.kr/LSO/main.do. The Ministry's public demo id "test" works here for smoke-testing.
article_nostringArticle number, e.g. "5", or "4-2" for a branch article (제4조의2). Omit for a table of contents.
displaynumberTable-of-contents mode only: entries per page, 1-200 (default 50).
pagenumberTable-of-contents mode only: 1-based page number (default 1).

kr_law_history

Revision history for a South Korean statute: every promulgation with its own date, promulgation number, and entry-into-force date, each as a separate historical mst you can pass to kr_law_article. Requires the caller's OC to have the 법령연혁 (law history) service separately enabled under My Applications at open.law.go.kr — if it is not, this throws a specific, actionable upstream error rather than a generic failure. BYOK: pass your OC as _apiKey.

ParameterTypeDescription
mst *stringLaw version id (법령일련번호) from kr_law_search's "mst" field.
_apiKeystringYour own OC (Open API user id) from https://open.law.go.kr/LSO/main.do, with 법령연혁 enabled under My Applications.