| name | hira-hospital |
| description | HIRA hospital information search API |
| version | 3.2.0 |
| author | chumjibot |
| created | 2026-02-10T00:00:00.000Z |
| updated | 2026-02-19T00:00:00.000Z |
| tags | ["hospital","medical","korea","openapi","data.go.kr"] |
| connectors | ["~~hospital","~~search","~~notify"] |
Hospital Info Skill
HIRA (Health Insurance Review & Assessment Service) hospital search + detail lookup.
Overview
| Service | ID | Endpoint | Purpose |
|---|
| Hospital Info | 15001698 | hospInfoServicev2 | Hospital list search |
| Detail Info | 15001699 | MadmDtlInfoService2.7 | Departments, hours, transport |
| Key | Value |
|---|
| Auth | ~/.config/data-go-kr/api_key |
| Base URL | https://apis.data.go.kr/B551182/ |
| Legal basis | National Health Insurance Act ยง43 |
Scripts
scripts/
โโโ hospital_search.sh โ Search hospitals (name/region/type/dept)
โโโ hospital_detail.sh โ Hospital detail (parallel API calls)
Workflow
Step 1: Parse search criteria
- "๊ทผ์ฒ ์ด๋น์ธํ๊ณผ" โ region + department search
- "์์ธ๋๋ณ์ ์ง๋ฃ์๊ฐ" โ specific hospital detail
- ~~search to supplement hospital name/location
Step 2: Search hospitals
hospital_search.sh [criteria]
Step 3: Detail lookup (if needed)
hospital_detail.sh [institution_code]
Step 4: Structured response
Output Template
## ๐ฅ [Query] Hospital Results
| Hospital | Type | Address | Phone | Departments |
|----------|------|---------|-------|-------------|
### [Hospital Name] Detail (on request)
- ๐ Address: ...
- โ๏ธ Phone: ...
- ๐ Hours: ...
- ๐ Transport: ...
Connectors
| Placeholder | Purpose | Current Tool |
|---|
~~hospital | Hospital API | HIRA data.go.kr |
~~search | Name/location supplement | Brave Search |
~~notify | Alerts | Telegram |
Intent Router
| Intent | Trigger Examples | Strategy |
|---|
| Quick Search | "๊ทผ์ฒ ์ด๋น์ธํ๊ณผ", "๊ฐ๋จ ํผ๋ถ๊ณผ", "์์๊ณผ ์ฐพ์์ค" | hospital_search.sh โ ์ง์ญ+์ง๋ฃ๊ณผ๋ชฉ ๊ฒ์ โ ๋ชฉ๋ก |
| Detail Lookup | "์ด ๋ณ์ ์ ๋ณด ์์ธํ", "์ง๋ฃ์๊ฐ ์๋ ค์ค", "์ฃผ์ฐจ ๋๋?" | hospital_detail.sh โ ์ง๋ฃ์๊ฐ, ๊ตํต, ์ง๋ฃ๊ณผ๋ชฉ ์์ธ |
Routing logic: ๊ฒ์/์ฐพ๊ธฐ/์ถ์ฒ โ Quick Search, ํน์ ๋ณ์ + ์์ธ/์๊ฐ/๊ตํต โ Detail Lookup
Cross-Skill Integration
| Trigger | Target Skill | Integration |
|---|
| ๋ณ์ ๊ฒ์ ๊ฒฐ๊ณผ ๋ณด์ถฉ | web_search (Brave) | ๋ณ์ ๋ฆฌ๋ทฐยทํํยทํํ์ด์ง ๋ณด์ถฉ ๊ฒ์ |
| ์ธ์ถ ์ ์ฐธ๊ณ | kma-weather | ๋น/์ถ์ ์๋ณด ์ "๋ฐ๋ปํ๊ฒ ์
๊ณ ๊ฐ์ธ์" ํ |
Cowork architecture v3.2 โ ๐ฆ chumjibot (2026-02-19)
๐ง Setup (๊ณต๊ณต๋ฐ์ดํฐ ํฌํธ API)
- data.go.kr ํ์๊ฐ์
- ๋ก๊ทธ์ธ โ ๋ง์ดํ์ด์ง โ ์ผ๋ฐ ์ธ์ฆํค(Decoding) ๋ณต์ฌ
- API ํค ์ ์ฅ:
mkdir -p ~/.config/data-go-kr
echo "YOUR_API_KEY" > ~/.config/data-go-kr/api_key
- ์๋ ์๋น์ค ํ์ฉ์ ์ฒญ ํ ์ฌ์ฉ (์๋์น์ธ)