Korean Fire Safety Law & Statistics
v0.8.0Korean fire safety law, statutes, NFPC/NFTC codes, hazmat, and fire/EMS statistics.
Values you need
| Variable | What it is | |
|---|---|---|
DATA_GO_KR_KEY | required secret | Service key from data.go.kr (Korean public data portal). Required for National Fire Agency APIs: fire status, EMS statistics, fire-safety buildings, facilities, and hazardous materials. |
LAW_OC | required secret | OC identifier from open.law.go.kr (Korean Ministry of Government Legislation). Required for statutes, annexes, precedents, and administrative rules. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add korean-firefighter-law-mcp -e 'DATA_GO_KR_KEY=<DATA_GO_KR_KEY>' -e 'LAW_OC=<LAW_OC>' -- npx -y korean-firefighter-law-mcp@0.8.0Add to
claude_desktop_config.json{
"mcpServers": {
"korean-firefighter-law-mcp": {
"args": [
"-y",
"korean-firefighter-law-mcp@0.8.0"
],
"command": "npx",
"env": {
"DATA_GO_KR_KEY": "<DATA_GO_KR_KEY>",
"LAW_OC": "<LAW_OC>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"korean-firefighter-law-mcp": {
"args": [
"-y",
"korean-firefighter-law-mcp@0.8.0"
],
"command": "npx",
"env": {
"DATA_GO_KR_KEY": "<DATA_GO_KR_KEY>",
"LAW_OC": "<LAW_OC>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "DATA_GO_KR_KEY",
"id": "data-go-kr-key",
"password": true,
"type": "promptString"
},
{
"description": "LAW_OC",
"id": "law-oc",
"password": true,
"type": "promptString"
}
],
"servers": {
"korean-firefighter-law-mcp": {
"args": [
"-y",
"korean-firefighter-law-mcp@0.8.0"
],
"command": "npx",
"env": {
"DATA_GO_KR_KEY": "${input:data-go-kr-key}",
"LAW_OC": "${input:law-oc}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.korean-firefighter-law-mcp]
command = "npx"
args = ["-y", "korean-firefighter-law-mcp@0.8.0"]
env = { "DATA_GO_KR_KEY" = "<DATA_GO_KR_KEY>", "LAW_OC" = "<LAW_OC>" }For AI agents
- Ask the user for: DATA_GO_KR_KEY, LAW_OC. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: search_fire_stats, get_ems_stats, search_fire_building, get_building_facilities, search_fire_law, get_fire_law_text, get_fire_law_annex, search_fire_precedents, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json