get_weather
Get the current weather and today's forecast for a city.
cityrequired
io.github.darshan0548Published by GitHub account darshan0548v1.1.0Updated Nov 1, 2026
MCP server for weather with reasoning — umbrella advice, outdoor checks, city comparisons.
Remote MCP server that gives an assistant live weather for a city plus plain-language advice on umbrellas, outdoor plans and city comparisons.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
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.Add this to your client's mcpServers config.
{
"mcpServers": {
"weather": {
"type": "http",
"url": "https://weather-mcp-2yhb.onrender.com/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.
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 forecastshould_i_carry_umbrella("Mumbai") — a yes/no answer with reasoning, not just a rain percentageis_good_for_outdoors("Delhi") — checks rain, wind, and temperature together to judge if it's a good day to be outsidecompare_weather("Bangalore", "Delhi") — compares two cities at onceA quick sanity check against the real API (no mocking, no API key needed):
Add this to your Claude Desktop config (claude_desktop_config.json):
Add this to ~/.gemini/settings.json:
Restart your client, then just ask it something like "should I carry an umbrella in Chennai today?"
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.
PRs welcome. Some ideas if you want to add a tool:
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().
MIT — see LICENSE.
Source: README.md at commit 817746d
Get the current weather and today's forecast for a city.
cityrequiredGet a yes/no recommendation on carrying an umbrella today, with reasoning.
cityrequiredCheck if today's weather is good for outdoor activities like a walk or run.
cityrequiredCompare current weather between two cities.
city_arequiredcity_brequiredGet information about who built this MCP server and why.
Takes no parameters.
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.
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.txtpython test_weather.py{ "mcpServers": { "weather": { "command": "python", "args": ["/absolute/path/to/weather-mcp/server.py"] } }}{ "mcpServers": { "weather": { "command": "python", "args": ["/absolute/path/to/weather-mcp/server.py"] } }}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