Documentation
¶
Overview ¶
Command waiverwatch is an MCP server for Sleeper fantasy football. It speaks MCP over stdio for local clients (Claude Code, Claude Desktop), or over HTTP at /mcp when PORT is set (Cloud Run). Over stdio it answers for WAIVERWATCH_USER. Over HTTP anyone signs in with their Sleeper username (OAuth; WAIVERWATCH_BASE_URL, WAIVERWATCH_SIGNING_KEY, optional WAIVERWATCH_ALLOWED_USERS) and each request answers for its signed-in user; WAIVERWATCH_NO_AUTH=1 turns sign-in off for local testing, with WAIVERWATCH_USER as the only user.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
killswitch
command
Command killswitch unlinks the project's billing account when its budget is spent.
|
Command killswitch unlinks the project's billing account when its budget is spent. |
|
internal
|
|
|
auth
Package auth is waiverwatch's own small OAuth 2.1 authorization server.
|
Package auth is waiverwatch's own small OAuth 2.1 authorization server. |
|
dynastyprocess
Package dynastyprocess is a read-only client for DynastyProcess's open dynasty values (github.com/dynastyprocess/data, refreshed weekly), joined to Sleeper player IDs through their ID table.
|
Package dynastyprocess is a read-only client for DynastyProcess's open dynasty values (github.com/dynastyprocess/data, refreshed weekly), joined to Sleeper player IDs through their ID table. |
|
fantasycalc
Package fantasycalc is a read-only client for FantasyCalc's public trade values: what players are worth in trades, built from real fantasy trades.
|
Package fantasycalc is a read-only client for FantasyCalc's public trade values: what players are worth in trades, built from real fantasy trades. |
|
killswitch
Package killswitch turns billing off for the project when the budget is spent.
|
Package killswitch turns billing off for the project when the budget is spent. |
|
league
Package league holds the fantasy logic: joins between rosters, owners and players.
|
Package league holds the fantasy logic: joins between rosters, owners and players. |
|
mcp
Package mcp exposes waiverwatch as MCP tools and serves them as a transport.
|
Package mcp exposes waiverwatch as MCP tools and serves them as a transport. |
|
sleeper
Package sleeper is a read-only client for the public Sleeper API.
|
Package sleeper is a read-only client for the public Sleeper API. |
|
sleeper/sleepertest
Package sleepertest runs a fake Sleeper API for tests, so no test ever touches the real one.
|
Package sleepertest runs a fake Sleeper API for tests, so no test ever touches the real one. |
|
store
Package store holds what waiverwatch keeps between requests: only the player dictionary.
|
Package store holds what waiverwatch keeps between requests: only the player dictionary. |
Click to show internal directories.
Click to hide internal directories.