NFL Transactions MCP
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. fetch_transactions
根据指定的过滤器获取 NFL 交易。
参数:
start_date(必需):开始日期,格式为 YYYY-MM-DDend_date(必需):结束日期,格式为 YYYY-MM-DDtransaction_type(可选,默认值:“全部”):要过滤的交易类型team(可选):团队名称player(可选):玩家姓名output_format(可选,默认值:“json”):输出格式(csv、json 或 dataframe)
例子:
{
"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. 列出交易类型
列出可供过滤的所有交易类型。
例子:
{
"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")执照
This server cannot be installed
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
- AlicenseNot gradedqualityAmaintenanceAn 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.13MIT
- 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.672MIT
- AlicenseAqualityBmaintenanceA 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
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.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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