MCP Directory

MCP Weather Server

Hourly and daily weather forecasts for LLMs via the AccuWeather API.

Unverified
stdio (local)
API key
Stale
TypeScript

Add to your client

Copy the config for your MCP client and paste it into its config file.

Install / run
npx -y @timlukahorstmann/mcp-weather

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

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

Step-by-step guides: Add to Claude Desktop · Add to Cursor · Add to Windsurf

Before you start

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

About MCP Weather Server

MCP Weather Server lets large language models access real-time weather data through the AccuWeather API. Once integrated with an LLM, it can fetch accurate, up-to-date forecasts: hourly weather for the next 12 hours and daily forecasts for up to 15 days, in metric or imperial units, including temperature, conditions, and precipitation details. It is published as an npm package and runs over stdio for clients like Claude Desktop, with optional HTTP/SSE access through supergateway.

Tools & capabilities (2)

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).

When to use it

  • Ask an LLM for the hourly weather forecast for a given city
  • Get a multi-day (up to 15-day) daily forecast for a location
  • Check whether it will rain in a specific city tomorrow
  • Retrieve forecasts in either Celsius or Fahrenheit

Security notes

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 FAQ

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.

Alternatives to MCP Weather Server

Compare all alternatives →

Official MCP reference server that fetches a URL and returns its content as clean Markdown, with chunking.

Verified
stdio (local)
No auth
Python
2 tools
Updated 20 days agoRepo

Official Firecrawl MCP server — scrape, crawl, map, search, and structured extraction for any LLM client.

Verified
stdio (local)
API key
TypeScript
8 tools
Updated 18 days agoRepo

Exa's neural web search and crawling MCP server — runs locally via npx or as a hosted remote endpoint.

Verified
stdio (local)
API key
TypeScript
6 tools
Updated 19 days agoRepo