MCP ExplorerExplorer

Aemet Mcp

@AnCode666on 10 months ago
2 MIT
FreeCommunity
AI Systems
#climate-data#mcp-server#spain
MCP server for check Spanish climate data using AEMET web API

Overview

What is Aemet Mcp

Aemet-mcp is an MCP server that allows users to retrieve historical climate data and meteorological information from the AEMET API, specifically designed for integration with Claude AI and other MCP compatible clients.

Use cases

Use cases for aemet-mcp include analyzing climate trends, providing weather data for applications, supporting research in climate change, and offering real-time weather conditions for specific locations.

How to use

To use aemet-mcp, install the ‘uv’ package manager for Python, then configure your MCP client (like Claude for Desktop) to connect to the aemet-mcp server by editing the configuration file to include the server details.

Key features

Key features include querying historical daily values (temperature, wind, precipitation), accessing monthly climate summaries by station, filtering data by year, month, and AEMET station code, querying beach conditions, and receiving responses in JSON format.

Where to use

Aemet-mcp can be used in various fields such as meteorology, environmental research, climate studies, and applications requiring historical weather data analysis.

Content

AEMET-MCP. Integration via MCP with the AEMET API

en
es

DISTRIBUTIONS

Smithery

smithery badge

Glama

AEMET-MCP MCP server

MseeP

MseeP.ai Security Assessment Badge
Verified on 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:

npx -y @smithery/cli install @AnCode666/aemet-mcp --client claude

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:

curl -LsSf https://astral.sh/uv/install.sh | sh

On Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

You can also install it with pip:

pip install uv

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:

  1. Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json
  2. Add the following block inside "mcpServers":
  1. Get a free API key from AEMET at: https://opendata.aemet.es/centrodedescargas/altaUsuario
  2. Replace YOUR_AEMET_API_KEY with your actual API key (leave the quotes).
  3. 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:

- "What's the weather like in Seville?"
- `"Give me a list of the beaches in the province of Málaga"`
- "Tell me the radiation levels at Maspalomas beach for tomorrow"
- "Give me the historical rainfall data for Albacete between January 1st, 2020 and February 1st, 2020"
- `"Give me a list of the weather stations within a 50 km radius from the coordinates lat:40.4165, lon:-3.70256"`.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers