Skip to main content
Glama
einreke

NFL Transactions MCP

by einreke

NFL 取引 MCP

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

特徴

  • 柔軟なフィルタリング オプションを使用して NFL トランザクションを取得します。

    • 選手/コーチ/幹部の異動(トレード、フリーエージェントとの契約、ドラフト指名など)

    • 負傷者リストへの登録/登録からの退出

    • マイナーリーグへの移籍(NFLヨーロッパ)

    • 怪我のため試合を欠場

    • 個人的な理由により試合を欠場

    • 懲戒処分(停職、罰金など)

    • 法的/刑事事件

  • チーム、選手、日付範囲、取引の種類でフィルタリング

  • CSV、JSON、またはDataFrame形式でデータを出力します

  • NFLチームと取引の種類をすべて一覧表示する

Related MCP server: nfl-mcp

インストール

# 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ライセンス

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A command-line interface application that enables interactive chat with AI models through the Anthropic API, supporting document retrieval, command-based prompts, and extensible tool integrations.
  • A
    license
    Not graded
    quality
    A
    maintenance
    An MCP server that provides access to over 12 years of NFL play-by-play data through a local DuckDB database. It enables users to query player performance, team statistics, and situational efficiency metrics like EPA and WPA using natural language.
    13
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    CLI and MCP server for EdgeFinder sports analysis. Get AI-powered NFL, NBA, and MLB betting recommendations, player stats, odds, schedules, and Polymarket portfolio tracking from your terminal or AI agent.
    67
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    A factual NFL data server that provides player search, profiles, statistics, schedules, rosters, and more via MCP tools, with automatic on-demand retrieval and transparent caching from nflverse.
    18
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • NBA MCP — player, team, and game data via the BallDontLie API

  • Read-only fantasy analysis for ESPN, Yahoo, and Sleeper leagues via MCP

  • Query SEC EDGAR filings, XBRL financials, and company data through MCP. STDIO & Streamable HTTP.

View all MCP Connectors

Latest Blog Posts

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