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:
- Install the MCP client SDK for your platform
- Connect to the Weather MCP server
- Authenticate with your Weather credentials
- 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-weatherpip
pip install mcp-server-weatherCompatible With
Claude Desktop
Cursor
Windsurf
Zed
Any MCP-compatible client