MCP Weather Server
Provides hourly weather forecasts using the AccuWeather API.
MCP Weather Server
A simple MCP server that provides hourly weather forecasts using the AccuWeather API.
Setup
- Install dependencies using
uv:
uv venv
uv sync
- Create a
.envfile with your AccuWeather API key:
ACCUWEATHER_API_KEY=your_api_key_here
You can get an API key by registering at AccuWeather API.
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
Related Servers
Remote MCP Proxy
A Docker-based proxy to access local MCP servers through Claude's web UI using the Remote MCP protocol.
Remote MCP Server (Authless)
A remote MCP server deployable on Cloudflare Workers, operating without authentication.
CoSense
An MCP server for interacting with the CoSense collaborative sensemaking platform, supporting public and private projects.
Remote MCP Server on Cloudflare
A remote MCP server deployable on Cloudflare Workers with OAuth login support for both local development and remote deployment.
Azure Data Catalog by CData
A read-only MCP server for Azure Data Catalog, powered by CData's JDBC driver.
ChartMogul
Access and manage ChartMogul data, including customers, plans, and analytics.
Remote MCP Server (Authless)
An authentication-free remote MCP server deployable on Cloudflare Workers or locally via npm.
Mezmo
Retrieve logs from the Mezmo observability platform.
Check Point Quantum Management
Exposes Check Point security management data for AI-powered automation and analysis.
Google Analytics
Access Google Analytics 4 (GA4) data using the Model Context Protocol.