korea-weather
nomadamas/k-skill
Query South Korea weather forecasts via KMA API proxy without managing API keys directly.
What is korea-weather?
Fetches short-term weather forecasts for locations in South Korea using the Korea Meteorological Administration (KMA) API through a proxy service. Use this when you need current conditions, precipitation probability, temperature, wind speed, and other weather details for Korean cities or coordinates.
- Query forecasts by grid coordinates (nx, ny) or latitude/longitude
- Automatically selects the latest KMA forecast issue time if baseDate/baseTime omitted
- Summarizes key weather metrics: temperature, sky condition, precipitation type/probability, snowfall, humidity, wind speed
- Proxies KMA API requests so users don't manage API keys directly
- Supports optional self-hosted proxy via KSKILL_PROXY_BASE_URL environment variable
How to install korea-weather
npx skills add https://github.com/nomadamas/k-skill --skill korea-weather- optional: jq for response parsing
- optional: KSKILL_PROXY_BASE_URL environment variable if self-hosting the proxy (defaults to https://k-skill-proxy.nomadamas.org)
How to use korea-weather
- 1.Set KSKILL_PROXY_BASE_URL environment variable if using a self-hosted proxy; otherwise the default hosted proxy is used automatically
- 2.Call the forecast endpoint with either grid coordinates (nx, ny) or geographic coordinates (lat, lon)
- 3.Optionally specify baseDate (YYYYMMDD) and baseTime (HHMM) for a specific forecast; if omitted, the proxy selects the latest available
- 4.Parse the response to extract key fields: TMP (temperature), SKY (sky condition), PTY (precipitation type), POP (precipitation probability), PCP (precipitation amount), SNO (snowfall), REH (humidity), WSD (wind speed)
- 5.Display the summary with the query timestamp and forecast issue time
Use cases
- Get current weather for a Seoul address or landmark
- Check precipitation probability and wind speed for coastal cities like Busan
- Query forecast by geographic coordinates (latitude/longitude) without converting to grid format
- Retrieve weather data for a specific forecast issue time (baseDate/baseTime)
- Integrate weather checks into location-based workflows without exposing upstream API credentials
- Developers building Korean weather integrations
- Agents handling location-based queries in South Korea
- Teams using a shared proxy to avoid per-user API key management
korea-weather FAQ
No. The proxy manages the upstream KMA_OPEN_API_KEY on the server side. You only need to set KSKILL_PROXY_BASE_URL if self-hosting; otherwise the default hosted proxy is used.
The skill accepts latitude/longitude or grid coordinates (nx, ny). You must convert city names or addresses to coordinates before calling the endpoint.
The proxy automatically selects the latest KMA short-term forecast issue time in KST (Korea Standard Time).
Temperature (TMP), sky condition (SKY), precipitation type (PTY), precipitation probability (POP), precipitation amount (PCP), snowfall (SNO), humidity (REH), and wind speed (WSD).
The KMA may not have issued a forecast for the selected baseDate/baseTime. Try omitting those parameters to use the latest available forecast.
Full instructions (SKILL.md)
Source of truth, from nomadamas/k-skill.
name: korea-weather description: 한국 날씨를 기상청 단기예보 조회서비스와 프록시 경유로 조회해 요약한다. license: MIT metadata: category: weather locale: ko-KR phase: v1
Korea Weather
What this skill does
기상청 단기예보 조회서비스를 k-skill-proxy 경유로 조회해서 한국 날씨를 요약한다.
사용자는 개인 OpenAPI key를 직접 발급할 필요가 없고, proxy 서버에만 KMA_OPEN_API_KEY 를 둔다.
When to use
- "서울 시청 근처 지금 날씨 어때?"
- "부산 날씨 알려줘"
- "위도/경도 기준으로 한국 단기예보 보고 싶어"
Prerequisites
- optional:
jq - optional:
KSKILL_PROXY_BASE_URL(self-host·별도 프록시를 쓸 때만 설정. 비우면 기본 hostedhttps://k-skill-proxy.nomadamas.org를 사용한다.)
Required environment variables
- 없음.
KSKILL_PROXY_BASE_URL은 선택 사항이며, 비우면 기본 hostedhttps://k-skill-proxy.nomadamas.org를 사용한다.
사용자가 공공데이터포털 기상청 API key를 직접 다룰 필요는 없다. /v1/korea-weather/forecast route는 기본 hosted proxy에서 호출하고, upstream KMA_OPEN_API_KEY 는 proxy 서버에서만 관리한다. 별도 proxy를 쓰는 경우에만 KSKILL_PROXY_BASE_URL 을 설정한다.
Inputs
- 격자 좌표:
nx,ny - 또는 위도/경도:
lat,lon - 선택 사항:
baseDate,baseTime
baseDate / baseTime 을 생략하면 proxy 가 KST 기준 최신 단기예보 발표 시각을 자동으로 고른다.
Workflow
1. Resolve the proxy base URL
KSKILL_PROXY_BASE_URL 이 있으면 그 값을 사용하고, 없거나 비어 있으면 기본 hosted proxy https://k-skill-proxy.nomadamas.org 를 사용한다.
2. Query the short-term forecast endpoint
격자 좌표가 이미 있으면 그대로 넣고, 위도/경도만 있으면 proxy 에 그대로 넘긴다.
BASE="${KSKILL_PROXY_BASE_URL:-https://k-skill-proxy.nomadamas.org}"
curl -fsS --get "${BASE}/v1/korea-weather/forecast" \
--data-urlencode 'lat=37.5665' \
--data-urlencode 'lon=126.9780'
격자 좌표 예시:
BASE="${KSKILL_PROXY_BASE_URL:-https://k-skill-proxy.nomadamas.org}"
curl -fsS --get "${BASE}/v1/korea-weather/forecast" \
--data-urlencode 'nx=60' \
--data-urlencode 'ny=127' \
--data-urlencode 'baseDate=20260405' \
--data-urlencode 'baseTime=0500'
3. Summarize the response conservatively
가능하면 아래 항목만 먼저 요약한다.
TMP: 기온SKY: 하늘상태PTY: 강수형태POP: 강수확률PCP: 강수량SNO: 적설REH: 습도WSD: 풍속
응답에는 조회 시점과 baseDate / baseTime 도 함께 적는다.
Done when
- 요청 위치의 단기예보 응답이 정리되어 있다
- 조회 시점과 예보 발표 시각이 명시되어 있다
- upstream key가 클라이언트에 노출되지 않았다
Failure modes
- proxy upstream key 미설정 또는 hosted/self-host route 장애
nx/ny또는lat/lon이 불완전한 경우- 기상청 quota 초과 또는 upstream 장애
- 선택한 발표 시각에 아직 예보가 준비되지 않은 경우
Notes
- 공식 API는
nx/ny격자를 쓰지만, proxy 는lat/lon도 받아 내부에서 격자로 변환한다. - 단기예보 category 는
TMP,SKY,PTY,POP,PCP,SNO,REH,WSD등을 중심으로 본다. - proxy 운영/환경변수 설정은
docs/features/k-skill-proxy.md를 참고한다.
Related skills
More from nomadamas/k-skill and the wider catalog.

korean-character-count
Deterministic Korean text character, line, and byte counting for form limits and self-introductions.

korean-cinema-search
CGV, 메가박스, 롯데시네마 영화관 검색, 상영작, 시간표, 잔여석 조회가 필요할 때 사용한다.

korean-jangbu-for
Korean business ledger automation for startups, freelancers, and sole proprietors—import, tag, and generate tax reports.

korean-law-search
Search Korean statutes, articles, precedents, interpretations, and local ordinances via proxy—no API key needed.

korean-marathon-schedule
고러닝과 대한철인3종협회 공개 표면으로 한국 마라톤·철인3종 경기 일정, 장소, 신청 마감일, 종목을 조회한다.

korean-middle-korean
Convert incoming Korean text into a deterministic Korean Middle Korean-style rewrite with archaic particles, endings, Hanja hints, and tone-mark flavor.