AEMET-MCP. Integration via MCP with the AEMET API
DISTRIBUTIONS
Smithery
Glama
MseeP
DESCRIPTION
AEMET is the State Meteorological Agency of Spain.
Aemet-mcp allows you to retrieve historical climate data and meteorological information from the AEMET API directly from Claude AI and other MCP compatible clients, using the Model Context Protocol (MCP).
Aemet-mcp is an MCP server that exposes tools enabling LLMs to query data from weather stations across Spain.
It includes secure handling of API keys and resource JSON files for using supporting data.
KEY FEATURES
- Query for historical daily values (temperature, wind, precipitation, etc.)
- Access to monthly climate summaries by station.
- Filtering by year, month, and AEMET station code.
- Query beach conditions, including ultraviolet radiation indices.
- Responses ready for use in JSON format.
INSTALLATION
Installing via Smithery
To install AEMET Weather Data Server for Claude Desktop automatically via Smithery:
Install with uv
Prerequisites
- Python 3.10 or higher.
- uv package manager.
Installing uv
The first step is to install uv
, a package manager for Python.
It can be installed from the command line.
On macOS and Linux:
On Windows:
You can also install it with pip:
For more information about installing uv, visit the uv documentation.
INTEGRATION WITH CLIENTS LIKE CLAUDE DESKTOP
Once uv is installed, you can use the MCP server from any compatible client such as Claude for Desktop, in which case the steps to follow are:
- Go to Claude > Settings > Developer > Edit Config >
claude_desktop_config.json
- Add the following block inside
"mcpServers"
:
- Get a free API key from AEMET at: https://opendata.aemet.es/centrodedescargas/altaUsuario
- Replace
YOUR_AEMET_API_KEY
with your actual API key (leave the quotes). - If you already have another MCP server configured, separate each with a comma
,
.
In general, to integrate it into any other MCP-compatible client such as Cursor, CODEGPT, or Roo Code, simply go to the MCP server configuration of your client and add the same code block.
USAGE EXAMPLES
Once properly configured, you can ask things like:
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
An MCP server that allows retrieving meteorological and climate data from Spain's State Meteorological Agency (AEMET) API directly from Claude AI and other MCP-compatible clients.
Related MCP Servers
- -securityFlicense-qualityThis SSE-based MCP server allows users to connect and interact with National Weather Service APIs to retrieve weather alerts and forecasts.Last updated -90Python
- AsecurityAlicenseAqualityAn MCP server that provides real-time weather information including temperature, humidity, wind speed, and sunrise/sunset times through the OpenWeatherMap API.Last updated -1PythonMIT License
- -securityFlicense-qualityAn MCP server implementation that allows users to fetch and display weather information for specified cities, including temperature, humidity, wind speed, and weather descriptions.Last updated -Python
- -securityAlicense-qualityAn MCP server that connects to OpenWeatherMap's API to provide current weather data and multi-day forecasts for locations worldwide in different measurement units.Last updated -51TypeScriptMIT License