API & MCP
Everything a person can do on Chore Roulette, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://choreroulette.usefulweb.site/api/v1/calculate– run Chore RouletteGET https://choreroulette.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Chore Roulette
Enter the people (with an optional capacity, e.g. 0.5 for a child) and the chores with effort points. Chore Roulette draws a reproducible random assignment that balances everyone’s total effort, can avoid giving anyone the same chore as last week, and shows each person’s load against their fair share.
| Field | Type | Default | Description |
|---|---|---|---|
people (required) | table | — | People |
chores (required) | table | — | Chores |
lastWeek | table | — | Last week (optional). Who did which chore last week, for the “not again” rule. |
avoidRepeats | boolean | true | Avoid giving anyone the same chore as last week |
seed | text | — | Seed (optional). Same seed + same inputs = same draw. Leave empty to derive it from the inputs; change it (e.g. to the week number) to re-spin. |
Example request
Flat share of three
curl -X POST https://choreroulette.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"people":[{"name":"Alex"},{"name":"Bea"},{"name":"Chris"}],"chores":[{"chore":"Bathroom","effort":4},{"chore":"Kitchen","effort":3},{"chore":"Vacuum","effort":3},{"chore":"Bins","effort":1},{"chore":"Groceries","effort":2},{"chore":"Dishes","effort":1,"count":4}],"lastWeek":[{"chore":"Bathroom","person":"Alex"},{"chore":"Kitchen","person":"Bea"}],"avoidRepeats":true,"seed":"week-42"}'
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://choreroulette.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
chore_roulette - Local stdio connector:
node src/mcp-stdio.ts --tool=chore-roulette
{
"mcpServers": {
"chore-roulette": { "type": "http", "url": "https://choreroulette.usefulweb.site/mcp" }
}
}