openweathermap-sse-mcp-server
If you are the rightful owner of openweathermap-sse-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 FastAPI-based weather server that integrates with Home Assistant using the Model Context Protocol (MCP).
The MCP Weather Server is a FastAPI-based application designed to provide comprehensive weather information by integrating with Home Assistant using the Model Context Protocol (MCP). It leverages OpenWeatherMap's One Call API 3.0 to deliver current weather conditions, daily forecasts, and hourly forecasts for any specified location. The server is highly configurable, allowing users to set their preferred units (metric or imperial), specify server settings, and define location overrides for ambiguous city names. The server can be easily set up with Python 3.7+ and requires an OpenWeatherMap API key. It offers both traditional REST API endpoints and MCP integration for seamless interaction with Home Assistant, making it a versatile tool for weather data retrieval and smart home automation.
Features
- FastAPI-based server for efficient weather data retrieval.
- Integration with Home Assistant using Model Context Protocol (MCP).
- Supports OpenWeatherMap's One Call API 3.0 for detailed weather information.
- Configurable units (metric or imperial) and server settings.
- Location resolution system with optional overrides for ambiguous city names.
Tools
current_weather
Get current weather conditions for a specified location.
hourly_forecast
Get hourly weather forecast for a specified location.
daily_forecast
Get daily weather forecast for a specified location.