bear-notes-mcp
MCP Server for Bear note taking app available as Claude Desktop extension or standalone server for any other AI tool
README
Bear Notes MCP Server
Search, read, create, and update your Bear Notes from any AI assistant. Available as a one-click Claude Desktop extension and as a standalone npm package for any MCP client.
This local-only MCP server reads Bear's SQLite database for fast search with OCR support, and uses Bear's native API for writes. Complete privacy: no external connections, all processing on your Mac.
Example prompts:
Summarize our conversation and create a new Bear note with it
Interview me about my side project idea and capture the key points in a Bear note
Help me restructure the outline in my "Product Launch" note
Let's brainstorm blog post ideas — save the best ones to my Bear note and refine them as we go

✨ Key Features
- 13 MCP tools for searching, reading, creating, updating, tagging, and archiving notes
- OCR search — finds text inside attached images and PDFs
- Date-based search with relative dates ("yesterday", "last week", "start of last month")
- Tag management — list tags as a tree, find untagged notes, add tags to notes
- New note convention (opt-in) — place tags right after the title instead of at the bottom
- Content replacement (opt-in) — replace the full note body or a specific section
- Local-only — no network calls, all data stays on your Mac
[!NOTE] 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.
📦 Installation
Claude Desktop Extension
Prerequisites: Bear app must be installed and Claude Desktop must be installed.
-
Download the latest
bear-notes-mcpb-*.mcpbextension file from Releases -
Make sure your Claude Desktop is running (start if not)
-
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".
-
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 bear-notes --transport stdio -- 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
🛠️ Tools
<!-- TOOLS:START -->
bear-open-note- Read the full text content of a Bear note including OCR'd text from attached images and PDFsbear-create-note- Create a new note in your Bear library with optional title, content, and tagsbear-search-notes- Find notes by searching text content, filtering by tags, or date ranges. Includes OCR search in attachmentsbear-add-text- Insert text at the beginning or end of a Bear note, or within a specific section identified by its headerbear-replace-text- Replace content in an existing Bear note — either the full body or a specific section. Requires content replacement to be enabled in settings.bear-add-file- Attach a file to an existing Bear note. Provide a local file path (preferred) or base64-encoded content.bear-list-tags- List all tags in your Bear library as a hierarchical tree with note countsbear-find-untagged-notes- Find notes in your Bear library that have no tags assignedbear-add-tag- Add one or more tags to an existing Bear notebear-archive-note- Archive a Bear note to remove it from active lists without deleting itbear-rename-tag- Rename a tag across all notes in your Bear librarybear-delete-tag- Delete a tag from all notes in your Bear library without affecting the notesbear-grab-url- Save a web page as a Bear note. Bear fetches the page and converts it to markdown. <!-- TOOLS:END -->
⚙️ Configuration
Debug Logging
Enable verbose logging for troubleshooting.
- Claude Desktop: Settings → Extensions → Configure (next to Bear Notes) → toggle "Debug Logging" → Save → Restart Claude
- Standalone MCP server: set environment variable
UI_DEBUG_TOGGLE=true
New Note Convention
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.
<details> <summary>See note structure with this convention enabled</summary>
┌──────────────────────────────┐
│ # Meeting Notes │ ← Note title
│ #work #meetings │ ← Tags right after title
│ │
│ --- │ ← Separator
│ │
│ Lorem Ipsum... │ ← Note body
└──────────────────────────────┘
</details>
[!TIP] This convention is disabled by default — it's opt-in so existing behavior is preserved.
- Claude Desktop: Settings → Extensions → Configure (next to Bear Notes) → toggle "New Note Convention" → Save → Restart Claude
- Standalone MCP server: set environment variable
UI_ENABLE_NEW_NOTE_CONVENTION=true
Example standalone configuration with the convention enabled:
{
"mcpServers": {
"bear-notes": {
"command": "npx",
"args": ["-y", "bear-notes-mcp@latest"],
"env": {
"UI_ENABLE_NEW_NOTE_CONVENTION": "true"
}
}
}
}
Content Replacement
Enable the bear-replace-text tool to replace content in existing notes — either the full note body or a specific section under a header.
[!TIP] This feature is disabled by default — it's opt-in because replacement is a destructive operation.
- Claude Desktop: Settings → Extensions → Configure (next to Bear Notes) → toggle "Content Replacement" → Save → Restart Claude
- Standalone MCP server: set environment variable
UI_ENABLE_CONTENT_REPLACEMENT=true
Example standalone configuration with content replacement enabled:
{
"mcpServers": {
"bear-notes": {
"command": "npx",
"args": ["-y", "bear-notes-mcp@latest"],
"env": {
"UI_ENABLE_CONTENT_REPLACEMENT": "true"
}
}
}
}
Technical Details
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.
Platforms Supported
macOS only because Bear desktop works only on macOS.
Logs
Claude Desktop:
- MCP server logs go into
~/Library/Logs/Claude/main.log, look forbear-notes-mcp - MCP transport logs go to
~/Library/Logs/Claude/mcp-server-Bear\ Notes.log
Standalone MCP server:
- Logs are written to stderr; enable debug logging with
UI_DEBUG_TOGGLE=true
FAQ
Could this steal my data?
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.
Why SQLite and not just a native Bear app's x-callback-url API?
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.
Why native Node.js SQLite instead of third-party packages?
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.
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.
When I install the extension, I see a red warning: "Installing will grant access to everything on your computer." - what does this mean?
This is how Claude for Desktop reacts to the fact that this extension needs access to the Bear SQLite database on your Mac.
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).
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.
How can I report a bug or contribute?
Use issues or discussions! I'd be glad to see your feedback or suggestions, or your help to make this project better! ❤️
Staying Up To Date
Consider subscribing to release announcements to know when a new version is released:

I also post to reddit.com/r/bearapp/ when there's a new release.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。