Weather MCP Server

weather-forecast-server: MCP server for weather forecast

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. weather-forecast-server: MCP server for weather forecast.

The short version

A Model Context Protocol (MCP) server for retrieving weather information using the wttr.in service.

This MCP server provides tools for accessing current weather conditions and forecasts for locations worldwide. It can be easily integrated with MCP clients, including Claude and other LLM applications supporting the MCP protocol.

  • Get current weather for any location
  • Get multi-day weather forecasts (up to 3 days)
  • Support for both Chinsee/English and other language location names
  • Easy integration with MCP client applications

Getting it running

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

The tools it exposes

The server publishes 1 tool. What each one is for:

  • get_weather — Get current weather conditions for a location (up to 3 days)

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.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

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. Weather's toolset — get_weather — is a fair guide to whether it matches your workflow. It is maintained by XuMing; 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.

Available tools

ToolWhat it does
get_weatherGet current weather conditions for a location (up to 3 days)

How to install the Weather MCP server

{
  "mcpServers": {
    "weather-forecast-server": {
      "command": "uvx",
      "args": ["weather-forecast-server"]
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Example prompts to try

  • Use Weather to get weather.

Frequently asked questions

It connects Weather to MCP-compatible AI assistants such as Claude and Cursor, exposing 1 tool (get_weather) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Weather directly.