Skip to main content
Glama

NFL Transactions MCP

by einreke

NFL 取引 MCP

ProSportsTransactions.com から NFL トランザクション データをスクレイピングするためのモジュラー コマンド ライン プログラム (MCP)。

特徴

  • 柔軟なフィルタリング オプションを使用して NFL トランザクションを取得します。
    • 選手/コーチ/幹部の異動(トレード、フリーエージェントとの契約、ドラフト指名など)
    • 負傷者リストへの登録/登録からの退出
    • マイナーリーグへの移籍(NFLヨーロッパ)
    • 怪我のため試合を欠場
    • 個人的な理由により試合を欠場
    • 懲戒処分(停職、罰金など)
    • 法的/刑事事件
  • チーム、選手、日付範囲、取引の種類でフィルタリング
  • CSV、JSON、またはDataFrame形式でデータを出力します
  • NFLチームと取引の種類をすべて一覧表示する

インストール

# Clone the repository git clone <repository-url> cd nfl_transactions_mcp # Install requirements pip install -r requirements.txt

カーソルとの使用

この MCP を Cursor で使用するには、次の構成を.cursor/mcp.jsonファイルに追加します。

{ "mcpServers": { "nfl-transactions": { "command": "python server.py", "env": {} } } }

MCPを直接実行する

# Run the MCP server via Cursor cursor run-mcp nfl-transactions

利用可能なツール

1. フェッチトランザクション

指定されたフィルターに基づいて NFL トランザクションを取得します。

パラメータ:

  • start_date (必須): 開始日(YYYY-MM-DD形式)
  • end_date (必須): 終了日(YYYY-MM-DD 形式)
  • transaction_type (オプション、デフォルト:"All"):フィルタリングするトランザクションの種類
  • team (オプション): チーム名
  • player (オプション): プレイヤー名
  • output_format (オプション、デフォルト: "json"): 出力形式 (csv、json、またはデータフレーム)

例:

{ "jsonrpc": "2.0", "method": "fetch_transactions", "params": { "start_date": "2023-01-01", "end_date": "2023-12-31", "transaction_type": "Injury", "team": "Patriots" }, "id": 1 }

2. チーム一覧

フィルタリング可能なすべての NFL チームを一覧表示します。

例:

{ "jsonrpc": "2.0", "method": "list_teams", "id": 2 }

3. list_transaction_types

フィルタリングに使用できるすべてのトランザクション タイプを一覧表示します。

例:

{ "jsonrpc": "2.0", "method": "list_transaction_types", "id": 3 }

スーパーエージェントとの統合

このMCPは、AIエージェントやスーパーエージェントと容易に統合できるように設計されています。エージェントはJSON-RPCリクエストを送信してこのMCPとやり取りし、ユーザーのクエリに基づいてNFLの取引データを取得できます。

エージェント統合の例:

# Example of an agent calling the MCP import json import subprocess def call_mcp(method, params=None): request = { "jsonrpc": "2.0", "method": method, "params": params or {}, "id": 1 } # Call the MCP via cursor cmd = ["cursor", "run-mcp", "nfl-transactions"] proc = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, text=True) # Send the request and get the response response, _ = proc.communicate(json.dumps(request)) return json.loads(response) # Example: Get Patriots injury transactions from 2023 result = call_mcp("fetch_transactions", { "start_date": "2023-01-01", "end_date": "2023-12-31", "transaction_type": "Injury", "team": "Patriots" }) print(f"Found {len(result['data'])} transactions")

ライセンス

MITライセンス

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

ProSportsTransactions.com から選手の移籍、負傷、懲戒処分などの NFL トランザクション データを取得およびフィルタリングするためのモジュラー コマンド ライン プログラム。

  1. 特徴
    1. インストール
      1. カーソルとの使用
        1. MCPを直接実行する
      2. 利用可能なツール
        1. 1. フェッチトランザクション
        2. 2. チーム一覧
        3. 3. list_transaction_types
      3. スーパーエージェントとの統合
        1. ライセンス

          Related MCP Servers

          • -
            security
            F
            license
            -
            quality
            Provides programmatic access to comprehensive football statistics and live match data via API-Football, enabling applications to retrieve league standings, team fixtures, player statistics, and real-time match events.
            Last updated -
            3
            Python
          • A
            security
            F
            license
            A
            quality
            Provides structured access to NHL data including teams, players, standings, schedules, and statistics through the Model-Context Protocol pattern.
            Last updated -
            25
            5
            TypeScript
          • A
            security
            A
            license
            A
            quality
            An MCP Server implementation that integrates the Balldontlie API, to provide information about players, teams and games for the NBA, NFL and MLB.
            Last updated -
            4
            5,893
            12
            JavaScript
            MIT License
          • -
            security
            F
            license
            -
            quality
            Manages sports video metadata with CRUD operations for game information, teams, scores, and statistics. Enables advanced search filtering by game type, teams, league, season, and date ranges through PostgreSQL integration.
            Last updated -
            JavaScript

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/einreke/nfl-transactions-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server