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

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.

Inputs of Chore Roulette
FieldTypeDefaultDescription
people (required)table—People
chores (required)table—Chores
lastWeektable—Last week (optional). Who did which chore last week, for the “not again” rule.
avoidRepeatsbooleantrueAvoid giving anyone the same chore as last week
seedtext—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)

{
  "mcpServers": {
    "chore-roulette": { "type": "http", "url": "https://choreroulette.usefulweb.site/mcp" }
  }
}