MCP Weather Server is an MCP server that connects AI assistants to the AccuWeather API to provide real-time meteorological observations and short-term forecasts. It enables developers, data analysts, and everyday AI users to retrieve current ambient conditions and hourly weather trends directly inside their Model Context Protocol client environments. By bridging conversational agents with AccuWeather data, the server eliminates the need to leave chat workflows to inspect outdoor temperatures, atmospheric humidity, and rain probabilities. Users can check live metrics such as current temperature in Celsius, descriptive weather summaries, relative humidity percentages, and precipitation states for specific cities. Additionally, the server exposes detailed 12-hour projections that break down conditions on an hour-by-hour basis, highlighting upcoming temperature fluctuations, precipitation probabilities, precipitation categories like rain, and expected intensity levels. This automated meteorological access helps conversational assistants execute schedule planning, alert users to impending storms, optimize outdoor logistics, and enrich personal agent interactions without manual browsing.
Category: Maps, Weather & Local Data
Tags: accuweather, forecast, meteorology, weather
mcpServers definition using uvx: json { "mcpServers": { "weather": { "command": "uvx", "args": ["--from", "git+https://github.com/adhikasp/mcp-weather.git", "mcp-weather"], "env": { "ACCUWEATHER_API_KEY": "your_api_key_here" } } } } 4. Alternatively, clone the repository and run uv venv followed by uv sync, then create a .env file containing ACCUWEATHER_API_KEY=your_api_key_here. 5. Restart your client to connect to the server.Part of MCP Servers
MCP Weather Server connects Model Context Protocol clients to the AccuWeather API. It allows AI models to query current weather conditions including temperature in Celsius, relative humidity, and precipitation status. It also fetches a 12-hour forecast detailing hour-by-hour relative time, temperature changes, weather descriptions, precipitation probabilities, precipitation types, and precipitation intensity for specified locations.
You can run the server directly using uvx without a manual installation step. In your MCP client configuration file, add the weather server entry under mcpServers, specifying uvx as the command, passing the git repository URL via the from flag, and providing your AccuWeather API key under the environment variables. Alternatively, you can set up the repository with uv sync.
MCP Weather Server works with any client implementing the Model Context Protocol that supports standard input and output server execution. Compatible clients include Claude Desktop, Cursor, and custom agent frameworks that support stdio transport. You only need to configure the server command and environment variables in the respective client settings file.
You need an active AccuWeather API key to use the server. You can acquire a developer key by creating an account on the AccuWeather developer portal. Once obtained, set the key as the ACCUWEATHER_API_KEY environment variable in your client configuration or inside a local environment file.