# espn [Health: Active]

**Category:** 🏃 Sports  
**Repository:** https://github.com/christianclaudio/mcp-server-espn  
**GitHub Stars:** 0  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/espn

## Description
Model Context Protocol server for live & historical sports stats and odds via ESPN.

## Tools
Capabilities this server exposes over MCP:

- **games_get_scoreboard** — Fetch final scores and results for any date, including postseason games such as the Super Bowl, World Series, or NBA Finals, plus live scores, game status, periods/innings, clocks/outs, TV broadcasts, and probable starters. Returns each game's event ID. Filter by date, week, season type, or Top 25 group. Sports: football, basketball, baseball, hockey, soccer, golf, mma. Use this first to check whether a team played on a particular date; provide the date, sport, and league, and no team ID is needed. Both sport and league are required; for NFL, use sport='football' and league='nfl'. Results are capped by limit (default 50); raise limit on busy dates. For Division I men's college basketball, pass group='50'. Before concluding that a team did not play, check the team's schedule.
- **games_get_game_summary** — Fetch comprehensive game summary for an event ID, including consensus betting lines (spread, moneyline, over/under from DraftKings/Caesars/ESPN BET), matchup predictor (FPI/BPI win probabilities), live win probability curve, season head-to-head series, last 5 games momentum, team statistics, and in-game injuries.
- **games_get_team_schedule** — Fetch a team's full season schedule, including past results, upcoming opponents, scores, dates, home/away, and event IDs. Use this for a team's season, last game, or next game; use the scoreboard for games on a particular date. Regular season by default; season_type=3 for postseason.
- **games_get_standings** — Fetch current or historical regular-season division, conference, and league standings (e.g. which team had the best record): win-loss records, win percentages, games back, streaks, and differential. Echoes the season ESPN returned.
- **games_get_rankings** — Fetch Top 25 national polls and rankings (AP Top 25, Coaches Poll, College Football Playoff rankings) for college sports like NCAAF and NCAAB, including current and previous ranks, votes, and records.
- **games_get_transactions** — Fetch recent league player transactions (trades, free agent signings, waiver claims, roster activations, and injury reserve designations).
- **games_get_leaders_by_athlete** — Fetch statistical leaderboards across a league for individual athletes (e.g. passing yards, rushing, points, strikeouts).
- **games_get_leaders_by_team** — Fetch team statistical leaderboards across a league (e.g. total offense, defensive points allowed, efficiency).
- **games_get_league_groups** — Fetch league conference, division, and structural group hierarchies.
- **games_get_league_events** — Fetch the league's current scheduled events. Date filtering is not supported here: for games on a date or range, use games_get_scoreboard with date.
- **games_get_league_draft** — Fetch league draft rounds, team selections, and pick results for a draft year (e.g. the first overall pick).
- **games_get_scoreboard_header** — Fetch live ticker scoreboard header data across games for a sport and league.
- **games_get_event_odds** — Fetch sports betting odds, point spreads, over/under, and moneylines across sportsbooks via ESPN Core API.
- **games_get_play_by_play** — Fetch granular play-by-play sequence with clock, downs, distances, yardage, and scoring flags via ESPN Core API.
- **games_get_game_situation** — Fetch real-time game situation (down, distance, yardline, possession, red zone, clock) via ESPN Core API.
- **games_get_win_probabilities** — Fetch high-density win probability timeline curve samples across an entire game.
- **games_get_game_predictor** — Fetch ESPN predictive matchup model win percentages, projected margins, and ratings.
- **games_get_calendar** — Fetch league schedule calendar and active event dates across a season.
- **games_get_futures** — Fetch season futures betting markets (championship odds, conference champions, win totals).
- **games_get_power_index** — Fetch league team power index (FPI / BPI) ratings and efficiency metrics.
- **teams_get_team_roster** — Fetch active team roster and injury designations grouped by position, including jersey numbers, experience, position abbreviations, and coaching staff.
- **teams_get_team_depth_chart** — Fetch team depth chart showing positional starter and backup hierarchies (e.g. QB1, QB2, RB1, RB2) to evaluate starting status and backup substitution impacts.
- **teams_get_player_stats** — Extract detailed individual player boxscores and performance metrics for a game (e.g., Strikeouts and Innings Pitched for MLB pitchers; Points, Rebounds, Assists for NBA/WNBA; Passing, Rushing, Receiving for NFL/NCAAF; Goals and Assists for Soccer/NHL).
- **teams_get_athlete_overview** — Fetch athlete biographical information, season/career statistical splits, recent individual game logs, rotowire fantasy notes, and next upcoming match.
- **teams_search** — Search ESPN's entity index by name to find an athlete ID, team ID, or league. Set type='team' for team names such as 'San Francisco 49ers'; type defaults to 'player', so omitting it searches athletes. For a team's games on a particular date, use the scoreboard tool directly when it is available, since it needs no team ID; otherwise use this search for the team ID. Returns IDs and display names for follow-up team or athlete tools.
- **teams_list_teams** — Fetch all active teams in a given sport and league, returning team IDs, names, abbreviations, locations, and colors.
- **teams_get_team** — Fetch detailed information for a single team including standing summary, overall record, venue, and next scheduled event.
- **teams_get_team_statistics** — Fetch team and opponent season statistics across offensive, defensive, and special teams categories.
- **teams_get_athlete_bio** — Fetch detailed athlete biography including birthplace, college, draft round and pick, experience, physical measurements, and background.
- **teams_get_athlete_stats** — Fetch an athlete's season totals (e.g. a quarterback's passing yards for a season) and career totals and averages. Find the athlete_id with teams_search.
- **teams_get_athlete_gamelog** — Fetch game-by-game statistical performance log for an athlete across an entire season.
- **teams_get_athlete_splits** — Fetch situational split statistics for an athlete (home vs away, monthly performance, opponents, and win/loss splits).
- **news_get_news** — Fetch recent news headlines, injury updates, breaking analysis, and roster moves for a given sport and league.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "espn": {
    "command": "uvx",
    "args": ["--from","mcp-server-espn","espn-mcp"]
  }
}
```

## Documentation

## What espn does

espn provides a read-only MCP interface to ESPN’s public REST data endpoints. Its 33 domain tools are organized into three areas: games, teams, and news. The games surface covers scoreboards, game summaries, schedules, standings, rankings, transactions, league leaders, drafts, live situations, play-by-play, odds, probabilities, predictors, calendars, futures, and power indexes. The teams surface provides rosters, depth charts, team and athlete statistics, athlete profiles and biographies, gamelogs, splits, team searches, team lists, and team details. The news surface supplies league news and reference resources.

Supported competitions include the NFL and college football; NBA, WNBA, and college basketball; MLB; NHL; several major soccer leagues and competitions, including the Premier League, MLS, Champions League, La Liga, Serie A, Bundesliga, and Ligue 1. Common aliases such as `nfl`, `mlb`, `epl`, and `ucl` are normalized to canonical sport and league identifiers.

## How it works

An MCP client communicates with a FastMCP root gateway over stdio or Streamable HTTP. The gateway mounts separate `espn-games`, `espn-teams`, and `espn-news` sub-servers, then routes requests through middleware before an asynchronous HTTP client accesses ESPN’s public REST CDN.

All domain tools are annotated as read-only and idempotent. Parent middleware records timing and audit information, removes secrets from logs, and enforces read-only behavior. Domain-specific guards validate game query limits and team or athlete identifiers. The HTTP client uses connection pooling and retry jitter for HTTP 429 responses.

Game tools return event identifiers that can be passed to related calls. For example, an agent can find events with a scoreboard query, then retrieve a summary, live situation, win-probability data, or play-by-play for a selected event. Scoreboard queries can target a date, a date range of up to 31 days, week, season type, group, or result limit.

## Setup and configuration

The server supports focused operating profiles through the `--profile` option or `ESPN_MCP_PROFILE` environment variable:

- `full` mounts all domain tools and resources.
- `games` exposes the games tools.
- `teams` exposes the teams tools.
- `news` exposes the news tool and reference resources.
- `readonly` applies read-only enforcement across routes.

Tool search is optional. Enable it with `--enable-tool-search` or `ESPN_MCP_ENABLE_TOOL_SEARCH`. The default BM25 backend accepts a natural-language query; the regex backend can be selected with `--tool-search-backend regex` or `ESPN_MCP_TOOL_SEARCH_BACKEND=regex`, after which searches use a pattern.

## Tools and capabilities

- Retrieve live scores, final results, game states, periods, clocks, broadcasts, and starting probables.
- Inspect summaries containing betting lines, matchup predictions, scoring plays, drives, leaders, and momentum.
- Query schedules, standings, rankings, transactions, leaders, drafts, odds, futures, and power indexes.
- Analyze play-by-play, game situations, win-probability curves, and other live event details.
- Examine team rosters, depth charts, athlete biographies, statistics, gamelogs, splits, and team details.
- Search supported league news and reference resources.

## Limitations and notes

The project is independent of ESPN and is not affiliated with, sponsored by, endorsed by, or supported by ESPN Inc. or The Walt Disney Company. Its data comes from ESPN public REST endpoints and is intended for educational, research, and personal non-commercial use. Date-range scoreboard requests for team sports are split into one request per day; a range can cover up to 31 days, and the limit applies separately to each day.

_Full upstream README: https://allmcps.com/mcp/espn/readme_

