Weather MCP Server

Community Maps, travel and weather

Real-time weather forecasts and current conditions for any location via WeatherAPI.com.

What can you do with Weather MCP Server?

  • 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

Install

The installation steps are in the documentation below. Documentation

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. Weather MCP Server
  2. Features
  3. Requirements
  4. Installation
  5. Usage
  6. License

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

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
  1. Clone this repository:
     git clone https://github.com/yourusername/Weather_mcp_server.git
     cd Weather_mcp_server
  2. Install dependencies using uv:
     uv venv
     uv pip install -e .
  3. Create a .env file 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.

Frequently asked questions

What is Weather MCP Server?

Real-time weather forecasts and current conditions for any location via WeatherAPI.com.

How do I install Weather MCP Server?

Follow the installation steps in its documentation, shown on this page and in its repository.

Is Weather MCP Server open source?

Yes. Its code is on GitHub under the MIT license.

Who maintains Weather MCP Server?

It is published by devilcoder01. AI.tn lists it but does not maintain or endorse it.

From the community awesome-mcp-servers lists and the project's GitHub repository. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.