bear-notes-mcp
by bejaminjones·★ 34·综合分 46
Bear笔记应用的MCP服务器,提供完整的读写功能和同步安全混合方法。
概述
这个MCP服务器采用混合架构提供对Bear笔记的全面访问:直接数据库读取确保性能,Bear API进行同步安全的写入操作。提供26个读取功能包括搜索、组织和内容分析,以及通过Bear x-callback-url API的6个写入功能。服务器包含冲突检测、标签验证和iCloud同步兼容等强大的安全特性。使用TypeScript构建,采用面向服务的架构,包含384项全面测试。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
如果你是Bear笔记用户,希望通过Claude Desktop全面访问和管理你的笔记,且需要iCloud同步安全,请选择这个。
什么时候不要选它
如果你不使用Bear应用,请不要选择它,因为它专门为Bear的数据库结构和API设计。
此 server 暴露的工具
从 README 抽取出 12 个工具get_database_statsOverview of your Bear database
get_notesList notes with filtering options
get_note_by_idGet specific note by ID
get_note_by_titleFind note by exact title
get_tagsList all tags with usage counts
get_notes_by_tagFind notes with specific tag
search_notes_fulltextFull-text search with relevance scoring
find_similar_notesContent similarity matching
get_note_analyticsComprehensive note statistics
create_noteCreate new notes with tags and content
update_noteUpdate existing notes safely
duplicate_noteCreate copies of existing notes
可对比工具
安装
安装
- 克隆并设置:
git clone <repository-url>
cd bear-notes-mcp
npm install
npm run build- 添加到Claude Desktop配置:
编辑 ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"bear": {
"command": "node",
"args": ["/path/to/bear-notes-mcp/dist/index.js"],
"env": {}
}
}
}- 重启Claude Desktop并开始用自然语言使用Bear笔记!
FAQ
- 这个Bear MCP服务器在使用iCloud同步时是否安全?
- 是的,它采用混合方法:直接数据库读取(安全)和Bear API进行写入操作(同步安全)。所有写入操作都使用Bear官方的x-callback-url API,防止iCloud冲突。
- 系统要求是什么?
- 需要在macOS上安装Bear应用、Claude Desktop应用和Node.js 18+。服务器自动定位您的Bear数据库在'~/Library/Group Containers/9K33E3U3T4.net.shinyfrog.bear/Application Data/database.sqlite'。
bear-notes-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。