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.
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:
npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude
Manual Installation
-
Clone this repository:
git clone https://github.com/yourusername/Weather_mcp_server.git cd Weather_mcp_server -
Install dependencies using uv:
uv venv uv pip install -e . -
Create a
.envfile in the project root with your WeatherAPI key:WEATHER_API_KEY=your_api_key_here
Usage
Run the server:
python main.py
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.
Recommend MCP Servers 💡
mcp-server-naa
MCP Server for Netwrix Access Analyzer
@AbdelStark/nostr-mcp
A Nostr MCP server that allows to interact with Nostr, enabling posting notes, and more.
tidb-mcp-server
A Python SDK for TiDB AI, providing a unified data platform for building AI applications and agents. It supports various search modes (vector, full-text, hybrid, image), automatic embedding, multi-modal storage, advanced filtering, and transaction management, enabling seamless integration of structured and unstructured data for AI workloads.
mcp-go-colly
A web crawling framework that integrates the Model Context Protocol (MCP) with the Colly web scraping library for extracting web content for LLM applications.
@PV-Bhat/gemsuite-mcp
The ultimate open-source server for advanced Gemini API interaction with Model Context Protocol (MCP), intelligently selecting models for optimal performance, minimal token cost, and seamless integration.
ashra-mcp
A Model Context Protocol server for Ashra