Labsco
MCP SERVER

Weather MCP Server

by CodeByWaqas

Current conditions for a place, pulled from OpenWeatherMap in metric units.

Weather & Environmental Conditions
Summary
One job, one key, metric only.

There is no unit switch and no forecast horizon to configure — it returns current conditions in metric, which is either exactly what you wanted or a conversion away. The one decision is where the key lives: the client `env` block keeps it out of the repository, the `.env` file is easier when several things share it.

What it is

A small weather server backed by the OpenWeatherMap API. Ask about a location and it returns the live reading rather than a forecast page: temperature, humidity, wind speed, sunrise and sunset times, and the conditions description.

What you get
  • Real-time weather for a location, returned as structured fields
  • Temperature in metric units — no unit argument to remember
  • Humidity and wind speed alongside it
  • Sunrise and sunset times for the location
  • The weather description in words, so an assistant can quote it directly
Requirements

Python 3.12 or higher and a free OpenWeatherMap API key. Published as weather-mcp-server version 0.1.0. The Smithery one-liner is `npx -y @smithery/cli install @CodeByWaqas/weather-mcp-server --client claude`; by hand, clone the repo, create a virtual environment, `pip install -e .`, then register `uv` with `--directory` pointing at `src/resources`, followed by `run` and `server.py`, with `WEATHER_API_KEY` in the entry's `env`. The key can also live in `src/resources/.env`.

Setup effort

One command plus a key — npx -y @smithery/cli install @CodeByWaqas/weather-mcp-server --client claude, then supply credentials