Skip to content
Grok

PitchAPI for Grok

dev.pitchapi/mcp

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

client:Grok transport:stdio runtime:npm

Install PitchAPI in Grok

.mcp.json (in your project root)

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

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

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

PitchAPI in other clients