better-bear-mcp
Reads Bear notes stored in iCloud via CloudKit, using a one-time Apple Sign-In token to authenticate and then fetch, search, list, create, edit, export and trash notes on the user's behalf.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
better-bear-mcp
MCP server that gives Claude access to your Bear notes.
Powered by better-bear-cli (bcli), it exposes Bear's note operations as MCP tools over stdio transport.
Prerequisites
macOS (Bear is macOS-only)
Bear installed with iCloud sync enabled
Node.js 20+
An iCloud account (for CloudKit authentication)
Related MCP server: Bear MCP Server
Installation
For Claude Desktop users — just add the config below. npx handles the rest.
For development:
git clone https://github.com/darronz/better-bear-mcp.git
cd better-bear-mcp
npm install
npm run buildAuthentication
Bear stores notes in iCloud via CloudKit. To access them, bcli needs a one-time CloudKit authentication token from Apple Sign-In.
Setup
Run
bcli authin a terminalA browser window opens for Apple Sign-In — sign in with your iCloud account
Terminal shows "Authenticated successfully." when done
Token is saved at
~/.config/bear-cli/auth.jsonand persists across sessions
Alternative: Authenticate from Claude
The bear_auth MCP tool can trigger authentication directly from a Claude conversation. It opens the same browser flow without leaving your chat.
Headless / SSH environments
If you're running over SSH (no browser available), authenticate with a token directly:
bcli auth --token '<your-ckWebAuthToken>'Token expiry
If Bear operations start failing with "Not authenticated" or "Auth token expired" errors, re-run bcli auth or use the bear_auth tool.
Claude Desktop Setup
Add this to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"better-bear": {
"command": "npx",
"args": ["-y", "better-bear-mcp"]
}
}
}Restart Claude Desktop after editing the config.
For local development, use the built output directly:
{
"mcpServers": {
"better-bear": {
"command": "node",
"args": ["/absolute/path/to/better-bear-mcp/dist/index.js"]
}
}
}Available Tools
Tool | Description |
| Retrieve a note's full content by ID |
| List notes with optional tag filter and limit |
| Search notes by text query |
| List all tags |
| Create a new note with title, body, and tags |
| Append text to an existing note |
| Soft-delete (trash) a note |
| Export notes as Markdown files |
| Trigger Apple Sign-In authentication |
Troubleshooting
"Not authenticated" or "Auth token expired"
Run bcli auth in a terminal or use the bear_auth tool.
Claude Desktop can't find the server
Check that Node.js is in your PATH. The npx method is recommended — it handles installation automatically.
"bcli binary not found"
Run npm install to trigger the postinstall script that downloads bcli.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Notes and actions in one app. Let Claude or ChatGPT read and update them.
Notes, tasks, habits, journal and 6 more tools Claude can read and change, with undo. Free.
Search, read, create and edit your Memol notes from Claude. Team note-taking with AI search.
Related MCP Servers
- FlicenseBqualityDmaintenanceA Model Context Protocol server that provides Claude with access to search, retrieve, and analyze notes from the Bear App through natural language queries.78-
- AlicenseNot gradedqualityDmaintenanceProvides comprehensive access to Bear notes using a hybrid sync-safe approach - direct database reads for performance and Bear's official API for writes, enabling natural language note management, search, organization, and analysis while maintaining iCloud sync compatibility.32MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to read, write, search, and manage Apple Notes on macOS via AppleScript automation.MIT
- FlicenseNot gradedqualityDmaintenanceEnables Claude to interact with Bear notes (via better-bear-cli) for listing, searching, creating, editing, and exporting notes through natural language.-