MCP server for Bear notes on macOS

MCP server for Bear notes on macOS

bear-mcp•byzmainen

An MCP server that lets AI assistants search, read, create, edit, and lock Bear notes on macOS.

License: MIT•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Finds notes by text and/or tag through a search tool.
  • •Reads a note's full content and lists recently modified notes.
  • •Creates notes and adds text to the top or bottom of an existing note.
  • •Replaces a note's body, moves notes to trash, and toggles read-only lock state.

BEST FOR

  • •Having an AI assistant capture ideas, meeting notes, or research into Bear with tags.
  • •Searching across notes by text or tag and synthesizing the results.
  • •Locking finished notes to prevent accidental edits after review.

ABOUT BEAR-MCP

MCP server for Bear notes on macOS is cataloged as an MCP server attributed to zmainen. An MCP server that lets AI assistants search, read, create, edit, and lock Bear notes on macOS. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for Bear notes on macOS are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How are notes identified by the server?

Notes are identified by UUID or the first 8 characters of one, not by titles.

Does the server write directly to Bear's SQLite database?

No, writes go through Bear's URL scheme; the SQLite database is only read.

What is required to use the lock tool?

The lock tool uses AppleScript UI automation, so Bear must be running and Accessibility permissions are required.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 0b9ed53718a0 · 采集于 2026-11-13 12:06:46 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

bear-mcp

An MCP server that gives AI assistants (Claude, etc.) full access to your Bear notes on macOS. Search, read, create, edit, and lock notes — all from your AI workflow.

Why?

Bear has no official API. This project bridges the gap using two strategies:

  • Reads go through Bear's SQLite database directly — fast, silent, works even when Bear is closed.
  • Writes use Bear's x-callback-url scheme — opens Bear briefly for each operation, but reliable and non-destructive.
  • Lock/unlock uses AppleScript UI automation — the only way, since Bear doesn't expose this in its URL scheme.

What can it do?

ToolWhat it does
bear_searchFind notes by text and/or tag
bear_getRead a note's full content
bear_recentList recently modified notes
bear_tagsList all tags
bear_createCreate a new note
bear_prependAdd text to the top of a note
bear_appendAdd text to the bottom of a note
bear_replaceReplace the entire body of a note
bear_trashMove a note to trash
bear_lockToggle read-only (lock/unlock)

Notes are identified by UUID (or the first 8 characters of one), not titles.

Setup

1. Install

git clone https://github.com/zmainen/bear-mcp.git
cd bear-mcp
pip install -e .

2. Add to your MCP config

In your project's .mcp.json (or equivalent):

{
  "bear-notes": {
    "command": "python",
    "args": ["/path/to/bear-mcp/mcp_server.py"]
  }
}

3. Grant Accessibility permissions (for lock only)

bear_lock uses AppleScript to click Bear's menu items. macOS will prompt you to grant Accessibility access the first time. This is a one-time setup in System Settings > Privacy & Security > Accessibility.

Use cases

AI-assisted note-taking. Have your AI assistant capture ideas, meeting notes, or research directly into Bear with proper tags.

Automated tagging. Bear's add-tags URL action is broken. This server works around it by writing inline #tags into note bodies, which Bear recognizes automatically. Nested tags like #project/docs work.

Search and summarize. Ask your AI to find and synthesize information across your notes — it can search by text, filter by tag, and read full content.

Lock finished work. Use bear_lock to make notes read-only after review, preventing accidental edits.

Library usage

The underlying Python library works independently of MCP:

from bear_app import BearNotesAPI

bear = BearNotesAPI()  # auto-detects Bear's database

notes = bear.search_notes("query", tag="project")
note = bear.get_note(note_id="83779062-...")
print(note.title, note.is_locked, note.locked_date)

bear.create_note(title="New note", text="body", tags=["project"])
bear.toggle_read_only(note_id=uuid)

Gotchas

  • IDs are UUIDs, not row numbers. Bear's internals use ZUNIQUEIDENTIFIER.
  • add-tags is broken in Bear's URL scheme. Use inline #tag text instead.
  • Spaces must be %20, not +. Bear interprets + literally. The library handles this automatically.
  • Lock requires Bear running and Accessibility permissions. It's UI automation under the hood — reliable but not invisible.
  • Never write to the SQLite database. All writes go through Bear's URL scheme.

License

MIT — Zach Mainen, 2025

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for Bear notes on macOS from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/bear-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops