Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Korean Fire Safety Law & Statistics

by ssd7830-cmykversion 0.8.0i★ 0iRuns on your computerRepository ↗
Registry nameio.github.ssd7830-cmyk/korean-firefighter-law-mcp

How to install

What it does

Korean fire safety law, statutes, NFPC/NFTC codes, hazmat, and fire/EMS statistics.

  • Connects Runs on your computer
  • Account or key Needs DATA_GO_KR_KEY, LAW_OC
  • Category Law & government data

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness7/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score7/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Korean Fire Safety Law & Statistics. Follow https://mcp.popnx.com/i/ssd7830-cmyk-korean-firefighter-law-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Korean Fire Safety Law & Statistics key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Korean Fire Safety Law & Statistics for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "korean-firefighter-law": { "command": "npx", "args": [ "-y", "korean-firefighter-law-mcp" ], "env": { "DATA_GO_KR_KEY": "your-value", "LAW_OC": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DATA_GO_KR_KEY, LAW_OC, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Korean Fire Safety Law & Statistics tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Korean Fire Safety Law & Statistics key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "korean-firefighter-law": {
          "command": "npx",
          "args": [
            "-y",
            "korean-firefighter-law-mcp"
          ],
          "env": {
            "DATA_GO_KR_KEY": "your-value",
            "LAW_OC": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use Korean Fire Safety Law & Statistics and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Korean Fire Safety Law & Statistics or shows a Korean Fire Safety Law & Statistics tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Korean Fire Safety Law & Statistics yet

Korean Fire Safety Law & Statistics runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Korean Fire Safety Law & Statistics

  • You need a Korean Fire Safety Law & Statistics key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Korean Fire Safety Law & Statistics key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Korean Fire Safety Law & Statistics key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Korean Fire Safety Law & Statistics key (create it on the maker’s site) · Install Node.js on your computer first (one time)

B · Others in Law & government data that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Korean Fire Safety Law & Statistics key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Korean Fire Safety Law & Statistics for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user korean-firefighter-law --env DATA_GO_KR_KEY=your-value --env LAW_OC=your-value -- npx -y korean-firefighter-law-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DATA_GO_KR_KEY, LAW_OC, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Korean Fire Safety Law & Statistics tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Korean Fire Safety Law & Statistics key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user korean-firefighter-law --env DATA_GO_KR_KEY=your-value --env LAW_OC=your-value -- npx -y korean-firefighter-law-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see Korean Fire Safety Law & Statistics listed as connected

  6. Try it

    Use Korean Fire Safety Law & Statistics and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Korean Fire Safety Law & Statistics or shows a Korean Fire Safety Law & Statistics tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Korean Fire Safety Law & Statistics key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Korean Fire Safety Law & Statistics for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "korean-firefighter-law": { "command": "npx", "args": [ "-y", "korean-firefighter-law-mcp" ], "env": { "DATA_GO_KR_KEY": "your-value", "LAW_OC": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DATA_GO_KR_KEY, LAW_OC, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Korean Fire Safety Law & Statistics tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Korean Fire Safety Law & Statistics key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Korean Fire Safety Law & Statistics settings, DATA_GO_KR_KEY, LAW_OC is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Korean Fire Safety Law & Statistics and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Korean Fire Safety Law & Statistics or shows a Korean Fire Safety Law & Statistics tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Korean Fire Safety Law & Statistics key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Korean Fire Safety Law & Statistics for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "korean-firefighter-law": { "type": "stdio", "command": "npx", "args": [ "-y", "korean-firefighter-law-mcp" ], "env": { "DATA_GO_KR_KEY": "your-value", "LAW_OC": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For DATA_GO_KR_KEY, LAW_OC, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Korean Fire Safety Law & Statistics tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Korean Fire Safety Law & Statistics key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Korean Fire Safety Law & Statistics settings, DATA_GO_KR_KEY, LAW_OC is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Korean Fire Safety Law & Statistics and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Korean Fire Safety Law & Statistics or shows a Korean Fire Safety Law & Statistics tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Korean Fire Safety Law & Statistics💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user korean-firefighter-law --env DATA_GO_KR_KEY=your-value --env LAW_OC=your-value -- npx -y korean-firefighter-law-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "korean-firefighter-law": {
      "command": "npx",
      "args": [
        "-y",
        "korean-firefighter-law-mcp"
      ],
      "env": {
        "DATA_GO_KR_KEY": "your-value",
        "LAW_OC": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "korean-firefighter-law": {
      "command": "npx",
      "args": [
        "-y",
        "korean-firefighter-law-mcp"
      ],
      "env": {
        "DATA_GO_KR_KEY": "your-value",
        "LAW_OC": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "korean-firefighter-law": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "korean-firefighter-law-mcp"
      ],
      "env": {
        "DATA_GO_KR_KEY": "your-value",
        "LAW_OC": "your-value"
      }
    }
  }
}

Values you fill in

  • DATA_GO_KR_KEY secret required env
    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 secret required env
    OC identifier from open.law.go.kr (Korean Ministry of Government Legislation). Required for statutes, annexes, precedents, and administrative rules.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
32/wk
Connection
Runs on your computer
Latest versioni
0.8.0
Published to registryi
Aug 30, 2026
Code last changedi
Aug 30, 2026
Maker
ssd7830-cmyk
Packages
npm: korean-firefighter-law-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account ssd7830-cmyk, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 3 months ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for korean-firefighter-law-mcp@0.8.0

Checks only this package version, not every dependency · checked Nov 16, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/ssd7830-cmyk-korean-firefighter-law-mcp.svg)](https://mcp.popnx.com/en/servers/ssd7830-cmyk-korean-firefighter-law-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Law & government datai

  • More stars than 0% of the other 1961 servers in this category
  • Published to the registry more recently than 28% of the other 1961 servers in this category
  • Basic checks equal to or better than 99% of the other 1961 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Korean Fire Safety Law & Statistics safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: DATA_GO_KR_KEY, LAW_OC

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 3 months ago, and the latest version (0.8.0) reached the registry 3 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Global law, Open Legal Data (Germany), LibreJustice, InfraNode, Fedlex Connector

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Global law

The law of nearly every country on earth, any date: read it, see what changed it, check citations.

by lexifinaWidely used★ 2.1KUpdated 10 days ago

Runs in the cloud✓ lexifina.com

LibreJustice

Search French-language and European case law and French legal texts (codes, statutes, treaties).

by librejusticeEarly★ 38Updated 2 months ago

Runs in the cloud✓ service owner · librejustice.fr

InfraNode

Keyless open data for 84 German cities: 12 lean read-only MCP tools covering 67 data types.

by street1983nkEarly★ 18Updated 5 months ago

Runs in the cloud✓ service owner · infranode.dev

Fedlex Connector

Search Swiss federal legislation: laws, articles, amendments via the Fedlex SPARQL endpoint.

by JayTheSkierEarly★ 8Updated 7 months ago

Runs in the cloud✓ service owner · fedlex-connector.ch
Compared with similar ones
This one
Korean Fire Safety Law & Statistics
Global lawOpen Legal Data (Germany)LibreJusticeInfraNodeFedlex Connector
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/44/44/44/44/4
LicenseMITNOASSERTIONMITApache-2.0Apache-2.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

korean-firefighter-law-mcp

v0.8.0 · 소방기관 검토·시범운영용 · 공개 저장소 (MIT)

기관 도입 전 검토·시범운영을 전제로 공개합니다. 운영 승인 전 확인이 필요한 항목은

기준.md 6장에 그대로 남겨 두었습니다.

소방청 공공데이터와 법제처 국가법령정보를 조회해 AI가 소방 법령·화재통계·교통사고 구급통계· 특정소방대상물·소방시설·위험물 질문에 공식 자료를 근거로 답하도록 연결하는 MCP 서버입니다.

이 저장소의 목적은 소방기관이 코드를 직접 검토한 뒤 다음 두 방식 중 기관 환경에 맞는 방식으로 시범 적용할 수 있게 하는 것입니다. 소방청 또는 법제처의 공식 제품은 아닙니다.

도입 방식 두 가지

방식사용자 경험기관이 운영할 것안내 문서
기관 서버형브라우저 채팅 또는 기관 서비스가 API 호출서버 1대, 정부 API 키, 선택한 LLM API 키DEPLOY.md
개별 PC 설치형PC의 stdio 지원 AI 클라이언트에서 도구 사용각 PC의 프로그램과 정부 API 키LOCAL_SETUP.md

기관 서버형은 GET / 웹 채팅, POST /api/chat, POST /mcp를 제공합니다. 웹 채팅과 /api/chat은 LLM이 질문을 공식 API 호출 계획(1~4건)으로 바꾸고 조회 자료로 답변을 작성하므로 LLM 설정이 필수입니다. LLM이 없으면 챗봇은 503으로 비활성화되고 /mcp만 동작합니다. 답변은 조회 자료에 있는 내용만으로 구조화된 존댓말로 작성되며 주장·수치 문장에 근거 자료 번호([자료 N])를 인용합니다(서버가 인용 유효성 검증). 자료가 부족하면 1라운드에 한해 스스로 추가 조회하고, 그래도 없는 데이터는 공식 안내처를 권합니다. 공식 조회 원문은 응답의 sources 필드로 항상 함께 제공되며 화면에서는 접이식으로 표시됩니다.

개별 PC 설치형은 중앙 서버와 별도 LLM API 키가 필요 없습니다. 연결한 AI 클라이언트가 답변을 만들고 이 프로그램은 stdio MCP 도구로 공식 API를 조회합니다. ChatGPT는 로컬 MCP 서버에 직접 연결하지 않으므로 ChatGPT를 사용할 때는 기관 서버형의 원격 MCP 또는 웹/API 방식을 검토해야 합니다.

설치 방법 두 가지

이 프로그램은 npm에 게시되어 있어 내려받기·빌드 없이 바로 실행할 수 있습니다.

npx korean-firefighter-law-mcp

AI 클라이언트의 MCP 설정에도 같은 방식으로 등록합니다. 경로를 지정할 필요가 없습니다.

{

"mcpServers": { "firefighter-law": { "command": "npx", "args": ["-y", "korean-firefighter-law-mcp"], "env": { "DATA_GO_KR_KEY": "발급받은 키", "LAW_OC": "발급받은 OC" } } } }

코드를 직접 검토하거나 수정해서 운영하려면 저장소를 내려받아 빌드합니다. 기관 심사·내부 배포에는 이 방식을 권합니다. 절차는 LOCAL_SETUP.md와 DEPLOY.md에 있습니다.

MCP 공식 레지스트리에는 io.github.ssd7830-cmyk/korean-firefighter-law-mcp로 등재되어 있습니다.

제공 도구 11개

도구범위공식 데이터 출처
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소방 관련 판례 검색법제처 국가법령정보
search_fire_admin_rules행정규칙·화재안전기준(NFPC·NFTC) 검색법제처 국가법령정보
get_fire_admin_rule_textNFPC·NFTC 행정규칙 원문·절 조회법제처 국가법령정보
search_hazmat물질명·CAS·UN번호별 위험물 정보소방청 국가위험물정보

법령 약칭(화재예방법·소방시설법·위험물법·119법 등)을 정식 명칭으로 바꾸며, 법령·행정규칙 이름 검색이 0건이면 본문 검색으로 전환합니다. 본문 검색은 전량(최대 100건)을 받아 소방·건축 소관 관련도순으로 재정렬해 표시하고, 총 건수 대비 표시 건수를 명시합니다.

빠른 코드 검증

Node.js 22 이상이 필요하며 새 설치에는 현재 LTS인 Node.js 24를 권장합니다.

git clone https://github.com/ssd7830-cmyk/korean-firefighter-law-mcp.git

cd korean-firefighter-law-mcp npm ci npm run verify

verify는 타입검사, 전체 자동 테스트, 배포 빌드를 차례로 실행합니다. 실제 정부 API 호출은 인증키와 활용승인이 있어야 하므로 DEPLOY.md의 배포 전 실연동 점검을 별도로 수행해야 합니다.

필요한 정부 API 키

  1. 공공데이터포털에서 다음 5개 API를 활용신청하고 DATA_GO_KR_KEY를 설정합니다. 화재정보 · 구급통계 · 특정소방대상물 · 소방시설 · 국가위험물정보
  2. 법제처 국가법령정보 공동활용에서 OPEN API를 신청하고 LAW_OC를 설정합니다.

승인 방식, 호출 한도, 유효기간은 바뀔 수 있으므로 저장소의 숫자보다 각 발급 계정과 API 상세 페이지의 현재 표시를 기준으로 합니다.

안전 설계와 운영상 주의

  • 조회 자료 없이 LLM이 답을 생성하는 경로를 두지 않습니다. 조회 실패 시 오류 또는 조회 원문을 표시합니다.
  • 서버는 기본적으로 127.0.0.1에만 열리고, 외부 주소 바인딩은 접속 토큰 없이는 시작을 거부합니다.
  • API 키는 환경변수 또는 HTTPS 요청 헤더로만 받고, 애플리케이션 오류의 키 값은 마스킹합니다.
  • 데이터베이스를 배포하지 않습니다. 공식 API를 호출하고 항목별 TTL의 인메모리 캐시만 사용합니다.
  • /mcp와 /api/chat은 운영 시 토큰과 HTTPS로 보호해야 합니다. 자세한 설정은 DEPLOY.md에 있습니다.
  • 기관 서버형 챗봇은 사용자 질문과 조회 자료를 선택한 외부 LLM 사업자로 전송합니다. 기관의 개인정보·보안· 기록물 정책 검토 전에는 민감정보나 개인정보를 입력하지 않습니다. LLM 사용을 승인하지 않는 기관은 웹 챗봇 대신 /mcp 원격 도구 또는 개별 PC 설치형(클라이언트 LLM 사용)을 검토합니다.
  • 이 프로그램의 결과는 실무 검토 보조자료입니다. 법적 판단과 현장 안전 판단은 공식 원문·기관 지침과 담당자의 검토를 대신하지 않습니다.

보안 구조와 제한은 ARCHITECTURE.md, 취약점 신고와 운영 기본선은 SECURITY.md, 변경 의도와 검증 이력은 기준.md, 운영 인계 절차는 인수인계.md에 기록합니다.

현재 검증 상태

  • 자동 테스트·타입검사·빌드는 현재 소스에서 재실행합니다. 결과 수는 npm run verify 출력이 기준입니다.
  • 검색 재정렬·조문 키워드 추출·추가 조회 라운드·화면 개편의 검증 이력과 12문항 실사용 감사 결과는 기준.md 3-3~3-6에, 남은 개선 순서는 인수인계.md 16장에 기록되어 있습니다.
  • 실제 Gemini·Claude·OpenAI API 호출, Docker 이미지 빌드, ChatGPT/Claude 원격 MCP UI 연결은 현재 환경에서 재검증하지 못했습니다. 문서에 완료로 표시하지 않으며 기관 시험 환경에서 확인해야 합니다.
  • 로컬 개발용 claude-cli와 codex-cli 어댑터가 있지만 개인 로그인을 공유 서버 운영에 사용하지 않습니다.
  • 구급통계는 전체 구급활동이 아니라 교통사고 구급활동 범위만 연결되어 있습니다.

라이선스

MIT License. 정부 원천 데이터의 이용조건은 각 제공기관의 현재 조건을 별도로 따릅니다.