LocoTiempo

moriano/LocoTiempo

3.2

If you are the rightful owner of LocoTiempo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

LocoTiempo is a basic MCP server that provides weather predictions for Spanish provinces using the AEM API.

LocoTiempo

This is possibly one of the most simple, sad and basic MCP servers out there, i am just practizing.

This MCP server uses the Spanish Bureau of Meteorology (AEM, Agencia Espanola de Meteorologia) to provide a way to get the weather prediction for any of the provinces of Spain (there are 50 of those).

The input is the name of the province in Spanish and the output will be the text, in Spanish, with the weather prediction. This requires an API key for the AEM Api, which can be obtained at https://opendata.aemet.es/centrodedescargas/inicio

You need to define an environment variable named AEM_API_KEY for this to work.

I have tested this with fast-agent, see


Last turn: 1,625 Input, 448 Output (1.0%) ^

default > What is the weather like in Badajoz?

β–Žβ–Ά default ─────────────────────────────────────────────────────────────────────────────────────────[claude-sonnet-4-0 turn 4]

What is the weather like in Badajoz?                                                                                          

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────


β–Žβ—€ default ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────

the assistant requested tool calls

─ [locotiempo] ───────────────────────────────────────────────────────────────────────────────────────────────────────────────


β–Žβ—€ default ─────────────────────────────────────────────────────────────────────────[tool request - locotiempo-get_prediction]

{'state': 'Badajoz'}

─ [get_predict…] ─────────────────────────────────────────────────────────────────────────────────────────────────────────────


β–Žβ–Ά default ──────────────────────────────────────────────────────────────────────────────[tool result - Text Only (541 chars)]

AGENCIA ESTATAL DE METEOROLOGÍA
PREDICCIΓ“N PARA LA PROVINCIA DE BADAJOZ
DÍA 19 DE JULIO DE 2025 A LAS 14:01 HORA OFICIAL
PREDICCIΓ“N VÁLIDA PARA EL SÁBADO 19

BADAJOZ
Poco nuboso con algunos intervalos de nubes bajas a primeras
horas. Temperaturas con ligeros cambios. Viento del oeste, flojo a
moderado.

TEMPERATURAS MÍNIMAS Y MÁXIMAS PREV...

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────


β–Žβ—€ default ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Here's the weather forecast for Badajoz province for Saturday, July 19th, 2025:                                               


                                                      General Forecast:                                                       

 β€’ Sky: Partly cloudy with some low cloud intervals in the early hours                                                        
 β€’ Temperatures: Slight changes compared to the previous day                                                                  
 β€’ Wind: Westerly, light to moderate                                                                                          


                                          Expected Temperatures (Min and Max in Β°C):                                          

 β€’ Badajoz: 16Β° - 33Β°                                                                                                         
 β€’ Zafra: 14Β° - 32Β°                                                                                                           
 β€’ Llerena: 16Β° - 31Β°                                                                                                         
 β€’ MΓ©rida: 15Β° - 33Β°                                                                                                          

The weather in Badajoz will be quite pleasant with partly cloudy skies and comfortable temperatures. Maximum temperatures will
range from 31-33Β°C, making it slightly warmer than CΓ‘ceres but similar overall conditions with westerly winds.                

─ [locotiempo] ───────────────────────────────────────────────────────────────────────────────────────────────────────────────


Last turn: 2,343 Input, 202 Output, 1 tool calls (1.3%) *

default >