shaakib99/mcp-servers-weather-mcp-server
3.1
If you are the rightful owner of mcp-servers-weather-mcp-server 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.
A Model Context Protocol (MCP) server that provides weather information for any location, ideal for integration with LLM-powered agents.
🛰️ weather‑mcp‑server
A Model Context Protocol (MCP) server that provides weather information (current conditions + short-term forecast) for any location. Ideal for integrating with LM-powered agents via MCP.
🚀 Features
- Fetches current weather and 24‑hour forecast
- Easy integration with Claude Desktop or any MCP‑compatible client
- Lightweight and self‑contained — no external services needed aside from your weather API
- Configurable to support weather OpenWeatherMap APIs
🔧 Prerequisites
- Python 3.8+
- MCP framework:
mcp[cli]
- HTTP client:
httpx
🛠️ Installation
-
Clone the repo:
git clone https://github.com/shaakib99/mcp-servers-weather-mcp-server.git cd mcp-servers-weather-mcp-server
-
Install dependencies:
uv venv uv sync
-
Create a
.env
file and add your weather API key:openweather_api_key=your_api_key_here
▶️ Running the Server
uv run weather_server.py