Weather

Community

Access real-time weather data for any location using the WeatherAPI.com API.

About Weather MCP Server

Weather is an MCP server in the Weather category. It exposes real-time weather, detailed forecasts, current conditions to connected AI applications, enabling them to interact with weather capabilities through the standardized Model Context Protocol.

Features

Real-time weather
Detailed forecasts
Current conditions

Category

Weather
Getting Started

To use the Weather MCP server in your AI application, follow these steps:

  1. Install the MCP client SDK for your platform
  2. Connect to the Weather MCP server
  3. Authenticate with your Weather credentials
  4. Start using the tools, resources, and prompts provided by the server

Example Code


// Connect to the Weather MCP server
const server = await mcp.connect("weather");

// List available tools
const tools = await server.tools.list();

// List available resources
const resources = await server.resources.list();

// List available prompts
const prompts = await server.prompts.list();
                      
Installation

npm

npm install @mcp/server-weather

pip

pip install mcp-server-weather
Compatible With
Claude Desktop
Cursor
Windsurf
Zed
Any MCP-compatible client