kr_law_search
Pack: kr-law · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/kr_law_search for the schema, then POST the same URL with its arguments for the data.
Search South Korean national statutes by title keyword (국가법령정보, Ministry of Government Legislation). Returns each matching law’s id, mst (version id — pass to kr_law_article/kr_law_history), ministry, promulgation/effective dates, and whether it is the current (“현행”) or a superseded (“연혁”) version. BYOK: requires your own OC from open.law.go.kr (Korean real-name verification to register); pass it as _apiKey.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Title keyword, Korean or romanized, e.g. “도로교통법” (Road Traffic Act) or “개인정보”. |
display | number | no | Results per page, 1-100 (default 20). |
page | number | no | 1-based page number (default 1). |
status | string | no | Narrow to currently-in-force laws only (“current”) or search as-is (“all”, default). “historical” still returns the general list; filter client-side on the returned “status” field for superseded versions. |
_apiKey | string | no | Your 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. |
Example call
Arguments
{
"query": "도로교통법",
"display": 5,
"_apiKey": "test"
}
curl
curl -X POST https://gateway.pipeworx.io/kr-law/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"kr_law_search","arguments":{"query":"도로교통법","display":5,"_apiKey":"test"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('kr_law_search', {
"query": "도로교통법",
"display": 5,
"_apiKey": "test"
});
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the kr-law pack
{
"mcpServers": {
"kr-law": {
"url": "https://gateway.pipeworx.io/kr-law/mcp"
}
}
}
See Getting Started for client-specific install steps.