# LeagueNight

> Fixtures, standings and dates

LeagueNight saves league organizers the spreadsheet: build a round-robin fixture list for any set of teams (with byes for odd counts and an optional mirrored second leg), turn match results into a standings table sorted by points, goal difference and goals for, lay a match day across courts and fixed time slots, and plan a whole season from a start date to an estimated finish date. Pure arithmetic - no accounts, no sign-ups, nothing stored.

## Use from an AI assistant

- MCP endpoint (Streamable HTTP, JSON profile): POST https://league-night.magicteams.ai/mcp
- Directories: ChatGPT Apps, Claude Connectors, Meta Muse (search "LeagueNight")
- Machine manifest: https://league-night.magicteams.ai/.well-known/agent.json
- UCP discovery profile: https://league-night.magicteams.ai/.well-known/ucp

## Tools

- round_robin_schedule: Round robin schedule — Build a circle-method round-robin fixture schedule: every pair of teams meets once, or twice when second_leg is set. Odd team counts get one bye per round.
- standings_table: Standings table — Aggregate match results into a league table with played, wins, draws, losses, goals for/against, goal difference and points, sorted by points, then goal difference, then goals for, then name.
- match_day_plan: Match day plan — Lay an ordered list of games onto a courts-by-slots time grid: game i goes to court (i mod courts) in slot (i div courts) and each slot is slot_minutes long, starting at start_time.
- season_plan: Season plan — Size a season end-to-end: total fixtures from the round-robin, games per match day given the courts available, match days needed, and the calendar dates from a start date to the estimated finish date.

All tools are free, compute per request, and store nothing.

## Operator

MagicTeams — support@magicteams.ai — https://league-night.magicteams.ai/support
