The Weather MCP Server retrieves real-time weather information for specified cities using the OpenWeatherMap API.
Fetch Weather Data: Get detailed weather reports including temperature, humidity, wind speed, sunrise/sunset times, and weather descriptions
Metric Units: Weather data is provided in metric units (e.g., Celsius for temperature)
Integration: Can be configured to work with Claude Desktop for weather data retrieval
Developer-Friendly: Supports manual installation and configuration for development environments
Uses .env files for configuration management, particularly for storing the OpenWeatherMap API key
Includes instructions for cloning the repository as part of the setup process
Offers specific setup instructions for Linux environments
Includes macOS-specific setup instructions for the virtual environment
Requires Python 3.12 or higher for running the server
Weather MCP Server
A Modern Code Protocol (MCP) server that provides weather information using the OpenWeatherMap API.
Features
Real-time weather data retrieval
Metric units for temperature
Detailed weather information including:
Temperature
Humidity
Wind Speed
Sunrise/Sunset times
Weather description
Prerequisites
Python 3.12 or higher
OpenWeatherMap API key
Installation
Installing via Smithery
To install Weather MCP Server for Claude Desktop automatically via Smithery:
Manual Installation
Clone the repository
Create a virtual environment:
Install dependencies:
Setup Intructions
Setup with Claude Desktop
Local/Dev Setup Instructions
Clone repo
git clone https://github.com/CodeByWaqas/weather-mcp-server
Install dependencies
Install MCP server dependencies:
Configuration
Copy
src/resources/env.example
tosrc/resources/.env
Add your OpenWeatherMap API key to the
.env
file:
Usage
Run the Claude Desktop and use LLM to retrieve weather info
License
This project is licensed under the MIT License - see the LICENSE file for details.
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.
Tools
An MCP server that provides real-time weather information including temperature, humidity, wind speed, and sunrise/sunset times through the OpenWeatherMap API.
- Features
- Prerequisites
- Installation
- Setup Intructions
- Local/Dev Setup Instructions
- Configuration
- Usage
- License
Related Resources
Related MCP Servers
- -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 -1
- -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.
- -securityFlicense-qualityAn India-focused MCP server that provides real-time weather conditions, forecasts, air quality data, and location search capabilities using the OpenWeatherMap API.Last updated -
- AsecurityFlicenseAqualityA simple MCP server that provides a tool to fetch current weather information for cities using the Open-Meteo API, communicating through stdin/stdout.Last updated -12