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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.