π Pear β iCloud and Microsoft 365 for Claude Code
Official Claude plugin, slash commands, and OpenClaw skill for Pear.
Hosted MCP tools Β· iCloud and Microsoft 365 Calendar, Contacts, Mail and tasks Β· Cross-platform
What is Pear?
Pear is a hosted MCP server that connects Claude Code and other MCP clients to Apple iCloud and Microsoft 365. With iCloud you get Calendar, Contacts, Mail and legacy CalDAV reminder data. With Microsoft 365 you get Outlook Calendar, Outlook Mail, Contacts and Microsoft To Do. Ask Claude to check your schedule, create events, look up contacts, read inbox context and find meeting times through natural language. Gmail connects with a Google app password for mail only. Google sign-in for Calendar, Tasks and send-only Gmail is coming soon.
Apple Reminders limitation: On iCloud, Pear cannot access Apple's upgraded Reminders store. Reminder operations apply only to legacy data still exposed through CalDAV VTODO; a successful Calendar connection does not prove current reminders are available. Reconnecting iCloud or changing an app-specific password cannot remove this protocol limitation. See Apple Reminders compatibility.
> "What's on my calendar today?"
> "Schedule a 45-minute meeting with Sarah this week"
> "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. iCloud uses CalDAV/CardDAV for Calendar, legacy reminders and Contacts, plus IMAP/SMTP for Mail; Microsoft 365 uses Microsoft Graph. No Apple hardware or local server required.
Gemini CLI
Connect an account at Pear and create a private API key in Settings. Install the extension from the public repository:
gemini extensions install https://github.com/AshtonAU/pear-plugin
Enter your key in Gemini CLI's private Pear API key prompt. Run gemini extensions list to check the installation and gemini mcp list to see Pear. The extension connects directly to the hosted server over Streamable HTTP.
Setup for Zed, Raycast, VS Code, Goose, Windsurf, Devin and Cline
Cursor editor plugin
The repository also includes a separate Pear MCP plugin for Cursorwith per-member OAuth for Apple iCloud and Microsoft 365. It does not require aPear API key. Follow that guide for installation, supported capabilities, and thecurrent native-client verification status. The Claude Code and OpenClaw setupbelow continues to use the existing API-key configuration.
Install for Claude Code or OpenClaw
1. Get a Pear API Key
Sign up at pearmcp.com, connect iCloud or Microsoft 365, and generate an API key in Settings. The key grants access to the services and permissions available to your Pear account.
iCloud needs an Apple app-specific password. Microsoft 365 connects through Microsoft sign-in.For iCloud Mail support, connect using the real
@icloud.comaddress or iCloud Mail custom-domain address tied to that mailbox.
2. Set Your API Key
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):
claude mcp add --transport http pear https://pearmcp.com/api/mcp \
--header "Authorization: Bearer $PEAR_API_KEY"
Option C β OpenClaw Skill:
clawhub install @ashtonau/pear-apple
4. Verify
/pear:pear-setup
Already installed the marketplace? Refresh it with:
/plugin marketplace update pear-marketplace
What You Get
- Hosted MCP tools across Calendar, Contacts, Mail, tasks (Microsoft To Do or legacy iCloud reminders), scheduling, and batch operations; the visible subset depends on connected providers, granted scopes, account readiness, plan, and enabled capabilities
- Claude slash commands for common flows like setup, briefing, scheduling, finding a time and mail triage
- Workflow skills for connection checks, account selection, morning briefs, finding a time, mail triage, reply drafts and reviewed changes
- A
pear-assistantagent for multi-step calendar, mail and contact requests - One OpenClaw skill for users who want the same Pear integration outside Claude Code
- A direct MCP config via .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 and marketplace metadata |
.cursor-plugin/ |
Cursor marketplace metadata |
plugins/pear-mcp/ |
Cursor editor plugin with per-member OAuth |
commands/ |
Claude slash commands such as /pear:briefing |
agents/ |
The pear-assistant agent |
skills/pear-icloud/ |
Main Pear skill (also the OpenClaw skill definition) |
skills/ |
Workflow skills: connection check, account selection, morning brief, find time, mail triage, reply draft, reviewed changes |
.mcp.json |
Direct MCP server config template |
README.md |
User-facing install and usage guide |
MCP Capabilities
This is an overview, not a fixed tool count or a guarantee that every tool is available to every account. Use the current tool reference and the connected client's tools/list result for available tools and their input schemas. Writes must follow the approval flow exposed by your connection.
| Domain | What You Can Do When Available |
|---|---|
| π Calendar | Read and manage events, find free slots, and check availability |
| β Tasks | Microsoft To Do lists and tasks; on iCloud, only the reminder data Apple still exposes through CalDAV VTODO (upgraded Apple Reminders are unavailable) |
| π€ Contacts | Search and manage contacts and groups |
| π§ Scheduling | Find meeting times using preferences and conflicts |
| β‘ Batch | Supported bulk operations within the limits in the tool schema |
| βοΈ Mail | iCloud Mail and Outlook Mail: read inbox context and use permitted mail-management and sending workflows |
Slash Commands
| Command | Description |
|---|---|
/pear:briefing |
Today's events and available legacy reminders at a glance |
/pear:schedule |
Find the best time for a meeting |
/pear:find-time |
Suggest meeting times across selected calendars, without booking |
/pear:triage |
Group recent mail in one folder into replies, follow-ups and information, without changing the mailbox |
/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 and Outlook Mail β Read inbox context, send replies, and manage email folders through the same hosted MCP endpoint
- β‘ Batch Operations β Use supported bulk tools within their published limits; reminder operations remain legacy-only
- π Timezone Support β Full IANA timezone handling across all operations
- π Data Handling β Reads fetch provider records live; Pear also stores encrypted connection credentials, operational metadata, and persisted approved-write records. See data handling.
How It Works
Claude Code Pear API iCloud / Microsoft 365
β β β
βββ PEAR_API_KEY (Bearer) βββΆ β β
β βββ CalDAV/CardDAV/IMAP/SMTP βΆβ iCloud
β βββ Microsoft Graph βββββββββΆβ Microsoft 365
β ββββ Calendar, Contacts, Mail, tasks ββ
ββββ MCP JSON-RPC βββββββββββ β β
Privacy & Security
| Concern | How Pear Handles It |
|---|---|
| Provider credentials | iCloud app-specific passwords and Microsoft tokens are encrypted at rest and never shared with Claude |
| Ordinary provider reads | Fetched live and processed in memory; Pear does not maintain a synced content database |
| Connection and operational records | Encrypted credentials/tokens, connection metadata, usage counts, and activity/audit metadata are retained |
| Persisted approved writes | May retain the exact approved action, including relevant content, approval evidence, and provider receipt/result |
| API authentication | Bearer token (PEAR_API_KEY) β Claude never sees your Apple or Microsoft credentials |
| Data in transit | HTTPS/TLS everywhere |
Retention and deletion details are described in data handling and the privacy policy. Do not treat this plugin as a no-retention service.
Requirements
- A free Pear account
- An Apple ID with an app-specific password, or a Microsoft 365 / Outlook account
- Claude Code with MCP support (or any MCP-compatible client)
Links
- π pearmcp.com β Sign up & dashboard
- π Documentation
- π Report Issues
License
MIT β see LICENSE for details.