PitchAPI for VS Code
dev.pitchapi/mcp
Football results, shot-level xG, lineups and event-derived analytics for 77 leagues.
client:VS Code
transport:stdio
runtime:npm
Install PitchAPI in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "pitchapi-api-key",
"description": "PITCHAPI_API_KEY",
"password": true
}
],
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pitchapi-mcp"
],
"env": {
"PITCHAPI_API_KEY": "${input:pitchapi-api-key}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs