VB

vasylenko/bear-notes-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

206 stars 21 forks 质量 78 趋势 4Apache-2.0

vasylenko/bear-notes-mcp 是从 https://github.com/vasylenko/bear-notes-mcp. 导入的 MCP 服务器候选

概览

vasylenko/bear-notes-mcp 是从 https://github.com/vasylenko/bear-notes-mcp. 导入的 MCP 服务器候选

概述(AI 翻译)

一个非官方、带有观点的 Bear Notes MCP 服务器——基于相关性排序搜索而非子字符串匹配。结果会在标题、正文和层级标签之间进行排名,配有摘要和可组合的筛选器(标签、日期、置顶)。读取直接对应 Bear 的 SQLite 数据库——查询无需 Bear 应用。

通过 Bear 自有的 URL 处理程序写路由——原子化并由 Bear 验证。离线优先:无网络调用,无遥测,所有处理均在 Mac 上。支持任何 MCP 客户端——Claude Desktop、Claude Code、Codex、Gemini、Cursor。可作为一键 .mcpb 扩展或独立的 npm 包发布。

示例提示:

在 #engineering/ 下方找到我写的关于出口管道的深度分析。

请将今天的决策附加到我的每周行动笔记中的“决策”部分

将所有符合 #research/LLM评估的笔记拉入调查大纲

找我标记为 #blog/草稿的笔记,并撰写本周文章大纲

✨ 主要特色

  • 默认只读——写入时切换编辑模式。 4个工具始终开启(搜索、打开、查找未标记、列表标签);编辑模式下还有8个工具用于创建、编辑、附加、标记和归档

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Bear Notes MCP Server

An unofficial, opinionated MCP server for Bear Notes — built around relevance-ranked search instead of substring matching. Results come ranked across titles, bodies, and hierarchical tags, with snippets and combinable filters (tag, date, pinned). Reads run direct against Bear’s SQLite database — no Bear app required for queries.

Writes route through Bear’s own URL handler — atomic and validated by Bear. Offline-first: no network calls, no telemetry, all processing on your Mac. Works with any MCP client — Claude Desktop, Claude Code, Codex, Gemini, Cursor. Ships as a one-click .mcpb extension or a standalone npm package.

Example prompts:

Find the deep-dive I wrote on export pipelines, somewhere under #engineering/

Append today’s decisions to the ‘Decisions’ section of my Weekly Ops note

Pull every note under #research/llm-evals into a survey outline

Find my notes tagged #blog/drafts and draft this week’s post outline

✨ Key Features

  • Read-only by default — flip Edit Mode for writes. 4 tools always on (search, open, find untagged, list tags); 8 more in Edit Mode for create, edit, attach, tag, archive
  • Relevance-ranked search across titles, bodies, and tags — finds the right note, not just the ones that contained your literal words
  • Date-based search with relative dates (“yesterday”, “last week”, “start of last month”)
  • Hierarchical tag management — view tags as a tree with note counts; rename or delete a tag across the whole library
  • Surgical writes — append at a specific heading or replace a section without rewriting the whole note
  • File attachments — attach images, PDFs, and documents up to 25 MB; symlinks rejected for safety
  • New note convention (opt-in) — place tags right after the title instead of at the bottom
  • Local-first — direct read-only SQLite reads, native node:sqlite, no network calls, no telemetry

[!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.

👤 Who is this for

This is an unofficial, opinionated alternative to the native Bear MCP. It fits when:

在 GitHub 查看完整 README

安装

npx -y bear-notes-mcp@latest
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "bear-notes": { "command": "npx", "args": ["-y", "bear-notes-mcp@latest"] } } }