MCP Weather Server
About
Provides real-time weather information and forecasts using the OpenWeatherMap API.
Details
- Author
- kennykang7012
- Categories
- Other, API
Jump to
Setup
Install MCP Weather Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/kennykang7012/mcp-server-weather
Follow the installation instructions in the repository README, then restart your MCP client.
這是一個基於Model Context Protocol (MCP)的天氣資訊服務器,使用OpenWeatherMap API提供即時天氣資訊和天氣預報功能。
- 獲取城市當前天氣資訊
- 獲取城市5天天氣預報
- 支持中英文城市名稱查詢
- 完整的錯誤處理機制
- 豐富的天氣資訊顯示(溫度、濕度、風速等)
uv venv uv pip install -r requirements.txt
{ "mcpServers": { "weather": { "command": "uv", "args": ["--directory", ".", "run", "main.py"], "description": "天氣資訊伺服器 - 取得當前天氣和天氣預報", "env": { "OPENWEATHER_API_KEY": "your_api_key_here" } } } }
get_current_weather(city: str) -> str
get_weather_forecast(city: str, days: int = 5) -> str
- 參數:
- city: 城市名稱(支持中英文)
- days: 預報天數(1-5天,預設5天)
- weather://current/{city}- 獲取指定城市的當前天氣資源
- weather://forecast/{city}- 獲取指定城市的天氣預報資源
- weather://api-status- 獲取API狀態資訊
- OpenWeatherMap- 天氣數據提供
- Model Context Protocol- MCP協議支持
- 直接部署(Python 環境)
- Docker 部署
- Docker Compose 部署
- 系統服務部署(Linux)
Provides weather data using the Open-Meteo API.
Access meteorological data for Portugal from the IPMA public API using natural language.
Provides accurate Islamic prayer times for locations throughout Malaysia using the waktusolat.app API.
Provides weather information using the Japan Meteorological Agency API. No authentication required.
A production-clean MCP server for the free Open-Meteo weather API (geocoding, forecast, air quality) with SRE-grade rate limiting, backoff, and structured logging.
Provides current weather information using the Korea Meteorological Administration's short-term forecast API.
SkyLinkAPI MCP Server | Aviation Data MCP Server
Connect SkyLink API to Claude Desktop, Cursor, or any MCP client in under a minute. Ask about live flights, weather, NOTAMs, and ADS-B positions — your AI gets real data, not hallucinations.
A server for fetching weather information in Japan.
Provides current weather data and forecasts using the QWeather API.
An API for AI models to fetch weather data.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




