Skip to main content
Glama
melody26613

Fetch Weather from wttr

by melody26613

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

./build_docker_image.sh

Usage

With following configuration:

{
    "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

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

2. Tool to get three day's weather

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

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/melody26613/mcp-server-fetch-wttr'

If you have feedback or need assistance with the MCP directory API, please join our Discord server