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
      A beginner-friendly Model Context Protocol (MCP) server that helps users understand MCP concepts, provides interactive examples, and lists available MCP servers. This server is designed to be a helpful companion for developers working with MCP. Also comes with a huge list of servers you can install.
      Last updated -
      3
      9
      36
      JavaScript
      Apache 2.0
    • -
      security
      A
      license
      -
      quality
      MCP Server provides a simpler API to interact with the Model Context Protocol by allowing users to define custom tools and services to streamline workflows and processes.
      Last updated -
      13
      2
      TypeScript
      MIT License
    • -
      security
      A
      license
      -
      quality
      A Model Context Protocol (MCP) server that provides intelligent access to PowerPlatform/Dataverse entities and records. This tool offers context-aware assistance, entity exploration and metadata access.
      Last updated -
      466
      1
      JavaScript
      MIT License
    • -
      security
      F
      license
      -
      quality
      This is a Model Context Protocol (MCP) server that provides weather information using the National Weather Service (NWS) API. Features Get weather alerts for a US state Get weather forecast for a specific location (using latitude and longitude)
      Last updated -
      Python
      • Linux
      • Apple

    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