MCP server for querying AEMET weather and climate data

MCP server for querying AEMET weather and climate data

aemet-mcp•byancode666

Aemet-mcp is an MCP server that lets LLMs retrieve historical climate data and meteorological information from the AEMET API, with secure handling of API keys.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Queries historical daily weather values such as temperature, wind, and precipitation, filtered by year, month, and AEMET station code.
  • •Provides access to monthly climate summaries by station.
  • •Queries beach conditions, including ultraviolet radiation indices.
  • •Includes a rainfall data analysis prompt for Spanish municipalities with historical precipitation data.

BEST FOR

  • •Asking about current weather and beach conditions in Spanish locations.
  • •Retrieving historical precipitation data for a location and date range.
  • •Finding weather stations within a radius of given coordinates.

ABOUT AEMET-MCP

MCP server for querying AEMET weather and climate data is cataloged as an MCP server attributed to ancode666. Aemet-mcp is an MCP server that lets LLMs retrieve historical climate data and meteorological information from the AEMET API, with secure handling of API keys. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for querying AEMET weather and climate data are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What inputs does the rainfall analysis prompt accept?

The obtener_datos_lluvia_municipio prompt takes a municipality name and a start and end date.

Does the analysis prompt provide structured meteorological guidance?

Yes, it provides structured guidance covering municipality code search, nearest station identification, historical precipitation retrieval, statistical and trend analysis, climate pattern analysis, and visualization recommendations.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 32775768788b · 采集于 2026-11-13 10:31:43 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

AEMET-MCP. Integration via MCP with the AEMET API

en es

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.
  • Rainfall data analysis prompt for Spanish municipalities with historical precipitation data
  • 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.

Install with Docker

You can also run AEMET-MCP using Docker:

Prerequisites

  • Docker installed on your system

Steps

  1. Build the Docker image:
docker build -t aemet-mcp .
  1. Run the container:
docker run -e AEMET_API_KEY=YOUR_AEMET_API_KEY aemet-mcp

Replace YOUR_AEMET_API_KEY with your actual API key from AEMET.

Integration with Claude Desktop using Docker

To use the Docker version with Claude Desktop, add this configuration to your claude_desktop_config.json:

"aemet_mcp_docker": {
    "command": "docker",
    "args": [
        "run",
        "--rm",
        "-i",
        "-e", "AEMET_API_KEY=YOUR_AEMET_API_KEY",
        "aemet-mcp"
    ]
}

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":
"aemet_mcp_": {
    "command": "uvx",
    "args": [
        "aemet_mcp"
    ],
    "env": {
        "AEMET_API_KEY": "YOUR_AEMET_API_KEY"
    }
}
  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"

Rainfall Data Analysis

The server includes a specialized prompt for analyzing historical precipitation data for Spanish municipalities. Use the obtener_datos_lluvia_municipio prompt with:

obtener_datos_lluvia_municipio("Madrid", "2023-01-01", "2023-12-31")

This prompt provides structured guidance for meteorological analysis, including:

  • Municipality code search and validation
  • Nearest weather station identification
  • Historical precipitation data retrieval
  • Statistical analysis and trend identification
  • Climate pattern analysis with seasonal variations
  • Data visualization recommendations

DISTRIBUTIONS

Smithery

smithery badge

Glama

AEMET-MCP MCP server

MseeP

MseeP.ai Security Assessment Badge Verified on MseeP

MCP Review

MCP review certified

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for querying AEMET weather and climate data from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/aemet-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research