E

Espn

by christianclaudio · io.github.christianclaudio/espn

Enables AI agents to query live and historical sports analytics, consensus betting odds, predictions, scores, schedules, standings, rosters, news, play-by-play, and win probabilities through structured tools and resources.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-christianclaudio-espn": {
      "command": "uvx",
      "args": [
        "mcp-server-espn"
      ],
      "env": {
        "ESPN_BASE_URL": "https://site.web.api.espn.com",
        "ESPN_TIMEOUT_SECONDS": "30.0",
        "ESPN_MAX_RETRIES": "3",
        "ESPN_MCP_READONLY": "0",
        "ESPN_MCP_PROFILE": "full",
        "ESPN_MCP_ENABLE_TOOL_SEARCH": "0",
        "ESPN_MCP_TOOL_SEARCH_BACKEND": "bm25",
        "ESPN_MCP_AUTH_TOKEN": "<VALUE>",
        "FASTMCP_HTTP_SESSION_IDLE_TIMEOUT": "<VALUE>",
        "ESPN_MCP_ALLOW_UNAUTHENTICATED_BIND": "0"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-christianclaudio-espn": {
      "command": "uvx",
      "args": [
        "mcp-server-espn"
      ],
      "env": {
        "ESPN_BASE_URL": "https://site.web.api.espn.com",
        "ESPN_TIMEOUT_SECONDS": "30.0",
        "ESPN_MAX_RETRIES": "3",
        "ESPN_MCP_READONLY": "0",
        "ESPN_MCP_PROFILE": "full",
        "ESPN_MCP_ENABLE_TOOL_SEARCH": "0",
        "ESPN_MCP_TOOL_SEARCH_BACKEND": "bm25",
        "ESPN_MCP_AUTH_TOKEN": "<VALUE>",
        "FASTMCP_HTTP_SESSION_IDLE_TIMEOUT": "<VALUE>",
        "ESPN_MCP_ALLOW_UNAUTHENTICATED_BIND": "0"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-christianclaudio-espn": {
      "command": "uvx",
      "args": [
        "mcp-server-espn"
      ],
      "env": {
        "ESPN_BASE_URL": "https://site.web.api.espn.com",
        "ESPN_TIMEOUT_SECONDS": "30.0",
        "ESPN_MAX_RETRIES": "3",
        "ESPN_MCP_READONLY": "0",
        "ESPN_MCP_PROFILE": "full",
        "ESPN_MCP_ENABLE_TOOL_SEARCH": "0",
        "ESPN_MCP_TOOL_SEARCH_BACKEND": "bm25",
        "ESPN_MCP_AUTH_TOKEN": "<VALUE>",
        "FASTMCP_HTTP_SESSION_IDLE_TIMEOUT": "<VALUE>",
        "ESPN_MCP_ALLOW_UNAUTHENTICATED_BIND": "0"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-christianclaudio-espn": {
      "command": "uvx",
      "args": [
        "mcp-server-espn"
      ],
      "env": {
        "ESPN_BASE_URL": "https://site.web.api.espn.com",
        "ESPN_TIMEOUT_SECONDS": "30.0",
        "ESPN_MAX_RETRIES": "3",
        "ESPN_MCP_READONLY": "0",
        "ESPN_MCP_PROFILE": "full",
        "ESPN_MCP_ENABLE_TOOL_SEARCH": "0",
        "ESPN_MCP_TOOL_SEARCH_BACKEND": "bm25",
        "ESPN_MCP_AUTH_TOKEN": "<VALUE>",
        "FASTMCP_HTTP_SESSION_IDLE_TIMEOUT": "<VALUE>",
        "ESPN_MCP_ALLOW_UNAUTHENTICATED_BIND": "0"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-christianclaudio-espn": {
      "command": "uvx",
      "args": [
        "mcp-server-espn"
      ],
      "env": {
        "ESPN_BASE_URL": "https://site.web.api.espn.com",
        "ESPN_TIMEOUT_SECONDS": "30.0",
        "ESPN_MAX_RETRIES": "3",
        "ESPN_MCP_READONLY": "0",
        "ESPN_MCP_PROFILE": "full",
        "ESPN_MCP_ENABLE_TOOL_SEARCH": "0",
        "ESPN_MCP_TOOL_SEARCH_BACKEND": "bm25",
        "ESPN_MCP_AUTH_TOKEN": "<VALUE>",
        "FASTMCP_HTTP_SESSION_IDLE_TIMEOUT": "<VALUE>",
        "ESPN_MCP_ALLOW_UNAUTHENTICATED_BIND": "0"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-christianclaudio-espn": {
      "command": "uvx",
      "args": [
        "mcp-server-espn"
      ],
      "env": {
        "ESPN_BASE_URL": "https://site.web.api.espn.com",
        "ESPN_TIMEOUT_SECONDS": "30.0",
        "ESPN_MAX_RETRIES": "3",
        "ESPN_MCP_READONLY": "0",
        "ESPN_MCP_PROFILE": "full",
        "ESPN_MCP_ENABLE_TOOL_SEARCH": "0",
        "ESPN_MCP_TOOL_SEARCH_BACKEND": "bm25",
        "ESPN_MCP_AUTH_TOKEN": "<VALUE>",
        "FASTMCP_HTTP_SESSION_IDLE_TIMEOUT": "<VALUE>",
        "ESPN_MCP_ALLOW_UNAUTHENTICATED_BIND": "0"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
ESPN_BASE_URL No Target ESPN REST CDN base URL (bypasses Akamai TLS filter) Default: https://site.web.api.espn.com
ESPN_TIMEOUT_SECONDS No HTTP request timeout in seconds Default: 30.0
ESPN_MAX_RETRIES No Maximum retry attempts with jittered exponential backoff Default: 3
ESPN_MCP_READONLY No Restrict server strictly to read-only inspection tools Default: 0
ESPN_MCP_PROFILE No Domain sub-server profile: full, games, teams, news, readonly Default: full
ESPN_MCP_ENABLE_TOOL_SEARCH No Replace flat tool catalog with dynamic search transform (search_tools + call_tool) Default: 0
ESPN_MCP_TOOL_SEARCH_BACKEND No Tool Search backend: bm25 (BM25SearchTransform, natural-language ranking; search_tools takes query) or regex (RegexSearchTransform, regex patterns; search_tools takes pattern) Default: bm25
ESPN_MCP_AUTH_TOKEN No Shared bearer token required on HTTP transports (stdio ignores it). Set to require Authorization: Bearer <token> on every HTTP request.
FASTMCP_HTTP_SESSION_IDLE_TIMEOUT No Session idle timeout in seconds for stateful HTTP mode, or none to never expire
ESPN_MCP_ALLOW_UNAUTHENTICATED_BIND No Set to 1 to accept a tokenless HTTP bind to a non-localhost host Default: 0

Similar servers