WeatherAPI MCP Server
WeatherAPI MCP サーバー
WeatherAPI を使用して現在の天気と空気質データを提供する MCP サーバー。
特徴
どの都市でも現在の天気データを取得できます
空気質情報(オプション)
天気リソースの動的URIサポート
n8n、Claudeデスクトップアプリ、Windsurf IDE、Cursor IDE、その他のMCPクライアントとの簡単な統合
Related MCP server: OpenWeather MCP Server
はじめる
WeatherAPIキーを取得する
WeatherAPI.comへアクセス
無料アカウントに登録する
サインイン後、ダッシュボードへ移動します
「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
}
}リポジトリ
ライセンス
マサチューセッツ工科大学
This server cannot be deployed
Maintenance
Related MCP Connectors
Get current weather for any city and create images from your prompts. Streamline planning, reports…
The official Model Context Protocol server for Ambee. It gives any MCP-compatible AI assistant — Claude, ChatGPT, Cursor, VS Code, Ollama, and more direct access to live air quality, pollen, and weather data. To get started, including information on signing up and obtaining your Ambee key, check out the Ambee documentation on https://docs.ambeedata.com
Air Quality MCP — wraps air-quality-api.open-meteo.com (free, no auth)
WeatherAPI.com MCP — wraps WeatherAPI.com (api.weatherapi.com)
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides 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.11MIT
- AlicenseAqualityDmaintenanceIntegrates the OpenWeather API with Claude to provide real-time weather updates, 5-day forecasts, and air quality data. It enables users to query current conditions, pollution levels, and coordinate-based weather information directly within their conversations.4MIT
- AlicenseNot gradedqualityBmaintenanceProvides current weather and multi-day forecasts for any location worldwide, integrable with MCP clients like Claude.5Apache 2.0
- AlicenseNot gradedqualityBmaintenanceProvides weather data from WeatherAPI.com through MCP, enabling AI agents to query current conditions and forecasts via natural language.30 npmMIT