Skip to main content
Glama
Yaseen-md

Weather MCP Server

by Yaseen-md

Weather MCP Server

CI License: MIT

Open-Meteo API を使用して都市名に基づくリアルタイムの天気予報を提供する、標準の Model Context Protocol (MCP) サーバーです。

特徴

  • ジオコーディング: 都市名を地理座標(緯度・経度)に自動変換します

  • リアルタイム天気: 現在の気温、風速、天気コードを取得します

  • MCP 統合: Claude Desktop などの MCP クライアントと完全互換です

  • API キー不要: 無料のオープンソースである Open-Meteo API を使用するため、登録は不要です!

Related MCP server: Weather MCP Server

前提条件

  • Node.js 18.x 以上

  • npm または yarn

インストール

  1. リポジトリをクローンします:

git clone https://github.com/Yaseen-md/weather-mcp-server.git
cd weather-mcp-server
  1. 依存関係をインストールします:

npm install
  1. サーバーをビルドします:

npm run build

開発

ビルドせずにサーバーを直接実行します:

npm run dev

Claude Desktop との統合

この天気サーバーを Claude Desktop で使用するには、claude_desktop_config.json ファイルを設定する必要があります。

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

次の設定を追加します:

{
  "mcpServers": {
    "weather": {
      "command": "node",
      "args": [
        "C:/path/to/your/weather-mcp-server/build/index.js"
      ]
    }
  }
}

(パスは、ビルドした index.js ファイルへの実際の絶対パスに置き換えてください。)

利用可能なツール

get_weather

指定した都市の現在の天気を取得します。

入力パラメータ:

  • city (文字列): 都市名(例:「Delhi」「Tokyo」「London」「San Francisco」)

戻り値: 摂氏での気温、風速、天気コード。

ライセンス

このプロジェクトは MIT ライセンス の下で提供されています。

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to fetch current weather conditions and forecasts for any city using the Open-Meteo API. Provides temperature, precipitation, and hourly forecast data through natural language queries.
  • F
    license
    B
    quality
    D
    maintenance
    Enables real-time weather information and forecasts using the Open-Meteo API. Provides current weather conditions and forecast data for any location specified by latitude and longitude coordinates.
    1
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides real-time and historical weather data for any city worldwide, including forecasts, air quality, and marine conditions, using the free Open-Meteo API.
    21
    MIT

View all related MCP servers

Related MCP Connectors

  • Global weather via Open-Meteo: forecast, ERA5 archive, marine, air quality, geocoding, elevation.

  • US weather & geo for AI agents: forecasts, alerts, earthquakes, elevation, geocoding. No keys.

  • Weather forecasts from MET Norway (Yr): geocoding plus hourly forecasts worldwide.

View all MCP Connectors

Latest Blog Posts

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/Yaseen-md/weather-mcp-server'

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