Seoul Subway information skill for Claude. No API key required!
서울 지하철 정보 스킬입니다. API 키가 필요 없습니다!
- Real-time Arrival / 실시간 도착정보 - Train arrival times by station
- Station Search / 역 검색 - Line and station code lookup
- Route Search / 경로 검색 - Shortest path, travel time, fare
- Service Alerts / 운행 알림 - Delays, incidents, express stops
- Last Train / 막차 시간 - Last train times for 28 major stations (static data)
- Exit Info / 출구 정보 - Exit information for 29 major tourist stations (static data)
- Accessibility / 접근성 정보 - Elevators, escalators, wheelchair lifts
- Quick Exit / 빠른하차 - Best car for facilities
- Restrooms / 화장실 - Restroom locations
"강남역 도착정보" / "Gangnam station arrivals"
"강남역 몇호선?" / "What line is Gangnam?"
"신도림에서 서울역" / "Sindorim to Seoul Station"
"지하철 지연 있어?" / "Any subway delays?"
"홍대 막차 몇 시야?" / "Last train to Hongdae?"
"코엑스 몇 번 출구?" / "Which exit for COEX?"
"강남역 엘리베이터" / "Gangnam elevators"
"강남역 빠른하차" / "Gangnam quick exit"
"강남역 화장실" / "Gangnam restrooms"
When prompted for proxy domain access:
프록시 도메인 접근 확인 창이 뜨면:
Recommended / 권장: Select Yes to allow access for this session.
이 세션에서 접근을 허용하려면 Yes를 선택하세요.
You may select
Yes, and don't ask againfor convenience if you trust the proxy. See SKILL.md for data privacy details.프록시 서버를 신뢰하는 경우
Yes, and don't ask again을 선택할 수 있습니다. 데이터 프라이버시에 대한 자세한 내용은 SKILL.md를 참조하세요.
This skill uses a proxy server architecture so users don't need to obtain API keys.
이 스킬은 프록시 서버 아키텍처를 사용하여 사용자가 API 키를 발급받을 필요가 없습니다.
User (Skill)
│
├── Static Data ──→ GitHub Raw (free)
│ /data/stations.json
│ /data/lines.json
│ /data/station-names.json
│
└── Dynamic Data ──→ Vercel Proxy (free)
/api/realtime/[station]
/api/route
/api/alerts
/api/stations
/api/last-train/[station] (static data)
/api/exits/[station] (static data)
/api/accessibility/[station]
/api/quick-exit/[station]
/api/restrooms/[station]
| Feature | Endpoint |
|---|---|
| Real-time Arrival | GET /api/realtime/{station} |
| Station Search | GET /api/stations?station={name} |
| Route Search | GET /api/route?dptreStnNm=...&arvlStnNm=... |
| Service Alerts | GET /api/alerts |
| Last Train | GET /api/last-train/{station} |
| Exit Info | GET /api/exits/{station} |
| Accessibility | GET /api/accessibility/{station} |
| Quick Exit | GET /api/quick-exit/{station} |
| Restrooms | GET /api/restrooms/{station} |
See SKILL.md for full API documentation.
If you want to deploy your own proxy server:
자체 프록시 서버를 배포하려면:
Provider: Seoul Open Data Plaza (서울 열린데이터 광장)
- Go to API Key Request Page
- Sign up and request 실시간 지하철 인증키 (Real-time Subway API Key)
- Wait 5-30 minutes for activation
Provider: Public Data Portal (공공데이터포털)
- Go to data.go.kr
- Request access to these APIs:
- Copy the 일반 인증키 (Encoding) from your dashboard
cd vercel-proxy
npm install -g vercel
vercelSet environment variables in Vercel Dashboard:
SEOUL_OPENAPI_KEYDATA_GO_KR_KEY
See vercel-proxy/README.md for detailed instructions.
export SEOUL_OPENAPI_KEY="your-key"
./scripts/collect-stations.shThis populates data/stations.json with all Seoul subway stations.
seoul-subway/
├── SKILL.md # Skill definition and API docs
├── README.md # This file
├── data/
│ ├── stations.json # Station list (run collect script)
│ ├── lines.json # Line ID mappings
│ └── station-names.json # English-Korean translations
├── scripts/
│ └── collect-stations.sh # Station data collection script
└── vercel-proxy/
├── api/
│ ├── realtime/[station].ts
│ ├── route.ts
│ ├── alerts.ts
│ ├── stations.ts
│ ├── last-train/[station].ts
│ ├── exits/[station].ts
│ ├── accessibility/[station].ts
│ ├── quick-exit/[station].ts
│ └── restrooms/[station].ts
├── package.json
├── vercel.json
└── README.md # Deployment guide
MIT