Skip to main content
Glama

MCP 天気サーバー

鍛冶屋のバッジ

このプロジェクトは、気象関連ツールを提供するモデルコンテキストプロトコル(MCP)サーバーのデモ実装です。サーバーは以下の2つのツールを公開しています。

  1. get-alerts : 指定された米国の州のアクティブな気象警報を取得します。

  2. get-forecast : 緯度と経度に基づいて特定の場所の天気予報を提供します。

特徴

  • Node.js を使用して構築されました。

  • 気象データ取得用の MCP ツールを実装します。

  • 正確で最新の気象情報を得るために、米国国立気象局 API を使用します。

Related MCP server: Weather MCP Server

前提条件

  • システムに Node.js がインストールされています。

  • MCP の概念とツールに関する知識。

設定

Smithery経由でインストール

Smithery経由で Claude Desktop 用の mcp-server-learn を自動的にインストールするには:

npx -y @smithery/cli install @adarshem/mcp-server-learn --client claude

手動インストール

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

    git clone <repository-url> cd weather
  2. pnpmを使用して依存関係をインストールします (プロジェクトで構成されているとおり)。

    pnpm install
  3. プロジェクトをビルドします。

    pnpm build

構成

VSCodeのsettings.jsonファイルを更新して、このMCPサーバーを追加します。

{ "mcpServers": { "weather": { "command": "node", "args": [ "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather/build/index.js" ] } } }

リソース

One-click Deploy
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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/adarshem/mcp-server-learn'

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