SuperAPIAI Directory

mcp-weather

github.com · AI developer platforms

Weather forecasts via the AccuWeather API.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose: mcp-weather is a Model Context Protocol (MCP) server that enables large language models (such as Claude) to access AccuWeather's real-time weather data for answering weather-related questions.

Main capabilities: Provides hourly forecasts for the next 12 hours, and daily forecasts for up to 15 days; supports metric (°C, default) and imperial (°F) units; allows viewing temperature, weather conditions, precipitation, and other information.

Available tools: weather-get_hourly, with parameters location (required, city or place name), units (optional, metric or imperial); weather-get_daily, with parameters location (required), days (optional, 1, 5, 10, or 15, default 5), units (optional).

Usage: Requires an AccuWeather API key (a free tier is available); register and create an app to obtain the key, then set it as the environment variable ACCUWEATHER_API_KEY. After cloning the repository, run npm install and npm run build. It can also be accessed via HTTP/REST through supergateway. In Claude Desktop, add the MCP server configuration in claude_desktop_config.json, with the command as npx, the argument as -y @timlukahorstmann/mcp-weather, and the key filled in under env; after restarting, it will be enabled and you can ask questions.

Use cases: Query hourly or daily weather forecasts for a specified city in MCP-supported clients, for example asking about New York's hourly weather, London's 5-day forecast, Tokyo's temperature in Fahrenheit this week, or whether it will rain in San Francisco tomorrow.

Limitations: Depends on the AccuWeather API key and network; hourly forecasts cover only the next 12 hours, and daily forecasts cover up to 15 days; longer hourly forecasts, weather alerts, location autocomplete, and historical data planned for the future are not yet available. The project uses the MIT license.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools