Integrations
Enables secure configuration of API credentials for the Korea Meteorological Administration through environment variables.
Supports containerized deployment of the Korea Weather MCP server, allowing for isolated and consistent execution across different environments.
Stores and provides access to grid coordinates data for Korean administrative regions, enabling location-based weather queries.
Korea Weather MCP Server
This MCP (Multi-platform Communication Protocol) server provides access to Korea Meteorological Administration (KMA) APIs, allowing AI agents to retrieve weather forecast information for locations in South Korea.
Overview
- Retrieve precise grid coordinates for Korean administrative regions
- Get detailed short-term weather forecasts for any location in Korea
- Support for all Korean administrative divisions (city, district, neighborhood)
- Structured text responses optimized for LLM consumption
- Comprehensive weather data including temperature, precipitation, sky condition, humidity, wind direction, and wind speed
Table of Contents
Setup
Prerequisites
- Python 3.12+
- Korea Meteorological Administration API credentials
- You can obtain the API credentials by signing up at the Public Data Portal and requesting access to the "기상청_단기예보 ((구)_동네예보) 조회서비스" API.
Installation
- Clone the repository:
- uv installation
- Create a virtual environment and install dependencies:
- Create a
.env
file with your KMA API credentials:
- Migrate the grid coordinates data from Excel to SQLite:
Using Docker
- Build the Docker image:
- Run the container:
Using Local
- Run the server:
- Run the MCP Inspector
Configure MCP Settings
Add the server configuration to your MCP settings file:
Claude desktop app
- To install automatically via Smithery:
- To install manually
open
~/Library/Application Support/Claude/claude_desktop_config.json
Add this to the mcpServers
object:
Cursor IDE
open ~/.cursor/mcp.json
Add this to the mcpServers
object:
for Docker
Using with Claude
Once configured, you can ask Claude questions like:
- "서울특별시 서초구 양재1동의 날씨는?"
- "부산광역시 해운대구 우동의 날씨 예보를 알려줘"
- "경기도 성남시 분당구의 현재 기온은?"
API Reference
Tools
Get Grid Location
Retrieves the grid coordinates (nx, ny) used by the Korea Meteorological Administration API for the specified location. This tool searches the database for the exact coordinates based on city/province, district/county, and neighborhood/town information.
Get Forecast
Calls the KMA's ultra-short-term forecast API to provide weather forecast information for a specific location. Returns comprehensive weather data including temperature, precipitation, sky condition, humidity, wind direction, and wind speed.
Resources
Weather Instructions
Provides detailed documentation on how to use the Korea Weather MCP server, including tool workflows and response formats.
Prompts
Weather Query
The server includes a structured prompt template for guiding conversations about weather queries, ensuring efficient information gathering and clear presentation of forecast data.
Response Format
Weather forecast responses are provided in structured text format, optimized for LLM processing:
Acknowledgements
License
This project is licensed under the MIT License - see the LICENSE file for details.
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
MCP server that provides Korean weather information using grid coordinates and the Korea Meteorological Administration API, allowing users to query current weather conditions and forecasts for specific locations in Korea.
Related MCP Servers
- -securityFlicense-qualityThis is a Model Context Protocol (MCP) server that provides weather information using the National Weather Service (NWS) API. Features Get weather alerts for a US state Get weather forecast for a specific location (using latitude and longitude)Last updated -Python
- AsecurityAlicenseAqualityAn MCP server that provides real-time weather information including temperature, humidity, wind speed, and sunrise/sunset times through the OpenWeatherMap API.Last updated -1PythonMIT License
- -securityFlicense-qualityAn MCP server implementation that allows users to fetch and display weather information for specified cities, including temperature, humidity, wind speed, and weather descriptions.Last updated -Python
- -securityAlicense-qualityAn MCP server that connects to OpenWeatherMap's API to provide current weather data and multi-day forecasts for locations worldwide in different measurement units.Last updated -51TypeScriptMIT License