Skip to main content
Glama

stat-api — Sports Data

Server Details

NFL/NBA/MLB/NHL/PGA + DFS and prediction-market data. Browse free; query with a free API key.

If you are the author of this connector, you can claim ownership. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-06-18
URL
Repository
stat-api/mcp
GitHub Stars
0
ChatGPT
–
Claude
–

TDQS

A4.2/5.0

Scored across 9 tools

Disambiguation4/5

Most tools have clearly distinct purposes: discovery (list_leagues, list_tables, describe_table), single-row fetch (get_record), relational queries (graphql_query), and player search (search_players). The main overlap is games_on_date, which is explicitly a convenience wrapper returning "the same envelope as query_table on the games table," and search_players overlaps with query_table's name filter — but descriptions clearly steer usage.

Naming Consistency4/5

Strong verb_noun pattern throughout (list_leagues, list_tables, describe_table, get_record, query_table, search_players, graphql_query). A few tools deviate into noun-style (api_usage, games_on_date), but the set remains readable and predictable.

Tool Count5/5

Nine tools is well-scoped for a data API: discovery, query, single-fetch, relational, search, convenience, and account tools each earn their place with no redundancy beyond the documented games_on_date shortcut.

Completeness4/5

The read-oriented surface is well covered: discovery (list_leagues/list_tables/describe_table), flat and relational querying (query_table/graphql_query), single-row access, and account usage. The only notable gap is search_players being NBA-only, though the description provides a query_table workaround.

Available Tools

9 tools
api_usageAPI usageA
Read-onlyIdempotent
Inspect

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.

Inputs: no named parameters.

describe_tableDescribe tableA
Read-onlyIdempotent
Inspect

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.

Inputs: table (required), league (required).

games_on_dateGames on dateA
Read-onlyIdempotent
Inspect

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.

Inputs: league (required), date.

get_recordGet recordA
Read-onlyIdempotent
Inspect

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.

Inputs: id (required), table (required), league (required).

graphql_queryGraphQL queryA
Read-onlyIdempotent
Inspect

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.

Inputs: query (required), variables.

list_leaguesList leaguesA
Read-onlyIdempotent
Inspect

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.

Inputs: no named parameters.

list_tablesList tablesA
Read-onlyIdempotent
Inspect

List every queryable table in one league with a one-line summary each. No credentials needed. Follow with describe_table before querying.

Inputs: league (required).

query_tableQuery tableA
Read-onlyIdempotent
Inspect

Query any table. Returns {"<table>": [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.

Inputs: table (required), league (required), limit, filters, +1 more.

search_playersSearch NBA playersA
Read-onlyIdempotent
Inspect

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.

Inputs: name (required), limit, league.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Live sports betting player props MCP server covering NBA, MLB, NFL, NHL, NCAA, and soccer. Unified from real sportsbooks into one REST API and a real MCP server (Streamable HTTP). Free tier, no card required.
      5
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Provides tools for live sportsbook odds, player props, scores, football xG, historical closing lines, US horse racing entries and results, and prediction-market prices through a hosted endpoint and local stdio proxy.
      8
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Provides MCP clients with sportsbook prices and pick'em lines across DraftKings, FanDuel, BetRivers, PrizePicks, Underdog and Pick6, including capture times and line history. Two tools work without an account, with the remainder requiring a free API key.
      9
      506 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Props-first sports odds API with a hosted MCP server. Live odds and player props (moneyline, spreads, totals) across US sportsbooks, normalized to JSON. Tools: get_odds, get_props, get_events, get_books. API-key auth, free tier.
      MIT No Attribution
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.