Skip to main content
Glama
Weather MCP Server

Weather MCP Server

by pallukurhade

β˜€οΈ Weather MCP Server

Real-time weather data for Claude β€” powered by Open-Meteo. No API key required.

🌍 Live UI β†’


What is this?

A Model Context Protocol (MCP) server that gives Claude the ability to fetch live weather and 5-day forecasts for any city in the world. Pair it with the included React UI for a standalone weather app.


Related MCP server: fetch-weather

MCP Tools

getWeather

Returns current conditions for a given city.

Parameter

Type

Description

city

string

Name of the city

Returns: condition, temperature (Β°C), humidity (%), wind speed (km/h)

getForecast

Returns a 5-day daily forecast.

Parameter

Type

Description

latitude

number

Latitude

longitude

number

Longitude

Returns: daily high/low, precipitation, wind, weather code


Quickstart

1. Install dependencies

npm install

2. Register with Claude Code

claude mcp add weather-example npx tsx /path/to/main.ts

3. Ask Claude about the weather

What's the weather in Tokyo?
Will it rain in London this week?
Is it cold in New York right now?

Web UI

A React + Tailwind app with live city search, animated weather icons, current conditions, and a 5-day forecast strip.

β†’ ui-plum-five-69.vercel.app

Run locally:

cd ui
npm install
npm run dev

How it works

Claude β†’ MCP tool call
           ↓
  Open-Meteo Geocoding API   (city name β†’ lat/lon)
           ↓
  Open-Meteo Forecast API    (lat/lon β†’ weather data)
           ↓
        Claude

Everything is free and open β€” no accounts, no keys, no rate limits for reasonable usage.


Requirements

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers