MCP.so
ログイン

MCP Weather Server

@adarshem

基本情報

カテゴリ

メディアとデザイン

ライセンス

MIT license

トランスポート

stdio

作者

adarshem

MCP Weather Server について

An MCP server to get Weather details

MCP Weather Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "mcp-server-learn-adarshem": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@adarshem/mcp-server-learn",
        "--client",
        "claude"
      ]
    }
  }
}

MCP Weather Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。

概要

What is MCP Weather Server?

MCP Weather Server is a demo implementation of a Model Context Protocol (MCP) server that provides weather-related tools. It uses the US National Weather Service API to fetch active weather alerts for a US state and a forecast for a specific latitude/longitude.

How to use MCP Weather Server?

Install the server via Smithery with npx @smithery/cli install @adarshem/mcp-server-learn --client claude, or manually clone the repository, run pnpm install and pnpm build. Configure it in your MCP client (e.g., VSCode) by adding the server entry to settings.json with the command node and the absolute path to build/index.js.

Key features of MCP Weather Server

  • Built with Node.js
  • Provides get-alerts tool for US state alerts
  • Provides get-forecast tool by lat/lon
  • Uses US National Weather Service API

Use cases of MCP Weather Server

  • Learning how to build an MCP server with Node.js
  • Fetching active weather alerts for a US state
  • Retrieving a weather forecast for a specific latitude/longitude

よくある質問

1

What runtime is required?

Node.js must be installed on your system.

2

Where does the weather data come from?

The server uses the US National Weather Service API for accurate and up-to-date information.

3

How do I configure the server in VSCode?

Add the server entry to your `settings.json` with the command `node` and the absolute path to `build/index.js`.

4

Is this server production-ready?

The README describes it as a demo implementation, so it may not be intended for production use.

コメント

「メディアとデザイン」の他のコンテンツ