← Back to Plugins
Tools

Pear

AshtonAU By AshtonAU ⭐ 3 stars 👁 9 views ▲ 0 votes

Official Pear plugin and OpenClaw skill for iCloud Calendar, Reminders, Contacts, and Mail via 34 MCP tools.

Homepage GitHub

README

<div align="center">

# ๐Ÿ Pear โ€” iCloud for Claude Code

**Official Claude plugin, slash commands, and OpenClaw skill for Pear.**

34 MCP tools ยท Calendar, Reminders, Contacts, and Mail ยท Cross-platform

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![MCP Tools](https://img.shields.io/badge/MCP_Tools-34-blue.svg)](https://pearmcp.com/docs)
[![Claude Code](https://img.shields.io/badge/Claude_Code-MCP_Compatible-purple.svg)](https://docs.anthropic.com/en/docs/claude-code)

[Get Started](https://pearmcp.com) ยท [Documentation](https://pearmcp.com/docs) ยท [Dashboard](https://pearmcp.com/dashboard)

</div>

---

## What is Pear?

Pear is a hosted MCP server that connects Claude Code to your iCloud Calendar, Reminders, Contacts, and Mail. Ask Claude to check your schedule, create events, manage reminders, look up contacts, read inbox context, and find meeting times through natural language.

```
> "What's on my calendar today?"
> "Schedule a 45-minute meeting with Sarah this week"
> "Remind me to submit the report by Friday"
> "What's John's phone number?"
> "Show me unread iCloud Mail from today"
> "Find me 3 free slots for a 2-hour workshop next week"
```

Works on **macOS, Linux, and Windows** via CalDAV/CardDAV for Calendar, Reminders, and Contacts, plus IMAP/SMTP for iCloud Mail. No Apple hardware required.

## Install

### 1. Get a Pear API Key

Sign up at **[pearmcp.com](https://pearmcp.com)**, connect your iCloud account, and generate an API key.

> You'll need an [Apple app-specific password](https://support.apple.com/en-us/102654) to connect your iCloud account.
> If you want Mail support, connect using the real `@icloud.com` address or iCloud Mail custom-domain address tied to that mailbox.

### 2. Set Your API Key

```bash
export PEAR_API_KEY=pear_sk_your_key_here
```

### 3. Choose an install path

**Option A โ€” Claude Plugin:**
```
/plugin marketplace add AshtonAU/pear-plugin
/plugin install pear@pear-marketplace
```

**Option B โ€” MCP Server (direct):**
```bash
claude mcp add --transport http pear https://pearmcp.com/api/mcp \
  --header "Authorization: Bearer $PEAR_API_KEY"
```

**Option C โ€” OpenClaw Skill:**
```bash
clawhub install ashtonau/pear-apple
```

### 4. Verify

```
/pear:pear-setup
```

Already installed the marketplace? Refresh it with:

```bash
/plugin marketplace update pear-marketplace
```

## What You Get

- 34 MCP tools across Calendar, Reminders, Contacts, Mail, scheduling, and batch operations
- Claude slash commands for common flows like setup, briefing, and scheduling
- One OpenClaw skill for users who want the same Pear integration outside Claude Code
- A direct MCP config via [.mcp.json](.mcp.json) for manual setups

## Repo Layout

This repo is intentionally small. Each top-level path maps to a specific client surface:

| Path | Purpose |
|------|---------|
| [`.claude-plugin/`](.claude-plugin) | Claude plugin and marketplace metadata |
| [`commands/`](commands) | Claude slash commands such as `/pear:briefing` |
| [`skills/pear-icloud/`](skills/pear-icloud) | OpenClaw skill definition |
| [`.mcp.json`](.mcp.json) | Direct MCP server config template |
| [`README.md`](README.md) | User-facing install and usage guide |

## 34 MCP Tools

| Domain | Tools | What You Can Do |
|--------|:-----:|-----------------|
| ๐Ÿ“… **Calendar** | 8 | List calendars, create/read/update/delete events, find free slots, check availability |
| โœ… **Reminders** | 5 | Create/read/update/complete/delete reminders with priorities and due dates |
| ๐Ÿ‘ค **Contacts** | 9 | Full CRUD for contacts and groups, photo management, smart search |
| ๐Ÿง  **Scheduling** | 1 | AI-scored optimal meeting times based on preferences and conflicts |
| โšก **Batch** | 4 | Bulk create/delete up to 50 items per call |
| โœ‰๏ธ **Mail** | 7 | List folders, read email, send email, move, mark read/unread, and delete |

### Slash Commands

| Command | Description |
|---------|-------------|
| `/pear:briefing` | Today's events and reminders at a glance |
| `/pear:schedule` | Find the best time for a meeting |
| `/pear:pear-setup` | Verify your connection |

## Highlights

- **๐ŸŽ‚ Virtual Birthdays** โ€” Birthday events auto-generated from contact data
- **๐Ÿง  AI Scheduling** โ€” Scores time slots by work hours, preferences, and conflicts
- **๐Ÿ‘ฅ Attendee Resolution** โ€” Event attendees matched to your contacts automatically
- **โœ‰๏ธ iCloud Mail** โ€” Read inbox context, send replies, and manage email folders through the same hosted MCP endpoint
- **โšก Batch Operations** โ€” Create up to 50 events/reminders/contacts in one call
- **๐ŸŒ Timezone Support** โ€” Full IANA timezone handling across all operations
- **๐Ÿ”’ Privacy First** โ€” Your data is proxied in real-time, never stored on Pear's servers

## How It Works

```
Claude Code                    Pear API                     iCloud
    โ”‚                             โ”‚                            โ”‚
    โ”‚โ”€โ”€ PEAR_API_KEY (Bearer) โ”€โ”€โ–ถ โ”‚                            โ”‚
    โ”‚                             โ”‚โ”€โ”€ CalDAV/CardDAV/IMAP/SMTP โ”€โ–ถ โ”‚
    โ”‚                             โ”‚โ—€โ”€โ”€ Calendar, Contacts, Reminders, Mail โ”€โ”‚
    โ”‚โ—€โ”€โ”€ MCP JSON-RPC โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚                            โ”‚
```

## Privacy & Security

| Concern | How Pear Handles It |
|---------|-------------------|
| iCloud credentials | Encrypted at rest, never shared with Claude |
| Calendar, reminders, contacts, and Mail data | Proxied in real-time, **not stored** on Pear servers |
| API authentication | Bearer token (`PEAR_API_KEY`) โ€” Claude never sees your Apple ID |
| Data in transit | HTTPS/TLS everywhere |

## Requirements

- A free [Pear](https://pearmcp.com) account
- An Apple ID with an [app-specific password](https://support.apple.com/en-us/102654)
- Claude Code with MCP support (or any MCP-compatible client)

## Links

- ๐ŸŒ [pearmcp.com](https://pearmcp.com) โ€” Sign up & dashboard
- ๐Ÿ“– [Documentation](https://pearmcp.com/docs)
- ๐Ÿ› [Report Issues](https://github.com/AshtonAU/pear-plugin/issues)

## License

MIT โ€” see [LICENSE](LICENSE) for details.
tools

Comments

Sign in to leave a comment

Loading comments...