Victor Weather

by sjanaX01

316 downloads Not rated yet
GitHub

About

# Weather MCP Server [![smithery badge](https://smithery.ai/badge/@devilcoder01/weather-mcp-server)](https://smithery.ai/server/@devilcoder01/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…

Explore

- 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

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Victor Weather
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

- Python 3.13+
- uv package manager
- WeatherAPI API key

To install Weather Data Server for Claude Desktop automatically via Smithery:

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

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

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "victor weather": {
            "weather-mcp-server-sjanax01": {
                "command": "npx",
                "args": [
                    "-y",
                    "@smithery/cli",
                    "install",
                    "@devilcoder01/weather-mcp-server",
                    "--client",
                    "claude"
                ]
            }
        }
    }
}

McpServers

{
    "weather-mcp-server-sjanax01": {
        "command": "npx",
        "args": [
            "-y",
            "@smithery/cli",
            "install",
            "@devilcoder01/weather-mcp-server",
            "--client",
            "claude"
        ]
    }
}

Weather MCP Server

smithery badge

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

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.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.