espn

v2.4.4
io.github.christianclaudio/espn Checked 1 day ago Published 1 day ago

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

Values you need

VariableWhat it is
ESPN_BASE_URLoptional Optional REST base URL override Default: https://site.web.api.espn.com
ESPN_TIMEOUT_SECONDSoptional HTTP request timeout in seconds Default: 30.0
ESPN_MAX_RETRIESoptional Maximum retry attempts on HTTP 429 / 5xx Default: 3
ESPN_MCP_READONLYoptional Restrict server execution strictly to read-only inspection tools Default: 0
ESPN_MCP_PROFILEoptional Server domain profile (full, games, teams, news, readonly) Default: full
ESPN_MCP_ENABLE_TOOL_SEARCHoptional Replace flat tool catalog with dynamic search transform Default: 0
ESPN_MCP_TOOL_SEARCH_BACKENDoptional Tool Search backend: bm25 (default) or regex Default: bm25

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add espn -- uvx --from mcp-server-espn==2.4.3 espn-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "espn": {
      "args": [
        "--from",
        "mcp-server-espn==2.4.3",
        "espn-mcp"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "espn": {
      "args": [
        "--from",
        "mcp-server-espn==2.4.3",
        "espn-mcp"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "espn": {
      "args": [
        "--from",
        "mcp-server-espn==2.4.3",
        "espn-mcp"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.espn]
command = "uvx"
args = ["--from", "mcp-server-espn==2.4.3", "espn-mcp"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: games_get_scoreboard, games_get_game_summary, games_get_team_schedule, games_get_standings, games_get_rankings, games_get_transactions, games_get_leaders_by_athlete, games_get_leaders_by_team, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json