korea_weather
If you are the rightful owner of korea_weather and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Korea Weather MCP Server is based on the Korea Meteorological Administration's short-term forecast API, providing weather information to MCP clients like Claude or Cursor.
Korea Weather MCP Server
๋ณธ MCP ์๋ฒ๋ ๊ธฐ์์ฒญ ๋จ๊ธฐ์๋ณด ์กฐํ์๋น์ค API๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ๋์ํ๋ MCP ์๋ฒ์ ๋๋ค.
์๊ฐ
Korea Weather MCP Server๋ ๊ธฐ์์ฒญ์ ๋ ์จ ์ ๋ณด๋ฅผ ์์งํ์ฌ, MCP ํ๋กํ ์ฝ์ ํตํด Claude๋ Cursor์ ๊ฐ์ MCP ํด๋ผ์ด์ธํธ(Host)์ ์ ๊ณตํฉ๋๋ค.
์ด ์๋ฒ๋ ๊ธฐ์ ์ ๋ณด๋ฅผ ํ์ฉํ๋ ๋ค์ํ ์์ฉ ์๋น์ค์ ์ฝ๊ฒ ์ฐ๋๋ ์ ์์ต๋๋ค.
์ฃผ์ ๊ธฐ๋ฅ
- ๊ธฐ์์ฒญ ๋จ๊ธฐ์๋ณด API ์ฐ๋
- MCP ํ์์ ๊ธฐ์ ์ ๋ณด ์ ๊ณต
์ค์น ๋ฐ ์ฌ์ฉ ๋ฐฉ๋ฒ
Smithery๋ฅผ ์ด์ฉํ ๊ฐํธ ์ค์น
- data.go.kr์์ ๊ธฐ์์ฒญ ๋จ๊ธฐ์๋ณด API๋ฅผ ์ ์ฒญํ๊ณ API ํค๋ฅผ ๋ฐ๊ธ๋ฐ์ต๋๋ค.
- ๋ค์ ๋ช
๋ น์ด๋ฅผ ์ฌ์ฉํด Smithery์์ ์๋ฒ๋ฅผ ์ค์นํ๊ณ Claude Desktop์ ๋ฑ๋กํฉ๋๋ค.
์ค์น ๊ณผ์ ์์ API ํค ์ ๋ ฅ์ ์๊ตฌํ๋ฉด ๋ฐ๊ธ๋ฐ์ ํค๋ฅผ ์ ๋ ฅํฉ๋๋ค.npx -y @smithery/cli install @ohhan777/korea_weather --client claude
- Claude Desktop์ ์ฌ์์ํ์ฌ ์ฌ์ฉํ๋ฉด ๋ฉ๋๋ค.
Github์์ ์ง์ ์ค์นํ๋ ๋ฐฉ๋ฒ
-
data.go.kr์์ ๊ธฐ์์ฒญ ๋จ๊ธฐ์๋ณด API ํ์ฉ ์ ์ฒญ ํ API ํค๋ฅผ ๋ฐ๊ธ๋ฐ์ต๋๋ค.
-
github์์ ์์ค์ฝ๋๋ฅผ ๋ค์ด๋ฐ์ ์คํํด๋ด ๋๋ค.
git clone https://github.com/ohhan777/korea_weather.git cd korea_weather uv run korea_weather.py
-
MCP ํด๋ผ์ด์ธํธ(Host)์ ์๋ฒ๋ฅผ ๋ฑ๋กํฉ๋๋ค.
-
Claude Desktop์ ์ค์ ํ์ผ์ ๋ณดํต ์๋ ๊ฒฝ๋ก์ ์์นํฉ๋๋ค.
C:\Users\[์ฌ์ฉ์ ์ด๋ฆ]\AppData\Roaming\Claude\claude_desktop_config.json
(ํ์ผ์ด ์๋ค๋ฉด ์๋ก ์์ฑ) -
Cursor์ ๊ฒฝ์ฐ: ์๋จ์ ํฑ๋๋ฐํด ์์ด์ฝ(โ๏ธ) โ MCP โ Add new global MCP server ์ ํ
์๋ ์์์ ๊ฐ์ ํ์์ผ๋ก ์ค์ ํ์ผ์ ์์ฑํฉ๋๋ค. (๋๋ ํ ๋ฆฌ ๊ฒฝ๋ก์ API ํค๋ ํ๊ฒฝ์ ๋ง๊ฒ ์์ )
{ "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!" } } } }
-
ํ๋กฌํํธ ์์
>> ์ ์ฃผ ๊ตญ์ ๊ณตํญ ํ์ฌ ๋ ์จ๋ฅผ ์๋ ค์ค.
>> ๋ด์ผ ์คํ์ ์์ธ ๋จ๋๋ฌธ์ ๋๋ฌ๊ฐ๋ ค๊ณ ํ๋๋ฐ ์ฐ์ฐ์ ์ฑ๊ฒจ์ผํ ๊น?
>> ์ค๋ ์คํ์ ์ธ์ฐจํ๊ธฐ์ ๊ด์ฐฎ์ ๋ ์จ์ผ๊น?
์์กด์ฑ
pyproject.toml
์ฐธ๊ณ
๋ผ์ด์ ์ค
๋ณธ ํ๋ก์ ํธ๋ ๋ด๋ถ ์ํ์ฉ์ผ๋ก ๊ฐ๋ฐ๋์์ผ๋ฉฐ, ๋ณ๋์ ๋ผ์ด์ ์ค ๊ท์ ์์ด ์์ ๋กญ๊ฒ ๋ฐฐํฌ ๋ฐ ์์ ์ด ๊ฐ๋ฅํฉ๋๋ค.
๋ฌธ์
๊ฐ๋ฐ์: ํ๊ตญํญ๊ณต์ฐ์ฃผ์ฐ๊ตฌ์ ์คํ ()