Weather MCP ClaudeDesktop logo

Weather MCP ClaudeDesktop

by SaintDoresh

Connects Claude Desktop to OpenWeatherMap for current conditions, forecasts, air quality, history, alerts, and location search.

Install Weather MCP ClaudeDesktop

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

Setup steps from the project

SaintDoresh/Weather-MCP-ClaudeDesktop 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
    pip install -r requirements.txt
    
  2. 2. Start the server
    py -3.13 main.py
    

Overview

SaintDoresh/Weather-MCP-ClaudeDesktop MCP server connects Claude Desktop to OpenWeatherMap for weather data by location. It exposes tools for current conditions, forecasts of up to five days, recent historical weather, air quality, alerts, and location lookup. The server runs locally with Python and requires an OpenWeatherMap API key supplied through the environment. Reach for it when an agent needs location-based weather information inside Claude Desktop.

Use cases

  • Check current weather for a named location
  • Plan activities with a five-day forecast
  • Compare air quality across cities
  • Review recent weather for a specific date
  • Check alerts and warnings for a location

Key features

  • Current weather conditions
  • Forecasts up to five days
  • Historical weather for recent dates
  • Air quality measurements
  • Weather alerts and warnings
  • Location search by name

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.

23/24 checks healthy over the last 117d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars10Stargazers on the source repository.
Last commit1y agoMost recent push to the default branch.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Weather MCP ClaudeDesktop works

What SaintDoresh/Weather-MCP-ClaudeDesktop MCP server does

SaintDoresh/Weather-MCP-ClaudeDesktop MCP server brings OpenWeatherMap data into Claude Desktop through a locally running MCP process. It is designed for questions about conditions in a named location or coordinates, short-range forecasts, recent weather history, air quality, and active weather warnings.

The available operations include:

  • Retrieve current temperature, feels-like temperature, min/max values, conditions, wind, cloud cover, humidity, pressure, visibility, sunrise, and sunset.
  • Retrieve forecast entries for up to five days, including precipitation probability and time-specific weather details.
  • Retrieve air quality index values and pollutant measurements such as carbon monoxide, nitrogen dioxide, ozone, sulfur dioxide, PM2.5, and PM10.
  • Retrieve historical weather for a specified date, with the README describing historical coverage for the last five days.
  • Search for locations by name and return matching names, regions, countries, and coordinates.
  • Retrieve weather alerts with sender, event, timing, description, and tags.

Responses are structured data. If a request fails, the tools return an error message, such as when a location cannot be found.

How it works

The process runs on the user’s machine and communicates with Claude Desktop through its MCP configuration. Claude sends a tool request, and the Python application queries the corresponding OpenWeatherMap service before returning the result.

Location search can be used to resolve a name into coordinates when several places share the same name. Other operations return location metadata alongside the requested weather information. The README also gives examples of asking Claude Desktop to compare weather or air quality across multiple cities, although each underlying lookup still depends on the OpenWeatherMap API.

Setup and configuration

SaintDoresh/Weather-MCP-ClaudeDesktop requires Python 3.10 or newer. Install the repository dependencies with:

Terminal
pip install -r requirements.txt

An OpenWeatherMap API key is required. The documented configuration uses a .env file containing OPENWEATHER_API_KEY, with the application loading that value through python-dotenv. The README instructs users to update main.py to load the environment variable instead of keeping the key directly in the source. The key should not be committed to version control, and the project recommends adding .env to .gitignore.

Claude Desktop must be configured with an MCP server entry that launches the project’s main.py using Python. The example uses py -3.13 and an absolute path to the script. The server must remain running while Claude Desktop uses it. New OpenWeatherMap keys may take up to 24 hours to activate.

Limitations and notes

API availability and request frequency are governed by OpenWeatherMap. An invalid or inactive key can produce a 401 error.

The repository is intended specifically for Claude Desktop integration. The provided configuration uses a local stdio-style process rather than a hosted endpoint. The project is released under the MIT License, while OpenWeatherMap access remains subject to that service’s account terms and API limits.

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 ClaudeDesktop

Install Python 3.10 or newer, run `pip install -r requirements.txt`, configure an OpenWeatherMap API key, and add the local `main.py` process to Claude Desktop’s MCP settings.

Yes. The repository is designed for Claude Desktop and documents an MCP configuration that launches `main.py` with Python.

It needs an OpenWeatherMap API key, configured through the `OPENWEATHER_API_KEY` environment variable.

It provides tools for current weather, forecasts, air quality, historical weather, location search, and weather alerts.

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 ClaudeDesktop AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/saintdoresh-weather-mcp-claudedesktop?style=directory)](https://allmcps.com/mcp/saintdoresh-weather-mcp-claudedesktop)
HTML Embed
<a href="https://allmcps.com/mcp/saintdoresh-weather-mcp-claudedesktop"><img src="https://allmcps.com/api/badge/saintdoresh-weather-mcp-claudedesktop?style=directory" alt="Weather MCP ClaudeDesktop on AllMCPs" /></a>