NFL Transactions MCP
NFL 取引 MCP
ProSportsTransactions.com から NFL トランザクション データをスクレイピングするためのモジュラー コマンド ライン プログラム (MCP)。
特徴
柔軟なフィルタリング オプションを使用して NFL トランザクションを取得します。
選手/コーチ/幹部の異動(トレード、フリーエージェントとの契約、ドラフト指名など)
負傷者リストへの登録/登録からの退出
マイナーリーグへの移籍(NFLヨーロッパ)
怪我のため試合を欠場
個人的な理由により試合を欠場
懲戒処分(停職、罰金など)
法的/刑事事件
チーム、選手、日付範囲、取引の種類でフィルタリング
CSV、JSON、またはDataFrame形式でデータを出力します
NFLチームと取引の種類をすべて一覧表示する
Related MCP server: NFL Data 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")ライセンス
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
NFL/NBA/MLB/NHL/PGA + DFS and prediction-market data. Browse free; query with a free API key.
NBA MCP — player, team, and game data via the BallDontLie API
Unofficial SportsDataIO MCP — wraps SportsDataIO's Big-Six sports data API (sportsdata.io)
Provides easy access to MLB, Baseball Savant, Statcast, and Fangraphs baseball data. Query detaile…
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceCLI 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.16 npm2MIT
- AlicenseAqualityCmaintenanceA 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.18Apache 2.0
- AlicenseNot gradedqualityBmaintenanceAn open NFL fantasy-football analytics platform that provides live data, machine-learned projections, dynasty values, and prospect grades via an MCP server for AI clients.3MIT
- AlicenseAqualityCmaintenanceEnables reading ESPN fantasy football league settings, rosters, free agents, matchups, and transactions, and managing lineups, adds/drops, and waiver claims through MCP tools over stdio.111MIT