Weather MCP Server
by milk19
The Weather MCP Server is a Cline MCP server providing real-time weather data using the OpenWeatherMap API. It allows users to retrieve current weather conditions and forecasts for locations worldwide.
Last updated: N/A
What is Weather MCP Server?
The Weather MCP Server is a server that integrates with the OpenWeatherMap API to provide weather information to Cline clients. It offers tools to fetch current weather conditions and 5-day forecasts for specified locations.
How to use Weather MCP Server?
To use the server, you need an OpenWeatherMap API key. Configure the server in your Cline settings with the API key and desired units (metric or imperial). Then, use the available tools, 'get_current_weather' and 'get_weather_forecast', providing the location as a parameter.
Key features of Weather MCP Server
Get current weather for any location worldwide
Get 5-day weather forecasts with detailed information
Support for metric and imperial units
Efficient caching to minimize API calls
Formatted markdown responses
Use cases of Weather MCP Server
Displaying current weather conditions in a Cline application
Providing weather forecasts for planning purposes
Integrating weather data into other applications
Automating weather updates for specific locations
FAQ from Weather MCP Server
How do I get an OpenWeatherMap API key?
How do I get an OpenWeatherMap API key?
Sign up for a free API key at OpenWeatherMap.
What units are supported?
What units are supported?
The server supports both metric (°C, m/s) and imperial (°F, mph) units. Set the WEATHER_UNITS
environment variable to 'metric' or 'imperial'.
How do I specify the location?
How do I specify the location?
Use the city name (e.g., 'London') or the city name with the country code (e.g., 'London,uk') as the location parameter.
How many days of forecast can I get?
How many days of forecast can I get?
You can request a forecast for 1 to 5 days using the 'days' parameter in the 'get_weather_forecast' tool. The default is 3 days.
Is the weather data cached?
Is the weather data cached?
Yes, the server uses caching to minimize API calls and improve performance. Current weather is cached for 30 minutes, and forecasts are cached for 1 hour.