
What is mcp-weather
mcp-weather is a straightforward server developed by adhikasp that provides accurate and timely hourly weather forecasts. It leverages the power of the AccuWeather API to deliver up-to-date weather information, making it a reliable tool for users who need to keep track of weather conditions. As part of the Model Context Protocol (MCP) framework, it enables AI systems to securely connect and retrieve weather data, ensuring seamless integration with AI-driven applications.
How to Use mcp-weather
To get started with mcp-weather, you'll need to set up the server by following these simple steps:
-
Install Dependencies: Use
uv
to set up your environment and synchronize dependencies. Run the following commands in your terminal:uv venv uv sync
-
Configure Your API Key: Create a
.env
file in your project directory and insert your AccuWeather API key. This key is essential for accessing weather data through the API:ACCUWEATHER_API_KEY=your_api_key_here
-
Run the Server: Execute the server using the provided configuration. The setup involves specifying the command and arguments required to launch the server:
{ "mcpServers": { "weather": { "command": "uvx", "args": ["--from", "git+https://github.com/adhikasp/mcp-weather.git", "mcp-weather"], "env": { "ACCUWEATHER_API_KEY": "your_api_key_here" } } } }
Once the server is running, you can access weather forecasts and current conditions through its API.
Key Features of mcp-weather
mcp-weather offers several noteworthy features that enhance its utility as a weather forecasting tool:
-
Current Weather Conditions: The server provides real-time weather data, including temperature, weather description, humidity, and precipitation status. This allows users to stay informed about the current weather in their location.
-
Hourly Weather Forecasts: Users can access detailed 12-hour forecasts that include:
- Temperature: Displayed in Celsius, helping users plan their day based on expected temperature changes.
- Weather Description: Provides a concise summary of expected weather conditions, such as "Partly sunny."
- Precipitation Details: Offers insights into the probability, type, and intensity of precipitation, aiding users in preparing for potential rain or other weather events.
With its user-friendly setup and comprehensive weather data, mcp-weather is an indispensable tool for anyone needing reliable hourly weather updates. Whether you're planning your day or developing AI applications requiring real-time weather data, mcp-weather ensures you have the information you need at your fingertips.
How to Use
To use the mcp-weather, follow these steps:
- Visit https://github.com/adhikasp/mcp-weather
- Follow the setup instructions to create an account (if required)
- Connect the MCP server to your Claude Desktop application
- Start using mcp-weather capabilities within your Claude conversations
Additional Information
Created
January 1, 2025
Company
Start building your own MCP Server
Interested in creating your own MCP Server? Check out the official documentation and resources.
Learn More