Weather MCP Server
A Model Context Protocol (MCP) server that provides weather information using the OpenWeather API.
Purpose
This MCP server provides a secure interface for AI assistants to get current weather conditions, 5-day forecasts, and perform temperature conversions.
Features
Current Implementation
get_current_weather
- Get current weather conditions for any city with temperature, humidity, wind, and pressureget_weather_forecast
- Get detailed 5-day weather forecast with 3-hour intervalsconvert_temperature
- Convert temperatures between Celsius and Fahrenheit
Prerequisites
Docker Desktop with MCP Toolkit enabled
Docker MCP CLI plugin (
docker mcp
command)OpenWeather API key (free at https://openweathermap.org/api)
Installation
See the step-by-step instructions provided with the files.
Usage Examples
In Claude Desktop, you can ask:
"What's the weather like in New York?"
"Show me the 5-day forecast for London in Fahrenheit"
"Convert 25 degrees Celsius to Fahrenheit"
"What's the current temperature in Tokyo?"
"Give me the weather forecast for Paris this week"
Architecture
This server cannot be installed
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.
Provides weather information through OpenWeather API, enabling users to get current weather conditions, 5-day forecasts, and perform temperature conversions for any city. Offers a secure interface for AI assistants to access comprehensive weather data including temperature, humidity, wind, and pressure information.