Skip to main content
Glama
gamedai-nfl-mcp

gamedai-nfl-mcp

by omniviewai

gamedai-nfl-mcp

Part of gamedai, the interactive sports radio. This MIT-licensed MCP server exposes five read-only NFL tools backed by the public gamedai API.

The default backend is https://gamedai-v2-preview.fly.dev. Override it with GAMEDAI_API_BASE. Scout calls optionally use GAMEDAI_SCOUT_API_KEY; the legacy GAMEDAI_PUBLIC_API_KEY name is accepted as an alias.

Install

cd tools/gamedai-mcp
python3.12 -m venv .venv
. .venv/bin/activate
python -m pip install -e ".[test]"

Related MCP server: sleeper-mcp

Tools

  • get_game_scores(date?, event_id?) reads the public slate. date is sent to the backend; event_id filters the returned slate locally.

  • get_wire_news(page?, page_size?) reads the paginated Wire feed.

  • get_player_grade(player, season?, week?) reads Scout player grades.

  • get_start_sit_recommendation(player_a, player_b, week, season?) reads the Scout start/sit comparison. week is required.

  • get_scout_rankings(position?, scoring?, week?) reads the Scout rankings board.

When season is omitted, get_player_grade uses the latest complete NFL stats season, and get_start_sit_recommendation uses the CURRENT league year (projections load for the upcoming slate): today.year - 1 when the month is March or later, otherwise today.year - 2. An explicit season always wins. Rankings derive their source season in the backend.

All backend errors are returned as structured objects with code, http_status, and a bounded message. Scout keys are sent only to /v1/scout/* calls.

Hosted mode

The hosted service uses streamable HTTP:

gamedai-nfl-mcp --transport streamable-http --host 0.0.0.0 --port 8080

The MCP endpoint is /mcp; process liveness is /healthz; backend readiness is /readyz. The Fly app is the existing gamedai-mcp app and deploys from this directory with flyctl deploy.

The pinned MCP SDK enables stateless HTTP when its FastMCP constructor supports stateless_http=True. Older SDKs keep normal sessions, as a safe fallback.

Environment

export GAMEDAI_API_BASE="https://gamedai-v2-preview.fly.dev"
export GAMEDAI_SCOUT_API_KEY="<server-provisioned Scout key>"

OPENAI_APPS_CHALLENGE_TOKEN is only needed for the existing public Apps challenge route. Never commit keys or expose the Scout key to an MCP model.

Tests

Tests use mocked HTTP clients and do not call the live backend:

pytest

The canonical backend contract is generated at backend/openapi/scout_public_contract.openapi.json; run python scripts/mcp/check_contract_drift.py from the repository root to check for route or schema drift.

License: MIT.

Available Tools

5 tools
get_game_scoresB
Read-only

Return the public NFL slate, optionally filtered by event id.

Inputs: date, event_id. Returns: object

get_player_gradeB
Read-only

Return a public Scout player grade.

Inputs: player (required), week, season. Returns: object

get_scout_rankingsC
Read-only

Return the public Scout rankings board.

Inputs: week, scoring, position. Returns: object

get_start_sit_recommendationB
Read-only

Return a public Scout start/sit comparison.

Inputs: week (required), player_a (required), player_b (required), season. Returns: object

get_wire_newsA
Read-only

Return paginated Wire NFL news.

Inputs: page, page_size. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool targets a distinct resource: game scores, news, player grades, start/sit recommendations, and rankings. There is no meaningful overlap between any of the five tools, so an agent can confidently select the correct one.

    Naming Consistency5/5

    All tool names follow the same verb_noun pattern: get_game_scores, get_wire_news, get_player_grade, get_start_sit_recommendation, get_scout_rankings. The convention is uniform and predictable.

    Tool Count5/5

    Five tools is well-scoped for a read-only NFL data server. Each tool covers a clear data category without redundancy or padding, and the number feels appropriate for the domain size.

    Completeness4/5

    The set covers the core data types implied by the server name: scores, news, grades, start/sit advice, and rankings. Some potentially related endpoints (e.g., team or player details) are absent, but the existing surface likely matches the intended Gamedai/Scout API scope.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides read-only access to Sleeper fantasy football leagues, enabling team snapshots, available players, matchups, trade context, and league history through standardized MCP tools.
      MIT
    • F
      license
      A
      quality
      D
      maintenance
      Enables read-only access to Sleeper fantasy sports data, including users, leagues, rosters, matchups, transactions, drafts, players, trending activity, playoff brackets, traded picks, and sport state via MCP tools.
      18
      -
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to access FantasyPros data through tools for injury news, player lookup, consensus rankings, and projections.
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables LLMs to access and analyze ESPN fantasy football leagues through read-only MCP tools, covering rosters, scores, transactions, standings, lineup audits, and league-specific rules.
      19
      MIT