MCP.so
登录

Bear MCP Server

@zmainen

基本信息

分类

其他

许可证

MIT

作者

zmainen

关于 Bear MCP Server

MCP server + Python library for Bear Notes on macOS

Bear MCP Server 配置

暂无标准配置

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

代码仓库

Bear MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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.

常见问题

1

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.

2

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.

3

How are notes identified?

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

4

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.

5

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 服务器