when2meet-mcp
This MCP server reads and fills when2meet scheduling polls over plain HTTP with safe previews and availability computation.
Load poll metadata, participants, time range, and optional slot grid.
Find overlapping free times across participants.
Fill availability from recurring weekly busy blocks like class schedules.
Compute availability from ISO calendar busy intervals and all-day dates.
Apply buffer minutes, daily block-before/after cutoffs, and timezone handling.
Preview and validate zero-based slot indices before writing.
Sign in and submit a full positional availability bitmask.
Use safe defaults like dry_run=true, password handling, and name-conflict fallback/agent attribution.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@when2meet-mcp Fill this when2meet poll from my Google Calendar and skip mornings before 10"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
when2meet-mcp
MCP server that reads and fills when2meet scheduling polls over plain HTTP — no browser automation, no OAuth.
Built for use with Cursor, Claude Desktop, or any MCP client. Pair it with a calendar MCP to auto-mark your availability from Google Calendar, Outlook, or a weekly class schedule.
What it does
Paste a when2meet link and ask your agent:
Fill this poll from my calendar — skip mornings before 10
The server will:
Load the poll — slot grid, participants, local time range
Compute free slots from busy blocks (weekly schedule or ISO calendar intervals)
Preview (
dry_run=trueby default)Submit a positional availability bitmask to when2meet
Related MCP server: Kairos
How it works
when2meet has no public API, but the participant UI uses three simple POST endpoints:
Endpoint | Purpose |
| Read slot grid + group availability |
| Sign in with name (+ optional password) → person ID |
| Write full |
This MCP wraps those calls with validation, timezone handling, and safety defaults.
Requirements
Python 3.11+
Network access to
when2meet.com
Install
git clone <repo-url>
cd when2meet-mcp
pip install -e .Optional dev dependencies:
pip install pytest
pytestCursor / Claude MCP config
Add to ~/.cursor/mcp.json (or Claude Desktop config). Set cwd to wherever you cloned the repo:
{
"mcpServers": {
"when2meet": {
"command": "python3",
"args": ["-m", "when2meet_mcp.server"],
"cwd": "/Users/jasoncharwin/Personal Code Projects/MCPs/when2meet-mcp",
"env": {
"WHEN2MEET_AGENT_NAME": "Composer"
}
}
}
}WHEN2MEET_AGENT_NAME is the label used when submitting under an alternate name (e.g. Jason Charwin (Composer) when the main entry has a password). Set it to Claude, GPT-4, Gemini, etc. Defaults to Cursor.
See mcp.json.example for a copy-paste template.
Claude Desktop (.mcpb)
Package for one-click install:
./scripts/pack-mcpb.shThen double-click when2meet-mcp.mcpb or drag it into Claude Desktop Settings. Uses the UV runtime — no manual pip install needed.
Tools
Tool | Description |
| Poll metadata, participants, time range, inferred week start |
| Fill from recurring |
| Fill from ISO calendar busy intervals + optional all-day dates |
| Validate slot indices before submitting |
| Sign in and save availability |
| Find overlapping free times across participants |
Example workflows
Weekly class schedule
No calendar API needed — match by weekday + local time from poll labels:
fill_from_weekly_schedule(
url="https://www.when2meet.com/?12345678-AbCdE",
name="Alex Kim",
on_name_conflict="alternate_suffix",
busy_blocks=[
{"day": "Monday", "start": "09:00", "end": "10:15"},
{"day": "Monday", "start": "10:30", "end": "15:00"},
{"day": "Wednesday", "start": "09:00", "end": "10:15"},
],
buffer_minutes=5,
block_before="10:00",
dry_run=true
)Calendar MCP integration
1. get_poll(url)
2. [calendar MCP] → busy_times as ISO intervals
3. compute_availability_from_busy_times(
url=url,
busy_times=[{"start": "2026-03-09T14:00:00-04:00", "end": "2026-03-09T15:00:00-04:00"}],
all_day_dates=["2026-03-10"],
buffer_minutes=5,
)
4. submit_availability(url, name, slot_indices, dry_run=true)
5. submit_availability(..., dry_run=false, password="...")Edge cases handled
Wrong password on existing name →
on_name_conflict="alternate_suffix"submits asName (Agent)15-minute slot boundaries → overlap-based matching
Buffer time →
buffer_minutesexpands busy blocksDaily limits →
block_before/block_afterAll-day events →
all_day_datesAccidental submit →
dry_run=truedefault on write toolsInvalid slot indices → validated with warnings
Full positional bitmask → always sends complete
0/1string (required by when2meet)Unmarked participants → excluded from overlap by default
Limitations
when2meet's HTTP interface is undocumented and may change
Cannot delete participant rows via API (only clear availability)
Poll grid does not expose absolute calendar dates on the participant page
Event times are stored in UTC; evening slots may be outside the grid in your local timezone
Password-protected participant names require the user to provide the password
Project layout
when2meet-mcp/
├── when2meet_mcp/
│ ├── client.py # HTTP client + poll parsing
│ ├── scheduling.py # Slot matching, validation, warnings
│ ├── auth.py # Login + password fallback
│ ├── agent.py # Agent name attribution
│ └── server.py # MCP tool definitions
├── tests/
├── pyproject.toml
└── mcp.json.exampleRun the server manually
python3 -m when2meet_mcp.serverLicense
MIT — see LICENSE.
Disclaimer
This project is not affiliated with when2meet. It uses reverse-engineered HTTP endpoints for personal automation. Use responsibly.
Available Tools
6 toolscompute_availability_from_busy_timesA
Compute free slots from ISO calendar busy intervals.
Args: url: when2meet poll URL busy_times: List of {start, end} ISO-8601 datetimes when busy timezone: IANA timezone for comparisons week_start_date: Date of column 0 (YYYY-MM-DD). Inferred from today if omitted. all_day_dates: Optional list of YYYY-MM-DD all-day busy dates buffer_minutes: Expand busy intervals by this many minutes block_before: Daily cutoff like "10:00" block_after: Daily cutoff like "18:00"
Inputs: url (required), busy_times (required), timezone, block_after, +4 more. Returns: object
fill_from_weekly_scheduleA
Fill a poll from recurring weekly busy blocks (best for class schedules).
Matches by weekday + local time from poll labels — no week_start_date needed.
Args: url: when2meet poll URL name: Your name on the poll busy_blocks: List of {day, start, end} e.g. {"day":"Monday","start":"09:00","end":"10:15"} timezone: IANA timezone for slot labels password: Per-event password if returning to an existing name buffer_minutes: Expand each busy block by this many minutes before/after block_before: Daily cutoff like "10:00" — treat earlier slots as busy block_after: Daily cutoff like "18:00" — treat later slots as busy dry_run: Preview only (default true for safety) on_name_conflict: error | alternate_suffix | create_new agent_name: Model label for alternate name, e.g. Claude (default: WHEN2MEET_AGENT_NAME env)
Inputs: url (required), name (required), busy_blocks (required), dry_run, +7 more. Returns: object
find_common_availabilityB
Find times when participants overlap.
Args: url: when2meet poll URL timezone: IANA timezone for slot labels participant_names: Optional subset of names min_participants: Minimum number of people free (default: all selected) only_marked_participants: Exclude participants who have not marked any slots
Inputs: url (required), timezone, min_participants, participant_names, +1 more. Returns: object
get_pollA
Load a when2meet poll: title, participants, time range, and optional slot grid.
Args: url: Full when2meet URL, e.g. https://www.when2meet.com/?38093485-OZAlv timezone: IANA timezone for slot labels (e.g. America/New_York) include_slots: If true, include all slot indices (can be 300+ entries)
Inputs: url (required), timezone, include_slots. Returns: object
preview_availabilityA
Validate slot indices and preview availability before submitting.
Args: url: when2meet poll URL slot_indices: Zero-based indices to mark available timezone: IANA timezone for labels
Inputs: url (required), slot_indices (required), timezone. Returns: object
submit_availabilityA
Sign in and mark availability on a when2meet poll.
Args: url: when2meet poll URL name: Your name as it should appear on the poll slot_indices: Zero-based slot indices to mark available password: Per-event password for returning participants timezone: IANA timezone used when loading the poll dry_run: Preview only (default true for safety) on_name_conflict: error | alternate_suffix — when password fails for existing name agent_name: Model label for alternate name, e.g. Claude (default: WHEN2MEET_AGENT_NAME env)
Inputs: url (required), name (required), slot_indices (required), dry_run, +4 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct phase: read poll, analyze group overlap, compute/fill from busy times, preview, and submit. The two busy-time tools are differentiated by weekly recurring vs one-off ISO inputs, but their names alone could still cause some confusion.
Most tools follow a clear verb_noun snake_case pattern like get_poll, submit_availability, and preview_availability. The longer names fill_from_weekly_schedule and compute_availability_from_busy_times deviate by adding prepositional phrases, making the pattern slightly inconsistent.
Six tools cover reading, analysis, two input modes, preview, and submission without redundancy or bloat. This is a well-scoped and focused set for a when2meet MCP server.
The set covers the main workflow: load a poll, find availability, compute personal availability, preview, and submit. Obvious gaps like creating a poll or explicitly clearing existing availability are absent, but they may be outside the intended URL-driven scope.
Related MCP Connectors
Create and query group meeting availability polls, time-zone slots, and scheduling links.
Find a time a group can meet: no-login availability poll that picks the best meeting slot.
Helps a group schedule a time that works for everyone.
Agent-first meeting schedule polls for humans and agents. Create polls, vote, find times.
Related MCP Servers
- AlicenseAqualityDmaintenanceCreate scheduling polls (like Doodle) from AI agents. Find the best time for meetings, dinners, and events. 5 tools: create_poll, get_poll, vote_on_poll, get_results, finalize_poll. No authentication required.581 npm1MIT
- AlicenseNot gradedqualityBmaintenancewhen2meet-style scheduling polls — self-hostable, reverse-proxy-auth friendly, agent-first API (OpenAPI + llms.txt + MCP).MIT
- FlicenseNot gradedqualityDmaintenanceUnofficial MCP tools for LettuceMeet to create polls, view responses, and find meeting overlaps via CLI or MCP server.1-
- FlicenseNot gradedqualityNot gradedmaintenanceEnables autonomous resolution of multi-timezone calendar event overlaps and negotiation of deep-work buffers through deterministic, zero-dependency MCP-compatible tooling.-