MCP.so
ログイン

MCP Weather Server

@adarshem

MCP Weather Server について

An MCP server to get Weather details

基本情報

カテゴリ

メディアとデザイン

ライセンス

MIT license

ランタイム

node

トランスポート

stdio

公開者

adarshem

設定

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

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

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

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

FAQ from MCP Weather Server

What runtime is required?

Node.js must be installed on your system.

Where does the weather data come from?

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

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.

Is this server production-ready?

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

コメント

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