1. Prepare Pear
Create a Pear account, connect Apple iCloud or Microsoft 365, then copy your hosted MCP endpoint and API key. Claude Code's official MCP docs recommend remote HTTP servers for cloud services like Pear.
Start Free2. Register Pear
Add Pear as a remote HTTP MCP server. The user scope makes Pear available across your Claude Code projects without committing a token to the repo.
export PEAR_API_KEY="YOUR_API_KEY" claude mcp add --transport http --scope user \ --header "Authorization: Bearer $PEAR_API_KEY" \ pear https://pearmcp.com/api/mcp claude mcp list
If your build uses OAuth for remote servers, open/mcpinside Claude Code and authenticate Pear from the server status panel.
3. Use Pear carefully in coding sessions
- Ask Claude Code to inspect available Pear tools before calling write actions.
- Use read prompts first: calendar availability, recent mail, or contact lookup.
- Confirm create/update/delete actions in the conversation before letting the agent act.
- Regenerate your Pear key if it appears in terminal history or a repository file.