The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Start.gg MCP Server listing page.
A Model Context Protocol server for the start.gg GraphQL API. It lets MCP clients (Claude Code, Claude Desktop, and others) discover tournaments, inspect events, entrants, sets, standings, and streams for any game on start.gg using natural language.
start.gg exposes a powerful but complex GraphQL API: entrants vs participants vs players, integer set states, complexity-limited pagination, epoch timestamps. This server wraps that API in a small set of MCP tools with:
{ round, state: "COMPLETED", entrant1: { gamerTag, seed }, score, winnerEntrantId, ... } instead of raw GraphQL nestingThe server is game-agnostic. Game-specific logic (e.g. Smash upset detection)
belongs in applications built on top — see
examples/smash-ultimate-watcher.
Retry-After supportAUTH_ERROR, RATE_LIMITED, NOT_FOUND, INVALID_INPUT, STARTGG_GRAPHQL_ERROR, NETWORK_ERROR, INTERNAL_ERRORgraphql/ files, separate from codeTreat the token like a password. This server reads it only from the
STARTGG_TOKEN environment variable.
Requires STARTGG_TOKEN in the environment; MCP clients normally launch it for you (see the next section).
Running from a source checkout instead:
Add to claude_desktop_config.json:
From a source checkout, use "command": "node" and "args": ["/path/to/startgg-mcp-server/dist/cli.js"] instead.
Any MCP client that supports stdio servers works the same way: run
node dist/cli.js (or the startgg-mcp-server bin once installed via npm)
with STARTGG_TOKEN set.
| Tool | Purpose |
|---|---|
search_videogames | Find videogame ids by name (e.g. "Super Smash Bros. Ultimate" → 1386) |
search_tournaments | General tournament search: name, videogame, country/state, date range, upcoming/past, open registration |
get_upcoming_tournaments | Tournaments that haven't ended yet (includes in-progress), soonest first, with a days window |
get_tournaments_by_videogame | Tournaments for one videogame id (upcoming / past / all) |
| Tool | Purpose |
|---|---|
get_tournament | Details, schedule, venue, events list, configured streams |
get_tournament_events | Events (brackets) of a tournament, optionally filtered by videogame |
get_tournament_entrants | Tournament-level participants (attendees); per-event seeding lives in get_event_entrants |
get_stream_queue | Stream queue: streams (with derived Twitch URLs) and the sets assigned to each |
| Tool | Purpose |
|---|---|
get_event | Event details including phases (Pools, Top 8, ...) with phase ids |
get_event_entrants | Entrants with seed, players, DQ flag; pagination or fetchAll |
get_event_standings | Placements (use perPage: 8 for Top 8) |
get_event_sets | Normalized sets with stream; filter by state, phase, round, entrants, players, VOD; includeGames for per-game details |
get_set_games | Per-game stage / winner / character picks for one set; see coverage note |
| Tool | Purpose |
|---|---|
get_player | Player by id: gamer tag, prefix, linked user |
get_player_sets | A player's recent sets across tournaments |
| Tool | Purpose |
|---|---|
resolve_startgg_url | start.gg URL/slug → { type, tournamentId, eventId, slugs, names } |
Tournament/event tools accept either a numeric id, a slug, or a full
start.gg URL. Scheme-less URLs (start.gg/tournament/...) and <t>/event/<e>
slugs are accepted too — you rarely need resolve_startgg_url explicitly, but
it is there when you want the ids.
Notes grounded in the live API:
roundNumber < 0 means losers bracket; round is the human-readable name-1 is start.gg's disqualification marker"preview_3430499_2_0"state names are decoded from the integer stateRaw; both are always returnedentrant1/entrant2 use a players array, so doubles/teams work unchangedget_set_games (and get_event_sets with includeGames: true) add per-game
details when start.gg has them:
derivedCharacters summarizes unique character names per entrant in
first-appearance order across games. This is derived, not an API field.
Character and stage data only exists when the set was reported with it. In a
2026-09 sample, late rounds (Top 8 / streamed) had it on about 90% of completed
sets; early pools about 5%. An empty games array means not reported, not that
no games were played. Typical flow: get_event_sets (e.g. phaseIds for Top 8)
→ pick set ids → get_set_games. For many sets at once, get_event_sets with
includeGames: true.
Things to ask an MCP client once connected:
A standalone example application (videogame lookup → upcoming tournaments →
sets → upset candidates by seed difference) lives in
examples/smash-ultimate-watcher.
| Variable | Required | Default | Purpose |
|---|---|---|---|
STARTGG_TOKEN | yes | — | start.gg API token |
STARTGG_ENABLE_WRITES | no | false | Reserved. No write tools exist yet; the flag only logs a notice |
STARTGG_RATE_LIMIT | no | 75 | Requests per 60s window (hard-capped at 80) |
STARTGG_TIMEOUT_MS | no | 30000 | Per-request HTTP timeout |
STARTGG_CACHE | no | on | Set off to disable the in-memory cache |
The API endpoint is deliberately not configurable through the environment: the
token is only ever sent to api.start.gg. When using the client as a library
(tests, tooling), inject apiUrl/fetchFn via the StartggClient constructor.
Out-of-range or non-numeric values for STARTGG_RATE_LIMIT / STARTGG_TIMEOUT_MS
fall back to the default and log a warning on stderr.
Without STARTGG_TOKEN the server still starts and lists tools, but every
call returns a clear AUTH_ERROR explaining how to fix it.
api.start.gg, and never included in tool output, logs, or error messages.env files are git-ignored; use .env.example as a templatestart.gg allows 80 requests per 60 seconds and at most 1000 objects per request. This server:
429 (honoring Retry-After) and transient 5xx errors with exponential backoff, at most 3 retries — GraphQL errors are never retriedperPage per tool so responses stay under the 1000-object complexity limit (sets are expensive: ~26+ objects each, hence perPage <= 30)fetchAll at 5 pages per tool (output is meant for an LLM context, so it stays around 100 KB of compact JSON) and reports truncated: true when it stops earlyGraphQL documents live in graphql/*.graphql (one file per domain, multiple
named operations per file; requests select an operation via operationName).
Schema facts verified against the live API are recorded in
docs/startgg-api-notes.md — read it before
adding fields.
Unit tests cover the URL resolver, normalizers, input validation, pagination, GraphQL/HTTP error handling, the rate limiter, and the cache.