Skip to content
Back to search

bear-notes-mcp

MCP Server for Bear note taking app available as Claude Desktop extension or standalone server for any other AI tool

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/vasylenko--bear-notes-mcp/badge.svg)](/listings/vasylenko--bear-notes-mcp)

HTML

<a href="/listings/vasylenko--bear-notes-mcp"><img src="/api/listings/vasylenko--bear-notes-mcp/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Claude Desktop Extension

**Prerequisites**: [Bear app](https://bear.app/) must be installed and [Claude Desktop](https://claude.ai/download) must be installed.

1. Download the latest `bear-notes-mcpb-*.mcpb` extension file from [Releases](https://github.com/vasylenko/bear-notes-mcp/releases) 2. Make sure your Claude Desktop is running (start if not) 3. Doubleclick on the extension file – Claude Desktop should show you the installation prompt

If doubleclick does not work for some reason, then open Claude -> Settings -> Extensions -> Advanced Settings -> click "Install Extension".

4. DONE!

Ask Claude to search your Bear notes with a query like "Search my Bear notes for 'meeting'" - you should see your notes appear in the response!

Standalone MCP Server

Want to use this Bear Notes MCP server with Claude Code, Cursor, Codex, or other AI assistants?

**Requirements**: Node.js 24.13.0+

Claude Code (one command)

claude mcp add -s user bear-notes -- npx -y bear-notes-mcp@latest

Other AI Assistants

Add to your MCP configuration file:

{
  "mcpServers": {
    "bear-notes": {
      "command": "npx",
      "args": ["-y", "bear-notes-mcp@latest"]
    }
  }
}

**More installation options and local development setup — [NPM.md](./docs/user/NPM.md)**

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 241 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. [![Supply Chain](https://github.com/vasylenko/bear-notes-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/vasylenko/bear-notes-mcp/actions/workflows/ci.yml)
  2. [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/vasylenko/bear-notes-mcp)
  3. [![bear-notes-mcp MCP server](https://glama.ai/mcp/servers/vasylenko/bear-notes-mcp/badges/score.svg)](https://glama.ai/mcp/servers/vasylenko/bear-notes-mcp)
  4. [![Buy Me a Coffee](https://img.shields.io/badge/Buy%20Me%20a%20Coffee-d42a35?logo=buy-me-a-coffee&logoColor=white)](https://buymeacoffee.com/vasylenko)
  5. # Bear Notes MCP Server
  6. An unofficial, opinionated MCP server for Bear Notes — built around relevance-ranked search instead of substring matching. Results come ranked across titles, bodies, and hierarchical tags, with snippets and combinable filters (tag, date, pinned). Reads run direct against Bear's SQLite database — no Bear app required for queries.
  7. Writes route through Bear's own URL handler — atomic and validated by Bear. Offline-first: no network calls, no telemetry, all processing on your Mac. Works with any MCP client — Claude Desktop, Claude Code, Codex, Gemini, Cursor. Ships as a one-click **.mcpb extension** or a standalone **npm package**.
  8. Example prompts:
  9. > Find the deep-dive I wrote on export pipelines, somewhere under #engineering/
  10. > Append today's decisions to the 'Decisions' section of my Weekly Ops note
  11. > Pull every note under #research/llm-evals into a survey outline
  12. > Find my notes tagged #blog/drafts and draft this week's post outline
  13. ![](./docs/assets/demo.gif)
  14. ## ✨ Key Features
  15. - **Read-only by default — flip Edit Mode for writes.** 4 tools always on (search, open, find untagged, list tags); 8 more in Edit Mode for create, edit, attach, tag, archive
  16. - **Relevance-ranked search** across titles, bodies, and tags — finds the right note, not just the ones that contained your literal words
  17. - **Date-based search** with relative dates ("yesterday", "last week", "start of last month")
  18. - **Hierarchical tag management** — view tags as a tree with note counts; rename or delete a tag across the whole library
  19. - **Surgical writes** — append at a specific heading or replace a section without rewriting the whole note
  20. - **File attachments** — attach images, PDFs, and documents up to 25 MB; symlinks rejected for safety
  21. - **New note convention** (opt-in) — place tags right after the title instead of at the bottom
  22. - **Local-first** — direct read-only SQLite reads, native `node:sqlite`, no network calls, no telemetry
  23. > [!NOTE]
  24. > Complete privacy (except the data you send to your AI provider when using an AI assistant, of course): this server makes no external connections. All processing happens locally on your Mac using Bear's own database and API. There is no extra telemetry, usage statistics or anything like that.
  25. ## 👤 Who is this for
  26. This is an unofficial, opinionated alternative to the native Bear MCP. It fits when:
  27. - **You have years of notes and substring search isn't enough.** Search ranks results by relevance — titles, bodies, and tag matches across the whole library — so the right note rises to the top, even when your phrasing has drifted.
  28. - **You bounce between MCP clients.** Stdio transport works with Claude Desktop, Claude Code, Codex CLI, Gemini, Cursor, Windsurf — anything that speaks MCP. No per-client glue code, no lock-in.
  29. - **You want to query without pulling Bear forward.** Reads run straight against Bear's SQLite database. No need to keep Bear open — or even running — for a quick lookup mid-conversation. (Writes still route through Bear, atomically.)
  30. - **You manage tags across the whole library.** Rename or delete a tag everywhere it appears, atomically. Hierarchical tag matching in search rolls up subtags automatically — work that's tedious through Bear's UI alone.
  31. - **You care about supply-chain hygiene.** Native `node:sqlite` — no unsigned third-party binaries, no Gatekeeper hassles. Network-free server: no remote-fetch tools, no prompt-injection surface.
  32. If you have a small library and just want a quick notes integration, you may not need this yet.
  33. ## 📦 Installation
  34. ### Claude Desktop Extension
  35. **Prerequisites**: [Bear app](https://bear.app/) must be installed and [Claude Desktop](https://claude.ai/download) must be installed.
  36. 1. Download the latest `bear-notes-mcpb-*.mcpb` extension file from [Releases](https://github.com/vasylenko/bear-notes-mcp/releases)
  37. 2. Make sure your Claude Desktop is running (start if not)
  38. 3. Doubleclick on the extension file – Claude Desktop should show you the installation prompt
  39. If doubleclick does not work for some reason, then open Claude -> Settings -> Extensions -> Advanced Settings -> click "Install Extension".
  40. 4. DONE!
  41. Ask Claude to search your Bear notes with a query like "Search my Bear notes for 'meeting'" - you should see your notes appear in the response!
  42. ### Standalone MCP Server
  43. Want to use this Bear Notes MCP server with Claude Code, Cursor, Codex, or other AI assistants?
  44. **Requirements**: Node.js 24.13.0+
  45. #### Claude Code (one command)
  46. ```bash
  47. claude mcp add -s user bear-notes -- npx -y bear-notes-mcp@latest
  48. ```
  49. #### Other AI Assistants
  50. Add to your MCP configuration file:
  51. ```json
  52. {
  53. "mcpServers": {
  54. "bear-notes": {
  55. "command": "npx",
  56. "args": ["-y", "bear-notes-mcp@latest"]
  57. }
  58. }
  59. }
  60. ```
  61. **More installation options and local development setup — [NPM.md](./docs/user/NPM.md)**
  62. ## 🛠️ Tools
  63. <!-- TOOLS:START -->
  64. - **`bear-open-note`** - Read the full text content of a Bear note by its ID or title, including OCR'd text from attached images and PDFs
  65. - **`bear-create-note`** - Create a new note in your Bear library with optional title, content, and tags
  66. - **`bear-search-notes`** - Find notes by relevance across titles, body, and OCR-extracted text from attached images and PDFs. Use a phrase or a few keywords describing what you're looking for; results are ranked by relevance and each includes a context snippet. Also supports tag, date-range, and pinned-only filters — combine with a search term or use them on their own to browse.
  67. - **`bear-add-text`** - Insert text at the beginning or end of a Bear note, or within a specific section identified by its header. Requires the note's current revision token (the `Revision: N` line from your last response that referenced it); writes against a stale revision are rejected with an instruction to re-read with bear-open-note before retrying.
  68. - **`bear-replace-text`** - Replace content in an existing Bear note — either the full body or a specific section. Requires the note's current revision token (the `Revision: N` line from your last response that referenced it); writes against a stale revision are rejected with an instruction to re-read with bear-open-note before retrying.
  69. - **`bear-add-file`** - Attach a local file (image, PDF, document) to an existing Bear note by its ID or title. Bear extracts text from images and PDFs via OCR, making attachment content searchable. Requires the note's current revision token (the `Revision: N` line from your last response that referenced it); writes against a stale revision are rejected with an instruction to re-read with bear-open-note before retrying.
  70. - **`bear-list-tags`** - List all tags in your Bear library as a hierarchical tree with note counts
  71. - **`bear-find-untagged-notes`** - Find notes in your Bear library that have no tags assigned
  72. - **`bear-add-tag`** - Add one or more tags to an existing Bear note. Requires the note's current revision token (the `Revision: N` line from your last response that referenced it); writes against a stale revision are rejected with an instruction to re-read with bear-open-note before retrying.
  73. - **`bear-archive-note`** - Archive a Bear note to remove it from active lists without deleting it
  74. - **`bear-rename-tag`** - Rename a tag across all notes in your Bear library
  75. - **`bear-delete-tag`** - Delete a tag from all notes in your Bear library without affecting the notes
  76. - **`bear-capabilities`** - Report the current server mode (read-only or Edit Mode) and how to unlock additional capabilities
  77. <!-- TOOLS:END -->
  78. ## ⚙️ Configuration
  79. ### Debug Logging
  80. Enable verbose logging for troubleshooting.
  81. - **Claude Desktop**: Settings → Extensions → Configure (next to Bear Notes) → toggle "Debug Logging" → Save → Restart Claude
  82. - **Standalone MCP server**: set environment variable `UI_DEBUG_TOGGLE=true`
  83. ### New Note Convention
  84. By default, Bear places tags at the bottom of a note when created via API. Enable this option to place tags right after the title instead, separated by a horizontal rule.
  85. <details>
  86. <summary>See note structure with this convention enabled</summary>
  87. ```
  88. ┌──────────────────────────────┐
  89. │ # Meeting Notes │ ← Note title
  90. │ #work #meetings │ ← Tags right after title
  91. │ │
  92. │ --- │ ← Separator
  93. │ │
  94. │ Lorem Ipsum... │ ← Note body
  95. └──────────────────────────────┘
  96. ```
  97. </details>
  98. > [!TIP]
  99. > This convention is **disabled by default** — it's opt-in so existing behavior is preserved.
  100. - **Claude Desktop**: Settings → Extensions → Configure (next to Bear Notes) → toggle "New Note Convention" → Save → Restart Claude
  101. - **Standalone MCP server**: set environment variable `UI_ENABLE_NEW_NOTE_CONVENTION=true`
  102. Example standalone configuration with the convention enabled:
  103. ```json
  104. {
  105. "mcpServers": {
  106. "bear-notes": {
  107. "command": "npx",
  108. "args": ["-y", "bear-notes-mcp@latest"],
  109. "env": {
  110. "UI_ENABLE_NEW_NOTE_CONVENTION": "true"
  111. }
  112. }
  113. }
  114. }
  115. ```
  116. ### Edit Mode
  117. Edit Mode unlocks all 8 write tools: create notes, add or replace text (full body or by section header), attach files, manage tags, archive. When off, the server is fully read-only — `tools/list` returns the 4 read tools (`bear-open-note`, `bear-search-notes`, `bear-find-untagged-notes`, `bear-list-tags`) plus `bear-capabilities` (a discovery tool that surfaces this unlock guidance for clients that drop the MCP `instructions` field). The LLM cannot mutate your library by mistake.
  118. > [!TIP]
  119. > Edit Mode is **off by default** so the server is provably read-only out of the box. Turn it on when you're ready for writes — and only when.
  120. - **Claude Desktop**: Settings → Extensions → Configure (next to Bear Notes) → toggle "Edit Mode" → Save → Restart Claude
  121. - **Standalone MCP server**: set environment variable `UI_ENABLE_CONTENT_REPLACEMENT=true`
  122. Example standalone configuration with Edit Mode enabled:
  123. ```json
  124. {
  125. "mcpServers": {
  126. "bear-notes": {
  127. "command": "npx",
  128. "args": ["-y", "bear-notes-mcp@latest"],
  129. "env": {
  130. "UI_ENABLE_CONTENT_REPLACEMENT": "true"
  131. }
  132. }
  133. }
  134. }
  135. ```
  136. ## Technical Details
  137. This server reads your Bear Notes SQLite database directly for search/read operations and uses Bear's X-callback-URL API for write operations. All data processing happens locally on your machine with no external network calls.
  138. ### Platforms Supported
  139. macOS only because Bear desktop works only on macOS.
  140. ### Logs
  141. **Claude Desktop:**
  142. - MCP server logs go into `~/Library/Logs/Claude/main.log`, look for `bear-notes-mcp`
  143. - MCP transport logs go to `~/Library/Logs/Claude/mcp-server-Bear\ Notes.log`
  144. **Standalone MCP server:**
  145. - Logs are written to stderr; enable debug logging with `UI_DEBUG_TOGGLE=true`
  146. ## FAQ
  147. ### Could this steal my data?
  148. **No**. The server only reads Bear's local database (same data Bear app shows you) and uses Bear's native API to add text to the notes. No network transmission, no external servers.
  149. ### Why SQLite and not just a native Bear app's x-callback-url API?
  150. For read operations (search/open), the x-callback-url API returns the note data in `x-success` response: that would require a server or custom binary to handle x-success responses - both risky and fragile. Direct SQLite read-only access is simpler and more reliable for searching and reading notes.
  151. ### Why native Node.js SQLite instead of third-party packages?
  152. This avoids shipping an SQLite binary from third-party node packages, which poses supply chain risks and blocks the Claude Desktop extension from running on macOS.
  153. Anthropic does not sign third-party SQLite binaries (obviously), causing macOS security systems to flag that the Claude process from a binary signed by Anthropic is trying to run another binary signed by a third party. As a result, Claude Desktop cannot run the extension.
  154. ### When I install the extension, I see a red warning: "Installing will grant access to everything on your computer." - what does this mean?
  155. This is how Claude for Desktop reacts to the fact that this extension needs access to the Bear SQLite database on your Mac.
  156. Claude warning system does not distinguish between the need to access only one file (what the extension does) versus the need to access all files (this is NOT what the extension does).
  157. One of the ways to validate this is asking your Claude to analyze the codebase (it is pretty small) before installing the extension and tell you.
  158. ### How can I report a bug or contribute?
  159. Use issues or discussions! I'd be glad to see your feedback or suggestions, or your help to make this project better! ❤️
  160. ## Staying Up To Date
  161. Consider subscribing to release announcements to know when a new version is released:
  162. ![](./docs/assets/stay-updated.png)
  163. I also post to [reddit.com/r/bearapp/](https://www.reddit.com/r/bearapp/) when there's a new release.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.