Korea Weather MCP Server logo

Korea Weather MCP Server

Community
ohhan777

MCP server using the Korea Weather Service (KWS)

Publisherohhan777
Repositorykorea_weather
LanguagePython
Forks
6
Stars
12
Available tools
0
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    Korea Weather MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    12 stars and 6 forks from the linked repository.

Korea Weather MCP Server

smithery badge

본 MCP 서버는 기상청 단기예보 조회서비스 API를 기반으로 동작하는 MCP 서버입니다.

소개

Korea Weather MCP Server는 기상청의 날씨 정보를 수집하여, MCP 프로토콜을 통해 Claude나 Cursor와 같은 MCP 클라이언트(Host)에 제공합니다. 이 서버는 기상 정보를 활용하는 다양한 응용 서비스에 쉽게 연동될 수 있습니다.

MCP Example

주요 기능

  • 기상청 단기예보 API 연동
  • MCP 형식의 기상 정보 제공

설치 및 사용 방법

Smithery를 이용한 설치

  1. data.go.kr에서 기상청 단기예보 API를 신청하고 API 키를 발급받습니다.
  2. 다음 명령어를 사용해 Smithery에서 서버를 설치하고 Claude Desktop에 등록합니다. 설치 과정에서 API 키 입력을 요구하면 발급받은 키를 입력합니다.
    bash
    npx -y @smithery/cli mcp add ohhan777/korea_weather --client claude
  3. Claude Desktop을 재시작하여 사용하면 됩니다.

로컬 개발 (Smithery CLI)

  1. 소스코드를 클론하고 의존성을 설치합니다.
    bash
    git clone https://github.com/ohhan777/korea_weather.git
    cd korea_weather
    uv sync
  2. 환경변수에 API 키를 설정합니다.
    bash
    export KOREA_WEATHER_API_KEY="발급받은_API_키"
  3. 개발 서버를 실행합니다.
    bash
    # HTTP 모드로 실행 (http://localhost:8081)
    uv run smithery dev
    
    # 또는 Smithery Playground로 대화형 테스트
    uv run smithery playground

GitHub에서 직접 설치하는 방법

  1. data.go.kr에서 기상청 단기예보 API 활용 신청 후 API 키를 발급받습니다.

  2. github에서 소스코드를 다운받아 실행해봅니다.

    git clone https://github.com/ohhan777/korea_weather.git
    cd korea_weather
    uv sync
    uv run korea_weather.py
  3. MCP 클라이언트(Host)에 서버를 등록합니다.

    • Claude Desktop의 설정 파일은 보통 아래 경로에 위치합니다. C:\Users\[사용자 이름]\AppData\Roaming\Claude\claude_desktop_config.json (파일이 없다면 새로 생성)

    • Cursor의 경우: 상단의 톱니바퀴 아이콘 → MCP → Add new global MCP server 선택

    아래 예시와 같은 형식으로 설정 파일을 작성합니다. (디렉토리 경로와 API 키는 환경에 맞게 수정)

    json
    {
      "mcpServers": {
        "korea_weather": {
          "command": "uv",
          "args": [
            "--directory",
            "C:\\ai\\PyProjects\\korea_weather",
            "run",
            "korea_weather.py"
          ],
          "env": {
            "KOREA_WEATHER_API_KEY": "Input Your API Key Here!"
          }
        }
      }
    }

Smithery에 배포하기

GitHub에 코드를 푸시한 후, smithery.ai/new에서 GitHub 저장소를 연결하면 Smithery가 자동으로 서버를 빌드하고 호스팅합니다.

프롬프트 예제

>> 제주 국제 공항 현재 날씨를 알려줘.
>> 내일 오후에 서울 남대문에 놀러가려고 하는데 우산을 챙겨야할까?
>> 오늘 오후에 세차하기에 괜찮은 날씨일까?

의존성

pyproject.toml 참고

라이선스

본 프로젝트는 내부 시험용으로 개발되었으며, 별도의 라이선스 규정 없이 자유롭게 배포 및 수정이 가능합니다.

문의

개발자: 한국항공우주연구원 오한 (ohhan@kari.re.kr)

수정 이력

  • 2026-02: Smithery v4 연동 — smithery dev/smithery playground 로컬 개발 지원, create_server() 팩토리 패턴 도입
  • 2026-02: 서버 구조를 리팩터링하고(공통 API 요청 처리, 좌표 변환 캐시), MCP 도구 설명을 보강했습니다.
  • 2026-02: httpx/dotenv 미설치 환경에서도 동작하도록 표준 라이브러리 기반 HTTP fallback 경로를 추가했습니다.
  • 2026-02: 오프라인 환경에서도 실행 가능한 단위 테스트(tests/test_korea_weather.py)를 추가했습니다.

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "ohhan777-korea_weather": {
      "command": "",
      "args": []
    }
  }
}

Use Korea Weather MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Korea Weather MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Korea Weather MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Korea Weather MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "ohhan777-korea_weather": {
      "command": "npx",
      "args": [
        "-y",
        "korea-weather"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Korea Weather MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Korea Weather MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Korea Weather MCP Server to help me with this task?
Korea Weather MCP Server
Sure. I read it.
Here is what I found using Korea Weather MCP Server.

Frequently asked questions

What is the Korea Weather MCP Server MCP server used for?

Korea Weather MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Korea Weather MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Korea Weather MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Korea Weather MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Korea Weather MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Korea Weather MCP Server MCP to TypingMind?

Korea Weather MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Korea Weather MCP Server MCP provide in TypingMind?

Korea Weather MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Korea Weather MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Korea Weather MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