MCP Server

特徴

標準化されたモデルコンテキストプロトコルを通じて特定の機能を公開する軽量プログラム

天気サーバー

  • 天気警報: 特定の米国の州で発令中の天気警報を取得します。
  • 天気予報: 特定の場所の詳細な天気予報を取得します。
  • Freshdesk の統合: Freshdesk でサポート チケットを作成します。

財務モジュール

  • 日中市場データ: AlphaVantage API を使用して日中株式市場データを取得します。
  • テクニカル分析
    • 移動平均(短期および長期)を計算します。
    • 相対力指数 (RSI) を計算します。
  • 取引推奨: テクニカル指標に基づいて包括的な取引推奨を生成します。

インストール

  1. リポジトリをクローンします。
    git clone https://github.com/your-username/mcp-weather-server.git cd mcp-weather-server
  2. Python 仮想環境をセットアップします。
    python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
  3. 依存関係をインストールします:
    pip install -r requirements.txt
  4. financeモジュールに移動し、その依存関係をインストールします。
    cd finance pip install -r requirements.txt

プロジェクトの実行

天気サーバー

天気サーバーを実行します。

python main.py

財務サーバー

財務サーバーを実行します。

cd finance python finance_server.py

天気デモ

天気デモサーバーを実行します。

python weather-demo.py
-
security - not tested
-
license - not tested
-
quality - not tested

モデル コンテキスト プロトコルを通じて気象と金融の機能を公開する軽量サーバーのコレクション。これにより、ユーザーは気象警報、予報、テクニカル分析による金融市場データにアクセスできます。

  1. Weather Server
    1. Finance Module
      1. Installation
        1. Running the Project
          1. Weather Server
          2. Finance Server
          3. Weather Demo

        Appeared in Searches

        ID: x7gqmuq0ff