Skip to main content
Glama

Weather MCP MY

天気MCPサーバー

マレーシアの公式オープンデータポータルのOpen APIから取得した気象情報を提供する、基本的なモデルコンテキストプロトコル(MCP)サーバーです。このサーバーにより、LLMは天気予報、警報、洪水に関連する水位、地震情報などを取得できます。

APIドキュメント: data.gov.my

コンポーネント

ツール

  1. 水位条件を取得する
    • 指定された地区または州における洪水警報に関連する水位状況を取得します。地区と州の両方が指定されている場合は、地区が優先されます。地区または州が指定されていない場合は、そのフィールドに空の文字列を使用してください。
    • 引数:
      • 地区: 洪水警報状況を取得する指定された州内の地区の名前。
      • 州: 洪水警報状況を取得するマレーシアの州の名前。
  2. 警告を取得する
    • 指定された日付範囲内で発行された一般的な気象警報を取得します。
    • 引数:
      • datetime_start: 気象警報を取得する開始時刻をYYYY-MM-DD HH:MM:SS (両端を含む)形式で指定します。省略した場合は、現在の日付がデフォルトとなります。
      • datetime_end: 気象警報の取得を終了する最終タイムスタンプ( YYYY-MM-DD HH:MM:SS形式、両端を含む)を指定します。省略した場合は、現在の日付がデフォルトとなります。
  3. 天気予報を取得する
    • 指定された日付範囲内の特定の場所の天気予報を取得します。
    • 引数:
      • location_name: 予測を取得する場所の名前または識別子。
      • date_start: 天気予報の取得を開始する最初の日付(その日付を含む)。省略された場合は、現在の日付がデフォルトとなります。
      • date_end: 天気予報の取得を終了する最終日(その日付を含む)。省略された場合は、現在の日付がデフォルトとなります。
  4. 地震ニュースを入手
    • 指定した日付範囲内で、指定した場所の地震ニュースを取得します。
    • 引数:
      • 場所: 地震が発生した場所の名前または識別子。
      • date_start: 地震ニュースの検索を開始する開始日(その日付を含む)。省略された場合は、現在の日付がデフォルトとなります。
      • date_end: 地震ニュースの検索を終了する最終日(その日付を含む)。省略された場合は、現在の日付がデフォルトとなります。

クロードデスクトップ構成

claude_desktop_config.jsonファイルに以下の行を追加してください。詳細については、 「Claude Desktop ユーザー向け」を参照してください。

uvの使用

{ "mcpServers": { "weather": { "command": "uv", "args": [ "--directory", "weather-my-mcp", "run", "weather.py" ] } } }

Dockerの使用

  1. Dockerイメージを作成する
    docker build . --tag weather-my-mcp
  2. claude_desktop_config.jsonファイルを次のように編集します。
    { "mcpServers": { "weather": { "command": "docker", "args": [ "run", "-i", "--rm", "weather-my-mcp" ] } } }

ライセンス

このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

マレーシア政府のオープン API から天気予報、警報、洪水に関連する水位、地震レポートを提供するモデル コンテキスト プロトコル (MCP) サーバー。

  1. コンポーネント
    1. ツール
  2. クロードデスクトップ構成
    1. uvの使用
    2. Dockerの使用
  3. ライセンス

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      An MCP server that provides real-time weather information including temperature, humidity, wind speed, and sunrise/sunset times through the OpenWeatherMap API.
      Last updated -
      1
      2
      Python
      MIT License
      • Linux
      • Apple
    • A
      security
      F
      license
      A
      quality
      MCP server that provides Korean weather information using grid coordinates and the Korea Meteorological Administration API, allowing users to query current weather conditions and forecasts for specific locations in Korea.
      Last updated -
      2
      3
      Python
      • Apple
      • Linux
    • -
      security
      F
      license
      -
      quality
      A Model Context Protocol (MCP) server that enables AI assistants and LLMs to access real-time weather data and forecasts by connecting to the OpenWeatherMap API.
      Last updated -
      Python
      • Apple
    • -
      security
      F
      license
      -
      quality
      A modular server based on Model Context Protocol (MCP) that provides weather queries, mathematical calculations, and search functionalities.
      Last updated -
      TypeScript

    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/yting27/weather-my-mcp'

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