Back to catalog

weather-mcp-server MCP Server

An MCP server that provides comprehensive weather data, including current conditions, forecasts, historical data, air quality, astronomical information, and weather alerts using WeatherAPI.

An MCP server that provides comprehensive weather data, including current conditions, forecasts, historical data, air quality, astronomical information, and weather alerts using WeatherAPI.

Installation

Smithery

npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude

From Source

git clone https://github.com/yourusername/Weather_mcp_server.git
cd Weather_mcp_server
uv venv
uv pip install -e .

Features

  • Current weather conditions
  • Weather forecasts (1-14 days)
  • Historical weather data
  • Weather alerts
  • Air quality information
  • Astronomical data (sunrise, sunset, moon phases)
  • Location search
  • Timezone information
  • Sports events

Environment Variables

Required

  • WEATHER_API_KEY - WeatherAPI key for accessing weather data

Resources

Notes

Requires Python 3.13+ and the uv package manager. Built with FastAPI and the MCP framework. The server runs on http://localhost:8000 by default.

Comments (0)

Sign In Sign in to leave a comment.