Astrocal
GuidesMCP Client Setup

Claude Code

Add Astrocal to Claude Code with a single terminal command.

Claude Code manages MCP servers from the command line. Add Astrocal in one step:

terminal
claude mcp add astrocal -e ASTROCAL_API_KEY=ac_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -- npx -y @astrocal/mcp-server

Replace the placeholder with your real key. To set a default event type so you don't pass it on every call, add another flag:

terminal
claude mcp add astrocal \
  -e ASTROCAL_API_KEY=ac_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
  -e ASTROCAL_DEFAULT_EVENT_TYPE_ID=evt_your_default \
  -- npx -y @astrocal/mcp-server

Run claude mcp list to confirm astrocal is connected, then ask Claude to check your availability.

The AI Tools screen generates this command pre-filled with a key you create there.