MCP.so
ログイン

Weather MCP Server

@nakamurau1

Weather MCP Server について

Sample MCP server implementation for fetching weather forecasts

基本情報

カテゴリ

メディアとデザイン

ライセンス

MIT license

ランタイム

node

トランスポート

stdio

公開者

nakamurau1

設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

ツール

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

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

概要

What is Weather MCP Server?

A Model Context Protocol (MCP) server that provides weather data from the National Weather Service API. It delivers weather forecasts by geographic coordinates and alerts by US state in a clean, formatted way for LLM consumption, and integrates with Claude and other MCP-compatible clients.

How to use Weather MCP Server?

Install Node.js and dependencies (npm install), then build (npm run build). Run directly with npm start or ./dist/index.js. Connect to Claude Desktop by adding a server entry in the claude_desktop_config.json file, then restart Claude and test with queries like "What's the weather in Sacramento?" or "Are there any active weather alerts in Texas?"

Key features of Weather MCP Server

  • Get weather forecasts by geographic coordinates
  • Get weather alerts by US state
  • Clean, formatted weather data for LLM consumption
  • Integration with Claude and other MCP-compatible clients

Use cases of Weather MCP Server

  • Ask an LLM assistant for current weather anywhere in the United States
  • Check for active weather alerts in a specific US state
  • Build a chat-based weather information tool using Claude Desktop

FAQ from Weather MCP Server

What runtime does Weather MCP Server require?

Node.js (LTS version recommended) and npm or yarn.

Where does the weather data come from?

The server uses the National Weather Service API, so data is limited to United States locations.

Does Weather MCP Server provide historical weather data?

No, only current conditions and forecasts are available.

How do I connect the server to Claude Desktop?

Edit your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json on macOS) and add a server entry with the command node and args pointing to the built dist/index.js.

What tools does Weather MCP Server expose?

Two tools: get_forecast (requires latitude and longitude) and get_alerts (requires a two-letter US state code). There is also a resource template weather://{state}/alerts.

コメント

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