Skip to main content
Glama

IPMA Weather MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_weather_warnings

Get Portuguese meteorological warnings for up to 3 days.

Returns current active weather warnings (Avisos Meteorológicos) including: - Warning type (precipitation, wind, fog, maritime agitation, etc.) - Awareness level (green, yellow, orange, red) - Affected area - Start and end times
get_forecast

Get 5-day weather forecast for a Portuguese city (Previsão Meteorológica até 5 dias).

Args: city_name: Name of the Portuguese city (e.g. Lisboa, Porto, Faro, Aveiro, Braga) Returns detailed 5-day forecast including temperature, precipitation, wind, and weather type.
get_daily_aggregate_forecast

Get daily aggregated weather forecast for Portugal (Previsão Meteorológica até 3 dias, agregada por dia).

Args: day: Forecast day (0=today, 1=tomorrow, 2=day after tomorrow). Valid range: 0-2 Returns aggregated forecast for all Portuguese locations for the specified day.
get_seismic_data

Get seismic activity data for Portugal (Informação sismicidade, últimos 30 dias).

Args: region: Region to filter ('all', 'continente', 'açores', 'madeira'). Default is 'all' for all regions. Note: This endpoint returns the last 30 days of seismic information for Azores Archipelago, Continental Portugal, and Madeira Archipelago.
get_sea_forecast

Get sea state forecast for Portuguese coastal areas (Previsão Estado do Mar até 3 dias).

Args: location_name: Name of coastal location (e.g., 'Porto', 'Lisboa', 'Faro', 'Funchal', 'Leiria'). Leave empty to see all available locations. day: Forecast day (0=today, 1=tomorrow, 2=day after tomorrow). Valid range: 0-2 Returns sea state forecast including wave height, period, direction, and sea temperature.
get_fire_risk

Get fire risk forecast for Portugal (Previsão Risco de Incêndio até 2 dias).

Args: day: Forecast day (0=today, 1=tomorrow). Valid range: 0-1 Returns fire risk classification (RCM - Risco de Incêndio) for Portuguese municipalities. Fire risk levels: 1=Low, 2=Moderate, 3=High, 4=Very High, 5=Maximum
get_uv_forecast

Get UV index forecast for Portugal (Previsão Índice Ultravioleta até 3 dias).

Returns UV radiation index forecast for Portuguese locations. UV Index levels: - 0-2: Low - 3-5: Moderate - 6-7: High - 8-10: Very High - 11+: Extreme
get_station_observations

Get meteorological observations from weather stations (Observações últimas 24 horas).

Args: station_id: ID of the weather station. Leave empty to see all stations. Returns hourly meteorological observations from the last 24 hours including: - Temperature - Humidity - Pressure - Wind speed and direction - Precipitation - Radiation
list_available_cities

List all available Portuguese cities and islands for weather forecasts.

Returns a comprehensive list of all locations available in the IPMA database, including district capitals and islands (Madeira and Azores).
get_weather_type_descriptions

Get descriptions for all weather type codes used in forecasts.

Returns a mapping of weather type IDs to their Portuguese and English descriptions. This helps interpret the idWeatherType field in forecast data.

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/gabriel20vieira/ipma-mcp-server'

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