MCP Weather Server logo

MCP Weather Server

by TimLukaHorstmann

The MCP Weather Server is a Model Context Protocol (MCP) server that provides hourly and daily weather forecasts using the AccuWeather API. It allows large language models to access real-time weather data.

View on GitHub

Last updated: N/A

What is MCP Weather Server?

This MCP server provides hourly and daily weather forecasts using the AccuWeather API, enabling large language models to access real-time weather data.

How to use MCP Weather Server?

To use the server, you need an AccuWeather API key. Export the key as an environment variable and then run the server using npx -y @timlukahorstmann/mcp-weather. For integration with Claude Desktop, add the provided configuration to your claude_desktop_config.json.

Key features of MCP Weather Server

  • Fetch accurate, up-to-date weather forecasts

  • Provide hourly weather data for the next 12 hours

  • Access daily weather forecasts for up to 15 days

  • Display data in both metric (°C) and imperial (°F) units

Use cases of MCP Weather Server

  • Integrating weather data into LLM applications

  • Enabling LLMs to answer weather-related questions

  • Providing context-aware weather information to users

  • Generating weather-based reports and summaries

FAQ from MCP Weather Server

What is the required Node.js version?

Node.js version 18 or higher is required.

How do I get an AccuWeather API key?

Register at the AccuWeather API developer portal and create a new app to obtain an API key.

How do I configure Claude Desktop to use this server?

Add the provided MCP server configuration to your claude_desktop_config.json file in Claude Desktop settings.

What units are used for temperature by default?

The default unit is metric (Celsius).

What is the maximum number of days for the daily forecast?

The maximum number of days for the daily forecast is 15.