kr_law_history
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_history for the schema, then POST the same URL with its arguments for the data.
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
mst | string | yes | Law version id (법령일련번호) from kr_law_search’s “mst” field. |
_apiKey | string | no | Your own OC (Open API user id) from https://open.law.go.kr/LSO/main.do, with 법령연혁 enabled under My Applications. |
Example call
Arguments
{
"mst": "291133",
"_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_history","arguments":{"mst":"291133","_apiKey":"test"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('kr_law_history', {
"mst": "291133",
"_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.