macOS Calendar MCP Server
Integrates with Apple's native Calendar application on macOS, allowing for management of calendar events through AppleScript
Supports accessing and managing Google Calendar events through the macOS Calendar app integration, including creating events and searching existing ones
Works with iCloud calendars through the macOS Calendar app, enabling event management for calendars synced with iCloud accounts
Provides direct integration with macOS Calendar app using AppleScript, enabling creation, listing, and searching of calendar events across all calendar types without requiring OAuth setup
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., "@macOS Calendar MCP Server create a meeting tomorrow at 2pm for 1 hour"
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.
macOS Calendar MCP Server
A Model Context Protocol (MCP) server for seamless macOS Calendar integration using AppleScript. No OAuth setup required!
Features
🍎 Native macOS Integration - Uses AppleScript to interact directly with macOS Calendar
📅 Full Calendar Management - Create, list, and search calendar events
🚀 Zero Configuration - No OAuth, no API keys, just works out of the box
🔧 MCP Compatible - Works with Claude Code CLI and other MCP clients
📱 Multi-Calendar Support - Works with all your calendars (Personal, Work, etc.)
Related MCP server: Google Calendar MCP Server
Quick Start
Prerequisites
macOS (required for AppleScript support)
Node.js 16+
Calendar app (pre-installed on macOS)
Installation
Clone the repository:
git clone https://github.com/xybstone/macos-calendar-mcp.git
cd macos-calendar-mcpInstall dependencies:
npm installGrant permissions:
When first run, macOS will ask for Calendar app permissions
Grant access to allow the MCP server to manage your calendars
Usage with Claude Code CLI
Add to your .claude_project file:
{
"mcpServers": {
"macos-calendar": {
"command": "node",
"args": ["/path/to/macos-calendar-mcp/macos-calendar-mcp.js"]
}
}
}Or run directly:
node macos-calendar-mcp.jsAvailable Tools
Tool | Description | Parameters |
| List all available calendars | None |
| Create a new calendar event |
|
| List today's events |
|
| Search events by keyword |
|
Examples
Create an Event
{
"title": "Team Meeting",
"startDate": "2025-07-05 14:00",
"endDate": "2025-07-05 15:00",
"calendar": "Work",
"description": "Weekly team sync",
"location": "Conference Room A"
}List Calendars
// Returns all available calendarsSearch Events
{
"query": "meeting",
"calendar": "Work"
}Date Format
Use the format: YYYY-MM-DD HH:MM (24-hour format)
Examples:
2025-07-05 14:00(2:00 PM)2025-12-25 09:30(9:30 AM)2025-07-10 18:00(6:00 PM)
Time Zone Handling:
Uses native macOS time handling to avoid timezone conversion issues
All times are interpreted in your system's local timezone
No UTC conversion or daylight saving adjustments needed
Supported Calendars
Works with all macOS Calendar calendars including:
Personal calendars
Work calendars
Shared calendars
Subscribed calendars (iCloud, Google, etc.)
Troubleshooting
Permission Issues
If you get permission errors:
Open System Preferences → Security & Privacy → Privacy
Select "Calendar" from the left sidebar
Ensure Terminal (or your app) has access
AppleScript Errors
Ensure Calendar app is installed and accessible
Check calendar names are correct (case-sensitive)
Verify date formats match the expected pattern
Time Zone Issues
If events appear at wrong times:
Check your system timezone settings
Use the
fix-event-timestool to correct existing eventsEnsure date format is
YYYY-MM-DD HH:MMin 24-hour formatThe MCP uses native macOS time handling to avoid conversion issues
Contributing
Fork the repository
Create a feature branch
Make your changes
Test thoroughly on macOS
Submit a pull request
License
MIT License - see LICENSE file for details.
Why This MCP?
Unlike Google Calendar integrations that require complex OAuth setups, this MCP:
✅ Works immediately with no configuration
✅ Integrates with your existing macOS Calendar setup
✅ Supports all calendar sources (iCloud, Google, Exchange, etc.)
✅ Requires no internet connection for basic operations
✅ Respects your privacy - everything runs locally
Perfect for developers who want calendar integration without the OAuth headache!
Privacy & Security
✅ Local Processing: All calendar operations run locally on your machine
✅ No Data Upload: Your calendar data never leaves your device
✅ Privacy Focused: No OAuth tokens, no cloud services, no tracking
⚠️ Private Data: When testing, avoid committing files containing personal events to public repositories
Data Protection
The project includes .gitignore patterns to prevent accidental commits of private event data:
*events*.json- Event data files*meetings*.json- Meeting schedules*schedule*.json- Schedule filesprivate-*.json- Any private data files
Available Tools
8 toolscreate-batch-eventsC
批量创建事件
Inputs: events (required), calendar.
create-eventC
在macOS日历中创建新事件
Inputs: title (required), startDate (required), endDate (required), calendar, +2 more.
delete-events-by-keywordC
根据关键词删除事件
Inputs: keyword (required), calendar, confirm.
fix-event-timesC
修正错误的事件时间(从凌晨修正到正确时间)
Inputs: calendar (required), datePattern (required), corrections (required).
list-calendarsB
列出所有macOS日历
Inputs: no named parameters.
list-today-eventsC
列出今天的事件
Inputs: calendar.
list-week-eventsC
列出指定周的事件
Inputs: weekStart (required), calendar.
search-eventsC
搜索事件
Inputs: query (required), calendar.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools have distinct purposes, but 'list-today-events' and 'list-week-events' could be confused with 'search-events' as they all retrieve events. The descriptions clarify that 'list-today-events' and 'list-week-events' are time-specific listings, while 'search-events' is keyword-based, but the overlap in functionality might cause misselection in some contexts.
All tool names follow a consistent verb_noun pattern with hyphens (e.g., create-event, list-calendars, delete-events-by-keyword). The naming is predictable and readable throughout the set, with no deviations in style or convention.
With 8 tools, the server is well-scoped for macOS calendar management. Each tool serves a clear purpose, such as creating, listing, deleting, and fixing events, without unnecessary redundancy or bloat, making it appropriate for the domain.
The tool set covers core operations like creating, listing, searching, and deleting events, as well as managing calendars. However, there are minor gaps, such as the lack of an 'update-event' tool for modifying existing events, which agents might need to work around by deleting and recreating events.
Related MCP Connectors
Connects ChatGPT to your Apple Calendar via a local Mac agent + Vercel relay
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
Calendar API for AI agents: events, availability, Google/Microsoft setup, scheduling, and iCal.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables comprehensive calendar management with capabilities to create, list, update, and delete events through a Model Context Protocol server integrated with Google Calendar.55 npm3MIT
- AlicenseAqualityCmaintenanceA Model Context Protocol server that integrates Google Calendar with Claude Desktop, enabling users to manage calendar events (view, create, update, delete) through natural language.5138 npm59MIT
- AlicenseCqualityDmaintenanceA Model Context Protocol server for AI models to access and manipulate Apple Calendar data on macOS through a standardized interface.714MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables natural language interaction with Google Calendar, allowing users to view, create, update, and delete calendar events through context-aware operations.79 npm1MIT