MCP.so
ログイン

MCP Weather Server

@AbeTavarez

MCP Weather Server について

概要はまだありません

基本情報

カテゴリ

メディアとデザイン

ランタイム

python

トランスポート

stdio

公開者

AbeTavarez

設定

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

{
  "mcpServers": {
    "weather": {
      "command": "uv",
      "args": [
        "--directory",
        "/ABSOLUTE/PATH/TO/PARENT/FOLDER/weather",
        "run",
        "weather.py"
      ]
    }
  }
}

ツール

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

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

概要

What is MCP Weather Server?

MCP Weather Server is a weather server built with the Python MCP SDK. It exposes two tools—get_alerts and get_forecast—that integrate with weather data and can be used with MCP hosts such as Claude Desktop.

How to use MCP Weather Server?

Install uv and set up a Python virtual environment. Add the dependencies (mcp[cli] and httpx), then run uv run weather.py. To connect with Claude Desktop, add the server configuration (with the absolute path to the weather folder) to the claude_desktop_config.json file and restart the app.

Key features of MCP Weather Server

  • Exposes get_alerts tool for weather alerts
  • Exposes get_forecast tool for weather forecasts
  • Built with the Python MCP SDK
  • Uses UV for project and dependency management
  • Configurable for connection with Claude Desktop

Use cases of MCP Weather Server

  • Retrieve weather alerts for a specified region
  • Obtain weather forecasts for a given location
  • Integrate real-time weather data into MCP‑compatible AI assistants

FAQ from MCP Weather Server

What tools does MCP Weather Server provide?

It provides the get_alerts and get_forecast tools.

How do I run the MCP Weather Server?

Run uv run weather.py after setting up the Python environment and installing dependencies.

How do I connect MCP Weather Server to Claude Desktop?

Add the server configuration under the mcpServers key in claude_desktop_config.json, using uv --directory /ABSOLUTE/PATH/TO/PARENT/FOLDER/weather run weather.py, then restart Claude Desktop.

What dependencies does the server require?

The server requires mcp[cli] and httpx.

What runtime environment is needed?

Python with the uv package manager is required.

コメント

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