# Bear Notes MCP server

> Search, read, create, and edit Bear notes with relevance-ranked search, tag management, and file attachments, all locally on a Mac.

- Repository: https://github.com/vasylenko/bear-notes-mcp
- Page: https://hostedmcp.org/servers/vasylenko/bear-notes-mcp
- Transport: stdio
- Stars: 206
- License: Apache-2.0

## Install

### Claude Code

```sh
claude mcp add bear-notes-mcp -- npx -y bear-notes-mcp
```

### Cursor (`~/.cursor/mcp.json`)

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

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "bear-notes-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "bear-notes-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"bear-notes-mcp","type":"stdio","command":"npx","args":["-y","bear-notes-mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

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

### Codex

```sh
codex mcp add bear-notes-mcp -- npx -y bear-notes-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.bear-notes-mcp]
command = "npx"
args = ["-y", "bear-notes-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user bear-notes-mcp npx -- -y bear-notes-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

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

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `UI_ENABLE_CONTENT_REPLACEMENT` | no | no |  |
| `UI_ENABLE_NEW_NOTE_CONVENTION` | no | no |  |

## Tools (13)

- `bear-open-note`
- `bear-create-note`
- `bear-search-notes`
- `bear-add-text`
- `bear-replace-text`
- `bear-add-file`
- `bear-list-tags`
- `bear-find-untagged-notes`
- `bear-add-tag`
- `bear-archive-note`
- `bear-rename-tag`
- `bear-delete-tag`
- `bear-capabilities`

## FAQ

### Does Bear Notes MCP require the Bear app to be running?

No for queries: reads go directly against Bear's SQLite database, so Bear doesn't need to be open. Writes still route through Bear's URL handler and require the app.

### Can an AI client accidentally modify my Bear notes?

Not by default. The server starts in read-only mode with four read tools; the write tools only appear when Edit Mode is enabled.

### Does the Bear Notes MCP server send my data anywhere?

No. It reads the local Bear database and uses Bear's native API, with no network calls or telemetry.

### Which platforms support the Bear Notes MCP server?

macOS only, because the Bear desktop app is macOS-only.

### Can I attach files to a Bear note through the server?

Yes, in Edit Mode you can attach images, PDFs, and documents up to 25 MB, and Bear OCRs them so the text becomes searchable.
