stat-api — Sports Data

Official registry Games, sports and entertainment

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

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http stat-api-sports-data 'https://api.stat-api.com/mcp' --header 'Authorization: <Bearer <api-key> — required for data tools; catalog tools (list_leagues, list_tables, describe_table) work anonymously. Free tier at https://stat-api.com>'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "stat-api-sports-data": {
            "type": "http",
            "url": "https://api.stat-api.com/mcp",
            "headers": {
                "Authorization": "<Bearer <api-key> — required for data tools; catalog tools (list_leagues, list_tables, describe_table) work anonymously. Free tier at https://stat-api.com>"
            }
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. STAT API — Sports Data MCP Server
  2. Setup
  3. Tools
  4. Data coverage
  5. Other access methods
  6. Links

STAT API — Sports Data MCP Server

Remote MCP server (streamable HTTP) for stat-api.com: NFL, NBA, MLB, NHL, and PGA data — players, games, box scores, play-by-play — plus DFS salaries/slates and prediction-market prices from Kalshi and Polymarket.

Endpoint: https://api.stat-api.com/mcp

Listed in the official MCP Registry as com.stat-api/sports-data.

Setup

Works anonymously out of the box; add a free API key to unlock the data tools.

Claude Code
claude mcp add --transport http stat-api https://api.stat-api.com/mcp \
  --header "Authorization: Bearer <YOUR_API_KEY>"
JSON config (Claude Desktop, Cursor, and most other clients)
{
  "mcpServers": {
    "stat-api": {
      "type": "streamable-http",
      "url": "https://api.stat-api.com/mcp",
      "headers": { "Authorization": "Bearer <YOUR_API_KEY>" }
    }
  }
}

Omit the headers block to connect without credentials — the catalog tools still work, and the server tells you where to get a key when you call a data tool.

Tools

No credentials needed (browse the catalog):

ToolWhat it does
list_leaguesAll leagues/data groups (nfl, nba, mlb, nhl, pga, dfs, kalshi, polymarket, reference) with table counts
list_tablesEvery queryable table in one league, one-line summary each
describe_tableFull contract for a table: fields, types, accepted filters and operators, page limits, a runnable example

Free API key required (get one at stat-api.com):

ToolWhat it does
query_tableQuery any table with filters (field__gte, __between, __like, …) and keyset pagination
get_recordFetch a single row by primary key
search_playersTypo-tolerant player-name search
games_on_dateGames on one calendar date (US-Eastern)
game_marketsKalshi/Polymarket contracts linked to a specific game
graphql_queryRelational queries — game → teams → players → odds in one call
api_usageYour key's plan, quota used/remaining, and reset date

Data coverage

  • NFL / NBA / MLB / NHL / PGA — teams, players, games, box scores, play-by-play, odds, injuries, news
  • DFS — DraftKings/FanDuel slates, salaries, contest results
  • Prediction markets — Kalshi and Polymarket events, markets, prices, and trades, linked to the underlying games

~200 tables total. list_leagues → list_tables → describe_table walks the whole catalog.

Other access methods

Frequently asked questions

What is stat-api — Sports Data?

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

How do I install stat-api — Sports Data?

It runs as a remote server. In Claude Code: claude mcp add --transport http stat-api-sports-data 'https://api.stat-api.com/mcp' --header 'Authorization: <Bearer <api-key> — required for data tools; catalog tools (list_leagues, list_tables, describe_table) work anonymously. Free tier at https://stat-api.com>'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does stat-api — Sports Data need an API key?

Yes. It expects Authorization, which you set in its configuration.

Is stat-api — Sports Data open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains stat-api — Sports Data?

It is published by stat-api. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.