Weather MCP logo

Weather MCP

Uses live Open-Meteo data to answer weather questions, provide outdoor advice, and compare conditions between cities.

Install Weather MCP

Run the project’s own setup commands, in order.

Setup steps from the project

weather-mcp installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/darshan0548/weather-mcp.git
    
  2. 2. Run
    cd weather-mcp
    
  3. 3. Run
    python3 -m venv venv
    
  4. 4. Install
    pip install -r requirements.txt
    

Overview

The weather-mcp MCP server connects AI assistants to live weather data from Open-Meteo without requiring an API key. It provides current conditions and today’s forecast, then adds reasoning for umbrella decisions, outdoor suitability, and city comparisons. Run it locally with Python and connect it through an MCP-compatible client such as Claude Desktop or Gemini CLI. Reach for it when an assistant needs practical weather guidance rather than raw measurements alone.

Use cases

  • Check whether someone should carry an umbrella in a city
  • Assess whether weather is suitable for outdoor activities
  • Compare current weather between two cities
  • Retrieve current conditions and today’s forecast

Key features

  • Live Open-Meteo weather data
  • No API key required
  • Umbrella recommendations with reasoning
  • Outdoor suitability checks
  • Two-city weather comparisons
  • Separate weather retrieval and advice modules

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 65d

How Weather MCP works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Weather MCP

weather-mcp is an MCP server that connects AI assistants and other MCP-compatible clients to Open-Meteo live weather data. Its main tools retrieve current conditions and today’s forecast, decide whether an umbrella is advisable, assess outdoor suitability using rain, wind, and temperature, and compare weather in two cities.

Clone the repository, create and activate a Python virtual environment, and install dependencies with `pip install -r requirements.txt`. The setup uses `python3 -m venv venv`; Windows users can activate the environment with the corresponding `venv\Scripts\activate` command.

Add an MCP server entry that runs `python` with the absolute path to `server.py` in `claude_desktop_config.json`. Restart Claude Desktop after saving the configuration. The README includes the expected `mcpServers` structure.

Yes, weather-mcp works with Gemini CLI through its MCP configuration. Add the server under `mcpServers` in `~/.gemini/settings.json`, use `python` and the absolute path to `server.py`, then restart the client.

No, weather-mcp does not require an API key for Open-Meteo. The server and its sanity test access the free Open-Meteo service directly.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWeather MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/weather-mcp?style=directory)](https://allmcps.com/mcp/weather-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/weather-mcp"><img src="https://allmcps.com/api/badge/weather-mcp?style=directory" alt="Weather MCP on AllMCPs" /></a>