AEMET-MCP。MCP経由でAEMET APIと統合
配布
鍛冶屋
グラマ
ムシーP
説明
AEMET はスペインの国立気象庁です。
Aemet-mcp を使用すると**、モデル コンテキスト プロトコル (MCP)**を使用して、Claude AI やその他の MCP 互換クライアントから AEMET API の過去の気候データや気象情報を直接取得できます。
Aemet-mcp は、LLM がスペイン全土の気象観測所からデータを照会できるようにするツールを公開する MCP サーバーです。
これには、サポートデータの使用のための API キーとリソース JSON ファイルの安全な処理が含まれます。
主な特徴
- 過去の毎日の値(気温、風、降水量など)のクエリ
- 観測所別の月間気候概要にアクセスできます。
- 年、月、AEMET ステーション コードによるフィルタリング。
- 紫外線指数を含むビーチの状況を照会します。
- JSON 形式ですぐに使用できる応答。
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の AEMET Weather Data Server を自動的にインストールするには:
uvでインストール
前提条件
- Python 3.10 以上。
- UVパッケージ マネージャー。
uvのインストール
最初のステップは、Python のパッケージ マネージャーであるuv
をインストールすることです。
コマンドラインからインストールできます。
macOS および Linux の場合:
Windowsの場合:
pip を使ってインストールすることもできます:
uv のインストールの詳細については、 uv ドキュメントを参照してください。
CLAUDE DESKTOPのようなクライアントとの統合
uvがインストールされると、Claude for Desktop などの互換性のあるクライアントから MCP サーバーを使用できるようになります。その場合の手順は次のとおりです。
- **Claude > 設定 > 開発者 > 設定の編集 >
claude_desktop_config.json
**に移動します。 "mcpServers"
内に次のブロックを追加します。
- AEMET から無料の API キーを取得するには、次の URL にアクセスしてください: https://opendata.aemet.es/centrodedescargas/altaUsuario
YOUR_AEMET_API_KEY
を実際の API キーに置き換えます (引用符はそのままにします)。- すでに別の MCP サーバーが設定されている場合は、各サーバーをコンマ
,
で区切ります。
一般に、Cursor、CODEGPT、Roo Code などの他の MCP 互換クライアントに統合するには、クライアントの MCP サーバー構成に移動して、同じコード ブロックを追加するだけです。
使用例
適切に設定したら、次のような質問をすることができます。
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.
Claude AI やその他の MCP 互換クライアントから、スペイン国立気象局 (AEMET) API の気象および気候データを直接取得できる MCP サーバー。
Related MCP Servers
- 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 -12TypeScriptMIT License
- -securityFlicense-qualityAn India-focused MCP server that provides real-time weather conditions, forecasts, air quality data, and location search capabilities using the OpenWeatherMap API.Last updated -Python