weather-mcp

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
  1. get-current-weather

    Get current weather conditions

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

  1. Clone the repository
  2. Install dependencies:
npm install
  1. 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