CourtSplit

Split court costs, settle up and plan fair rotations for pickup games. Free.

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
95%
Integridad del esquema
100%
Calidad de los nombres
85%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~2,587Tokens (definiciones de herramientas)
~7.1 KBTamaño de respuesta típico
Impacto significativo en la atención (2.02% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

{
  "mcpServers": {
    "court-split": {
      "url": "https://court-split.magicteams.ai/mcp"
    }
  }
}

Puntos de conexión remotos

https://court-split.magicteams.ai/mcpstreamable-http

Qué puede hacer

Inventario de herramientas

Herramientas (4)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢split_costs(total_cost, participants, shares, currency)

Split one total court or venue cost across players, equally or by relative weights, and show each player's share plus the fewest payments to settle up. Use for a single booking or event. For recurring sessions with changing attendance use split_series.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "total_cost": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Total court/venue cost in currency units, e.g. 96 for $96.00"
    },
    "participants": {
      "type": "array",
      "minItems": 2,
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Player name, unique within the list, e.g. 'Asha'"
          },
          "paid": {
            "type": "number",
            "minimum": 0,
            "description": "Amount this player already paid toward the total, in currency units (default 0)"
          }
        },
        "required": [
          "name"
        ]
      },
      "description": "At least 2 players with unique names; include 'paid' for anyone who already paid, e.g. [{\"name\":\"Asha\",\"paid\":96},{\"name\":\"Dev\"}]"
    },
    "shares": {
      "type": "array",
      "items": {
        "type": "number",
        "exclusiveMinimum": 0
      },
      "description": "Optional positive relative weights, one per participant in the same order, e.g. [2,1,1]; omit for an equal split"
    },
    "currency": {
      "type": "string",
      "description": "Currency code used only for display, e.g. USD, EUR, GBP (default USD)"
    }
  },
  "required": [
    "total_cost",
    "participants"
  ]
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "description": "Currency code used for display"
    },
    "total_cost": {
      "type": "number",
      "description": "Total cost that was split, rounded to cents"
    },
    "split": {
      "type": "string",
      "enum": [
        "equal",
        "weighted"
      ],
      "description": "Whether the split was equal or by relative weights"
    },
    "per_head": {
      "type": [
        "number",
        "null"
      ],
      "description": "Equal share per player, or null for a weighted split"
    },
    "participants": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Player name"
          },
          "paid": {
            "type": "number",
            "description": "Amount this player paid"
          },
          "owed": {
            "type": "number",
            "description": "This player's fair share of the cost"
          },
          "balance": {
            "type": "number",
            "description": "paid minus owed; positive = gets money back, negative = owes money"
          }
        },
        "required": [
          "name",
          "paid",
          "owed",
          "balance"
        ]
      },
      "description": "Per-player paid, owed share and balance"
    },
    "settle_up": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Player who pays"
          },
          "to": {
            "type": "string",
            "description": "Player who receives"
          },
          "amount": {
            "type": "number",
            "description": "Amount to transfer, rounded to cents"
          }
        },
        "required": [
          "from",
          "to",
          "amount"
        ]
      },
      "description": "Fewest payments that settle everyone (empty if nobody paid yet or all square)"
    },
    "note": {
      "type": "string",
      "description": "Plain-language summary of the split"
    }
  },
  "required": [
    "currency",
    "total_cost",
    "split",
    "per_head",
    "participants",
    "settle_up",
    "note"
  ]
}
🟢settle_up(total_cost, participants, shares, currency)

