Koskamo

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.

stat-api MCP logo, by stat-apiVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by stat-api
You need:paste one URL and sign in with your STAT-API accountan API key in an Authorization: Bearer header also worksan owner adds the connector once in Organization settings → Connectors, and each member then clicks Connect and signs in with their own STAT-API accountcreate a free account
MCP endpoint (Streamable HTTP)
https://api.stat-api.com/mcp
Vendor documentation

What its tools do

9 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

9 of 9 have a description · 9 of 9 declare behavior hints · 0 of 7 with parameters document them all

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

Vendor evidenceRegistry 1.0.1
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
Server-advertised capabilities
{
  "tools": {}
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

stat-api serves NFL, NBA, MLB, NHL, and PGA data plus DFS salaries. Workflow: list_leagues → list_tables(league) → describe_table(league, table) → query_table. Catalog tools work without credentials; data tools need a stat-api account: sign in when your app asks (free account at https://stat-api.com), or send an API key as 'Authorization: Bearer <key>'. Every returned row counts against the account's monthly record quota — check api_usage to see your position.

Tools

9 advertised

list_leagues — List leagues
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

list_leagues input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
list_leagues annotations
{
  "title": "List leagues",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
list_tables — List tables
Advertised by the server during the last successful anonymous check.
Advertised read-only

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

list_tables input schema
{
  "type": "object",
  "required": [
    "league"
  ],
  "properties": {
    "league": {
      "enum": [
        "nfl",
        "nba",
        "mlb",
        "nhl",
        "pga",
        "dfs",
        "reference"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false
}
list_tables annotations
{
  "title": "List tables",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
describe_table — Describe table
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

describe_table input schema
{
  "type": "object",
  "required": [
    "league",
    "table"
  ],
  "properties": {
    "table": {
      "type": "string"
    },
    "league": {
      "enum": [
        "nfl",
        "nba",
        "mlb",
        "nhl",
        "pga",
        "dfs",
        "reference"
      ],
      "type": "string"
    }
  },
  "additionalProperties": false
}
describe_table annotations
{
  "title": "Describe table",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
query_table — Query table
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

query_table input schema
{
  "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
}
query_table annotations
{
  "title": "Query table",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
get_record — Get record
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

get_record input schema
{
  "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
}
get_record annotations
{
  "title": "Get record",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
search_players — Search NBA players
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

search_players input schema
{
  "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
}
search_players annotations
{
  "title": "Search NBA players",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
games_on_date — Games on date
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

games_on_date input schema
{
  "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
}
games_on_date annotations
{
  "title": "Games on date",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
graphql_query — GraphQL query
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

graphql_query input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string"
    },
    "variables": {
      "type": "object"
    }
  },
  "additionalProperties": false
}
graphql_query annotations
{
  "title": "GraphQL query",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
api_usage — API usage
Advertised by the server during the last successful anonymous check.
Advertised read-only

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.

api_usage input schema
{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
api_usage annotations
{
  "title": "API usage",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

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.

100% (79 of 79 checks answered)

  1. 2026-11-02: 3 of 3 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 3 of 3 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 3 of 3 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 4 of 4 checks answered
  24. 2026-11-27: 4 of 4 checks answered
  25. 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.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http stat-api-mcp https://api.stat-api.com/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add stat-api-mcp --url https://api.stat-api.com/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable stat-api-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "stat-api-mcp": {
      "url": "https://api.stat-api.com/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "stat-api-mcp": {
      "type": "streamableHttp",
      "url": "https://api.stat-api.com/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start stat-api-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "stat-api-mcp": {
      "type": "http",
      "url": "https://api.stat-api.com/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http stat-api-mcp https://api.stat-api.com/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://api.stat-api.com/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "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.

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.

Claim this listing