# stat-api — Sports Data

This MCP server gives agents a catalog of sports data and tools to query NFL, NBA, MLB, NHL, PGA, DFS, and prediction markets. Browse the catalog without a key; querying data requires a free API key.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 1
- Author: stat-api
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/stat-api/mcp
- Updated: 2026-07-07
- HTML: https://affpapa.org/en/nevibecode/mcp/stat-api-sports-data

## What it does

An agent can first inspect the available leagues and tables, then check a table’s fields and supported filters. With an API key, it can query rows with filters and pagination, search player names, look up games on a date, and find Kalshi or Polymarket contracts linked to a game. Other tools fetch a single record or run GraphQL queries that connect games, teams, players, and odds.

The server uses HTTP at `https://api.stat-api.com/mcp`. Catalog tools work without credentials, but data queries need a free API key. In Claude Code, add the server with `claude mcp add --transport http sports-data https://api.stat-api.com/mcp`; configure `Authorization: Bearer <YOUR_API_KEY>` to access the data tools.

## Requirements
- Remote server: `https://api.stat-api.com/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http sports-data https://api.stat-api.com/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add stat-api-sports-data --url https://api.stat-api.com/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "stat-api-sports-data": {
            "url": "https://api.stat-api.com/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "stat-api-sports-data": {
            "type": "http",
            "url": "https://api.stat-api.com/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http stat-api-sports-data https://api.stat-api.com/mcp
```

## When to use it
- inspect the tables available for a league
- find a player despite a typo in the name
- look up games on a calendar date
- filter sports records by table fields
- find Kalshi or Polymarket contracts tied to a game

## Example prompts
- Show the NBA tables and describe the fields in the games table.
- Search for a player by name, allowing for a possible typo, and return their records.
- Find games on a date and show any Kalshi markets linked to them.

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89609
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89899
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16730
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40459
- [dbx](https://affpapa.org/en/nevibecode/mcp/dbx.md) — MCP server · ★ 27844
- [Metabase](https://affpapa.org/en/nevibecode/mcp/metabase.md) — MCP server · ★ 49863

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
