MCP.so
登录

bear-mcp

@zmainen

关于 bear-mcp

MCP server + Python library for Bear Notes on macOS

基本信息

分类

其他

许可证

MIT

运行时

python

发布者

zmainen

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is bear-mcp?

bear-mcp is an MCP server that gives AI assistants (like Claude) full access to your Bear notes on macOS. It reads notes via Bear’s SQLite database (fast, works when Bear is closed), writes using Bear’s x-callback-url scheme, and locks/unlocks notes with AppleScript UI automation. It is for anyone who wants to integrate Bear notes into an AI workflow.

How to use bear-mcp?

Clone the repository and install with pip install -e ., then add the server to your MCP config (typically .mcp.json) using the command python with args pointing to mcp_server.py. For the bear_lock tool, grant Accessibility permissions in System Settings (one-time setup).

Key features of bear-mcp

  • Search notes by text and/or tag
  • Read a note’s full content
  • List recently modified notes
  • Create, prepend, append, replace, and trash notes
  • Lock/unlock read-only status via AppleScript
  • Read notes even when Bear is closed (SQLite)

Use cases of bear-mcp

  • AI-assisted note-taking: capture ideas, meeting notes, or research directly into Bear with tags.
  • Automated tagging: work around Bear’s broken add-tags URL action by writing inline #tags that Bear recognizes.
  • Search and summarize: ask your AI to find and synthesize information across notes by text and tag.
  • Lock finished work: prevent accidental edits by making notes read-only after review.

FAQ from bear-mcp

How does bear-mcp read and write notes?

Reads go through Bear’s SQLite database directly (fast, silent, works when Bear is closed). Writes use Bear’s x-callback-url scheme (opens Bear briefly, non-destructive). Lock/unlock uses AppleScript UI automation.

Does bear-mcp require Bear to be open?

Read operations work even when Bear is closed. Write operations require Bear to be open briefly. Lock/unlock requires Bear to be running and Accessibility permissions granted.

How are notes identified?

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

Why does bear_lock need Accessibility permissions?

Because bear_lock uses AppleScript to click Bear’s menu items, which macOS requires Accessibility access for. This is a one-time setup in System Settings.

Can I use the underlying library without the MCP server?

Yes. The BearNotesAPI Python class can be imported and used independently of the MCP server.

评论

其他 分类下的更多 MCP 服务器