kma-weather

Provides programmatic access to Korea Meteorological Administration weather data via Python scripts.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/steamb23/openclaw-skill-monorepo --skill kma-weather
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: kma-weather
Source: https://github.com/steamb23/openclaw-skill-monorepo/tree/main/kma-weather
Command: npx skills add https://github.com/steamb23/openclaw-skill-monorepo --skill kma-weather

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill provides programmatic access to Korea Meteorological Administration weather data, consolidating current conditions, ultra-short forecasts, short-term forecasts, mid-term forecasts, and official warnings into a single, easy-to-use interface.

Core Features & Use Cases

  • Retrieve current weather, ultra-short-term forecasts, short-term forecasts, mid-term forecasts, and warnings for locations across South Korea.
  • Query data by latitude/longitude or by region (city/province) and obtain machine-readable JSON or human-friendly text.
  • Use cases include dashboard feeds, automated alerts, and data-driven planning for apps and research.

Quick Start

Install Python 3, set the KMA_SERVICE_KEY environment variable, and run example commands: python3 skills/kma-weather/scripts/forecast.py current --lat 37.5665 --lon 126.9780 python3 skills/kma-weather/scripts/forecast.py ultrashort --lat 37.5665 --lon 126.9780 python3 skills/kma-weather/scripts/forecast.py shortterm --lat 37.5665 --lon 126.9780 --days all

Frequently Asked Questions about kma-weather

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve current weather data for locations in South Korea?โ–ผ

This skill provides programmatic access to Korea Meteorological Administration weather data, including current conditions. Set your KMA_SERVICE_KEY environment variable and run the forecast.py script with latitude/longitude coordinates to fetch real-time weather in JSON or text format.

Can I access weather forecasts via API for South Korean cities?โ–ผ

Yes. The skill fetches ultra-short-term, short-term, and mid-term forecasts from KMA through Python scripts that accept region names or coordinates, returning machine-readable JSON suitable for dashboards, alerts, and data pipelines.

What's the best way to integrate KMA weather alerts into an application?โ–ผ

Use the warnings script component to retrieve official KMA weather warnings and alerts. Query by location coordinates or region, and consume paginated JSON output to automate alert feeds and trigger notifications in your app.

Do I need any dependencies or setup before using KMA weather data?โ–ผ

Install Python 3 and obtain a KMA_SERVICE_KEY from Korea Meteorological Administration. No external library dependencies are required; the skill uses built-in Python with grid conversion and API pagination utilities included.

How do I convert geographic coordinates to KMA grid format?โ–ผ

The skill includes a grid_converter script component that transforms latitude/longitude into KMA's internal grid system, enabling accurate location-based queries for current conditions, forecasts, and warnings across South Korea.