MCP Directory

How to add MCP Weather Server to Claude Desktop

Hourly and daily weather forecasts for LLMs via the AccuWeather API. Paste the config into ~/Library/Application Support/Claude/claude_desktop_config.json and restart Claude Desktop.

Last updated June 14, 2026 ยท 32โ˜… ยท stdio ยท apikey

Claude Desktop config for MCP Weather Server

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

Setup steps

  1. 1Open Claude Desktop โ†’ Settings โ†’ Developer โ†’ Edit Config (this opens ~/Library/Application Support/Claude/claude_desktop_config.json).
  2. 2Paste the MCP Weather Server config below under the top-level "mcpServers" key.
  3. 3Fill in any placeholder secrets (API keys, paths) in the snippet.
  4. 4Save the file, then fully quit and reopen Claude Desktop.
  5. 5Open a chat and confirm MCP Weather Server's tools appear under the ๐Ÿ”Œ tools menu.

Before you start

  • Node.js >= 18
  • An AccuWeather API key (free tier available, set via ACCUWEATHER_API_KEY)

What MCP Weather Server can do in Claude Desktop

weather-get_hourly

Provides hourly weather forecasts for the next 12 hours. Parameters: location (required, city or location name); units (optional, 'metric' for Celsius (default) or 'imperial' for Fahrenheit).

weather-get_daily

Provides daily weather forecasts for up to 15 days. Parameters: location (required, city or location name); days (optional, number of forecast days โ€” 1, 5, 10, or 15; default 5); units (optional, 'metric' for Celsius (default) or 'imperial' for Fahrenheit).

Security

Requires an AccuWeather API key supplied via the ACCUWEATHER_API_KEY environment variable (free tier available). Keep your API key private and do not commit it to source control.

MCP Weather Server + Claude Desktop FAQ

Where is the Claude Desktop config file?

Claude Desktop reads MCP servers from ~/Library/Application Support/Claude/claude_desktop_config.json. Paste the MCP Weather Server config there under the "mcpServers" key and restart the client.

Is MCP Weather Server safe to use with Claude Desktop?

Requires an AccuWeather API key supplied via the ACCUWEATHER_API_KEY environment variable (free tier available). Keep your API key private and do not commit it to source control.

Do I need an API key?

Yes. You need an AccuWeather API key, which has a free tier. Sign up at developer.accuweather.com, create an app to get your key, and provide it via the ACCUWEATHER_API_KEY environment variable.

How far ahead can it forecast?

Hourly forecasts cover the next 12 hours, and daily forecasts cover up to 15 days (selectable as 1, 5, 10, or 15 days).

Can I access it over HTTP instead of stdio?

Yes. The README shows how to expose it over HTTP/REST (SSE) using supergateway, wrapping the stdio server and serving it on a configurable port.

View repo Full MCP Weather Server page