MCP.so
ログイン

MCP Weather

@jpan8866

基本情報

カテゴリ

メディアとデザイン

トランスポート

stdio

作者

jpan8866

MCP Weather について

A weather Model context protocol (MCP) tool server to allow AI agents to have access to real time weather data.

MCP Weather の設定

標準の設定はありません

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

リポジトリ

MCP Weather のツール

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

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

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

概要

What is MCP Weather?

MCP Weather is a Python application that serves as an MCP (Model Context Protocol) tool, allowing AI assistants to access real-time weather information from the National Weather Service (NWS) API. It provides two main functions: retrieving active weather alerts for any US state and obtaining detailed weather forecasts for any US location by latitude and longitude.

How to use MCP Weather?

Clone the repository, ensure Python 3.13+ and the uv package manager are installed, then run uv run weather.py. To integrate as an MCP tool, use the command PATH/uv --directory ABSOLUTE_PATH/mcp-weather run weather.py. The server exposes two tools: Get Weather Alerts (parameter: state – two-letter US state code) and Get Weather Forecast (parameters: latitude, longitude).

Key features of MCP Weather

  • Retrieve active weather alerts by US state code
  • Get detailed weather forecasts for specific latitude/longitude
  • Clean, formatted output for easy reading
  • Built as an MCP tool for seamless AI assistant integration

Use cases of MCP Weather

  • AI assistant answering “What weather alerts are active in California?”
  • AI assistant providing a detailed forecast for a user’s current GPS location
  • Developers embedding live NWS weather data into MCP-compatible applications

よくある質問

1

What data source does MCP Weather use?

The application uses the National Weather Service API to fetch weather data.

2

What are the runtime requirements for MCP Weather?

Python 3.13 or higher, the `uv` package manager, and dependencies `httpx` and `mcp[cli]`.

3

How do I start the MCP Weather server for testing?

Run `uv run weather.py` from the project directory.

4

What parameters does the “Get Weather Alerts” tool require?

It requires a two-letter US state code, for example `CA` or `NY`.

5

What parameters does the “Get Weather Forecast” tool require?

It requires a latitude and longitude (decimal) for the location.

コメント

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