trackmcp
Back to directory
melody26613

mcp-server-fetch-wttr

View on GitHub

A Model Context Protocol (MCP) server that fetches weather data from wttr.

2 stars PythonOthers Updated Jul 24, 2026

Documentation

# Fetch weather from the wttr MCP Server

A Model Context Protocol (MCP) server that fetches weather data from wttr, with reference code from the duckduckgo-mcp-server.

## Installation

### Installing via docker

bash
./build_docker_image.sh

## Usage

With following configuration:

json
{
    "mcpServers": {
        "web_fetch_wttr": {
            "command": "docker",
            "args": [
                "run",
                "--rm",
                "-i",
                "--init",
                "web_fetch_wttr:1.0.0"
            ]
        }
    }
}

## Available Tools

### 1. Tool to get current weather

python
async def get_current_weather(city_name: str, ctx: Context) -> str

### 2. Tool to get three day's weather

python
async def get_three_day_weather(city_name: str, ctx: Context) -> str

## Testing

Tested by ollama models: llama3.2:3b-instruct-q2_K, qwen3:0.6b, qwen3:1.7b

Frequently asked questions

What is mcp-server-fetch-wttr?

mcp-server-fetch-wttr is A Model Context Protocol (MCP) server that fetches weather data from wttr.

How do I install mcp-server-fetch-wttr?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is mcp-server-fetch-wttr open source?

Yes — it is hosted on GitHub at https://github.com/melody26613/mcp-server-fetch-wttr and has 2 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP