# weather-mcp [Health: Active]

**Category:** 🌳 Environment & Nature  
**Repository:** https://github.com/darshan0548/weather-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/weather-mcp

## Description
MCP server for weather with reasoning — umbrella advice, outdoor checks, city comparisons.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/darshan0548/weather-mcp), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Install:

```sh
git clone https://github.com/darshan0548/weather-mcp.git
```

2. Run:

```sh
cd weather-mcp
```

3. Run:

```sh
python3 -m venv venv
```

4. Install:

```sh
pip install -r requirements.txt
```

## Documentation

## What weather-mcp MCP server does

The weather-mcp MCP server gives an AI assistant access to live weather information through Open-Meteo. It combines current conditions with today’s forecast and exposes higher-level advice, so a user can ask practical questions instead of interpreting individual weather fields themselves.

The project separates data retrieval from decision logic. `weather_core.py` handles communication with Open-Meteo, while `weather_advice.py` evaluates the returned information. `server.py` connects those functions to MCP tools. This structure also allows the weather and reasoning modules to be tested or reused without MCP-specific code.

## How it works

When a client invokes a tool with a city name, the server obtains weather data from Open-Meteo and returns a result for the assistant to use. No Open-Meteo API key is required. The available reasoning combines relevant conditions instead of treating temperature or precipitation as isolated values.

For outdoor guidance, the server considers rain, wind, and temperature together. City comparison accepts two locations and evaluates them in one request. The repository includes `test_weather.py`, which performs a sanity check against the real weather API rather than using mocked responses.

## Setup and configuration

Install the project locally with Python by cloning the repository, creating a virtual environment, activating it, and installing the dependencies from `requirements.txt`:

```bash
git clone https://github.com/darshan0548/weather-mcp.git
cd weather-mcp
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```

Windows users can use the corresponding `venv\\Scripts\\activate` command. Run `python test_weather.py` to check the implementation against the live API.

Claude Desktop and Gemini CLI can launch the server by pointing their MCP configuration at `server.py` with the `python` command. Use the absolute path to the file in the client’s configuration, then restart the client. The README provides configuration examples for `claude_desktop_config.json` and `~/.gemini/settings.json`.

## Tools and capabilities

The weather-mcp MCP server exposes these documented tools:

- `get_weather("City")` returns current conditions and today’s forecast.
- `should_i_carry_umbrella("City")` returns a yes-or-no recommendation with reasoning based on the weather.
- `is_good_for_outdoors("City")` assesses outdoor conditions using rain, wind, and temperature.
- `compare_weather("City A", "City B")` compares weather in two cities.

These tools are suited to questions such as whether to bring an umbrella, whether a location is suitable for outdoor activity, or which of two cities has better conditions. The documented forecast scope is current conditions and today’s summary; the project does not describe hourly or multi-day planning tools.

## Limitations and notes

The server depends on live Open-Meteo data, so its tests and requests use the external service. It documents no environment variables or separate credentials for configuration.

The project’s suggested future additions include hourly forecasts, air-quality data, multi-day trip planning, and severe-weather alerts. Those are contribution ideas rather than capabilities documented as available in the current server. Use the existing tools when you need city-level weather answers and practical reasoning from the supported inputs.

_Full upstream README: https://allmcps.com/mcp/weather-mcp/readme_

