A Model Context Protocol (MCP) server that provides hourly and daily weather forecasts using the AccuWeather API.
https://github.com/TimLukaHorstmann/mcp-weatherStop hardcoding weather responses or scraping unreliable data. This MCP server gives your AI models direct access to AccuWeather's professional-grade forecasts with zero API complexity.
Your AI applications need real-time weather data, but you don't want to:
This MCP server handles all of that. Your AI gets clean, structured weather data through simple tool calls.
Instant Integration: One npx command gets you running with Claude Desktop
npx -y @timlukahorstmann/mcp-weather
Two Focused Tools:
weather-get_hourly: Next 12 hours with temperature, conditions, and precipitationweather-get_daily: Up to 15-day forecasts with detailed daily breakdownsSmart Defaults: Metric units, 5-day forecasts, and error handling built-in. Override when you need to.
Travel Planning Apps: "Should I pack a jacket for my trip to Portland next week?" Your AI pulls 7-day forecasts and gives specific packing advice.
Event Management: Building tools that help plan outdoor events? Your AI can assess weather risks and suggest backup dates automatically.
Agricultural Tools: Create farming assistants that check hourly forecasts for irrigation timing or harvest decisions.
Smart Home Integration: Connect with home automation to adjust heating/cooling based on upcoming weather patterns.
Drop this into your Claude Desktop config and you're done:
{
"mcpServers": {
"weather": {
"command": "npx",
"args": ["-y", "@timlukahorstmann/mcp-weather"],
"env": {
"ACCUWEATHER_API_KEY": "your_key_here"
}
}
}
}
Your AI can now answer questions like:
AccuWeather Quality: Professional-grade forecasts, not consumer weather widgets Free Tier Friendly: Uses AccuWeather's free developer tier (50 calls/min) Zero Maintenance: TypeScript-built with Zod validation and proper error handling Location Flexible: Works with city names - no coordinate lookup required
export ACCUWEATHER_API_KEY=your_key_here
npx -y @timlukahorstmann/mcp-weather
That's it. Your AI models now have weather superpowers.
The server handles location resolution, data normalization, and API quirks. You focus on building features that matter to your users.
Repository: TimLukaHorstmann/mcp-weather License: MIT NPM: @timlukahorstmann/mcp-weather