API & MCP

Everything a person can do on Movie Night Consensus Picker, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Movie Night Consensus Picker

List the candidate films (or restaurants, games, holiday spots), then let each person rank them and veto the ones they cannot stand. The picker runs four voting methods — Borda count, approval, instant-runoff and Condorcet/Schulze — shows each winner and why, and breaks ties fairly with a seed.

Inputs of Movie Night Consensus Picker
FieldTypeDefaultDescription
candidates (required)list—Candidates (one per line)
ballots (required)table—Ballots
vetoModeselect (remove, ignore)"remove"Vetoes
approvalCountinteger—Approval: top N of each ranking count as approved. Empty = half of the candidates, rounded up.
seedtext—Tie-break seed (optional). Ties are broken by a seeded random order of the candidates. Empty = derived from the inputs.

Example request

Five friends, four films, one veto

curl -X POST https://movienightconsensuspicker.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"candidates":["Dune: Part Two","Paddington 2","Alien","Amélie"],"ballots":[{"voter":"Ana","ranking":"Dune: Part Two > Alien > Amélie > Paddington 2"},{"voter":"Ben","ranking":"Paddington 2 > Amélie > Dune: Part Two","veto":"Alien"},{"voter":"Cleo","ranking":"Amélie > Paddington 2 > Dune: Part Two > Alien"},{"voter":"Dev","ranking":"Dune: Part Two > Paddington 2 > Amélie > Alien"},{"voter":"Eli","ranking":"Paddington 2 > Dune: Part Two > Amélie > Alien"}],"vetoMode":"remove"}'

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": {
    "movie-night-consensus-picker": { "type": "http", "url": "https://movienightconsensuspicker.usefulweb.site/mcp" }
  }
}