Skip to main content
Glama

WeatherAPI MCP Server

by swonixs

WeatherAPI MCP サーバー

WeatherAPI を使用して現在の天気と空気質データを提供する MCP サーバー。

特徴

  • どの都市でも現在の天気データを取得できます

  • 空気質情報(オプション)

  • 天気リソースの動的URIサポート

  • n8n、Claudeデスクトップアプリ、Windsurf IDE、Cursor IDE、その他のMCPクライアントとの簡単な統合

はじめる

WeatherAPIキーを取得する

  1. WeatherAPI.comへアクセス

  2. 無料アカウントに登録する

  3. サインイン後、ダッシュボードへ移動します

  4. 「APIキー」セクションからAPIキーをコピーします

MCP構成

Windsurf MCP 構成ファイルに次の構成を追加します。

{ "mcpServers": { "weather": { "command": "npx", "args": ["-y", "@swonixs/weatherapi-mcp"], "env": { "WEATHER_API_KEY": "YOUR_API_KEY_HERE" } } } }

YOUR_API_KEY_HERE 、WeatherAPI.com から取得した API キーに置き換えます。

ツール

天気予報

指定された都市の現在の天気データを取得します。

パラメータ:

  • location (文字列):都市名

応答例:

{ "location": "London", "country": "United Kingdom", "temp_c": 15.0, "condition": "Partly cloudy", "humidity": 71, "wind_kph": 14.4, "air_quality": { "co": 230.3, "no2": 13.5, "o3": 52.9, "pm2_5": 8.5, "pm10": 12.1, "us-epa-index": 1 } }

リポジトリ

WeatherAPI MCP サーバー

ライセンス

マサチューセッツ工科大学

-
security - not tested
F
license - not found
-
quality - not tested

Related MCP Servers

  • -
    security
    A
    license
    -
    quality
    Enables interaction with the World Air Quality Index to fetch real-time air quality data for cities and coordinates worldwide via Model Context Protocol (MCP).
    Last updated -
    1
    MIT License
    • Linux
    • Apple
  • -
    security
    A
    license
    -
    quality
    Provides real-time weather data, forecasts, and historical weather information from OpenWeatherMap API for Claude Desktop, enabling natural language queries about current conditions, forecasts, air quality, and weather alerts worldwide.
    Last updated -
    9
    MIT License
  • A
    security
    F
    license
    A
    quality
    A Model Context Protocol server that retrieves current weather information for any city using the OpenWeatherMap API, designed for integration with Claude Code.
    Last updated -
    1
    0
    1
  • -
    security
    F
    license
    -
    quality
    Enables users to get current weather conditions and forecasts for any city through OpenWeatherMap API integration. Designed as a sample MCP server for the Puch AI Hackathon with basic weather querying capabilities.
    Last updated -
    • Apple
    • Linux

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/swonixs/weatherapi-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server