Skip to main content
Glama
wudongjie

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

Related MCP server: Weather MCP Server

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.

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Enables AI agents to access real-time and historical weather data through multiple weather APIs including OpenMeteo, Tomorrow.io, and OpenWeatherMap. Provides comprehensive meteorological information including current conditions, forecasts, historical data, and weather alerts.
    Last updated
  • F
    license
    -
    quality
    D
    maintenance
    Enables AI assistants to fetch current weather conditions and forecasts for any city using the Open-Meteo API. Provides temperature, precipitation, and hourly forecast data through natural language queries.
    Last updated
  • A
    license
    -
    quality
    D
    maintenance
    Provides real-time weather data and forecasts for locations worldwide using the OpenWeatherMap API. It enables AI assistants to retrieve current conditions, temperature, and forecasts through a simple tool-based interface.
    Last updated
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Exposes public weather and climate data through a standardized API, allowing AI agents to retrieve current conditions, 7-day forecasts, and historical data. It enables weather-aware automation and data enrichment for conversational agents and travel planning.
    Last updated

View all related MCP servers

Related MCP Connectors

  • US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.

  • US weather, alerts, earthquakes and elevation for AI agents, from NWS/NOAA and USGS. No API keys.

  • Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.

View all MCP Connectors

Latest Blog Posts

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