by Cal.com
Get available slots
Returns the open start times of an event type between two dates, grouped by day.
Updated Sep 27, 2026
get-available-slots.md
Get available slots
Returns the open start times of an event type between two dates, grouped by day.
Note: Send cal-api-version: 2024-09-04. Times come back in UTC unless you set timeZone.
Set up
Use the first option your agent supports.
MCP (official, remote)
Add this server to your agent's MCP settings, then sign in when asked.
{ "mcpServers": { "cal-com": { "url": "https://mcp.cal.com/mcp" } } }
Call the MCP tool get_availability.
Server URL: https://mcp.cal.com/mcp
CLI (official)
Install the command, then confirm it runs.
npm install -g @calcom/cli
calcom --version
Run calcom slots available.
Set $CAL_API_KEY in your environment first (get a key: https://app.cal.com/settings/developer/api-keys).
API (official)
- Base URL: https://api.cal.com
- Endpoint:
GET /v2/slots - Auth: send the header
Authorization: Bearer $CAL_API_KEY - Get a key: https://app.cal.com/settings/developer/api-keys
- Docs: https://cal.com/docs/api-reference/v2/introduction
Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.