# Openweather

Hands your coding agent current conditions and a 5-day outlook for any city, using the free OpenWeatherMap API.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI
- Author: mschneider82
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/mschneider82/mcp-openweather
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/openweather

## What it does

The agent gets a single tool, `weather`. Name a city and it comes back with the present conditions and a five-day forecast: temperature, feels-like, pressure, humidity, wind, sunrise and sunset, followed by forecast points by time.

Only `city` is required. Units (`c`, `f`, `k`) and the response language are optional fields, so the same server answers in Celsius or Fahrenheit. The OpenWeatherMap key goes into `OWM_API_KEY`; launch the binary without it and the process stops with a fatal message about the unset variable.

Build it yourself with `go build -o mcp-weather`, which needs Go 1.20+ on the machine. A place the API cannot match comes back as a `city not found` error, so write city names the way the service recognises them.

## Requirements
- Needs: Docker

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- check conditions in a city without leaving the editor
- pull a 5-day forecast into a trip plan
- get temperatures in Fahrenheit or Kelvin for a calculation
- request conditions in German for a localised report
- add a weather tool to Cursor or Zed

## Example prompts
- What's the weather in Berlin right now?
- Give me the 5-day forecast for Munich in Fahrenheit
- Check conditions for Berlin, Prague and Vienna in Celsius

## Similar
- [weather-impact-analysis](https://affpapa.org/en/nevibecode/skills/weather-impact-analysis.md) — skill · 120 installs
- [Meteomatics](https://affpapa.org/en/nevibecode/mcp/meteomatics.md) — MCP server · 8018 installs
- [connector-weatherapi](https://affpapa.org/en/nevibecode/skills/connector-weatherapi.md) — skill · 11400 installs
- [qveris](https://affpapa.org/en/nevibecode/skills/qveris.md) — skill · 484 installs
- [free-apis-catalog](https://affpapa.org/en/nevibecode/skills/free-apis-catalog.md) — skill · 191 installs
- [variflight-mcp](https://affpapa.org/en/nevibecode/mcp/variflight-mcp.md) — MCP server · ★ 34 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