Given a shared total and who already paid what, compute each player's balance and the minimal set of payments (who pays whom, how much) to settle everyone. Use when the question is 'who owes whom'. For recurring sessions with different attendees use split_series.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "total_cost": {
      "type": "number",
      "exclusiveMinimum": 0,
      "description": "Total court/venue cost in currency units, e.g. 96 for $96.00"
    },
    "participants": {
      "type": "array",
      "minItems": 2,
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Player name, unique within the list, e.g. 'Asha'"
          },
          "paid": {
            "type": "number",
            "minimum": 0,
            "description": "Amount this player already paid toward the total, in currency units (default 0)"
          }
        },
        "required": [
          "name"
        ]
      },
      "description": "At least 2 players with unique names; include 'paid' for anyone who already paid, e.g. [{\"name\":\"Asha\",\"paid\":96},{\"name\":\"Dev\"}]"
    },
    "shares": {
      "type": "array",
      "items": {
        "type": "number",
        "exclusiveMinimum": 0
      },
      "description": "Optional positive relative weights, one per participant in the same order, e.g. [2,1,1]; omit for an equal split"
    },
    "currency": {
      "type": "string",
      "description": "Currency code used only for display, e.g. USD, EUR, GBP (default USD)"
    }
  },
  "required": [
    "total_cost",
    "participants"
  ]
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "description": "Currency code used for display"
    },
    "total_cost": {
      "type": "number",
      "description": "Total shared cost, rounded to cents"
    },
    "balances": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Player name"
          },
          "paid": {
            "type": "number",
            "description": "Amount this player paid"
          },
          "owed": {
            "type": "number",
            "description": "This player's fair share of the cost"
          },
          "balance": {
            "type": "number",
            "description": "paid minus owed; positive = gets money back, negative = owes money"
          }
        },
        "required": [
          "name",
          "paid",
          "owed",
          "balance"
        ]
      },
      "description": "Per-player paid, owed share and net balance"
    },
    "transfers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Player who pays"
          },
          "to": {
            "type": "string",
            "description": "Player who receives"
          },
          "amount": {
            "type": "number",
            "description": "Amount to transfer, rounded to cents"
          }
        },
        "required": [
          "from",
          "to",
          "amount"
        ]
      },
      "description": "Minimal list of payments that settles the group"
    },
    "transfer_count": {
      "type": "integer",
      "description": "Number of payments in transfers"
    },
    "note": {
      "type": "string",
      "description": "Plain-language summary of the settlement"
    }
  },
  "required": [
    "currency",
    "total_cost",
    "balances",
    "transfers",
    "transfer_count",
    "note"
  ]
}
🟢split_series(sessions, players, payments, currency)

Split a series of recurring sessions where attendance varies: each session's cost is shared only by that session's attendees, then payments already made are netted into balances and minimal settle-up transfers. Use for weekly games or leagues. For a single event use split_costs.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "sessions": {
      "type": "array",
      "minItems": 1,
      "description": "Sessions in order, each with its cost and the names who attended",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "description": "Optional session label, e.g. 'Tue 7pm' (default 'session N')"
          },
          "cost": {
            "type": "number",
            "exclusiveMinimum": 0,
            "description": "Cost of this session in currency units, e.g. 60"
          },
          "attendees": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string"
            },
            "description": "Unique names of players present at this session"
          }
        },
        "required": [
          "cost",
          "attendees"
        ]
      }
    },
    "players": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Optional full roster, so players who missed every session still appear with a zero balance"
    },
    "payments": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Player who paid, e.g. the person who fronted court fees"
          },
          "paid": {
            "type": "number",
            "minimum": 0,
            "description": "Total amount this player has paid across the series, in currency units"
          }
        },
        "required": [
          "name",
          "paid"
        ]
      },
      "description": "Optional list of who already paid what across the series, e.g. [{\"name\":\"Asha\",\"paid\":120}]"
    },
    "currency": {
      "type": "string",
      "description": "Currency code used only for display, e.g. USD (default USD)"
    }
  },
  "required": [
    "sessions"
  ]
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "description": "Currency code used for display"
    },
    "total_cost": {
      "type": "number",
      "description": "Sum of all session costs"
    },
    "session_count": {
      "type": "integer",
      "description": "Number of sessions processed"
    },
    "sessions": {
      "type": "array",
      "description": "Per-session cost breakdown",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "description": "Session label"
          },
          "cost": {
            "type": "number",
            "description": "Session cost"
          },
          "attendees": {
            "type": "integer",
            "description": "Number of attendees"
          },
          "per_head": {
            "type": "number",
            "description": "Cost per attendee for this session"
          }
        },
        "required": [
          "label",
          "cost",
          "attendees",
          "per_head"
        ]
      }
    },
    "players": {
      "type": "array",
      "description": "Per-player paid, owed, balance and sessions attended",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Player name"
          },
          "paid": {
            "type": "number",
            "description": "Amount this player paid"
          },
          "owed": {
            "type": "number",
            "description": "This player's fair share of the cost"
          },
          "balance": {
            "type": "number",
            "description": "paid minus owed; positive = gets money back, negative = owes money"
          },
          "sessions_played": {
            "type": "integer",
            "description": "Number of sessions this player attended"
          }
        },
        "required": [
          "name",
          "paid",
          "owed",
          "balance",
          "sessions_played"
        ]
      }
    },
    "transfers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "description": "Player who pays"
          },
          "to": {
            "type": "string",
            "description": "Player who receives"
          },
          "amount": {
            "type": "number",
            "description": "Amount to transfer, rounded to cents"
          }
        },
        "required": [
          "from",
          "to",
          "amount"
        ]
      },
      "description": "Fewest payments that settle everyone"
    },
    "note": {
      "type": "string",
      "description": "Explanation of how the series was split"
    }
  },
  "required": [
    "currency",
    "total_cost",
    "session_count",
    "sessions",
    "players",
    "transfers",
    "note"
  ]
}
🟢rotation_plan(players, capacity, courts, rounds)

