tandem
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Tandem
Somebody has to be on duty this week, and next week, and the week after that. Left to a group chat, that argument runs forever. This is a stdio MCP server that settles it: give it this week's pair, get back the whole calendar.
No database, no config file, no cron. Names go in as arguments, the rotation comes out. That's the entire product.
Install
Node >= 18 is all you need. npx fetches the package the first time and caches
it. Participants are plain arguments (spaces or commas, your call); with none,
it falls back to ROTATION_PARTICIPANTS, and then to Fran,Xabi,Dani.
Claude Code
claude mcp add -s user tandem -- npx -y github:pg-motocard/tandem Fran Xabi Dani-s user makes it available from any directory. Drop the flag and the scope is
local, meaning it only exists inside the folder you ran the command from.
Or by hand in ~/.claude.json, under the top-level mcpServers (the one nested
inside projects is the local scope):
"tandem": {
"type": "stdio",
"command": "npx",
"args": ["-y", "github:pg-motocard/tandem", "Fran", "Xabi", "Dani"]
}Claude Desktop
claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/,
Windows: %APPDATA%\Claude\), under mcpServers:
"tandem": {
"command": "npx",
"args": ["-y", "github:pg-motocard/tandem", "Fran", "Xabi", "Dani"]
}Restart the app after saving.
Cursor
~/.cursor/mcp.json (global) or .cursor/mcp.json (per project), under
mcpServers:
"tandem": {
"command": "npx",
"args": ["-y", "github:pg-motocard/tandem", "Fran", "Xabi", "Dani"]
}Codex CLI
~/.codex/config.toml:
[mcp_servers.tandem]
command = "npx"
args = ["-y", "github:pg-motocard/tandem", "Fran", "Xabi", "Dani"]Any other MCP client
If it speaks stdio, it works: command npx, arguments
-y github:pg-motocard/tandem <names>. Instead of arguments you
can set ROTATION_PARTICIPANTS="Fran,Xabi,Dani".
Local development
npm install once in the repo, then point the client at the file:
"command": "node",
"args": ["/path/to/tandem/index.js", "Fran", "Xabi", "Dani"]Related MCP server: weekness
Usage
One tool, pair_rotation(person1, person2, participants?):
person1andperson2: this week's pair. Type one of them in CAPS and that person stays on for week 2 with somebody else. Shouting is the API.participants(optional): a comma-separated list for this call only, leaving your config alone. Handy when someone joins for a fortnight:participants: "Fran,Xabi,Dani,Laura".
Three names minimum, no duplicates — in the config (or the server refuses to boot) and in the parameter (or the call comes back with the error).
The rules
With N participants:
The calendar runs
2Nweeks and everybody shows up 4 times.Week 1 is the pair you handed over.
Exactly one person carries over from each week into the next, so the same pair never happens twice in a row.
Nobody works three weeks straight.
Dates start on the Monday of the current week.
The search is randomised, so the same arguments can produce different calendars. Both are correct. Pick your battles.
Tests
npm testChecks the invariants — week count, appearances, carry-over, no three in a row, the CAPS repeater — with 3, 4 and 5 participants.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Make a round robin league schedule for 3 to 24 teams on real dates.
Generate optimized work shift schedules from staffing demand, availability and fairness rules.
Staff shift scheduler: fills the week fairly, flags clashes, finds cover, gives staff one link.
Make a printable weekly schedule from a list of classes, shifts or time blocks.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceGenerates legally-compliant weekly shift schedules for Korean workplaces through conversation, using OR-Tools CP-SAT to enforce labor laws such as the 52-hour weekly cap and minor worker protections.MIT
- FlicenseNot gradedqualityDmaintenanceProvides week and calendar helper tools for converting between dates and ISO weeks, performing week arithmetic, and looking up weekday names.-
- FlicenseNot gradedqualityNot gradedmaintenanceEnables autonomous resolution of multi-timezone calendar event overlaps and negotiation of deep-work buffers through deterministic, zero-dependency MCP-compatible tooling.-
- AlicenseNot gradedqualityBmaintenanceEnables families to manage a shared calendar through natural-language or voice requests, exposing 24 typed tools for adding and moving events, detecting person and coverage clashes, enforcing learned family rules, asking members for help, and approving children's events. Conflicts are found by a deterministic engine with plain-English explanations, and every fix is ranked, confirmed, and undoable.MIT