WE

weather-mcp-server

Created 5 months ago

A Model Context Protocol (MCP) server for weather data, built with FastAPI.

development location documentation public weather

What is weather-mcp-server?

Get real-time weather data for any location using weatherapi.

Documentation

Weather MCP Server

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
  1. Install dependencies using uv:
uv venv
uv pip install -e .
  1. 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.

Server Config

{
  "mcpServers": {
    "weather-mcp-server-server": {
      "command": "npx",
      "args": [
        "weather-mcp-server"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: No

Project Info

Hosted Featured
Created At: Jul 02, 2025
Updated At: Aug 07, 2025
Author: devilcoder01
Category: community
License: MIT License
Tags:
development location documentation