Weather MCP Server

A simple minimal weather mcp server :)

Local serverstdioPython

What is the Weather MCP server?

Most developer tooling work still happens through a UI a human drives. Weather MCP server moves it into the conversation instead. A simple minimal weather mcp server :).

The short version

A Model Context Protocol (MCP) server for weather data, built with FastAPI and the MCP framework. This server provides various weather-related tools that can be used by AI assistants to retrieve current weather conditions, forecasts, air quality data, and more.

  • Current weather conditions
  • Weather forecasts (1-14 days)
  • Historical weather data
  • Weather alerts
  • Air quality information
  • Astronomy data (sunrise, sunset, moon phases)

Getting it running

Installation goes through your MCP client rather than a global install: point it at @smithery/cli on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

What it needs from you

Configuration is passed through the environment: WEATHER_API_KEY. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

How it compares

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by devilcoder01; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Weather's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Things to watch

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

How to install the Weather MCP server

{
  "mcpServers": {
    "weather-mcp-server-devilcoder01": {
      "command": "npx",
      "args": ["-y", "@smithery/cli"],
      "env": {
        "WEATHER_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
WEATHER_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

Python 3.13+, the `uv` package manager, and a WeatherAPI key.