npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iflow-mcp/xybstone-macos-calendar-mcp

v1.0.1

Published

A Model Context Protocol (MCP) server for macOS Calendar integration using AppleScript

Downloads

20

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

  1. Clone the repository:
git clone https://github.com/xybstone/macos-calendar-mcp.git
cd macos-calendar-mcp
  1. Install dependencies:
npm install
  1. 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:

  1. Open System Preferences → Security & Privacy → Privacy
  2. Select "Calendar" from the left sidebar
  3. 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:

  1. Check your system timezone settings
  2. Use the fix-event-times tool to correct existing events
  3. Ensure date format is YYYY-MM-DD HH:MM in 24-hour format
  4. The MCP uses native macOS time handling to avoid conversion issues

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test thoroughly on macOS
  5. 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 files
  • private-*.json - Any private data files