Plan fair player rotations for pickup games: who plays on each court every round and who sits out, balancing games played across the roster. Use when more players show up than court spots. Does not split money; for costs use split_costs or split_series.

Esquema de entrada

{
  "type": "object",
  "properties": {
    "players": {
      "type": "array",
      "minItems": 2,
      "items": {
        "type": "string"
      },
      "description": "Unique roster names, at least capacity x courts of them, e.g. [\"Asha\",\"Dev\",\"Mira\",\"Sam\",\"Lee\",\"Kai\"]"
    },
    "capacity": {
      "type": "integer",
      "minimum": 1,
      "description": "Players per court: 2 for singles, 4 for doubles, 10 for 5v5 basketball"
    },
    "courts": {
      "type": "integer",
      "minimum": 1,
      "description": "Number of courts in use at once (default 1)"
    },
    "rounds": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "description": "Number of rounds to schedule, 1-50"
    }
  },
  "required": [
    "players",
    "capacity",
    "rounds"
  ]
}

Esquema de salida

{
  "type": "object",
  "properties": {
    "format": {
      "type": "string",
      "description": "Format label with players per side and courts, e.g. '2v2 on 2 court(s)' for capacity 4 (doubles), '1v1' for capacity 2; odd capacity shows 'N player(s) per court'"
    },
    "rounds": {
      "type": "integer",
      "description": "Number of rounds scheduled"
    },
    "fairness": {
      "type": "object",
      "description": "Games-played balance across the roster",
      "properties": {
        "min_games": {
          "type": "integer",
          "description": "Fewest games any player gets"
        },
        "max_games": {
          "type": "integer",
          "description": "Most games any player gets"
        },
        "spread": {
          "type": "integer",
          "description": "max_games minus min_games"
        }
      },
      "required": [
        "min_games",
        "max_games",
        "spread"
      ]
    },
    "schedule": {
      "type": "array",
      "description": "One entry per round",
      "items": {
        "type": "object",
        "properties": {
          "round": {
            "type": "integer",
            "description": "Round number starting at 1"
          },
          "courts": {
            "type": "array",
            "description": "Players on each court this round",
            "items": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "sitting": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Players sitting out this round"
          }
        },
        "required": [
          "round",
          "courts",
          "sitting"
        ]
      }
    },
    "note": {
      "type": "string",
      "description": "Whether the rotation is perfectly balanced"
    }
  },
  "required": [
    "format",
    "rounds",
    "fairness",
    "schedule",
    "note"
  ]
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada4 herramientas
verificadoversión no registrada4 herramientas
verificadoversión no registrada4 herramientas
verificadoversión no registrada4 herramientas
verificadoversión no registrada4 herramientas