stat-api — Sports Data
com.stat-api/sports-data
Serveur MCP OK 9 outils
NFL/NBA/MLB/NHL/PGA + DFS and prediction-market data. Browse free; query with a free API key.
Fiche technique
- Auteur
- stat-api.com (espace de noms du registre)
- Dépôt
- github.com/stat-api/mcp
- Site
- stat-api.com/docs/mcp
- Version
- 1.0.1
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://api.stat-api.com/mcp Streamable HTTP
- Outils
- 9
- Catégories
- —
- Dernière mise à jour
- 7 juil. 2026
- Publication
- 7 juil. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/com.stat-api/sports-data)<a href="https://latlas.dev/mcp/com.stat-api/sports-data"><img src="https://latlas.dev/badge/fiche/com.stat-api/sports-data.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://api.stat-api.com/mcp
- Dernier résultat
- OK 28 nov. 2026, 08:55
- Temps de réponse
- 691 ms (initialize + tools/list)
- Version du protocole
- 2025-06-18
- Nom annoncé
- stat-api 0.1.0
- Outils
- 9
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 08:55 | OK | 691 ms | 9 |
Outils exposés (9, réponse à tools/list, 28 nov. 2026)
list_leagues
List leagues
List every league/data group this API serves (nfl, nba, mlb, nhl, pga, dfs, reference) with table counts and availability. No credentials needed. Start here, then call list_tables.
Aucun paramètre.
list_tables
List tables
List every queryable table in one league with a one-line summary each. No credentials needed. Follow with describe_table before querying.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| league | enum: "nfl" | "nba" | "mlb" | "nhl" | "pga" | "dfs" | "reference" | oui |
describe_table
Describe table
Full contract for one table: fields with types and descriptions, the filters query_table accepts (with operators like __gte/__lte/__between/__like and required filter combinations), page-size limits, primary key, and a runnable example URL. No credentials needed. Always call this before query_table — filters not listed here are rejected.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| league | enum: "nfl" | "nba" | "mlb" | "nhl" | "pga" | "dfs" | "reference" | oui | |
| table | string | oui |
query_table
Query table
Query any table. Returns `{" ": [rows], "limit": N, "next_from_id": M|null, "has_more": bool}`. To read every row, start with from_id=0 and re-call with from_id set to the previous next_from_id until it is null. A call without from_id returns the first page in the table's default sort with next_from_id null. filters is a flat object of `field` or `field__op` keys from describe_table (e.g. {"season_id": 2024, "day__between": "20250101,20250131"}). Requires a stat-api account: sign in when the app asks (free account at https://stat-api.com), or send an API key as Authorization: Bearer . Every returned row counts against the monthly record quota.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| filters | object | non | field or field__op keys → scalar values; see describe_table |
| from_id | integer | non | keyset cursor: 0 for the first page of a full walk, then the previous next_from_id |
| league | enum: "nfl" | "nba" | "mlb" | "nhl" | "pga" | "dfs" | "reference" | oui | |
| limit | integer | non | |
| table | string | oui |
get_record
Get record
Fetch a single row by primary key. Returns the row object. Requires a stat-api sign-in or API key; costs 1 record of quota.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | primary-key value (integer or text PK) |
| league | enum: "nfl" | "nba" | "mlb" | "nhl" | "pga" | "dfs" | "reference" | oui | |
| table | string | oui |
search_players
Search NBA players
Fuzzy player-name search (typo-tolerant). Currently NBA only — for other leagues query the players table with a name filter via query_table. Returns player rows ordered by match quality. Requires a stat-api sign-in or API key; rows count against quota.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| league | enum: "nba" | non | |
| limit | integer | non | |
| name | string | oui |
games_on_date
Games on date
Games scheduled/played on one calendar date (US-Eastern) for nba, mlb, or nhl; defaults to today. Returns the same envelope as query_table on the games table. NFL is week-based, not date-based — for nfl, use query_table on nfl/games with season_id + week filters instead. Requires a stat-api sign-in or API key; rows count against quota.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| date | string | non | YYYY-MM-DD; defaults to today in US-Eastern time |
| league | enum: "nba" | "mlb" | "nhl" | oui |
graphql_query
GraphQL query
Run a GraphQL query against the same data with relations — nest from a game to its teams/players/odds in one call. Root fields are leagues (nfl, nba, …), each exposing its tables with the same filter arguments as REST plus `first`/`after` pagination. Do NOT send introspection queries (the schema is huge) — use describe_table instead; the SDL is at https://api.stat-api.com/api/v1/graphql/sdl. Requires a stat-api sign-in or API key; every row resolved anywhere in the tree counts against quota.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | |
| variables | object | non |
api_usage
API usage
Your account's quota position: plan, monthly record limit, records used, remaining, and when the quota resets. Requires a stat-api sign-in or API key; costs 1 record.
Aucun paramètre.
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://api.stat-api.com/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http sports-data https://api.stat-api.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : sports-data ; URL : https://api.stat-api.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : sports-data ; Server URL : https://api.stat-api.com/mcp ; Create as a plugin{
"mcpServers": {
"sports-data": {
"url": "https://api.stat-api.com/mcp"
}
}
}{
"mcpServers": {
"sports-data": {
"type": "http",
"url": "https://api.stat-api.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"sports-data": {
"url": "https://api.stat-api.com/mcp"
}
}
}{
"mcpServers": {
"sports-data": {
"httpUrl": "https://api.stat-api.com/mcp"
}
}
}[mcp_servers.sports-data]
url = "https://api.stat-api.com/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
stat-api — Sports Data · L’Atlas · Test du
[stat-api — Sports Data — L’Atlas](https://latlas.dev/mcp/com.stat-api/sports-data)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.