Skip to content
VS Code

espn for VS Code

io.github.christianclaudio/espn

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

client:VS Code transport:stdio runtime:pypi

Install espn in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "espn-base-url",
      "description": "ESPN_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "espn-timeout-seconds",
      "description": "ESPN_TIMEOUT_SECONDS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "espn-max-retries",
      "description": "ESPN_MAX_RETRIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "espn-mcp-readonly",
      "description": "ESPN_MCP_READONLY",
      "password": true
    }
  ],
  "servers": {
    "espn": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-espn"
      ],
      "env": {
        "ESPN_BASE_URL": "${input:espn-base-url}",
        "ESPN_TIMEOUT_SECONDS": "${input:espn-timeout-seconds}",
        "ESPN_MAX_RETRIES": "${input:espn-max-retries}",
        "ESPN_MCP_READONLY": "${input:espn-mcp-readonly}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

espn in other clients