Skip to main content
Glama

Weather MCP Server

by wudongjie

Weather MCP Server

A Model Context Protocol server that provides real-time weather information and forecasts.

This MCP server connects AI assistants with live weather data, enabling them to provide current weather conditions and multi-day forecasts for any location worldwide.

Features

Tools

  • fetch-weather - Get current weather conditions for any city
    • Real-time temperature, humidity, wind, and atmospheric data
    • Air quality information included
    • Detailed weather descriptions
  • fetch-weather-forecast - Get weather forecasts up to 10 days ahead
    • Daily high/low temperatures
    • Precipitation chances and weather conditions
    • Wind speeds and humidity levels
    • Weather alerts and warnings when available

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "Weather-mcp": { "env": { "WEATHER_API_KEY": "xxx" }, "command": "node", "args": ["/your/path/to/mcp-weather/build/index.js"] } } }

You'll need to obtain a free API key from WeatherAPI.com and set it in your environment configuration.

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Provides real-time weather information and forecasts, connecting AI assistants with live weather data for current conditions and multi-day forecasts for any location worldwide.

  1. Features
    1. Tools
  2. Development
    1. Installation
      1. Debugging

    Related MCP Servers

    • -
      security
      F
      license
      -
      quality
      A standardized API server that enables AI agents and client applications to fetch current weather information for any location without directly interacting with external weather APIs.
      Last updated -
      Python
      • Apple
      • Linux
    • A
      security
      F
      license
      A
      quality
      Provides real-time weather forecasts and alerts by fetching data from the National Weather Service API, allowing Claude to answer weather-related questions with up-to-date information.
      Last updated -
      2
      Python
      • Apple
    • -
      security
      F
      license
      -
      quality
      Provides weather forecast and alert data for US locations through the National Weather Service API, enabling access to real-time weather alerts by state and detailed forecasts by coordinates.
      Last updated -
      JavaScript
    • A
      security
      F
      license
      A
      quality
      Enables AI assistants to access real-time US weather forecasts and alerts through the National Weather Service API.
      Last updated -
      2
      14
      TypeScript

    View all related MCP servers

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/wudongjie/mcp-weather'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server