MCP Weather Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Weather Server what's the forecast for Tokyo this week?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Weather Server
A Model Context Protocol server exposing three weather tools over the free Open-Meteo API, for use with Claude Desktop or any MCP client.
Tools
Tool | Description |
| Current temperature, feels-like, precipitation, wind |
| Daily highs, lows, and precipitation, 1–16 days ahead |
| Past conditions for a given date (archive lags ~5 days) |
City names are resolved to coordinates via Open-Meteo's geocoding endpoint, so tools take plain names rather than lat/long. No API key required.
Related MCP server: mcp-weather
Setup
uv venv
source .venv/bin/activate
uv add "mcp[cli]" httpxUse with Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"weather": {
"command": "/absolute/path/to/.venv/bin/python",
"args": ["/absolute/path/to/weather.py"]
}
}
}Restart Claude Desktop. Both paths must be absolute.
Notes
Built against MCP Python SDK v2 (MCPServer, formerly FastMCP). Runs over
stdio, so the client launches the server as a subprocess.
Known limitations
No retry or timeout handling on the upstream API; a network failure surfaces as a tool error rather than a graceful message.
Unknown city names return a message, but ambiguous ones silently take the first geocoding match.
Available Tools
3 toolsget_current_weatherB
Get current weather conditions for a city.
Args: city: Name of the city, e.g. "Toronto" or "London, Ontario"
Inputs: city (required). Returns: result
get_forecastA
Get a multi-day weather forecast for a city.
Args: city: Name of the city, e.g. "Toronto" days: How many days ahead to forecast, 1 to 16. Defaults to 3.
Inputs: city (required), days. Returns: result
get_historicalA
Look up past weather for a city on a specific date.
Args: city: Name of the city, e.g. "Toronto" date: The date in YYYY-MM-DD format. Must be at least 5 days in the past.
Inputs: city (required), date (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a distinct temporal scope: current, forecast, and historical weather. There is no overlap or ambiguity between them.
All tools follow the same verb_noun pattern (get_ + descriptor) with consistent parameter naming for city, making them predictable.
Three tools cover the core weather server domain—current conditions, forecasts, and historical data—without unnecessary bloat or missing essentials.
The tool surface provides full coverage for typical weather queries: current, future, and past. No obvious gaps exist for a server of this scope.
Maintenance
Related MCP Connectors
Hosted MCP server for Xweather weather data: conditions, forecasts, alerts, and more.
Unofficial OpenWeather MCP — wraps the OpenWeatherMap API (openweathermap.org)
WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)
MCP server for current weather and multi-day forecasts worldwide, Chinese city names and output.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides current weather information and forecasts for major cities through MCP tools and resources. Supports getting weather data, multi-day forecasts, and listing available cities with mock data for demonstration purposes.-
- AlicenseNot gradedqualityDmaintenanceEnables to interact with comprehensive weather data through the MCP protocol, including current conditions, multi-day forecasts, hourly forecasts, and geocoding.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to query current weather for specified cities via MCP.MIT
- AlicenseAqualityDmaintenanceEnables MCP clients to search for locations, fetch weather forecasts, and retrieve forecast meteogram images through the meteoblue Weather API.317 npm1MIT