startgg-mcp-server
Provides tools for interacting with start.gg's GraphQL API, enabling discovery of tournaments, events, entrants, sets, standings, and streams for any game on start.gg.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@startgg-mcp-serverFind upcoming Super Smash Bros. Ultimate tournaments"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
startgg-mcp-server
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.
What is this?
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:
Normalized output — sets come back as
{ round, state: "COMPLETED", entrant1: { gamerTag, seed }, score, winnerEntrantId, ... }instead of raw GraphQL nestingURL resolution — paste a start.gg URL, get tournament/event ids back
Built-in rate limiting, retries, and caching tuned to start.gg's documented limits
The server is game-agnostic. Game-specific logic (e.g. Smash upset detection)
belongs in applications built on top — see
examples/smash-ultimate-watcher.
Related MCP server: Start.gg MCP Server
Features
15 read-only tools covering discovery, tournaments, events, players, streams, and URL resolution
Input validation (Zod) on every tool — bad ids, oversized page sizes, and malformed URLs never reach the API
Sliding-window rate limiter (default 75 req/60s vs start.gg's 80), retries with exponential backoff, and
Retry-AftersupportShort-TTL in-memory cache for metadata queries
Typed error codes:
AUTH_ERROR,RATE_LIMITED,NOT_FOUND,INVALID_INPUT,STARTGG_GRAPHQL_ERROR,NETWORK_ERROR,INTERNAL_ERRORGraphQL documents kept in
graphql/files, separate from codeThe API token never appears in output, logs, or error messages
Requirements
Node.js >= 20
A start.gg API token
Getting a start.gg API token
Log in to start.gg
Open developer settings (Profile → Developer Settings)
Create a personal access token and copy it
Treat the token like a password. This server reads it only from the
STARTGG_TOKEN environment variable.
Installation
git clone https://github.com/tomo789/startgg-mcp-server.git
cd startgg-mcp-server
npm install
npm run buildMCP client setup
Claude Code (CLI)
claude mcp add startgg --env STARTGG_TOKEN=YOUR_TOKEN -- node /path/to/startgg-mcp-server/dist/cli.jsClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"startgg": {
"command": "node",
"args": ["/path/to/startgg-mcp-server/dist/cli.js"],
"env": {
"STARTGG_TOKEN": "YOUR_TOKEN"
}
}
}
}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.
Available tools
Discovery
Tool | Purpose |
| Find videogame ids by name (e.g. "Super Smash Bros. Ultimate" → 1386) |
| General tournament search: name, videogame, country/state, date range, upcoming/past, open registration |
| Tournaments that haven't ended yet (includes in-progress), soonest first, with a days window |
| Tournaments for one videogame id (upcoming / past / all) |
Tournament
Tool | Purpose |
| Details, schedule, venue, events list, configured streams |
| Events (brackets) of a tournament, optionally filtered by videogame |
| Tournament-level participants (attendees); per-event seeding lives in |
| Stream queue: streams (with derived Twitch URLs) and the sets assigned to each |
Event
Tool | Purpose |
| Event details including phases (Pools, Top 8, ...) with phase ids |
| Entrants with seed, players, DQ flag; pagination or |
| Placements (use |
| Normalized sets; filter by state, phase, round, entrants, VOD presence |
Player
Tool | Purpose |
| Player by id: gamer tag, prefix, linked user |
| A player's recent sets across tournaments |
Utility
Tool | Purpose |
| start.gg URL/slug → |
Tournament/event tools accept either a numeric id, a slug, or a full
start.gg URL — you rarely need resolve_startgg_url explicitly, but it is
there when you want the ids.
Normalized set shape
{
"id": 106877974,
"round": "Grand Final",
"roundNumber": 3,
"state": "COMPLETED",
"stateRaw": 3,
"completedAt": "2026-08-24T07:19:34.000Z",
"entrant1": {
"entrantId": 24480092,
"name": "LittleMacMain",
"seed": 5,
"players": [{ "playerId": 3655189, "gamerTag": "LittleMacMain", "prefix": "" }],
"score": 2
},
"entrant2": { "...": "same shape" },
"score": { "entrant1": 2, "entrant2": 3, "displayScore": "LittleMacMain 2 - RenSuø 3" },
"winnerEntrantId": 24481002,
"phase": { "id": 1994001, "name": "Bracket" },
"vodUrl": null
}Notes grounded in the live API:
roundNumber < 0means losers bracket;roundis the human-readable namea score of
-1is start.gg's disqualification markerunstarted "preview" sets have string ids like
"preview_3430499_2_0"statenames are decoded from the integerstateRaw; both are always returnedentrant1/entrant2use aplayersarray, so doubles/teams work unchanged
Examples
Things to ask an MCP client once connected:
Find upcoming Super Smash Bros. Ultimate tournaments this week.
Get the entrants and seeds for this start.gg tournament URL:
https://www.start.gg/tournament/.../event/...
Show me completed sets from Top 8 of that event.
Which streams are assigned to sets at this tournament?
What were the biggest seed upsets in this event?A standalone example application (videogame lookup → upcoming tournaments →
sets → upset candidates by seed difference) lives in
examples/smash-ultimate-watcher.
Environment variables
Variable | Required | Default | Purpose |
| yes | — | start.gg API token |
| no |
| Reserved. No write tools exist yet; the flag only logs a notice |
| no |
| Requests per 60s window (hard-capped at 80) |
| no |
| Per-request HTTP timeout |
| no |
| Set |
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.
Without STARTGG_TOKEN the server still starts and lists tools, but every
call returns a clear AUTH_ERROR explaining how to fix it.
Security
The token is read from the environment only, sent only to
api.start.gg, and never included in tool output, logs, or error messagesAll tools are read-only; no mutations are implemented
.envfiles are git-ignored; use.env.exampleas a templateUser-supplied input is schema-validated before any request is built
Rate limits
start.gg allows 80 requests per 60 seconds and at most 1000 objects per request. This server:
keeps a sliding-window budget below the request limit (default 75/60s)
retries
429(honoringRetry-After) and transient 5xx errors with exponential backoff, at most 3 retries — GraphQL errors are never retriedcaps
perPageper tool so responses stay under the 1000-object complexity limit (sets are expensive: ~26+ objects each, henceperPage <= 30)caps
fetchAllat a fixed page budget and reportstruncated: truewhen it stops early
Development
npm run dev # run from source (tsx)
npm run build # compile to dist/
npm run typecheck # tsc --noEmit
npm run lint # eslint
npm run format # prettierGraphQL 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.
Testing
npm test # unit tests (fixtures/mocks only, no network)
STARTGG_INTEGRATION=1 STARTGG_TOKEN=... npm test # + 2 live API smoke tests
STARTGG_TOKEN=... node scripts/smoke.mjs # full stdio end-to-end smoke (~10 live requests)Unit tests cover the URL resolver, normalizers, input validation, pagination, GraphQL/HTTP error handling, the rate limiter, and the cache.
License
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityBmaintenanceProvides access to Chess.com player data, game records, and public information through standardized MCP interfaces, allowing AI assistants to search and analyze chess information.1082MIT
- AlicenseNot gradedqualityDmaintenanceProvides access to the Start.gg GraphQL API for querying tournament information, event standings, and player statistics. It also enables bracket management tasks like retrieving match sets and reporting winners through natural language.1Apache 2.0
- AlicenseAqualityDmaintenanceEnables AI assistants to query the FACEIT platform for players, matches, hubs, and tournaments through typed MCP tools generated from the FACEIT Data API v4.64MIT
- AlicenseAqualityBmaintenanceEnables querying Chess.com public data including player profiles, stats, games, and club information through natural language.9MIT
Related MCP Connectors
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Query metrics, targets, entities, and team data in your Steep workspace via MCP.
Riot Games API MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tomo789/startgg-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server