MCP Weather Server
Provides hourly weather forecasts and current conditions using the AccuWeather API.
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 Serverwhat's the hourly forecast for London?"
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 simple MCP server that provides hourly weather forecasts using the AccuWeather API.
Setup
Install dependencies using
uv:
uv venv
uv syncCreate a
.envfile with your AccuWeather API key:
ACCUWEATHER_API_KEY=your_api_key_hereYou can get an API key by registering at AccuWeather API.
Related MCP server: Weather MCP Server
Running the Server
{
"mcpServers": {
"weather": {
"command": "uvx",
"args": ["--from", "git+https://github.com/adhikasp/mcp-weather.git", "mcp-weather"],
"env": {
"ACCUWEATHER_API_KEY": "your_api_key_here"
}
}
}
}API Usage
Get Hourly Weather Forecast
Response:
{
"location": "Jakarta",
"location_key": "208971",
"country": "Indonesia",
"current_conditions": {
"temperature": {
"value": 32.2,
"unit": "C"
},
"weather_text": "Partly sunny",
"relative_humidity": 75,
"precipitation": false,
"observation_time": "2024-01-01T12:00:00+07:00"
},
"hourly_forecast": [
{
"relative_time": "+1 hour",
"temperature": {
"value": 32.2,
"unit": "C"
},
"weather_text": "Partly sunny",
"precipitation_probability": 40,
"precipitation_type": "Rain",
"precipitation_intensity": "Light"
}
]
}The API provides:
Current weather conditions including temperature, weather description, humidity, and precipitation status
12-hour forecast with hourly data including:
Relative time from current time
Temperature in Celsius
Weather description
Precipitation probability, type, and intensity
This server cannot be deployed
Maintenance
Related MCP Connectors
Provide real-time and forecast weather information for locations in the United States using natura…
Current weather and forecasts for any coordinates, backed b… — paid per call (x402/credits), 1 tools
Weather forecasts from MET Norway (Yr): geocoding plus hourly forecasts worldwide.
US weather for AI agents: active NWS alerts by state, 5-period forecasts by lat/lon. Paid per call.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides hourly weather forecasts using the AccuWeather API, enabling users to access current weather conditions and detailed 12-hour forecasts tailored to specific locations.136-
- FlicenseNot gradedqualityDmaintenanceEnables users to get current weather information for any city using the Open-Meteo API. Provides detailed meteorological data including temperature, precipitation, day/night status, and hourly forecasts through natural language queries.-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to fetch current weather conditions and forecasts for any city using the Open-Meteo API. Provides temperature, precipitation, and hourly forecast data through natural language queries.-
- FlicenseNot gradedqualityDmaintenanceProvides real-time weather forecasts for any global location using the UK Met Office DataHub API, with hourly, 3-hourly, and daily forecasts in Markdown or JSON.-