MCP Server

مجتمعي الصحة

Bear notes via CloudKit: CRUD, tags, TODOs, attachments, search, front matter, stats and health checks.

التثبيت

خطوات التثبيت موجودة في التوثيق أدناه. التوثيق

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. better-bear
  2. Quick start
  3. Tools
  4. How it works
  5. Links
  6. Privacy Policy
  7. License

better-bear

MCP server for Bear notes. Read, search, create, edit, tag, and manage your notes from Claude Desktop, Claude Code, or any MCP client. Includes a context library for building curated, LLM-optimized knowledge bases from your notes.

Works via CloudKit — no Bear URL scheme, no AppleScript. Your notes stay in sync across all devices.

Context Library — Inspired by Karpathy's LLM Knowledge Base pattern: tag Bear notes with #context, sync to a local folder, and Claude uses index-first retrieval to navigate your knowledge. No RAG pipeline, no vector database — just curated markdown with a manifest.

Quick start

curl -sL https://raw.githubusercontent.com/KuvopLLC/better-bear/main/install.sh | bash
bcli auth
bcli mcp install

This installs the bcli binary, authenticates with iCloud, and sets up the MCP server for Claude Desktop (.mcpb bundle) and Claude Code.

Other install methods
MethodCommand
Claude Desktop onlybcli mcp install --desktop-only
Claude Code onlybcli mcp install --code-only
Claude Code (direct)claude mcp add better-bear -- npx -y better-bear
Config filebcli mcp install --json
.mcpb bundleDownload from latest release and double-click
Prerequisites
  1. Node.js 18+
  2. bcli binary (installed by the script above)
  3. iCloud authentication via bcli auth

Tools

ToolDescription
bear_syncSync notes from iCloud (incremental or full)
bear_list_notesList notes with optional tag/archive/trash filters
bear_get_noteGet full note content, metadata, and front matter
bear_searchFull-text search with date filters (since/before)
bear_create_noteCreate a note with title, body, tags, front matter
bear_edit_noteEdit note body, append text, replace sections, manage front matter
bear_trash_noteMove a note to trash
bear_archive_noteArchive or unarchive a note
bear_get_tagsList all tags with note counts
bear_add_tagAdd a tag to a note
bear_remove_tagRemove a tag from a note
bear_rename_tagRename a tag across all notes
bear_delete_tagDelete a tag from all notes
bear_find_untaggedFind notes with no tags
bear_attach_fileAttach images or files to a note
bear_list_todosList notes with incomplete TODOs
bear_get_todosGet all TODO items in a note
bear_toggle_todoToggle a TODO item complete/incomplete
bear_note_statsLibrary statistics (counts, words, top tags)
bear_find_duplicatesFind notes with duplicate titles
bear_health_checkDiagnose library issues
Context library
ToolDescription
bear_context_setupInitialize a context library (one-time)
bear_context_syncSync qualifying Bear notes to the library
bear_context_indexGet the index manifest + freshness metadata
bear_context_fetchLoad specific files by path
bear_context_searchFull-text search across all context files
bear_context_addTag a Bear note for inclusion
bear_context_removeUntag and remove a note
bear_context_statusHealth stats, token counts, warnings

How it works

This MCP server wraps bcli, a native macOS binary that talks to Bear's CloudKit container. The server communicates with MCP clients via stdio and spawns bcli commands for each operation.

Authentication tokens are stored locally in ~/.config/bear-cli/auth.json and automatically refreshed when expired.

Privacy Policy

Better Bear does not collect, transmit, or store any personal data on external servers. Authentication tokens and note caches are stored locally on your machine. Network requests go only to Apple CloudKit (to access your notes), GitHub (for updates), and npm (for package resolution). See the full Privacy Policy.

License

MIT

الأسئلة الشائعة

ما هو MCP Server؟

Bear notes via CloudKit: CRUD, tags, TODOs, attachments, search, front matter, stats and health checks.

كيف أثبّت MCP Server؟

اتبع خطوات التثبيت في توثيقه المعروض في هذه الصفحة وفي مستودعه.

هل MCP Server مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون MCP Server؟

ينشره KuvopLLC. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من القوائم المجتمعية awesome-mcp-servers ومستودع المشروع على GitHub. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.