Wttr Weather
Fetches weather data from the wttr.in service.
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
Related Servers
ArtistLens
Access the Spotify Web API to search and retrieve information about tracks, albums, artists, and playlists.
PubMed MCP Server
A server for searching, retrieving, and analyzing articles from the PubMed database.
Baidu Search
A search server for the Model Context Protocol (MCP) that uses the Baidu Wenxin API.
SerpApi
Retrieve parsed search engine results using the SerpApi API.
arXiv Search
A server for searching academic papers and preprints on arXiv.org.
Ticketmaster
Discover events, venues, and attractions using the Ticketmaster Discovery API.
Obsidian Omnisearch
Search your Obsidian vault using the Omnisearch plugin via a REST API.
OpenStreetMap
Enhances LLMs with location-based services and geospatial data from OpenStreetMap.
Rememberizer MCP Server for Common Knowledge
Access and search personal or team knowledge repositories, including documents and Slack discussions, using semantic search and retrieval tools.
Weather MCP Server
Query 24-hour weather forecasts and city information by city name or coordinates.