NFL Transactions MCP
Транзакции НФЛ MCP
Модульная программа командной строки (MCP) для извлечения данных о транзакциях НФЛ с ProSportsTransactions.com.
Функции
Извлекайте транзакции НФЛ с помощью гибких параметров фильтрации:
Движение игроков/тренеров/руководителей (обмены, подписание свободных агентов, выборы на драфте и т. д.)
Перемещения в/из травмированного резерва
Переходы в низшие лиги и из них (НФЛ Европа)
Пропущенные игры из-за травм
Пропущенные игры по личным причинам
Дисциплинарные меры (отстранения, штрафы и т. д.)
Правовые/криминальные инциденты
Фильтр по команде, игроку, диапазону дат и типу транзакции
Вывод данных в формате CSV, JSON или DataFrame
Перечислите все команды НФЛ и типы транзакций
Related MCP server: clinicaltrialsgov-mcp-server
Установка
# 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
Выбирает транзакции НФЛ на основе указанных фильтров.
Параметры:
start_date(обязательно): Дата начала в формате ГГГГ-ММ-ДДend_date(обязательно): Дата окончания в формате ГГГГ-ММ-ДДtransaction_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. список_команд
Список всех команд НФЛ, доступных для фильтрации.
Пример:
{
"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")Лицензия
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 gradedqualityCmaintenanceProvides 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,881 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,881 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,881 npmApache 2.0