Weather Mcp

io.github.darshan0548Published by GitHub account darshan0548v1.1.0Updated Nov 1, 2026

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

VerifiedStreamable HTTPWeb executableLocation & LifestyleWeb Search & Scraping

Overview

AI-generated overview

Remote MCP server that gives an assistant live weather for a city plus plain-language advice on umbrellas, outdoor plans and city comparisons.

What you can do
  • Get current conditions and today's forecast for a city
  • Get a yes/no umbrella recommendation with reasoning
  • Judge whether today's weather suits a walk or run outdoors
  • Compare current weather between two cities
  • Read background on who built the server and why
When to use it
Useful when you want an assistant to answer everyday weather questions with a recommendation rather than raw numbers, such as whether to take an umbrella or go for a run, or how two cities compare right now.
Requirements
A remote streamable HTTP endpoint; no authentication, API keys or environment variables are declared. The underlying weather data comes from Open-Meteo, which the README says needs no API key, so network access is required.
Before you install
Weather data is fetched from a third-party service (Open-Meteo) through the hosted endpoint, so city names you ask about are sent outside your machine. The endpoint is hosted on a free-tier platform, so availability may vary. No credentials are requested.

Installation

In SourceWeft

  1. Open Weather Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.darshan0548%2Fweather-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "weather": {
      "type": "http",
      "url": "https://weather-mcp-2yhb.onrender.com/mcp"
    }
  }
}

README

weather-mcp

An MCP (Model Context Protocol) server that lets an AI assistant Claude, Gemini CLI, or any MCP-compatible client answer real weather questions using live data, instead of just fetching raw numbers.

Powered by Open-Meteo — free, no API key required.

Why this isn't just a raw weather API wrapper

Most weather integrations just return temperature: 22°C. This one adds a reasoning layer on top, so you can ask things a plain API can't answer directly:

  • get_weather("Bangalore") — current conditions + today's forecast
  • should_i_carry_umbrella("Mumbai") — a yes/no answer with reasoning, not just a rain percentage
  • is_good_for_outdoors("Delhi") — checks rain, wind, and temperature together to judge if it's a good day to be outside
  • compare_weather("Bangalore", "Delhi") — compares two cities at once

Setup

bash
git clone https://github.com/darshan0548/weather-mcp.gitcd weather-mcppython3 -m venv venvsource venv/bin/activate   # on Windows: venv\Scripts\activatepip install -r requirements.txt

Running the tests

A quick sanity check against the real API (no mocking, no API key needed):

bash
python test_weather.py

Connecting it to Claude Desktop

Add this to your Claude Desktop config (claude_desktop_config.json):

json
{  "mcpServers": {    "weather": {      "command": "python",      "args": ["/absolute/path/to/weather-mcp/server.py"]    }  }}

Connecting it to Gemini CLI

Add this to ~/.gemini/settings.json:

json
{  "mcpServers": {    "weather": {      "command": "python",      "args": ["/absolute/path/to/weather-mcp/server.py"]    }  }}

Restart your client, then just ask it something like "should I carry an umbrella in Chennai today?"

Project structure

weather_core.py     # talks to the Open-Meteo API, no MCP-specific codeweather_advice.py    # reasoning layer built on top of raw weather dataserver.py            # MCP server — wires the above into toolstest_weather.py       # sanity tests against the real API

Kept as separate files on purpose — weather_core.py and weather_advice.py have no MCP dependency at all, so they're easy to test or reuse on their own.

Contributing

PRs welcome. Some ideas if you want to add a tool:

  • Hourly forecast breakdown instead of just today's summary
  • Air quality data (Open-Meteo has a free endpoint for this too)
  • Multi-day trip planning (best day this week for an outdoor event)
  • Severe weather alerts

Keep new tools in weather_advice.py if they add reasoning on top of raw data, or weather_core.py if they're pure data fetching — then wire them into server.py as a new @mcp.tool().

License

MIT — see LICENSE.

Source: README.md at commit 817746d

Tools

5

get_weather

Get the current weather and today's forecast for a city.

Parameterscityrequired

should_i_carry_umbrella

Get a yes/no recommendation on carrying an umbrella today, with reasoning.

Parameterscityrequired

is_good_for_outdoors

Check if today's weather is good for outdoor activities like a walk or run.

Parameterscityrequired

compare_weather

Compare current weather between two cities.

Parameterscity_arequiredcity_brequired

about

Get information about who built this MCP server and why.

Takes no parameters.

Version history

1
  1. v1.1.0LatestSep 16, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts