API & MCP
Everything a person can do on Tournament Bracket Maker, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://tournamentbracketmaker.usefulweb.site/api/v1/calculate– run Tournament Bracket MakerGET https://tournamentbracketmaker.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Tournament Bracket Maker
Paste the entrants (in seed order, or let a seeded random draw decide) and pick single elimination, double elimination or round robin. Get a bracket with standard seeding and byes for the top seeds, a match list, and — as you enter results — winners advancing, standings and the champion. Download the bracket as JSON or CSV to share it.
| Field | Type | Default | Description |
|---|---|---|---|
title | text | "Tournament" | Tournament name |
entrants (required) | list | — | Entrants (one per line, best seed first) |
format | select (single, double, round-robin) | "single" | Format |
seeding | select (listed, random) | "listed" | Seeding |
thirdPlace | boolean | false | Third-place match (single elimination) |
grandFinalReset | boolean | true | Grand-final reset if the losers-bracket player wins (double elimination) |
results | table | — | Results. Match id from the match list (e.g. W1-2, L1-1, GF-1, R3-2) and the winner’s name. Round robin: write “draw” for a draw. |
seed | text | — | Random draw seed (optional). Only for a random draw. Empty = derived from the entrant list. |
Example request
Six players, single elimination, two rounds played
curl -X POST https://tournamentbracketmaker.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"title":"Office ping-pong","entrants":["Ana","Ben","Chloe","Dev","Emil","Fatima"],"format":"single","seeding":"listed","thirdPlace":true,"results":[{"match":"W1-2","winner":"Dev","score":"11–8"},{"match":"W1-4","winner":"Fatima","score":"11–9"},{"match":"W2-1","winner":"Ana","score":"2–1"}]}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://tournamentbracketmaker.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
tournament_bracket_maker - Local stdio connector:
node src/mcp-stdio.ts --tool=tournament-bracket-maker
{
"mcpServers": {
"tournament-bracket-maker": { "type": "http", "url": "https://tournamentbracketmaker.usefulweb.site/mcp" }
}
}