stat-api MCP
An official MCP server by stat-api that allows AI agents to browse sports data catalogs and query NFL, NBA, MLB, NHL, and PGA data without glue code. It supports anonymous catalog discovery and authenticated data retrieval via REST and GraphQL, handling metering and authentication seamlessly.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://api.stat-api.com/mcpWhat its tools do
9 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to stat-api.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
- Popularity 2 GitHub stars
What you can do with it
- List available sports leagues and tables
- Query specific sports data tables with filters
- Search for players by name
- Run GraphQL queries for nested relations
Source and maintenance
- Last repository push
- Maintenance checked
Protocol and capabilities
- Server
- stat-api 0.1.0
- MCP protocol negotiated in check
- 2025-06-18
- Tools
- 9 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
9 advertised
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.
{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"title": "List leagues",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"required": [
"league"
],
"properties": {
"league": {
"enum": [
"nfl",
"nba",
"mlb",
"nhl",
"pga",
"dfs",
"reference"
],
"type": "string"
}
},
"additionalProperties": false
}{
"title": "List tables",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"required": [
"league",
"table"
],
"properties": {
"table": {
"type": "string"
},
"league": {
"enum": [
"nfl",
"nba",
"mlb",
"nhl",
"pga",
"dfs",
"reference"
],
"type": "string"
}
},
"additionalProperties": false
}{
"title": "Describe table",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}query_table — Query table
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 <key>. Every returned row counts against the monthly record quota.
{
"type": "object",
"required": [
"league",
"table"
],
"properties": {
"limit": {
"type": "integer",
"minimum": 1
},
"table": {
"type": "string"
},
"league": {
"enum": [
"nfl",
"nba",
"mlb",
"nhl",
"pga",
"dfs",
"reference"
],
"type": "string"
},
"filters": {
"type": "object",
"description": "field or field__op keys → scalar values; see describe_table",
"additionalProperties": {
"type": [
"string",
"number",
"boolean"
]
}
},
"from_id": {
"type": "integer",
"description": "keyset cursor: 0 for the first page of a full walk, then the previous next_from_id"
}
},
"additionalProperties": false
}{
"title": "Query table",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"required": [
"league",
"table",
"id"
],
"properties": {
"id": {
"type": "string",
"description": "primary-key value (integer or text PK)"
},
"table": {
"type": "string"
},
"league": {
"enum": [
"nfl",
"nba",
"mlb",
"nhl",
"pga",
"dfs",
"reference"
],
"type": "string"
}
},
"additionalProperties": false
}{
"title": "Get record",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 100,
"minLength": 1
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
},
"league": {
"enum": [
"nba"
],
"type": "string",
"default": "nba"
}
},
"additionalProperties": false
}{
"title": "Search NBA players",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"required": [
"league"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "YYYY-MM-DD; defaults to today in US-Eastern time"
},
"league": {
"enum": [
"nba",
"mlb",
"nhl"
],
"type": "string"
}
},
"additionalProperties": false
}{
"title": "Games on date",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string"
},
"variables": {
"type": "object"
}
},
"additionalProperties": false
}{
"title": "GraphQL query",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}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.
{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"title": "API usage",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1122 ms
- 95th percentile latency
- 1415 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 796 ms · 9 tool(s)
- · probe · passed · 1448 ms · metadata changed · 9 tool(s)
- · repository · passed · updated
- · repository · passed · metadata changed · unchanged
- · repository · passed · metadata changed · updated
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http stat-api-mcp https://api.stat-api.com/mcpCodex
codex mcp add stat-api-mcp --url https://api.stat-api.com/mcpCursor
{
"mcpServers": {
"stat-api-mcp": {
"url": "https://api.stat-api.com/mcp"
}
}
}Cline
{
"mcpServers": {
"stat-api-mcp": {
"type": "streamableHttp",
"url": "https://api.stat-api.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"stat-api-mcp": {
"type": "http",
"url": "https://api.stat-api.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http stat-api-mcp https://api.stat-api.com/mcpClaude Desktop
https://api.stat-api.com/mcpWindsurf
{
"mcpServers": {
"stat-api-mcp": {
"serverUrl": "https://api.stat-api.com/mcp"
}
}
}Let your agent find its tools
Find servers like stat-api MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other data and analytics servers
Do you run stat-api MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.