Back to MCP Directory
Weather
Model Context Protocol low risk

Weather

Provides real-time weather forecasts (hourly and daily) via the AccuWeather API, enabling LLMs to access current weather data for various locations.

Connections & Capabilities

Connects To

GitHub

Capabilities

read

Quickstart

Install

npx -y @timlukahorstmann/mcp-weather

Config

{
  "mcpServers": {
    "weather": {
      "command": "npx",
      "args": ["-y", "@timlukahorstmann/mcp-weather"],
      "env": {
        "ACCUWEATHER_API_KEY": "your_api_key_here"
      }
    }
  }
}

Exposed MCP Tools (2)

safe
weather-get_hourly

Retrieves the hourly weather forecast for a specified location for the next 12 hours.

Read-only operation; retrieves weather data without modifying any system state.

safe
weather-get_daily

Retrieves the daily weather forecast for a specified location for up to 15 days.

Read-only operation; retrieves weather data without modifying any system state.

Safety Assessment

This MCP server is relatively safe due to its read-only nature and reliance on a reputable weather API. However, proper handling of the AccuWeather API key is crucial. Rate limiting should be implemented to prevent excessive API usage and potential cost overruns.

  • Read-only access to weather data.
  • No user data is stored or modified.
  • Relies on a well-established weather API (AccuWeather).
  • Environment variable used for API key management.
  • Requires an external API key, which could be compromised if not handled securely.
  • Dependence on AccuWeather API availability and security.
  • Potential for excessive API calls if not rate-limited, leading to cost implications.
  • No input validation is mentioned, which could lead to unexpected behavior.