Bear 2.8 Beta: Official CLI, Claude Connector, and MCP Server

We’re shipping something we’ve been looking forward to for a long time: a way for external tools to access your Bear notes.

Bear already lets you access your notes through x-callback-url and Apple Shortcuts, and those work great for a lot of use cases.

With this beta, we’re adding more powerful options for macOS, aimed at developers, power users, and anyone who wants to connect Bear to the tools they already use: a command-line utility plus new, convenient ways to integrate this utility with e.g. AI tools.

This means you can ask an AI assistant to do things like tidy up old notes, find everything you wrote about a topic across hundreds of notes at once, or hook an external tool to automatically create a fresh note every morning, all without opening Bear yourself.

Bear CLI

bearcli is a new terminal tool that lets you read, search, create, and edit notes from outside the Bear app. It’s bundled directly inside Bear, you’ll find it at /Applications/Bear.app/Contents/MacOS/bearcli. Run bearcli -h to see everything it can do, it’s a complete reference and a good place to start.

bearcli search "@todo #work" --format json
bearcli create "Trip Notes" --content "# Italy..." --tags "travel"
bearcli append --title "Journal" --content "Another entry"

It supports all of Bear’s search syntax, and the same operations you’d do inside the app. Encrypted notes can be listed but not read or edited.

If you want to use it from the terminal without typing the full path every time, you can add a symlink:

sudo mkdir -p /usr/local/bin && sudo ln -sf /Applications/Bear.app/Contents/MacOS/bearcli /usr/local/bin/bearcli

Claude connector (no setup required)

If you have Claude Desktop, In Bear macOS go to Help → Advanced → Install Claude Connector, and Bear will set everything up for you. After that, you can open Claude and just… talk to your notes:

  • “What did I write about my Italy trip?”
  • “What are all my open todos tagged with work?”
  • “Create a note summarising what we just talked about”
  • “What notes did I change this week?”

No terminals, no configuration files. The CLI is for people who want to build things on top of Bear. The Claude connector is for everyone else who just wants to access their notes in a new way.

MCP server

bearcli also includes a MPC server (bearcli mcp-server) that lets MCP-compatible clients like Claude Code or certain IDEs connect to your Bear notes directly. It’s the same set of operations, just accessible to tools that speak that protocol.

A note on AI

The CLI and MCP server are not AI-specific, they’re general-purpose tools for accessing Bear data from the outside. We’re starting with a Claude connector because that’s what we use internally, but the same foundation works with any tool that supports the CLI and MCP server, and we plan to build on it from there.

Test and feedback

If you’re on the macOS TestFlight beta, update to the latest version. If you’d like to join, use the public TestFlight link: Join the Bear: Markdown Notes beta - TestFlight - Apple

We’d love to hear how you use bearcli, the MCP server, and the Claude connector!

:warning: As with any beta software, we recommend backing up your notes before using it.

18 Likes

Fantastic! Great progress, team! :+1:

@matteo does your team have any plans to update/revamp the current API, btw?

Hi @matteo, I attempted to set up the Claud connector, but I encountered a glitch. My path to the Bear app is /Applications/Bear:\ Markdown\ Notes.app/Contents/MacOS/bearcli.

I’m not sure why, but it is installed via TestFlight.

@matteo how do you use the mcp server over stdio? I mean what configuration we need to add?

same here. Having the same issue.

@matteo I have the same issue “unable to connect to extension…”

Bearcli is installed via terminal

Is there a way to exclude certain notes from the Claude Connector? That could be quite useful. For example, all notes with tag #xyz would never be ingested by Claude.

1 Like

Very nice, looking forward to that :clap:

Curious about the implementation, is this backed by semantic search tools like QMD ?

Nice idea! We could consider it if people would find it useful.

2 Likes

No. It is a direct integration with the main app using the same search as the search field inside the app.

1 Like

Right. Good feedback.

1 Like

For the desktop version of Claude, you can use the connector as described. For other clients that support local MCP, the configuration would typically be something like:

"mcpServers": {
  "bear": {
    "command": "/Applications/Bear.app/Contents/MacOS/bearcli",
    "args": ["mcp-server"]
  }
}

As a side note, if the client doesn’t support MCP, but it does support tool-use via the command line, you can direct it to use the bearcli command directly. The built in help is detailed enough that agents can use it without further instructions.

2 Likes

Thanks for the reply!

Local semantic search could save on many tokens so that would be a nice to have feature.

There are projects trying to add that on top of SQLite like GitHub - sqliteai/sqlite-vector: SQLite-Vector is a cross-platform, ultra-efficient SQLite extension that brings vector search capabilities to your embedded database. · GitHub (I haven’t tested) but they may not reach Bear quality standards :sweat_smile:

Mine was doing the same thing. Then I deleted the i at the end of the cli path, added it again hit save and it worked

1 Like

Great! The use case is to send only work-related notes into Confluence, and not personal-related notes.

OK I figured a way to get through my issue above. I used finder to locate and open the package that is the Bear application, clicked through to the bear.cli and right clicked and saved the path. Then added the path to the claude mcp install prompt. This time it worked.

Installed Bear beta via Testflight. I now have Version 2.8 (14381). Did quit Claude Desktop and reopened it. Reopened Bear. Still no Menu item “install Claude Connector” visible (see Screenshot)

. For context: I did use a third party MCP before (netologist/mcp-bear-notes) and really liked the added functionality. Happy to hear about the native option and would love to test this.

Version 14381 has a translation issue. Click on Passwort fur... to install the Claude connector.
We’ll fix this bug with the next update available as soon as will be approved.

1 Like

top. Works now. Thank you for immediate help