macOS Calendar MCP Server
A Model Context Protocol server that enables direct integration with macOS Calendar application using AppleScript, allowing users to create, list, and search calendar events without requiring OAuth setup.
README
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.)
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-mcp
- Install dependencies:
npm install
- Grant 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.js
Available Tools
| Tool | Description | Parameters |
|---|---|---|
list-calendars |
List all available calendars | None |
create-event |
Create a new calendar event | title, startDate, endDate, calendar, description, location |
list-today-events |
List today's events | calendar (optional) |
search-events |
Search events by keyword | query, calendar (optional) |
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 calendars
Search 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 events - Ensure date format is
YYYY-MM-DD HH:MMin 24-hour format - The 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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。