MCP.so
ログイン

Weather MCP Server

@sirrupesh

基本情報

カテゴリ

メディアとデザイン

トランスポート

stdio

作者

sirrupesh

Weather MCP Server について

概要はまだありません

Weather MCP Server の設定

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

{
  "mcpServers": {
    "weather-mcp-server-sirrupesh": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

Weather MCP Server のツール

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

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

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

概要

What is Weather MCP Server?

Weather MCP Server is a Model Context Protocol (MCP) server that provides weather information and alerts using the National Weather Service (NWS) API. It is built for developers who need to access real-time weather data through an MCP-compatible interface.

How to use Weather MCP Server?

Install Python 3.13+ and uv, then clone the repo, install dependencies with uv pip install . and run with uv run src/main.py. Alternatively, deploy with Docker using docker compose up -d; the server is then available at http://localhost:8001/sse. Two tools are provided: get_alerts(state) for US state alerts and get_forecast(latitude, longitude) for location forecasts.

Key features of Weather MCP Server

  • Get weather alerts for any US state
  • Get detailed weather forecasts using latitude/longitude
  • Easy-to-use MCP interface
  • Docker support for easy deployment
  • Built with Python’s MCP framework and httpx
  • Implements proper error handling and request timeouts

Use cases of Weather MCP Server

  • Retrieve active weather alerts for a specific US state
  • Obtain a detailed forecast for any location given its coordinates
  • Deploy the server containerized with Docker Compose
  • Integrate NWS weather data into MCP‑enabled applications

よくある質問

1

What data source does Weather MCP Server use?

It uses the National Weather Service (NWS) API.

2

What are the prerequisites to run it?

Python 3.13 or higher is required for local development; Docker and Docker Compose are needed for containerized deployment.

3

What tools are available?

`get_alerts(state)` returns active alerts for a two‑letter US state code, and `get_forecast(latitude, longitude)` returns a detailed forecast for the given coordinates.

4

How do I deploy with Docker?

Run `docker compose up -d` in the project root. The server will be accessible at `http://localhost:8001/sse`.

5

Which port does the server use?

Inside the container the server runs on port 8000, which is mapped to port 8001 on the host machine.

コメント

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