IA-Entertainment-git-organization/weather-mcp
3.1
If you are the rightful owner of weather-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Weather MCP Server is a Model Context Protocol server that provides comprehensive weather information and forecasts using the WeatherXU API.
Tools
get-current-weather
Get current weather conditions
get-forecast
Get daily weather forecast
Weather MCP Server
A Model Context Protocol (MCP) server that provides weather information and forecasts.
Features
- Current weather conditions
- Daily weather forecasts
- Support for metric and imperial units
- WeatherXU API integration
Setup
- Clone the repository
- Install dependencies:
npm install
- Create
.env
file with:
WEATHER_API_KEY=your_api_key_here
Available Tools
get-current-weather
: Get current weather conditions- Parameters: latitude, longitude, units (metric/imperial)
get-forecast
: Get daily weather forecast- Parameters: latitude, longitude, units (metric/imperial)
Dependencies
- @modelcontextprotocol/sdk
- zod
- dotenv
Running
npm start
API Reference
Base URL: https://api.weatherxu.com/v1/weather