Skip to main content
Glama
robertn702

OpenWeatherMap MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoServer port for HTTP transport3000
MCP_ENDPOINTNoHTTP endpoint path/stream
MCP_TRANSPORTNoTransport type: stdio or httpStreamstdio
OPENWEATHER_API_KEYNoYour OpenWeatherMap API key (required for stdio transport only)

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
get-current-weatherC

Get current weather conditions for a location

get-weather-forecastC

Get weather forecast for up to 5 days

get-hourly-forecastB

Get hourly weather forecast for up to 48 hours

get-daily-forecastC

Get daily weather forecast for up to 8 days

get-minutely-forecastC

Get minute-by-minute precipitation forecast for next hour

get-weather-alertsC

Get active weather alerts and warnings

get-current-air-pollutionC

Get current air quality data

get-location-infoB

Get location information from coordinates (reverse geocoding)

get-onecall-weatherC

Get comprehensive weather data (current + 7-day forecast)

get-air-pollutionC

Get air quality index and pollution data

geocode-locationC

Convert location name to coordinates or vice versa

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
OpenWeatherMap API Documentation

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/robertn702/mcp-openweathermap'

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