AEMET-MCP
AEMET-MCP. MCP를 통한 AEMET API 통합
유통
대장간
글라마
엠시피
Related MCP server: Weather MCP
설명
AEMET는 스페인의 국가 기상청입니다.
Aemet-mcp를 사용하면 Model Context Protocol(MCP)을 사용하여 Claude AI 및 기타 MCP 호환 클라이언트에서 직접 AEMET API의 과거 기후 데이터와 기상 정보를 검색할 수 있습니다.
Aemet-mcp는 LLM이 스페인 전역의 기상 관측소에서 데이터를 쿼리할 수 있는 도구를 제공하는 MCP 서버입니다.
여기에는 지원 데이터를 사용하기 위한 API 키와 리소스 JSON 파일의 안전한 처리가 포함됩니다.
주요 기능
과거 일일 값 (온도, 바람, 강수량 등)에 대한 쿼리
관측소별 월별 기후 요약 을 확인하세요.
연도, 월, AEMET 관측소 코드로 필터링합니다.
자외선 복사 지수를 포함한 해변 상황을 문의하세요.
JSON 형식으로 응답을 사용할 수 있습니다.
설치
Smithery를 통해 설치
Smithery를 통해 Claude Desktop에 AEMET Weather Data Server를 자동으로 설치하려면:
지엑스피1
uv로 설치
필수 조건
Python 3.10 이상.
uv 패키지 관리자.
UV 설치
첫 번째 단계는 Python용 패키지 관리자인 uv 설치하는 것입니다.
명령줄에서 설치할 수 있습니다 .
macOS 및 Linux의 경우:
curl -LsSf https://astral.sh/uv/install.sh | shWindows의 경우:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"pip를 사용해서 설치할 수도 있습니다.
pip install uvuv 설치에 대한 자세한 내용은 uv 설명서를 참조하세요.
CLAUDE DESKTOP과 같은 클라이언트와의 통합
uv가 설치되면 Claude for Desktop 등 호환되는 모든 클라이언트에서 MCP 서버를 사용할 수 있습니다. 이 경우 다음 단계를 따르세요.
Claude > 설정 > 개발자 > 구성 편집 >
claude_desktop_config.json으로 이동하세요."mcpServers"내부에 다음 블록을 추가합니다.
"aemet_mcp_": {
"command": "uvx",
"args": [
"aemet_mcp"
],
"env": {
"AEMET_API_KEY": "YOUR_AEMET_API_KEY"
}
}AEMET에서 무료 API 키를 받으세요: https://opendata.aemet.es/centrodedescargas/altaUsuario
YOUR_AEMET_API_KEY실제 API 키로 바꾸세요(따옴표는 그대로 두세요).이미 다른 MCP 서버가 구성되어 있는 경우 각각을 쉼표(
,)로 구분합니다.
일반적으로 Cursor, CODEGPT, Roo Code 등 다른 MCP 호환 클라이언트에 통합하려면 클라이언트의 MCP 서버 구성으로 가서 동일한 코드 블록을 추가하기만 하면 됩니다.
사용 예
올바르게 구성하면 다음과 같은 질문을 할 수 있습니다.
- "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"Available Tools
9 toolsfind_nearby_stationsB
Find weather stations within a given radius (in km) from a given geographic coordinate.
Args: lat: Latitude in decimal degrees (e.g., 43.36) lon: Longitude in decimal degrees (e.g., -8.41) radio_km: Search radius in kilometers
Inputs: lat (required), lon (required), radio_km.
get_beach_data_uvA
Query information on beaches or UV index from AEMET.
Args: name_or_code: Partial or full name of the beach, or its BEACH_ID. Also accepts 'list' or 'list:'. dias_frc: Number of forecast days, starting form 0, which means 0 days from today, to 4, which means 4 days from today. query_type: 'beach' for forecast, 'UV_index' for UV index, must be in english.
Returns: Requested information or list of matches.
Inputs: nombre_o_codigo (required), dias_frc (required), tipo_consulta.
get_daily_forecastB
Get the daily weather forecast for a Spanish municipality.
Args: municipality_code: AEMET municipality code (e.g., "28079" for Madrid)
Inputs: municipality_code (required).
get_historical_dataA
Obtain historical meteorological data for a specific station.
Args: station_id: Identifier of the station (e.g. "3195" for Madrid Retiro) start_date: Start date in format YYYYY-MM-DD end_date: End date in format YYYYY-MM-DD
Inputs: station_id (required), start_date (required), end_date (required).
get_station_dataB
Obtain specific weather data for a weather station.
Args: station_id: Station identifier (e.g., "8416Y" for Valencia))
Inputs: station_id (required).
get_station_listA
Get a list of all available weather stations or filter by one or more search terms, including approximate matches.
Args: search_terms: Optional terms (space or comma separated) to filter stations by name or province.
Inputs: search_terms.
monthly_climate_dataC
Retrieve monthly climatological data for a specific weather station.
Args: station_id: Weather station identifier (e.g., "3195" for Madrid Retiro). year: Year (YYYY). month: Month (1-12).
Returns: A JSON with the monthly climate summary.
Inputs: station_id (required), year (required), month (required).
search_municipality_codeA
Search Spanish municipalities by name or province (accent-insensitive, typo-tolerant).
Args: nombre: Partial or approximate name of a municipality or province.
Returns: A list of matching municipalities with their codes and provinces.
Inputs: nombre (required).
solve_beach_codeC
Search beaches by name, province, or municipality.
Args: nombre: Search string (accent-insensitive) tipo: One of 'playa', 'provincia', or 'municipio'
Inputs: nombre (required), tipo.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Every tool targets a distinct resource or operation: stations (find, list, get data, historical, monthly), beaches (search, get data), daily forecast, and municipality search. No overlapping purposes.
Naming conventions are mixed: some use 'get_', others 'find_', 'search_', 'solve_', and one is adjective_noun ('monthly_climate_data'). While all are descriptive, the pattern is inconsistent.
Nine tools is well-scoped for a weather data API covering stations, beaches, forecasts, historical data, and municipality lookup. Each tool serves a clear purpose without unnecessary duplication.
The tool set covers core weather queries: station listings, current data, daily forecasts, historical and monthly climate, beach info, and UV index. Missing are alerts or radar, but the surface is largely complete for common use cases.
Related MCP Connectors
An MCP server for weather information by @kulybaba
An MCP server for weather information by @kulybaba
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
An MCP server that provides agents access to the KeldynAI platform
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server built with the mcp-framework to provide weather-related tools and data to AI clients. It enables integration of weather capabilities and custom tools into the MCP ecosystem for use with platforms like Claude Desktop.-
- AlicenseNot gradedqualityDmaintenanceA MCP server for querying real-time weather information for any city worldwide using the free Open-Meteo API, supporting CLI and integration with AI clients like Claude and Cursor.MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that provides current weather conditions and forecasts via OpenWeatherMap API to AI agents.-
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to answer Mexico weather questions using official government data, resolving municipality names via INEGI and fetching forecasts from CONAGUA/SMN.-