weather-mcp-server

Integrations

  • Used to store and access environment variables like the WeatherAPI key

  • Used as the web framework to build the MCP server API endpoints

  • Used for version control of the codebase

天気MCPサーバー

FastAPIとMCPフレームワークを使用して構築された気象データ用のモデルコンテキストプロトコル(MCP)サーバー。このサーバーは、AIアシスタントが現在の気象状況、予報、大気質データなどを取得するために使用できる、様々な気象関連ツールを提供します。

特徴

  • 現在の気象状況
  • 天気予報(1~14日間)
  • 過去の気象データ
  • 天気警報
  • 大気質情報
  • 天文学データ(日の出、日の入り、月の満ち欠け)
  • 場所検索
  • タイムゾーン情報
  • スポーツイベント

要件

  • Python 3.13以上
  • UVパッケージマネージャー
  • WeatherAPI APIキー

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Weather Data Server を自動的にインストールするには:

npx -y @smithery/cli install @devilcoder01/weather-mcp-server --client claude

手動インストール

  1. このリポジトリをクローンします:
    git clone https://github.com/yourusername/Weather_mcp_server.git cd Weather_mcp_server
  2. uv を使用して依存関係をインストールします。
    uv venv uv pip install -e .
  3. WeatherAPI キーを使用して、プロジェクト ルートに.envファイルを作成します。
    WEATHER_API_KEY=your_api_key_here

使用法

サーバーを実行します。

python main.py

デフォルトでは、サーバーはhttp://localhost:8000で起動します。

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

天気MCPサーバー

  1. Features
    1. Requirements
      1. Installation
        1. Installing via Smithery
        2. Manual Installation
      2. Usage
        1. License

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            This SSE-based MCP server allows users to connect and interact with National Weather Service APIs to retrieve weather alerts and forecasts.
            Last updated -
            90
            Python
          • A
            security
            A
            license
            A
            quality
            An MCP server that provides real-time weather information including temperature, humidity, wind speed, and sunrise/sunset times through the OpenWeatherMap API.
            Last updated -
            1
            Python
            MIT License
            • Linux
            • Apple
          • -
            security
            F
            license
            -
            quality
            An MCP server implementation that allows users to fetch and display weather information for specified cities, including temperature, humidity, wind speed, and weather descriptions.
            Last updated -
            Python
            • Linux
            • Apple
          • -
            security
            A
            license
            -
            quality
            An MCP server that connects to OpenWeatherMap's API to provide current weather data and multi-day forecasts for locations worldwide in different measurement units.
            Last updated -
            51
            TypeScript
            MIT License

          View all related MCP servers

          ID: g9jdavq1yu