mcp-server
If you are the rightful owner of 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.
Weather MCP server for Cline using OpenWeatherMap API
The Weather MCP server is designed to provide real-time weather data using the OpenWeatherMap API. It is built to serve as a Model Context Protocol (MCP) server, offering tools to fetch current weather conditions and 5-day forecasts for any location worldwide. The server supports both metric and imperial units and utilizes efficient caching to minimize API calls. It is implemented in TypeScript and uses Node.js, with dependencies including axios for HTTP requests and node-cache for caching. The server is configured to handle requests for weather data, format the responses in markdown, and manage errors gracefully.
Features
- Real-time weather data retrieval
- 5-day weather forecasts
- Support for metric and imperial units
- Efficient caching to reduce API calls
- Formatted markdown responses
Tools
get_current_weather
Get the current weather for a location
get_weather_forecast
Get a 5-day weather forecast for a location