Integrations
Used to store and access environment variables like the WeatherAPI key
Used as the web framework to build the MCP server API endpoints
Used for version control of the codebase
Weather MCP Server
A Model Context Protocol (MCP) server for weather data, built with FastAPI and the MCP framework. This server provides various weather-related tools that can be used by AI assistants to retrieve current weather conditions, forecasts, air quality data, and more.
Features
- Current weather conditions
- Weather forecasts (1-14 days)
- Historical weather data
- Weather alerts
- Air quality information
- Astronomy data (sunrise, sunset, moon phases)
- Location search
- Timezone information
- Sports events
Requirements
- Python 3.13+
- uv package manager
- WeatherAPI API key
Installation
Installing via Smithery
To install Weather Data Server for Claude Desktop automatically via Smithery:
Manual Installation
- Clone this repository:Copy
- Install dependencies using uv:Copy
- Create a
.env
file in the project root with your WeatherAPI key:Copy
Usage
Run the server:
The server will start on http://localhost:8000 by default.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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.
weather-mcp-server
Related MCP Servers
- -securityFlicense-qualityThis SSE-based MCP server allows users to connect and interact with National Weather Service APIs to retrieve weather alerts and forecasts.Last updated -90Python
- AsecurityAlicenseAqualityAn MCP server that provides real-time weather information including temperature, humidity, wind speed, and sunrise/sunset times through the OpenWeatherMap API.Last updated -1PythonMIT License
- -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 -Python
- -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.Last updated -51TypeScriptMIT License