Back to MCP directory
publicPublicdnsLocal runtime

bear-mcp-server

Bear笔记的MCP服务端项目

article

README

🚀 Bear MCP 服务器

该项目是一个模型上下文协议(MCP)服务器,其核心价值在于提供对 Bear Notes 的便捷访问能力,让用户能更高效地管理和检索笔记。

🚀 快速开始

本项目是一个模型上下文协议(MCP)服务器,可实现对 Bear Notes 的访问。Bear 采用 SQLite 数据库来存储笔记,此 MCP 服务器借助运行 SQL 命令达成对这些笔记的访问。更多关于笔记存储位置的信息可查看:https://bear.app/faq/where-are-bears-notes-located 。

Kariyer notu arama örneği

✨ 主要特性

  • 读取笔记
  • 按文本搜索笔记
  • 列出所有标签

📦 安装指南

# 克隆项目
git clone https://github.com/akseyh/bear-mcp-server

# 更换目录
cd bear-mcp-server

# 安装依赖项
npm install

# 构建项目
npm run build

📚 详细文档

Claude Desktop 配置

需更新你的 claude_desktop_config.json 文件。

Docker

{
    "mcpServers": {
        "bear": {
            "command": "docker",
            "args": [
                "run",
                "-v",
                "/Users/[YOUR_USER_NAME]/Library/Group Containers/9K33E3U3T4.net.shinyfrog.bear/Application Data:/app/db",
                "-i",
                "akseyh/bear-mcp-server"
            ]
        }
    }
}

NPM

{
  "mcpServers": {
    "bear": {
      "command": "node",
      "args": [".../build/index.js"] // 根据你的路径修改此处
    }
  }
}

当服务器启动后,以下 MCP 工具将可供使用:

  • get_notes:获取所有笔记
  • get_tags:列出所有标签
  • get_notes_like:搜索包含特定文本的笔记

🔧 技术细节

要求

  • Node.js
  • Bear 笔记应用程序(macOS)
  • 对 Bear 数据库的访问权限

📄 许可证

ISC

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client