About Stat Api — Sports Data
STAT API Sports Data is a remote MCP server for sports analysis, covering NFL, NBA, MLB, NHL, PGA, DFS, and Kalshi and Polymarket markets. Its catalog is browsable anonymously; data queries require a free API key.
Key features
- 01Browse league and table catalogs
- 02Query players, games, and play-by-play
- 03Filter queries with keyset pagination
- 04Retrieve DFS salaries and slates
- 05Access Kalshi and Polymarket market data
- 06Run relational GraphQL queries
Use cases
- 01Find game dates, scores, and play-by-play data
- 02Look up players, injuries, odds, or news
- 03Analyze DraftKings and FanDuel slates and salaries
- 04Review prediction-market contracts linked to games
MCP support
The remote MCP server exposes sports data catalog, query, record lookup, player search, game, and market tools over streamable HTTP. Catalog tools work anonymously; data tools require an API key.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://api.stat-api.com/mcpclaude mcp add --transport http stat-api https://api.stat-api.com/mcp{"mcpServers":{"stat-api":{"type":"http","url":"https://api.stat-api.com/mcp"}}}Open in Cursor{"servers":{"stat-api":{"type":"http","url":"https://api.stat-api.com/mcp"}}}Open in VS Code{"mcpServers":{"stat-api":{"type":"http","url":"https://api.stat-api.com/mcp"}}}{"mcpServers":{"stat-api":{"serverUrl":"https://api.stat-api.com/mcp"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://api.stat-api.com/mcpAuth requiredTools
9This tool takes no parameters.
Details
From the project READMESTAT 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):
| Tool | What it does |
|---|---|
list_leagues | All leagues/data groups (nfl, nba, mlb, nhl, pga, dfs, kalshi, polymarket, reference) with table counts |
list_tables | Every queryable table in one league, one-line summary each |
describe_table | Full 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):
| Tool | What it does |
|---|---|
query_table | Query any table with filters (field__gte, __between, __like, …) and keyset pagination |
get_record | Fetch a single row by primary key |
search_players | Typo-tolerant player-name search |
games_on_date | Games on one calendar date (US-Eastern) |
game_markets | Kalshi/Polymarket contracts linked to a specific game |
graphql_query | Relational queries — game → teams → players → odds in one call |
api_usage | Your 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
- REST — OpenAPI 3.1 spec · interactive docs
- GraphQL —
POST https://api.stat-api.com/api/v1/graphql· SDL · IDE - Clients —
@sports-db/client(npm) ·sports-db(PyPI)
Links
- Website: https://stat-api.com
- MCP docs: https://stat-api.com/docs/mcp
- Pricing (free tier available): https://stat-api.com/pricing
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.