Skip to content
Gemini CLI

PitchAPI for Gemini CLI

dev.pitchapi/mcp

Football results, shot-level xG, lineups and event-derived analytics for 77 leagues.

client:Gemini CLI transport:stdio runtime:npm

Install PitchAPI in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "pitchapi-mcp"
      ],
      "env": {
        "PITCHAPI_API_KEY": "<PITCHAPI_API_KEY>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

PitchAPI in other clients