NFL Transactions MCP
Transacciones de la NFL MCP
Un programa de línea de comandos modular (MCP) para extraer datos de transacciones de la NFL de ProSportsTransactions.com.
Características
Obtenga transacciones de la NFL con opciones de filtrado flexibles:
Movimiento de jugadores, entrenadores y ejecutivos (intercambios, fichajes de agentes libres, selecciones del draft, etc.)
Movimientos hacia/desde la reserva de lesionados
Movimientos hacia y desde ligas menores (NFL Europa)
Partidos perdidos por lesiones
Partidos perdidos por motivos personales
Acciones disciplinarias (suspensiones, multas, etc.)
Incidentes legales/penales
Filtrar por equipo, jugador, rango de fechas y tipo de transacción
Datos de salida en formato CSV, JSON o DataFrame
Enumere todos los equipos de la NFL y los tipos de transacciones
Related MCP server: clinicaltrialsgov-mcp-server
Instalación
# Clone the repository
git clone <repository-url>
cd nfl_transactions_mcp
# Install requirements
pip install -r requirements.txtUso con cursor
Para usar este MCP con Cursor, agregue la siguiente configuración a su archivo .cursor/mcp.json :
{
"mcpServers": {
"nfl-transactions": {
"command": "python server.py",
"env": {}
}
}
}Ejecutar el MCP directamente
# Run the MCP server via Cursor
cursor run-mcp nfl-transactionsHerramientas disponibles
1. obtener_transacciones
Obtiene transacciones de la NFL según filtros específicos.
Parámetros:
start_date(obligatorio): Fecha de inicio en formato AAAA-MM-DDend_date(obligatorio): Fecha de finalización en formato AAAA-MM-DDtransaction_type(opcional, predeterminado: "Todos"): Tipo de transacción a filtrarteam(opcional): Nombre del equipoplayer(opcional): Nombre del jugadoroutput_format(opcional, predeterminado: "json"): formato de salida (csv, json o dataframe)
Ejemplo:
{
"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. lista_de_equipos
Enumera todos los equipos de la NFL disponibles para filtrar.
Ejemplo:
{
"jsonrpc": "2.0",
"method": "list_teams",
"id": 2
}3. lista_de_tipos_de_transacción
Enumera todos los tipos de transacciones disponibles para filtrar.
Ejemplo:
{
"jsonrpc": "2.0",
"method": "list_transaction_types",
"id": 3
}Integración con superagentes
Este MCP está diseñado para integrarse fácilmente con agentes o superagentes de IA. Un agente puede realizar solicitudes JSON-RPC para interactuar con este MCP y recuperar datos de transacciones de la NFL según las consultas del usuario.
Ejemplo de integración de agente:
# 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")Licencia
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
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 gradedqualityDmaintenanceProvides tools to scrape and access Pakistan Stock Exchange (PSX) market data, including market data, intraday, historical, sector, gainers/losers, OHLCV, and volume analysis. Supports both local stdio and remote HTTP deployments with API key authentication.MIT
- AlicenseNot gradedqualityAmaintenanceEnables searching ClinicalTrials.gov studies with filters, fetching full study records and posted results, discovering API field names and values, and matching patient demographics to candidate recruiting trials. Runs over STDIO or Streamable HTTP against a public, read-only API requiring no authentication.1,625 npmApache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables searching the ClinicalTrials.gov registry, retrieving full study records and posted results, discovering valid API fields, and matching patient profiles to candidate recruiting trials. Runs over STDIO or Streamable HTTP with no API key required.1,625 npmApache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables searching and retrieving ClinicalTrials.gov study records, posted results, and field metadata, plus matching patient profiles to candidate recruiting trials, all without an API key. Supports STDIO or Streamable HTTP transports with agent-friendly output such as typed errors, provenance, and response shaping.1,625 npmApache 2.0