Cover image
Try Now
2025-04-14

MCP服务器使用AEMET Web API检查西班牙气候数据

3 years

Works with Finder

2

Github Watches

2

Github Forks

2

Github Stars

en es

AEMET-MCP. Integration via MCP with the AEMET API

smithery badge

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.

AEMET-MCP MCP server

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 from 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 for 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?"
- "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"

相关推荐

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • Azure
  • 该存储库用于开发Azure MCP服务器,将Azure的功能带给您的代理商。

  • caio-moliveira
  • 创建该项目是为了证明我们如何与不同的模型上下文协议(MCP)连接。

  • MarcusAdriano
  • estudando mcp usando a api do bacen ptax

    Reviews

    3.2 (6)
    Avatar
    user_e6mznfFI
    2025-04-26

    I've been using aemet-mcp from AnCode666 and it's been a game-changer for me. It streamlines all my management processes effortlessly. The user interface is intuitive, and the support from the team is excellent. Highly recommend it to anyone looking to enhance their productivity!

    Avatar
    user_fi6m2fkE
    2025-04-26

    aemet-mcp by AnCode666 is a fantastic application that has greatly enhanced my user experience. The interface is intuitive and the features are robust, making it an invaluable tool for my daily tasks. Highly recommended for anyone looking to boost their productivity!

    Avatar
    user_vdeJBqWf
    2025-04-26

    As a devoted user of the aemet-mcp application, I can confidently say this tool developed by AnCode666 is a game-changer. It's intuitive, powerful, and incredibly efficient for managing complex tasks. I highly recommend it for anyone seeking to streamline their operations.

    Avatar
    user_SaTbiOVW
    2025-04-26

    As a loyal user of the aemet-mcp application, I find it incredibly reliable and user-friendly. Created by AnCode666, it offers seamless integration and efficient performance. The ease of navigation and functionality is impressive, making it an essential tool in my daily routine. Highly recommended for anyone in need of a robust and efficient MCP solution!

    Avatar
    user_115lFrLz
    2025-04-26

    I've been using aemet-mcp and it's a fantastic tool! The user interface is intuitive and it's packed with useful features. AnCode666 did an amazing job creating this product, and it has significantly improved my workflow. Highly recommend it to anyone looking for a reliable MCP application.

    Avatar
    user_KDWIiN6S
    2025-04-26

    I have been using the aemet-mcp from AnCode666, and it has been an exceptional experience. The functionality is robust, and the user interface is intuitive, making it easy to navigate. The product's efficiency has significantly improved my workflow. Highly recommend it to anyone looking for a reliable mcp application!